ChangeLog-2002 547 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025
  1. 2002-12-31 Mark Kettenis <kettenis@gnu.org>
  2. * gdb_dirent.h: Cleanup and update code to match the example in
  3. the Autoconf manual.
  4. * configure.in: Call AC_HEADER_DIRENT. Remove dirent.h,
  5. sys/ndir.h, sys/dir.h and ndir.h from call to AC_CHECK_HEADERS.
  6. * configure: Regenerated.
  7. 2002-12-30 Adam Fedor <fedor@gnu.org>
  8. * objc-exp.y (parse_number): Cast sscanf arguments to proper type.
  9. (yylex): Initialize c to avoid uninitialized warning.
  10. 2002-12-29 Mark Kettenis <kettenis@gnu.org>
  11. * tracepoint.c (ISATTY): Removed.
  12. 2002-12-26 J. Brobecker <brobecker@gnat.com>
  13. Continuing work to convert the hppa targets to multiarch partil.
  14. * hppa-tdep.c: Add some missing forward declarations.
  15. (frameless_function_invocation): Prefix the function name
  16. by "hppa_" to avoid polluting the namespace. Update all calls
  17. to use the new function name.
  18. (saved_pc_after_call): Ditto.
  19. (init_extra_frame_info): Ditto.
  20. (frame_chain): Ditto.
  21. (push_dummy_frame): Ditto.
  22. (target_read_pc): Ditto.
  23. (target_write_pc): Ditto.
  24. (in_solib_call_trampoline): Ditto.
  25. (in_solib_return_trampoline): Ditto.
  26. (skip_trampoline_code): Ditto.
  27. (hppa_read_fp): New function, renamed from target_read_fp.
  28. (hppa_target_read_fp): New function, using hppa_read_fp.
  29. This function conforms to the function profile for the
  30. READ_FP gdbarch method.
  31. (hppa_extract_struct_value_address): New function, extracted
  32. from the definition of the DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS
  33. macro.
  34. (hppa_frame_num_args): New function.
  35. (hppa_gdbarch_init): Setup the gdbarch vector for the hppa target.
  36. * config/pa/tm-hppa.h: Wrap around all gdbarch-eligible macros
  37. inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
  38. for the switch to multiarch partial.
  39. Update some of the macros definitions to match some changes
  40. described above in the name of the function they are calling.
  41. (PUSH_DUMMY_FRAME): Add a FIXME explaining why this macro will
  42. not be straightforward to convert. Do now wrap it inside
  43. "#if !... #endif" to remember that this macro has still not
  44. been taken care of.
  45. (FIX_CALL_DUMMY): Likewise.
  46. 2002-12-26 J. Brobecker <brobecker@gnat.com>
  47. Continuing work to convert the hppa targets to multiarch partial.
  48. * hppa-tdep.c (hppa_register_raw_size): New function replacing
  49. the body of macro REGISTER_RAW_SIZE.
  50. * hppa-hpux-tdep.c: Add new functions replacing macro bodies from
  51. config/pa/tm-hppah.h. These functions will be used to initialize
  52. the gdbarch structure.
  53. (hppa_hpux_pc_in_sigtramp): New function.
  54. (hppa_hpux_frame_saved_pc_in_sigtramp): New function.
  55. (hppa_hpux_frame_base_before_sigtramp): New function.
  56. (hppa_hpux_frame_find_saved_regs_in_sigtramp): New function.
  57. Add gdbcore.h #include.
  58. * config/pa/tm-hppa.h (REGISTER_RAW_SIZE): Change the definition
  59. of this gdbarch-eligible macro to a call to the new associated
  60. function.
  61. * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Likewise.
  62. (FRAME_SAVED_PC_IN_SIGTRAMP): Change the definition of this macro
  63. into a call to the new associated function.
  64. (FRAME_BASE_BEFORE_SIGTRAMP): Likewise.
  65. (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Likewise.
  66. * Makefile.in (hppa-hpux-tdep.o): Add dependency on gdbcore.h.
  67. 2002-12-24 David Carlton <carlton@math.stanford.edu>
  68. * config/sparc/tm-sparc.h: Delete duplicate definition of
  69. DEPRECATED_PC_IN_CALL_DUMMY.
  70. 2002-12-24 Kevin Buettner <kevinb@redhat.com>
  71. * Makefile.in (mips-linux-tdep.o): Add $(mips_tdep_h) and
  72. $(gdb_assert_h).
  73. * configure.tgt: Recognize mips64*-*-linux*.
  74. * mips-linux-tdep.c (mips-tdep.h, gdb_assert.h): Include.
  75. (supply_32_bit_reg): New function.
  76. (supply_gregset): Call supply_32bit_reg() instead of supply_register().
  77. (fill_gregset): Use regcache_collect() instead of
  78. deprecated_registers[].
  79. (register_addr): Change name to mips_linux_register_addr().
  80. (MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, MIPS64_FPR_BASE, MIPS64_PC)
  81. (MIPS64_CAUSE, MIPS64_BADVADDR, MIPS64_MMHI, MIPS64_MMLO)
  82. (MIPS64_FPC_CSR, MIPS64_FPC_EIR, MIPS64_EF_REG0, MIPS64_EF_REG31)
  83. (MIPS64_EF_LO, MIPS64_EF_HI, MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR)
  84. (MIPS64_EF_CP0_STATUS, MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE)
  85. (MIPS64_LINUX_JB_PC): New defines.
  86. (mips64_elf_greg_t, mips64_elf_gregset_t, mips64_elf_fpreg_t)
  87. (mips64_elf_fpregset_t): New typedefs.
  88. (mips64_linux_get_longhmp_target, mips64_supply_gregset)
  89. (mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset)
  90. (mips64_linux_register_addr, set_mips_linux_register_addr)
  91. (register_addr, mips64_linux_svr4_fetch_link_map_offsets):
  92. (init_register_addr_data)
  93. New functions.
  94. (fetch_core_registers): Add support for core file formats with 64-bit
  95. registers.
  96. (mips_linux_init_abi): Distinguish o32, n32, and n64 ABIs.
  97. (register_addr_data): New static global variable.
  98. (_initialize_mips_linux_tdep): Initialize register_addr_data. Invoke
  99. gdbarch_register_osabi() for each MIPS machine.
  100. * config/mips/linux64.mt: New file.
  101. * config/mips/tm-linux64.h: New file.
  102. 2002-12-23 Adam Fedor <fedor@gnu.org>
  103. * maint.c (maintenance_demangle): Add switch to demangle
  104. ObjC language symbols as well.
  105. 2002-12-23 Adam Fedor <fedor@gnu.org>
  106. * objc-lang.c (lookup_objc_class, lookup_child_selector): Remove
  107. last argument from complaint function call.
  108. 2002-12-23 Kevin Buettner <kevinb@redhat.com>
  109. * exec.c (print_section_info): Add FIXME comments regarding format
  110. string choices.
  111. 2002-12-23 Daniel Jacobowitz <drow@mvista.com>
  112. * config/pa/nm-hppab.h: Delete duplicate CANNOT_STORE_REGISTER decl.
  113. * config/pa/nm-hppao.h: Delete duplicate CANNOT_STORE_REGISTER decl.
  114. 2002-12-23 Rodney Brown <rbrown64@csc.com.au>
  115. * config/pa/nm-hppah.h: Delete duplicate CANNOT_STORE_REGISTER decl.
  116. 2002-12-23 David Carlton <carlton@math.stanford.edu>
  117. * symtab.c (lookup_symbol_aux): Delete 'force_return' variable.
  118. (lookup_symbol_aux_minsyms): Delete 'force_return' argument.
  119. (search_symbols): Call lookup_symbol_aux_minsyms to find debugging
  120. information associated to a minsym, not lookup_symbol.
  121. 2002-12-21 Mark Kettenis <kettenis@gnu.org>
  122. * x86-64-tdep.h (x86_64_init_abi): New prototype.
  123. * x86-64-tdep.c (i386_fp_regnum_p): Remove function.
  124. (x86_64_init_abi): Make non-static. Set number of pseudo
  125. registers to 0.
  126. (x86_64_gdbarch_init): Remove function.
  127. (_initialize_x86_64_tdep): Renove register_gdbarch_init call.
  128. Remove code dealing with dissambly.
  129. * x86-64-linux-tdep.c (x86_64_linux_init_abi): New function.
  130. (_initialize_x86_64_linux_tdep): New function.
  131. * config/i386/x86-64linux.mt (TDEPFILES): Add i386-tdep.o and
  132. i386-tdep.o.
  133. 2002-12-14 Mark Kettenis <kettenis@gnu.org>
  134. * osabi.c: Include "gdb_assert.h" and "gdb_string.h".
  135. (struct gdb_osabi_handler): Remove member `arch'. Add member
  136. `arch_info'.
  137. (gdbarch_register_osabi): Add new argument `machine'. Use ot to
  138. construct a `struct bfd_arch_info' and store it in the `struct
  139. gdb_osabi_handler' that is created.
  140. (gdbarch_init_osabi): Check for compatibility based on machine
  141. type and architecture.
  142. * osabi.h (gdbarch_register_osabi): Adjust prototype and update
  143. comment.
  144. * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Add 0 as
  145. second argument in call to gdbarch_register_osabi.
  146. * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise.
  147. * alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise.
  148. * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise.
  149. * arm-linux-tdep.c (_initialize_arm_linux_tdep): Likewise.
  150. * arm-tdep.c (_initialize_arm_tdep): Likewise.
  151. * armnbsd-tdep.c (_initialize_armnbsd_tdep): Likewise.
  152. * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Likewise.
  153. * i386-interix-tdep.c (_initialize_i386_interix_tdep): Likewise.
  154. * i386-linux-tdep.c (_initialize_i386_linux_tdep): Likewise.
  155. * i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Likewise.
  156. * i386-tdep.c (_initialize_i386_tdep): Likewise.
  157. * i386bsd-tdep.c (_initialize_i386bsd_tdep): Likewise.
  158. * i386gnu-tdep.c (_initialize_i386gnu_tdep): Likewise.
  159. * i386ly-tdep.c (_initialize_i386lynx_tdep): Renamed from
  160. _initialize_i386bsd_tdep and updated likewise.
  161. * i386nbsd-tdep.c (_initialize_i386nbsd_tdep): Likewise.
  162. * i386obsd-tdep.c (_initialize_i386obsd_tdep): Likewise.
  163. * mips-irix-tdep.c (_initialize_mips_irix_tdep): Likewise.
  164. * mips-linux-tdep.c (_initialize_mips_linux_tdep): Likewise.
  165. * mipsnbsd-tdep.c (_initialize_mipsnbsd__tdep): Likewise.
  166. * ns32knbsd-tdep.c (_initialize_ns32kmnsd_tdep): Likewise.
  167. * ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Likewise.
  168. * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Likewise.
  169. * shnbsd-tdep.c (_initialize_shnbsd_tdep): Likewise.
  170. * sparcnbsd-tdep.c (_initialize_sparcnbsd_tdep): Likewise.
  171. 2002-12-20 Kevin Buettner <kevinb@redhat.com>
  172. * solib-svr4.c (elf_locate_base): Fix sizeof() related bug. Add
  173. DT_MIPS_RLD_MAP case for 64-bit targets.
  174. 2002-12-20 Kevin Buettner <kevinb@redhat.com>
  175. * mips-tdep.c (heuristic_proc_desc): Clear memory associated with
  176. ``temp_saved_regs'', not the pointer or other storage contiguous
  177. to this pointer.
  178. 2002-12-20 Kevin Buettner <kevinb@redhat.com>
  179. * Makefile.in (mips-linux-tdep.o): Add $(osabi_h) and $(gdb_string_h).
  180. * config/mips/tm-linux.h (mips_linux_svr4_fetch_link_map_offsets)
  181. (mips_linux_get_longjmp_target): Delete declarations.
  182. (SVR4_FETCH_LINK_MAP_OFFSETS, GET_LONGJMP_TARGET)
  183. (MIPS_LINUX_JB_ELEMENT_SIZE, MIPS_LINUX_JB_PC): Delete definitions.
  184. * mips-linux-tdep.c (osabi.h, gdb_string.h): Include.
  185. (MIPS_LINUX_JB_ELEMENT_SIZE, MIPS_LINUX_JB_PC): Define.
  186. (mips_linux_get_longjmp_target)
  187. (mips_linux_svr4_fetch_link_map_offsets): Make static.
  188. (mips_linux_init_abi): New function.
  189. (_initialize_mips_linux_tdep): Register mips_linux_init_abi().
  190. 2002-12-19 Keith Seitz <keiths@redhat.com>
  191. patch committed by Elena Zannoni <ezannoni@redhat.com>
  192. * thread.c (do_captured_list_thread_ids): Call prune_threads and
  193. target_find_new_threads. Fix for PR mi/669.
  194. 2002-12-19 David Carlton <carlton@math.stanford.edu>
  195. * linespec.c (decode_line_1): Move code into decode_all_digits.
  196. (decode_all_digits): New function.
  197. 2002-12-19 Kevin Buettner <kevinb@redhat.com>
  198. * exec.c (print_section_info): Select a format string to use with
  199. local_hex_string_custom() based upon the value of TARGET_ADDR_BIT.
  200. 2002-12-18 Andrew Cagney <ac131313@redhat.com>
  201. * frame.c (deprecated_update_current_frame_pc_hack): Replace
  202. deprecated_update_current_frame_pc_hack.
  203. (deprecated_update_frame_base_hack): New function.
  204. * frame.h (deprecated_update_frame_pc_hack): Replace
  205. (deprecated_update_frame_base_hack): Declare.
  206. * infrun.c (normal_stop): Update.
  207. 2002-12-18 Andrew Cagney <ac131313@redhat.com>
  208. * rs6000-tdep.c (rs6000_init_extra_frame_info): Use
  209. frame_extra_info_zalloc.
  210. (rs6000_frame_args_address): Use get_frame_extra_info.
  211. (frame_get_saved_regs): Use get_frame_saved_regs.
  212. (frame_initial_stack_address): Use get_frame_saved_regs and
  213. get_frame_extra_info.
  214. (frame_initial_stack_address): Use get_frame_extra_info.
  215. 2002-12-17 Kevin Buettner <kevinb@redhat.com>
  216. * dve3900-rom.c (r3900_regnames): Don't use NUM_REGS to determine
  217. array size.
  218. (fetch_bitmapped_register, store_bitmapped_register): Add bounds
  219. checks for r3900_regnames[].
  220. 2002-12-17 Richard Earnshaw <rearnsha@arm.com>
  221. * armnbsd-tdep.c (ARM_NBSD_JB_PC): Renamed from JB_PC.
  222. All uses changed
  223. (ARM_NBSD_JB_ELELMENT_SIZE): Similarly.
  224. 2002-12-17 David Carlton <carlton@math.stanford.edu>
  225. * symtab.c (lookup_partial_symbol): Don't search past the end of
  226. the partial symbols.
  227. 2002-12-17 Andrew Cagney <ac131313@redhat.com>
  228. * stack.c (frame_info): Use get_frame_saved_regs.
  229. * breakpoint.c (until_break_command): Use get_frame_pc.
  230. 2002-12-16 Kevin Buettner <kevinb@redhat.com>
  231. * buildsym.c (block_end_complaint, anon_block_end_complaint)
  232. (innerblock_complaint, innerblock_anon_complaint)
  233. (blockvector_complaint): Delete deprecated complaint structs.
  234. (finish_block, make_blockvector, end_symtab): Replace calls
  235. to complain() with calls to complaint().
  236. * coffread.c (ef_complaint, ef_stack_complaint, eb_stack_complaint)
  237. (bf_no_aux_complaint, ef_no_aux_complaint, lineno_complaint)
  238. (unexpected_type_complaint, bad_sclass_complaint)
  239. (misordered_blocks_complaint, tagndx_bad_complaint, eb_complaint):
  240. Delete deprecated complaint structs.
  241. (coff_symtab_read, enter_linenos, decode_type, decode_base_type):
  242. Replace calls to complain() with calls to complaint().
  243. * dbxread.c (lbrac_complaint, string_table_offset_complaint)
  244. (unknown_symtype_complaint, unknown_symchar_complaint)
  245. (lbrac_rbrac_complaint, lbrac_unmatched_complaint)
  246. (lbrac_mismatch_complaint, repeated_header_complaint)
  247. (unclaimed_bincl_complaint, discarding_local_symbols_complaint):
  248. Delete deprecated complaint structs.
  249. (unknown_symtype_complaint, lbrac_mismatch_complaint)
  250. (repeated_header_complaint)
  251. (function_outside_compiliation_unit_complaint): New functions.
  252. (add_old_header_file, find_corresponding_bincl_psymtab)
  253. (set_namestring, find_stab_function_addr, read_dbx_symtab)
  254. (process_one_symbol): Replace calls to complain() with, possibly
  255. indirect, calls to complaint().
  256. * dwarfread.c (no_bfd_get_N, malformed_die, bad_die_ref)
  257. (unknown_attribute_form, unknown_attribute_length)
  258. (unexpected_fund_type, unknown_type_modifier, volatile_ignored)
  259. (const_ignored, botched_modified_type, op_deref2, op_deref4)
  260. (basereg_not_handled, dup_user_type_allocation)
  261. (dup_user_type_definition, missing_tag, bad_array_element_type)
  262. (subscript_data_items, unhandled_array_subscript_format)
  263. (unknown_array_subscript_format, not_row_major)
  264. (missing_at_name): Delete deprecated complaint structs.
  265. (bad_die_ref_complaint, unknown_attribute_form_complaint)
  266. (dup_user_type_definition_complaint)
  267. (bad_array_element_type_complaint): New functions.
  268. (lookup_utype, alloc_utype, struct_type, decode_array_element_type)
  269. (decode_subscript_data_item, dwarf_read_array_type)
  270. (read_tag_string_type, read_subroutine_type, read_func_scope)
  271. (locval, scan_partial_symbols, decode_modified_type)
  272. (decode_func_type, basicdieinfo, completeddieinfo, target_to_host)
  273. (attribute_size): Replace calls to complain() with, possibly
  274. indirect, calls to complaint().
  275. * elfread.c (section_info_complaint, section_info_dup_complaint)
  276. (stab_info_mismatch_complaint, stab_info_questionable_complaint):
  277. Delete deprecated complaint structs.
  278. (elf_symtab_read, elfstab_offset_sections): Replace calls to
  279. complain() with calls to complaint().
  280. * gdbtypes.c (stub_noname_complaint): Delete deprecated complaint
  281. struct.
  282. (stub_noname_complaint): New function.
  283. (check_typedef, add_mangled_type): Replace calls to complain()
  284. with calls to complaint().
  285. * hpread.c (string_table_offset_complaint, lbrac_unmatched_complaint)
  286. (lbrac_mismatch_complaint, hpread_unhandled_end_common_complaint)
  287. (hpread_unhandled_type_complaint, hpread_struct_complaint)
  288. (hpread_array_complaint, hpread_type_lookup_complaint)
  289. (hpread_unexpected_end_complaint, hpread_tagdef_complaint)
  290. (hpread_unhandled_common_complaint)
  291. (hpread_unhandled_blockdata_complaint): Delete deprecated complaint
  292. struct definitions and declarations.
  293. (lbrac_unmatched_complaint, lbrac_mismatch_complaint): New functions.
  294. (SET_NAMESTRING, hpread_type_lookup, hpread_process_one_debug_symbol):
  295. Replace calls to complain() with, possibly indirect, calls to
  296. complaint().
  297. * macrotab.c (macro_include, check_for_redefinition, macro_undef):
  298. Likewise.
  299. * mdebugread.c (bad_file_number_complaint, index_complaint)
  300. (aux_index_complaint, block_index_complaint)
  301. (unknown_ext_complaint, unknown_sym_complaint)
  302. (unknown_st_complaint, block_overflow_complaint)
  303. (basic_type_complaint, unknown_type_qual_complaint)
  304. (array_index_type_complaint, bad_tag_guess_complaint)
  305. (block_member_complaint, stEnd_complaint)
  306. (unknown_mdebug_symtype_complaint, stab_unknown_complaint)
  307. (pdr_for_nonsymbol_complaint, pdr_static_symbol_complaint)
  308. (bad_setjmp_pdr_complaint, bad_fbitfield_complaint)
  309. (bad_continued_complaint, bad_rfd_entry_complaint)
  310. (unexpected_type_code_complaint, unable_to_cross_ref_complaint)
  311. (bad_indirect_xref_complaint, illegal_forward_tq0_complaint)
  312. (illegal_forward_bt_complaint, bad_linetable_guess_complaint)
  313. (bad_ext_ifd_complaint, bad_ext_iss_complaint): Delete deprecated
  314. complaint structs.
  315. (index_complaint, unknown_ext_complaint, basic_type_complaint)
  316. (bad_tag_guess_complaint, bad_rfd_entry_complaint)
  317. (unexpected_type_code_complaint)
  318. (function_outside_compilation_unit_complaint): New functions.
  319. (parse_symbol, parse_type, upgrade_type, parse_procedure)
  320. (parse_partial_symbols, psymtab_to_symtab_1, cross_ref, add_symbol):
  321. Replace calls to complain() with, possibly indirect calls to
  322. complaint().
  323. * objc-lang.c (noclass_lookup_complaint, nosel_lookup_complaint):
  324. Delete deprecated complaint structs.
  325. (lookup__objc_class, lookup_child_selector): Replace complain()
  326. with complaint().
  327. * remote-vx.c (cant_contact_target): Delete deprecated complaint
  328. struct.
  329. (vx_lookup_symbol): Replace complain() with complaint().
  330. * stabsread.c (invalid_cpp_abbrev_complaint)
  331. (invalid_cpp_type_complaint, member_fn_complaint)
  332. (const_vol_complaint, error_type_complaint)
  333. (invalid_member_complaint, range_type_base_complaint)
  334. (reg_value_complaint, vtbl_notfound_complaint)
  335. (unrecognized_cplus_name_complaint, rs6000_builtin_complaint)
  336. (unresolved_sym_chain_complaint, stabs_general_complaint)
  337. (lrs_general_complaint, multiply_defined_struct): Delete
  338. deprecated complaint structs.
  339. (invalid_cpp_abbrev_complaint, ref_value_complaint)
  340. (stabs_general_complaint, lrs_general_complaint)
  341. (msg_unknown_complaint): New functions.
  342. (dbx_lookup_type, read_cfront_baseclasses)
  343. (read_cfront_member_functions, resolve_symbol_reference)
  344. (define_symbol, resolve_live_range, add_live_range, read_type)
  345. (rs6000_builtin_type, read_member_functions, read_cpp_abbrev)
  346. (read_one_struct_field, read_baseclasses, read_tilde_fields)
  347. (read_cfront_static_fields, attach_fields_to_type)
  348. (complain_about_struct_wipeout, read_range_type)
  349. (common_block_start, common_block_end, cleanup_undefined_types)
  350. (scan_file_globals): Replace complain() with complaint().
  351. * stabsread.h (unknown_symtype_complaint, unknown_symchar_complaint):
  352. Delete deprecated complaint struct declarations.
  353. * xcoffread.c (storclass_complaint, bf_notfound_complaint)
  354. (ef_complaint, eb_complaint): Delete deprecated complaint structs.
  355. (bf_not_found_complaint, ef_complaint, eb_complaint)
  356. (function_outside_compilation_unit_complaint): New functions.
  357. (record_include_begin, record_include_end, enter_line_range)
  358. (xcoff_next_symbol_text, read_xcoff_symtab, process_xcoff_symbol)
  359. (read_symbol, read_symbol_lineno, scan_xcoff_symtab) Replace
  360. complain() with complaint().
  361. 2002-12-16 Andrew Cagney <ac131313@redhat.com>
  362. * config/arc/arc.mt, config/arc/tm-arc.h: Delete.
  363. * config/d30v/d30v.mt, config/d30v/tm-d30v.h: Delete.
  364. * config/fr30/fr30.mt, config/fr30/tm-fr30.h: Delete.
  365. * config/i386/i386aix.mh, config/i386/i386aix.mt: Delete.
  366. * config/i386/i386m3.mh, config/i386/i386m3.mt: Delete.
  367. * config/i386/i386mach.mh, config/i386/i386os9k.mt: Delete.
  368. * config/i386/nm-i386aix.h, config/i386/nm-i386mach.h: Delete.
  369. * config/i386/nm-m3.h, config/i386/tm-i386aix.h: Delete.
  370. * config/i386/tm-i386m3.h, config/i386/tm-i386mk.h: Delete.
  371. * config/i386/xm-i386aix.h, config/i386/xm-i386m3.h: Delete.
  372. * config/i386/xm-i386mach.h, config/i386/xm-i386mk.h: Delete.
  373. * config/i960/mon960.mt, config/i960/nindy960.mt: Delete.
  374. * config/i960/tm-i960.h, config/i960/tm-mon960.h: Delete.
  375. * config/i960/tm-nindy960.h, config/i960/tm-vx960.h: Delete.
  376. * config/i960/vxworks960.mt, config/m68k/apollo68b.mh: Delete.
  377. * config/m68k/apollo68b.mt, config/m68k/apollo68v.mh: Delete.
  378. * config/m68k/hp300bsd.mh, config/m68k/hp300bsd.mt: Delete.
  379. * config/m68k/hp300hpux.mh, config/m68k/hp300hpux.mt: Delete.
  380. * config/m88k/delta88.mh, config/m88k/delta88.mt: Delete.
  381. * config/m88k/delta88v4.mh, config/m88k/delta88v4.mt: Delete.
  382. * config/m88k/m88k.mh, config/m88k/m88k.mt: Delete.
  383. * config/m88k/nm-delta88v4.h, config/m88k/nm-m88k.h: Delete.
  384. * config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h: Delete.
  385. * config/m88k/tm-m88k.h, config/m88k/xm-delta88.h: Delete.
  386. * config/m88k/xm-dgux.h: Delete.
  387. * fr30-tdep.c, i386aix-nat.c, i386m3-nat.c: Delete.
  388. * i386mach-nat.c, i960-tdep.c, m88k-nat.c: Delete.
  389. * os9kread.c, remote-bug.c, remote-nindy.c: Delete.
  390. * remote-nrom.c, remote-os9k.c, remote-vx960.c: Delete.
  391. * d30v-tdep.c, arc-tdep.c, cxux-nat.c, dst.h, dstread.c: Delete.
  392. * ch-exp.c, ch-lang.c, ch-lang.h, ch-typeprint.c: Delete.
  393. * ch-valprint.c: Delete.
  394. 2002-12-15 Daniel Jacobowitz <drow@mvista.com>
  395. * infrun.c (handle_inferior_event): Rearrange code to resume if
  396. no catchpoint triggers for an event.
  397. 2002-12-15 Daniel Jacobowitz <drow@mvista.com>
  398. * infrun.c (handle_inferior_event): Merge TARGET_WAITKIND_FORKED
  399. and TARGET_WAITKIND_VFORKED cases.
  400. 2002-12-15 Daniel Jacobowitz <drow@mvista.com>
  401. * infrun.c (handle_inferior_event): Assume that catchpoints
  402. are not affected by DECR_PC_AFTER_BREAK.
  403. 2002-12-15 Daniel Jacobowitz <drow@mvista.com>
  404. * target.c (update_current_target): Don't inherit DONT_USE.
  405. * target.h (struct target_ops): Remove DONT_USE.
  406. (target_next): Remove macro.
  407. 2002-12-15 Mark Kettenis <kettenis@gnu.org>
  408. * ui-out.c (MAX_UI_OUT_LEVELS): Raise to 6. Fixes PR cli/654.
  409. 2002-12-14 Richard Earnshaw <rearnsha@arm.com>
  410. * arm-tdep.c (convert_from_extended): New argument to hold the
  411. type of floating point result we want to convert to. Make input
  412. argument const. Fix all callers.
  413. (convert_to_extended): Similarly.
  414. (arm_extract_return_value): Now takes a regcache argument. Change
  415. code to use regcache accessor functions. Correctly extract
  416. smaller-than-word results on big-endian machines.
  417. (arm_store_return_value): Now takes a regcache argument. Change
  418. code to use regcache accessor functions. Correctly zero/sign extend
  419. smaller than word results before storing into r0.
  420. (arm_gdbarch_init): Register new-style extract_return_value and
  421. store_return_value functions.
  422. 2002-12-13 Michael Snyder <msnyder@to-limbo.toronto.redhat.com>
  423. * thread-db.c (thread_from_lwp): Uniquify error msg.
  424. (lwp_from_thread): Ditto.
  425. (check_event): Ditto.
  426. (find_new_threads_callback): Ditto.
  427. (thread_db_pid_to_str): Ditto.
  428. 2002-12-13 Andrew Cagney <ac131313@redhat.com>
  429. * frame.h (get_frame_saved_regs): Declare.
  430. (frame_saved_regs_zalloc): Change return type to CORE_ADDR
  431. pointer.
  432. * frame.c (get_frame_saved_regs): New function.
  433. (frame_saved_regs_zalloc): Return the allocated saved_regs.
  434. 2002-12-13 Andrew Cagney <ac131313@redhat.com>
  435. * frame.c (deprecated_update_current_frame_pc_hack): New
  436. function.
  437. * frame.h (deprecated_update_current_frame_pc_hack): Declare.
  438. * infrun.c (normal_stop): Use said function instead of directly
  439. modifying the frame's PC.
  440. 2002-12-13 Alexandre Oliva <aoliva@redhat.com>
  441. * frame.h (frame_id_unwind_ftype): Fix typo in return type.
  442. 2002-12-13 Kevin Buettner <kevinb@redhat.com>
  443. * config/mips/tm-mips.h, config/mips/tm-irix3.h,
  444. config/mips/tm-irix6.h (NUM_REGS): Delete.
  445. * mips-tdep.c (mips_gdbarch_init): Call set_gdbarch_num_regs().
  446. (temp_saved_regs): Declare as a pointer rather than an array.
  447. (mips32_heuristic_proc_desc, heuristic_proc_desc): Make sure
  448. that ``temp_saved_regs'' has storage allocated to it and that
  449. it's the correct size.
  450. 2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
  451. * defs.h (init_last_source_visited): New prototype.
  452. (add_path): Ditto.
  453. * source.c (add_path): New function that adds to a specified path.
  454. (mod_path): Change to call add_path.
  455. (init_last_source_visited): New function to allow interfaces to
  456. initialize static variable: last_source_visited. Part of fix
  457. for PR gdb/741.
  458. * Makefile.in: Add support for mi/mi-cmd-env.c.
  459. 2002-12-13 Andrew Cagney <ac131313@redhat.com>
  460. * frame.h (frame_id_unwind): Declare.
  461. (struct frame_info): Add fields id_unwind, id_unwind_cache_p and
  462. id_unwind_cache.
  463. (frame_id_unwind_ftype): Declare.
  464. * frame.c (frame_id_unwind): New function.
  465. (set_unwind_by_pc): Add unwind_id parameter. Initialized.
  466. (create_new_frame, get_prev_frame): Pass id_unwind to
  467. set_unwind_by_pc.
  468. (frame_saved_regs_id_unwind): New function.
  469. (frame_saved_regs_id_unwind): New function.
  470. * dummy-frame.c (dummy_frame_id_unwind): New function.
  471. (struct dummy_frame): Add field id.
  472. (generic_push_dummy_frame): Initialize `id'.
  473. * dummy-frame.h (dummy_frame_id_unwind): Declare.
  474. 2002-12-13 Andrew Cagney <ac131313@redhat.com>
  475. * infcmd.c (run_stack_dummy): Create a frame ID directly and then
  476. pass that to set_momentary_breakpoint. Move comments to where they
  477. belong.
  478. * frame.h (set_current_frame): Delete declaration.
  479. * frame.c (set_current_frame): Delete function.
  480. 2002-12-13 Andrew Cagney <ac131313@redhat.com>
  481. * frame.c (frame_extra_info_zalloc): New function.
  482. * frame.h (frame_extra_info_zalloc): Declare.
  483. 2002-12-13 Joel Brobecker <brobecker@gnat.com>
  484. * hppa-tdep.c (hppa_pop_frame): Fix a compilation error introduced
  485. in the previous prototype change to set_momentary_breakpoint.
  486. 2002-12-12 Daniel Jacobowitz <drow@mvista.com>
  487. * infrun.c (pending_follow): Remove saw_parent_fork, saw_child_fork,
  488. and saw_child_exec.
  489. (follow_fork, init_wait_for_inferior, handle_inferior_event): Remove
  490. references to saw_parent_fork, saw_child_fork, and saw_child_exec.
  491. (stop_stepping): Remove outdated check for child vfork events.
  492. 2002-12-12 Andrew Cagney <ac131313@redhat.com>
  493. * GDB 5.3 released from gdb_5_3-branch.
  494. 2002-12-11 Daniel Jacobowitz <drow@mvista.com>
  495. * corelow.c (init_core_ops): Delete references to to_require_attach
  496. and to_require_detach.
  497. * exec.c (init_exec_ops): Likewise.
  498. * hppah-nat.c (child_follow_fork): Call hppa_require_attach and
  499. hppa_require_detach directly.
  500. * inferior.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete.
  501. * inftarg.c (child_detach): Remove.
  502. (child_detach_from_process): Rename to child_detach, remove
  503. after_fork argument.
  504. (child_attach): Remove.
  505. (child_attach_to_process): Rename to child_attach, remove after_fork
  506. argument.
  507. (init_child_ops): Delete references to to_require_attach
  508. and to_require_detach.
  509. * infttrace.c (hppa_require_attach): Update comment.
  510. * target.c (cleanup_target, update_current_target)
  511. (init_dummy_target, setup_target_debug): Delete references to
  512. to_require_attach and to_require_detach.
  513. (find_default_require_detach, find_default_require_attach)
  514. (debug_to_require_attach, debug_to_require_detach): Remove
  515. functions.
  516. * target.h (struct target_ops): Remove to_require_attach
  517. and to_require_detach.
  518. (target_require_attach, target_require_detach): Delete macros.
  519. (find_default_require_detach, find_default_require_attach): Delete
  520. prototypes.
  521. * config/pa/nm-hppah.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete.
  522. 2002-12-11 Andrew Cagney <ac131313@redhat.com>
  523. * frame.c (get_frame_extra_info): New function.
  524. * frame.h (get_frame_extra_info): Declare.
  525. 2002-12-11 Andrew Cagney <ac131313@redhat.com>
  526. * breakpoint.h (struct breakpoint): Replace frame with frame_id.
  527. (set_momentary_breaokpoint): Replace `struct frame_info' parameter
  528. with `struct frame_id'.
  529. (set_longjmp_resume_breakpoint): Ditto.
  530. * infrun.c (handle_inferior_event): Update.
  531. * breakpoint.c (watch_command_1, until_break_command): Update.
  532. * infrun.c (handle_inferior_event, check_sigtramp2): Update.
  533. (handle_inferior_event, step_over_function): Update.
  534. * breakpoint.c (bpstat_stop_status, print_one_breakpoint): Update.
  535. (set_raw_breakpoint, set_longjmp_resume_breakpoint): Update.
  536. (set_momentary_breakpoint, deprecated_frame_in_dummy): Update.
  537. * infcmd.c (finish_command, run_stack_dummy): Update.
  538. 2002-12-11 Kevin Buettner <kevinb@redhat.com>
  539. * dwarf2read.c (dwarf2_const_ignored, dwarf2_volatile_ignored)
  540. (dwarf2_non_const_array_bound_ignored)
  541. (dwarf2_missing_line_number_section)
  542. (dwarf2_statement_list_fits_in_line_number_section)
  543. (dwarf2_mangled_line_number_section, dwarf2_unsupported_die_ref_attr)
  544. (dwarf2_unsupported_stack_op, dwarf2_complex_location_expr)
  545. (dwarf2_unsupported_tag, dwarf2_unsupported_at_encoding)
  546. (dwarf2_unsupported_at_frame_base, dwarf2_unexpected_tag)
  547. (dwarf2_missing_at_frame_base, dwarf2_bad_static_member_name)
  548. (dwarf2_unsupported_accessibility, dwarf2_bad_member_name_complaint)
  549. (dwarf2_missing_member_fn_type_complaint)
  550. (dwarf2_vtbl_not_found_complaint, dwarf2_absolute_sibling_complaint)
  551. (dwarf2_const_value_length_mismatch)
  552. (dwarf2_unsupported_const_value_attr, dwarf2_misplaced_line_number)
  553. (dwarf2_line_header_too_long, dwarf2_missing_macinfo_section)
  554. (dwarf2_macros_too_long, dwarf2_macros_not_terminated)
  555. (dwarf2_macro_outside_file, dwarf2_macro_unmatched_end_file)
  556. (dwarf2_macro_malformed_definition, dwarf2_macro_spaces_in_definition)
  557. (dwarf2_invalid_attrib_class, dwarf2_invalid_pointer_size): Delete
  558. complaints using deprecated struct..
  559. (dwarf2_non_const_array_bound_ignored_complaint)
  560. (dwarf2_complex_location_expr_complaint)
  561. (dwarf2_unsupported_at_frame_base_complaint)
  562. (dwarf2_const_value_length_mismatch_complaint)
  563. (dwarf2_macros_too_long_complaint)
  564. (dwarf2_macro_malformed_definition_complaint)
  565. (dwarf2_invalid_attrib_class_complaint): New functions.
  566. (read_func_scope, dwarf2_attach_fields_to_type, dwarf2_add_member_fn)
  567. (read_structure_scope, read_array_type, read_common_block)
  568. (read_tag_pointer_type, read_base_type, read_partial_die)
  569. (dwarf_decode_line_header, check_cu_functions, dwarf_decode_lines)
  570. (new_symbol, dwarf2_const_value, read_type_die)
  571. (dwarf2_get_ref_die_offset, decode_locdesc, consume_improper_spaces)
  572. (parse_macro_definition, dwarf_decode_macros): Replace calls to
  573. complain() with, possibly indirect, calls to complaint().
  574. 2002-12-11 Andrew Cagney <cagney@redhat.com>
  575. * frame.c (deprecated_get_frame_saved_regs): Rename
  576. get_frame_saved_regs.
  577. * frame.h (deprecated_get_frame_saved_regs): Update declaration.
  578. * sparc-tdep.c: Update.
  579. * hppa-tdep.c: Update.
  580. * h8500-tdep.c: Update.
  581. 2002-12-11 Kevin Buettner <kevinb@redhat.com>
  582. * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME)
  583. (ADDRESS_CLASS_NAME_TO_TYPE_FLAGS): Use ``const char *'' instead of
  584. ``char *'' for return and parameter types.
  585. * gdbarch.h, gdbarch.c: Regenerate.
  586. * gdbtypes.h, gdbtypes.c (address_space_int_to_name): Change
  587. return type from ``char *'' to ``const char *''.
  588. * c-typeprint.c (c_type_print_modifier): Make ``address_space_id''
  589. const.
  590. 2002-12-11 Mark Kettenis <kettenis@gnu.org>
  591. * i386-tdep.c: Include "dummy-frame.h".
  592. (i386_frame_chain, i386_frame_saved_pc): Replace
  593. DEPRECATED_PC_IN_CALL_DUMMY with call to pc_in_dummy_frame.
  594. (i386_gdbarch_init): Don't set deprecated_pc_in_call_dummy.
  595. 2002-12-10 Andrew Cagney <cagney@redhat.com>
  596. * gdbarch.sh (DEPRECATED_INIT_FRAME_PC): Rename INIT_FRAME_PC.
  597. Change to a function with predicate.
  598. * gdbarch.h, gdbarch.c: Re-generate.
  599. * frame.c (get_prev_frame): Update. Test
  600. DEPRECATED_INIT_FRAME_PC_P.
  601. * config/sparc/tm-sparc.h (DEPRECATED_INIT_FRAME_PC): Update.
  602. * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC): Update.
  603. * config/mn10200/tm-mn10200.h (DEPRECATED_INIT_FRAME_PC): Update.
  604. * alpha-tdep.c (alpha_gdbarch_init): Update.
  605. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  606. * mips-tdep.c (mips_gdbarch_init): Update.
  607. * i386-interix-tdep.c (i386_interix_init_abi): Update.
  608. * arm-tdep.c: Update comments.
  609. * h8300-tdep.c (h8300_gdbarch_init): Explicitly set init_frame_pc.
  610. * config/m32r/tm-m32r.h (DEPRECATED_INIT_FRAME_PC): Ditto.
  611. * frv-tdep.c (frv_gdbarch_init): Ditto.
  612. * x86-64-tdep.c (x86_64_init_abi): Ditto.
  613. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  614. * s390-tdep.c (s390_gdbarch_init): Ditto.
  615. * v850-tdep.c (v850_gdbarch_init): Ditto.
  616. * vax-tdep.c (vax_gdbarch_init): Ditto.
  617. * sh-tdep.c (sh_gdbarch_init): Ditto.
  618. * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
  619. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  620. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  621. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
  622. * i386-tdep.c (i386_gdbarch_init): Ditto.
  623. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  624. * cris-tdep.c (cris_gdbarch_init): Ditto.
  625. * avr-tdep.c (avr_gdbarch_init): Ditto.
  626. * arm-tdep.c (arm_gdbarch_init): Ditto.
  627. * config/z8k/tm-z8k.h (INIT_FRAME_PC_FIRST): Delete macro.
  628. (DEPRECATED_INIT_FRAME_PC): Rename INIT_FRAME_PC.
  629. 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
  630. * config/pa/nm-hppah.h (CHILD_POST_FOLLOW_VFORK): Change to
  631. CHILD_FOLLOW_FORK.
  632. * hppah-nat.c (saved_vfork_pid): Add.
  633. (child_post_follow_vfork): Remove.
  634. (child_follow_fork): New function.
  635. (child_wait): Call detach_breakpoints after receiving the child vfork.
  636. Call child_resume directly instead of going through resume ().
  637. Make sure we have the exec before reporting the vfork.
  638. * inferior.h (follow_inferior_reset_breakpoints): Add prototype.
  639. * infrun.c (follow_fork, follow_vfork, follow_inferior_fork): Remove.
  640. (follow_fork): New function. Call target_follow_fork.
  641. (follow_inferior_reset_breakpoints): New function broken out from
  642. old follow_inferior_fork.
  643. (resume): Remove hack to follow exec after vfork.
  644. * inftarg.c (child_post_follow_vfork): Remove.
  645. (child_follow_fork): New function.
  646. (init_child_ops): Replace to_post_follow_vfork with to_follow_fork.
  647. * target.c (cleanup_target): Replace to_post_follow_vfork with
  648. to_follow_fork.
  649. (update_current_target): Likewise.
  650. (setup_target_debug): Likewise.
  651. (debug_to_post_follow_vfork): Remove.
  652. (debug_to_follow_fork): New function.
  653. * target.h (struct target_ops): Replace to_post_folow_vfork with
  654. to_follow_fork.
  655. (child_post_follow_vfork): Remove prototype.
  656. (child_follow_fork): Add prototype.
  657. (target_post_follow_vfork): Remove macro.
  658. (target_follow_fork): Add macro.
  659. 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
  660. * hppah-nat.c (saved_child_execd_pathname, saved_vfork_state): New.
  661. (child_post_follow_vfork): Cancel pending exec event if we follow
  662. the parent.
  663. (child_wait): Only return TARGET_WAITKIND_VFORKED when all necessary
  664. events have been processed. Return a fake TARGET_WAITKIND_EXECD
  665. event at the following wait call if necessary.
  666. * infrun.c (follow_vfork): Don't follow_exec here.
  667. (handle_inferior_event): Add comment to TARGET_WAITKIND_EXECD
  668. case about HP/UX 10.20. Remove code pushed down to
  669. hppah-nat.c:child_wait.
  670. * infttrace.c (child_resume): Use TT_PROC_CONTINUE if
  671. vfork_in_flight is set.
  672. 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
  673. * hppah-nat.c (child_wait): Return TARGET_WAITKIND_IGNORE
  674. for the parent's fork event.
  675. * infrun.c (handle_inferior_event): Only expect one fork event.
  676. Call prepare_to_wait for TARGET_WAITKIND_IGNORE. Update comment.
  677. * target.h: Update comment for TARGET_WAITKIND_IGNORE.
  678. 2002-12-10 Andrew Cagney <ac131313@redhat.com>
  679. * PROBLEMS: Delete reference to PR gdb/725.
  680. * MAINTAINERS (gdb.c++): Add David Carlton.
  681. 2002-12-09 David Carlton <carlton@math.stanford.edu>
  682. * cli/cli-setshow.c: #include <readline/tilde.h> after defs.h.
  683. * cli/cli-cmds.c: Ditto.
  684. 2002-12-09 Andrew Cagney <cagney@redhat.com>
  685. * gdbarch.sh (gdbarch_dump): Print NAME_OF_MALLOC using %s. Wrap
  686. function address in <>.
  687. * gdbarch.c: Re-generate.
  688. 2002-12-09 David Carlton <carlton@math.stanford.edu>
  689. * p-exp.y: Rename TRUE and FALSE to TRUEKEYWORD and FALSEKEYWORD.
  690. 2002-12-09 David Carlton <carlton@math.stanford.edu>
  691. * linespec.c (symtab_from_filename): New function.
  692. (decode_line_1): Move code into symtab_from_filename.
  693. 2002-12-09 Kevin Buettner <kevinb@redhat.com>
  694. * lin-lwp.c (strsignal): Make extern declaration match that of glibc.
  695. 2002-12-07 Andrew Cagney <ac131313@redhat.com>
  696. * f-valprint.c (info_common_command): Use get_frame_pc.
  697. * std-regs.c (value_of_builtin_frame_pc_reg): Ditto.
  698. * ax-gdb.c (agent_command): Ditto.
  699. * rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto.
  700. (rs6000_pop_frame): Ditto.
  701. (rs6000_frameless_function_invocation): Ditto.
  702. (rs6000_frame_saved_pc, frame_get_saved_regs): Ditto.
  703. (frame_initial_stack_address, rs6000_frame_chain): Ditto.
  704. * macroscope.c (default_macro_scope): Ditto.
  705. * stack.c (print_frame_info_base): Ditto.
  706. (print_frame, frame_info, print_frame_label_vars): Ditto.
  707. (return_command, func_command, get_frame_language): Ditto.
  708. * infcmd.c (finish_command): Ditto.
  709. * dummy-frame.c (cached_find_dummy_frame): Ditto.
  710. * breakpoint.c (deprecated_frame_in_dummy): Ditto.
  711. (break_at_finish_at_depth_command_1): Ditto.
  712. (break_at_finish_command_1): Ditto.
  713. (until_break_command, get_catch_sals): Ditto.
  714. * blockframe.c (func_frame_chain_valid): Ditto.
  715. (frameless_look_for_prologue): Ditto.
  716. (frame_address_in_block, generic_func_frame_chain_valid): Ditto.
  717. 2002-12-08 Andrew Cagney <ac131313@redhat.com>
  718. * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Add declaration.
  719. * dwarf2cfi.c (cfi_init_frame_pc): Cast the PC to a pointer.
  720. 2002-12-08 Andrew Cagney <ac131313@redhat.com>
  721. * gdbarch.sh (INIT_FRAME_PC_FIRST, INIT_FRAME_PC_DEFAULT): Convert
  722. to pure functions.
  723. * gdbarch.h, gdbarch.c: Re-generate.
  724. * frame.c (get_prev_frame): Explictly assign prev's pc with value
  725. returned by INIT_FRAME_PC_FIRST and INIT_EXTRA_FRAME_INFO.
  726. * arch-utils.h (init_frame_pc_default, init_frame_pc_noop): Change
  727. declaration to a function returning a CORE_ADDR.
  728. * x86-64-tdep.h (x86_64_init_frame_pc): Ditto.
  729. * arch-utils.c (init_frame_pc_noop): Return the PC value.
  730. (init_frame_pc_default): Ditto.
  731. * x86-64-linux-tdep.c (x86_64_init_frame_pc): Ditto.
  732. * s390-tdep.c (s390_init_frame_pc_first): Ditto.
  733. * mips-tdep.c (mips_init_frame_pc_first): Ditto.
  734. * dwarf2cfi.h (cfi_init_frame_pc): Ditto.
  735. * dwarf2cfi.c (cfi_init_frame_pc): Ditto.
  736. * alpha-tdep.c (alpha_init_frame_pc_first): Ditto.
  737. * i386-interix-tdep.c (i386_interix_init_abi): Set init_frame_pc
  738. to init_frame_pc_noop.
  739. (i386_interix_init_frame_pc): Delete function.
  740. * z8k-tdep.c (init_frame_pc): Delete function.
  741. * config/z8k/tm-z8k.h (INIT_FRAME_PC): Define as init_frame_pc_noop.
  742. (INIT_FRAME_PC_FIRST): Ditto.
  743. * config/mn10200/tm-mn10200.h (INIT_FRAME_PC): Ditto.
  744. (INIT_FRAME_PC_FIRST): Ditto.
  745. * config/sparc/tm-sparc.h (INIT_FRAME_PC): Ditto.
  746. * config/rs6000/tm-rs6000.h (INIT_FRAME_PC): Redefine as
  747. init_frame_pc_noop.
  748. (INIT_FRAME_PC_FIRST): Convert to an expression.
  749. * config/sparc/tm-sparc.h (INIT_FRAME_PC_FIRST): Ditto.
  750. 2002-12-08 Andrew Cagney <ac131313@redhat.com>
  751. * blockframe.c: Use get_frame_base instead of directly accessing
  752. the `struct frame_info' member frame.
  753. * f-valprint.c, std-regs.c, rs6000-tdep.c: Ditto.
  754. * stack.c, dummy-frame.c, breakpoint.c: Ditto.
  755. 2002-12-08 Elena Zannoni <ezannoni@redhat.com>
  756. * Makefile.in (readline_h): Define.
  757. (completer.o): Depend on readline_h.
  758. (corelow.o): Ditto.
  759. (event-top.o): Ditto.
  760. (exec.o): Ditto.
  761. (solib.o): Ditto.
  762. (source.o): Ditto.
  763. (symfile.o): Ditto.
  764. (symmisc.o): Ditto.
  765. (top.o): Ditto.
  766. (tracepoint.o): Ditto.
  767. (utils.o): Ditto.
  768. (cli-dump.o): Ditto.
  769. (tui-hooks.o): Ditto.
  770. (tuiWin.o): Ditto.
  771. 2002-12-08 Elena Zannoni <ezannoni@redhat.com>
  772. More cleanup from import of readline 4.3.
  773. * completer.h (complete_line, readline_line_completion_function):
  774. Update prototypes.
  775. (line_completion_function): Removed, not used outside of completer.c.
  776. * completer.c (readline_line_completion_function,
  777. complete_function, line_completion_function): Use const for first
  778. parameter.
  779. (line_completion_function): Make static.
  780. (filename_completer): filename_completion_function is now called
  781. rl_filename_completion_function
  782. * corelow.c: Include <readline/readline.h>.
  783. * exec.c: Ditto.
  784. * solib.c: Ditto.
  785. * source.c: Ditto.
  786. * symfile.c: Ditto.
  787. * symmisc.c: Ditto.
  788. * top.c (init_main): No need to coerce
  789. readline_line_completion_function anymore.
  790. * cli/cli-dump.c: Include <readline/readline.h>.
  791. 2002-12-08 Andrew Cagney <ac131313@redhat.com>
  792. * stack.c (frame_info): Use get_prev_frame.
  793. * blockframe.c (frame_address_in_block): Ditto.
  794. * rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto.
  795. (rs6000_frameless_function_invocation): Ditto.
  796. (rs6000_frame_saved_pc): Ditto.
  797. (rs6000_frame_chain): Ditto.
  798. * arch-utils.c (init_frame_pc_default): Ditto.
  799. 2002-12-08 Andrew Cagney <ac131313@redhat.com>
  800. * config/mn10200/tm-mn10200.h (DEPRECATED_PC_IN_CALL_DUMMY):
  801. Delete redundant definition.
  802. 2002-12-08 Elena Zannoni <ezannoni@redhat.com>
  803. Import of readline 4.3:
  804. * cli/cli-cmds.c: Include readline/tilde.h.
  805. * cli/cli-setshow.c: Ditto.
  806. * defs.h: Don't declare tilde_expand anymore, since readline
  807. exports it.
  808. 2002-12-08 Elena Zannoni <ezannoni@redhat.com>
  809. * Makefile.in (thread-db.o): Add explicit rule to ignore the use of
  810. -Werror on this file.
  811. 2002-12-07 Andrew Cagney <ac131313@redhat.com>
  812. * gdbarch.sh (TARGET_FLOAT_FORMAT): Use the macro when printing
  813. the format name.
  814. (TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto.
  815. * gdbarch.c: Regenerate.
  816. 2002-12-06 Andrew Cagney <ac131313@redhat.com>
  817. * gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Rename
  818. INIT_FRAME_PC_FIRST. Change to a function with predicate. Do not
  819. provide a default value.
  820. * gdbarch.h, gdbarch.c: Regenerate.
  821. * frame.c (get_prev_frame): Update. Check
  822. DEPRECATED_INIT_FRAME_PC_FIRST_P.
  823. * s390-tdep.c (s390_gdbarch_init): Update.
  824. * mips-tdep.c (mips_gdbarch_init): Update.
  825. * config/sparc/tm-sparc.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
  826. * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
  827. * alpha-tdep.c (alpha_gdbarch_init): Update.
  828. 2002-12-06 Elena Zannoni <ezannoni@redhat.com>
  829. * ia64-linux-nat.c: Include gdb_string.h.
  830. * alpha-nat.c: Ditto.
  831. * ppc-linux-nat.c: Ditto.
  832. * Makefile.in (ia64-linux-nat.o, alpha-nat.o, ppc-linux-nat.o):
  833. Update dependencies.
  834. 2002-12-05 Andrew Cagney <ac131313@redhat.com>
  835. * gdbthread.h: Include "frame.h".
  836. (struct thread_info): Replace step_frame_address with
  837. step_frame_id.
  838. * inferior.h: Include "frame.h".
  839. (step_frame_id): Replace external variable step_frame_address.
  840. * gdbthread.h (save_infrun_state): Replace step_frame_address
  841. parameter with step_frame_id parameter.
  842. (load_infrun_state): Ditto.
  843. * Makefile.in (gdbthread_h, inferior_h): Add $(frame_h).
  844. * infcmd.c (step_frame_id, step_1, step_once): Update.
  845. * thread.c (load_infrun_state, save_infrun_state): Update.
  846. * infrun.c (clear_proceed_status, save_inferior_status): Update.
  847. (handle_inferior_event, step_over_function): Update.
  848. (normal_stop, context_switch, restore_inferior_status): Update.
  849. (struct inferior_status): Replace step_frame_address with
  850. step_frame_id.
  851. 2002-12-05 David Carlton <carlton@math.stanford.edu>
  852. * dwarf2read.c (dwarf2_add_field): Treat a field that is a
  853. DW_TAG_member as well as a declaration as being a C++ static data
  854. member.
  855. (read_structure_scope): Combine tests for DW_TAG_member and
  856. DW_TAG_variable.
  857. 2002-12-05 David Carlton <carlton@math.stanford.edu>
  858. * linespec.c (decode_compound): New function.
  859. (decode_line_1): Move code into decode_compound.
  860. 2002-12-05 David Carlton <carlton@math.stanford.edu>
  861. * symtab.c (lookup_symbol_aux_local): Add 'static_block'
  862. argument.
  863. (lookup_symbol_aux): Do the 'field_of_this' check before checking
  864. the static block. See PR gdb/804.
  865. 2002-12-05 David Carlton <carlton@math.stanford.edu>
  866. * symtab.c (lookup_symbol_aux_block): New function.
  867. (lookup_symbol_aux_local): Move code into lookup_symbol_aux_block.
  868. 2002-12-05 Andrew Cagney <ac131313@redhat.com>
  869. * gdbarch.sh: Dump the predicate function and macro values.
  870. (read): Print error on standard error.
  871. * gdbarch.c: Regenerate.
  872. 2002-12-04 Kevin Buettner <kevinb@redhat.com>
  873. * Makefile.in (mips_tdep_h): Define.
  874. (mips-tdep.o): Add mips_tdep_h to dependency list.
  875. * mips-tdep.h: New file.
  876. * mips-tdep.c (mips-tdep.h): Include.
  877. (enum mips_abi): Move to mips-tdep.h.
  878. (mips_abi): New function.
  879. 2002-12-04 David Carlton <carlton@math.stanford.edu>
  880. * Makefile.in (f-exp.tab.c): Don't depend on c-exp.tab.c.
  881. 2002-12-04 David Carlton <carlton@math.stanford.edu>
  882. * symtab.c (lookup_symbol_aux): Move minsym code into a separate
  883. function.
  884. (lookup_symbol_aux_minsyms): New function.
  885. 2002-12-04 J. Brobecker <brobecker@gnat.com>
  886. * pa64solib.c: s/boolean/int/. Fixes a build failure on hppa64-hpux.
  887. 2002-12-04 J. Brobecker <brobecker@gnat.com>
  888. * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Renamed from IN_SIGTRAMP,
  889. which is an obsolete macro name.
  890. 2002-12-04 Daniel Jacobowitz <drow@mvista.com>
  891. * doublest.c (convert_floatformat_to_doublest): Cast exp_bias to int.
  892. * config/alpha/alpha-linux.mh (MH_CFLAGS): Add -mieee.
  893. 2002-12-03 H.J. Lu (hjl@gnu.org)
  894. * breakpoint.c (create_thread_event_breakpoint): Use xasprintf.
  895. (create_breakpoints): Make sure the addr_string field is not
  896. NULL.
  897. 2002-12-03 Andrew Cagney <ac131313@redhat.com>
  898. * sparc-nat.c (fetch_inferior_registers)
  899. (store_inferior_registers): Add comment on problem of LWP vs
  900. threads.
  901. From 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
  902. * lin-lwp.c (lin_lwp_fetch_registers): Remove.
  903. (lin_lwp_store_registers): Remove.
  904. (init_lin_lwp_ops): Use fetch_inferior_registers
  905. and store_inferior_registers directly.
  906. * sparc-nat.c (fetch_inferior_registers): Honor LWP ID.
  907. (store_inferior_registers): Likewise.
  908. Fix PR gdb/725.
  909. 2002-12-03 Andrew Cagney <ac131313@redhat.com>
  910. * frame.h (get_frame_id): Convert to a function.
  911. (null_frame_id, frame_id_p): Declare.
  912. (frame_id_eq, frame_id_inner): Declare.
  913. (frame_id_build): New function.
  914. * frame.c (get_frame_id): Update. Use null_frame_id.
  915. (frame_find_by_id): Rewrite using frame_id_p, frame_id_eq and
  916. frame_id_inner.
  917. (null_frame_id, frame_id_p): Define.
  918. (frame_id_eq, frame_id_inner): Define.
  919. (frame_id_build): New function.
  920. * varobj.c (varobj_create): Update.
  921. (varobj_update): Update.
  922. * valops.c (value_assign): Update.
  923. (new_root_variable): Update.
  924. * infrun.c (save_inferior_status): Update.
  925. * breakpoint.c (watch_command_1): Update.
  926. 2002-12-03 J. Brobecker <brobecker@gnat.com>
  927. * config/pa/tm-hppah.h (SNAP1): Remove unused macro.
  928. (SNAP2): Likewise.
  929. 2002-12-03 Andrew Cagney <cagney@redhat.com>
  930. * NEWS: Mention Daniel Jacobowitz's multi-threaded shared library
  931. patch.
  932. * PROBLEMS: Mention PR gdb/725.
  933. 2002-12-03 Andreas Schwab <schwab@suse.de>
  934. * infcmd.c (construct_inferior_arguments): Handle empty arguments.
  935. 2002-12-02 Adam Fedor <fedor@gnu.org>
  936. Klee Dienes <kdienes@apple.com>
  937. * objc-lang.c (objc_printstr): Add width arg to match
  938. printstr prototype.
  939. (compare_selectors): Add 'const' to arg types.
  940. (compare_classes): Likewise.
  941. (find_imps): Cast msym pointer to avoid compiler warning.
  942. (print_object_command): Validate the address before
  943. passing it to the print routine.
  944. (find_objc_msgcall_submethod): Change function argument to
  945. return an int.
  946. * objc-lang.h: Add 'extern' to all function declarations.
  947. (value_nsstring): Add declaration.
  948. 2002-12-02 J. Brobecker <brobecker@gnat.com>
  949. * somsolib.c (dld_cache): Replace boolean by int for field is_valid.
  950. Fixes a build failure on HP/UX.
  951. * hpread.c (told_objfile): Replace boolean type by int. Fixes a build
  952. failure on HP/UX.
  953. (hpread_has_name): Advance declaration to avoid a compilation warning.
  954. (pst_syms_count): Add missing variable type. By change, the compiler
  955. was defaulting to int, which seems a good choice. Fixes a compilation
  956. warning.
  957. (pst_syms_size): Likewise.
  958. 2002-12-02 J. Brobecker <brobecker@gnat.com>
  959. * hppa-tdep.c: Add #include "osabi.h" (for hppa_gdbarch_init).
  960. (hppa_gdbarch_init): Detect osabi from objfile. Will be needed
  961. later to set the proper gdbarch methods depending on the osabi.
  962. * Makefile.in (hppa-tdep.o): Add dependency on osabi.h.
  963. 2002-12-02 J. Brobecker <brobecker@gnat.com>
  964. * osabi.h (gdb_osabi): Add two new enum values for HPUX ELF and SOM.
  965. * osabi.c (gdb_osabi_name): Add strings images for the two new
  966. enum values.
  967. (generic_elf_osabi_sniffer): Handle HPUX objfiles.
  968. 2002-12-02 Andrew Cagney <ac131313@redhat.com>
  969. * MAINTAINERS (Java): Global maintainers are responible for Java.
  970. (Past Maintainers): Mention both Anthony Green and Per Bothner as
  971. part Java maintainers.
  972. 2002-12-02 J. Brobecker <brobecker@gnat.com>
  973. * xcoffread.c (read_symbol_lineno): Replace boolean by int.
  974. Fixes a compilation failure on AiX.
  975. 2002-12-02 J. Brobecker <brobecker@gnat.com>
  976. * config/powerpc/aix432.mh (NATDEPFILES): Add a comment explaining
  977. why aix-thread.o is not listed.
  978. 2002-12-01 Andrew Cagney <ac131313@redhat.com>
  979. * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Rename
  980. PC_IN_CALL_DUMMY. Change to predicate. Always allow call.
  981. * gdbarch.h, gdbarch.c: Re-generate.
  982. * config/sparc/tm-sparc.h, config/sparc/tm-sp64.h: Update.
  983. * config/mn10200/tm-mn10200.h, config/h8500/tm-h8500.h: Update.
  984. * config/pa/tm-hppa.h, frame.h: Update.
  985. * x86-64-tdep.c, vax-tdep.c, sparc-tdep.c: Update.
  986. * s390-tdep.c, ns32k-tdep.c, mn10300-tdep.c: Update.
  987. * m68k-tdep.c, i386-tdep.c, frv-tdep.c: Update.
  988. * cris-tdep.c, alpha-tdep.c: Update.
  989. * frame.c (set_unwind_by_pc, create_new_frame): Use either
  990. DEPRECATED_PC_IN_CALL_DUMMY or pc_in_dummy_frame.
  991. (get_prev_frame): Ditto.
  992. 2002-11-30 Andrew Cagney <cagney@redhat.com>
  993. * exec.c (xfer_memory): Replace boolean with int.
  994. * p-exp.y: Use 0 instead of false.
  995. * corelow.c (gdb_check_format): Change return type to int from
  996. boolean.
  997. * utils.c: Don't include <curses.h> or <term.h> first.
  998. 2002-11-29 Stephane Carrez <stcarrez@nerim.fr>
  999. * m68hc11-tdep.c (m68hc11_register_raw_size): Remove.
  1000. (m68hc11_register_byte): Remove.
  1001. (m68hc11_gdbarch_init): Don't set the above.
  1002. 2002-11-29 Andrew Cagney <cagney@redhat.com>
  1003. * remote-mips.c (mips_initialize): Force a selected frame rebuild
  1004. by calling get_selected_frame.
  1005. * ocd.c (ocd_start_remote): Use get_selected frame instead of
  1006. set_current_frame, create_new_frame, select_frame and
  1007. get_current_frame.
  1008. * remote-e7000.c (e7000_start_remote): Ditto.
  1009. * remote-mips.c (common_open): Ditto
  1010. * remote-rdp.c (remote_rdp_open): Ditto.
  1011. 2002-11-29 Andreas Schwab <schwab@suse.de>
  1012. * m68k-tdep.c (m68k_frame_chain, m68k_frame_saved_pc)
  1013. (altos_skip_prologue, delta68_frame_saved_pc, isi_frame_num_args)
  1014. (delta68_frame_num_args, news_frame_num_args, m68k_skip_prologue)
  1015. (m68k_frame_init_saved_regs, m68k_saved_pc_after_call): Use
  1016. read_memory_unsigned_integer instead of read_memory_integer when
  1017. dealing with addresses and instruction opcodes.
  1018. * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc)
  1019. (m68k_linux_frame_saved_pc): Likewise.
  1020. 2002-11-29 Andrew Cagney <ac131313@redhat.com>
  1021. * stack.c (selected_frame, select_frame): Move from here ...
  1022. * frame.c (selected_frame, select_frame): ... to here. Include
  1023. "language.h".
  1024. * Makefile.in (frame.o): Update dependencies.
  1025. * frame.c (get_selected_frame): New function.
  1026. * frame.h (get_selected_frame): Declare.
  1027. (deprecated_selected_frame): Rename selected_frame.
  1028. * ada-lang.c, ada-tasks.c, breakpoint.c, corelow.c: Update.
  1029. * eval.c, f-valprint.c, findvar.c, frame.c, frame.h: Update.
  1030. * h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, infcmd.c: Update.
  1031. * inflow.c, infrun.c, macroscope.c, mips-tdep.c: Update.
  1032. * mn10300-tdep.c, ocd.c, regcache.h, remote-e7000.c: Update.
  1033. * remote-mips.c, remote-rdp.c, sh-tdep.c, sparc-tdep.c: Update.
  1034. * stack.c, thread.c, tracepoint.c, valops.c, varobj.c: Update.
  1035. * z8k-tdep.c, cli/cli-cmds.c: Update.
  1036. 2002-11-29 Andrew Cagney <ac131313@redhat.com>
  1037. * frame.h (get_selected_block): Add comments.
  1038. 2002-11-28 Andrew Cagney <ac131313@redhat.com>
  1039. * frame.c (pc_notcurrent): New function.
  1040. (find_frame_sal): New function.
  1041. * frame.h (find_frame_sal): Declare.
  1042. (struct symtab_and_line): Add opaque declaration.
  1043. * stack.c (print_frame_info_base): Use find_frame_sal instead of
  1044. find_pc_line.
  1045. (frame_info): Ditto.
  1046. * ada-lang.c (find_printable_frame): Ditto.
  1047. 2002-11-28 J. Brobecker <brobecker@gnat.com>
  1048. * configure.in: Check that the pthdebug library is recent enough
  1049. before enabling thread support on native AiX.
  1050. * configure: Regenerate.
  1051. * config/powerpc/aix432.mh (NATDEPFILES): Remove aix-thread.o
  1052. from the list of object files as it is now appended by configure
  1053. if thread support is enabled.
  1054. (NAT_CLIBS): Removed as -lpthdebug is also appended by configure
  1055. if thread support is enabled.
  1056. 2002-11-28 Andrew Cagney <cagney@redhat.com>
  1057. * stack.c (get_selected_block): In-line get_current_block.
  1058. * frame.h (get_current_block): Delete declaration.
  1059. * blockframe.c (get_current_block): Delete function.
  1060. 2002-11-28 Andrew Cagney <ac131313@redhat.com>
  1061. * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Rename
  1062. USE_GENERIC_DUMMY_FRAMES.
  1063. * gdbarch.h, gdbarch.c: Regenerate.
  1064. * valops.c, frame.c: Update.
  1065. * config/z8k/tm-z8k.h, config/mn10200/tm-mn10200.h: Update.
  1066. * config/m32r/tm-m32r.h, config/h8500/tm-h8500.h: Update.
  1067. * config/pa/tm-hppa.h, blockframe.c: Update.
  1068. * vax-tdep.c, sparc-tdep.c, ns32k-tdep.c: Ditto.
  1069. * m68k-tdep.c, alpha-tdep.c: Ditto.
  1070. * arm-tdep.c: Eliminate USE_GENERIC_DUMMY_FRAMES as always 1.
  1071. * mips-tdep.c: Ditto.
  1072. 2002-11-27 Andrew Cagney <ac131313@redhat.com>
  1073. * gdbarch.sh (CALL_DUMMY_LOCATION): Default to AT_ENTRY_POINT.
  1074. (USE_GENERIC_DUMMY_FRAMES): Default to true.
  1075. (PC_IN_CALL_DUMMY): Default to generic_pc_in_call_dummy.
  1076. * gdbarch.c, gdbarch.h: Re-generate.
  1077. * inferior.h (USE_GENERIC_DUMMY_FRAMES): Delete macro definition.
  1078. (CALL_DUMMY_LOCATION): Delete macro definition.
  1079. (PC_IN_CALL_DUMMY): Delete macro definitions.
  1080. * arm-tdep.c (arm_gdbarch_init): Do not set pc_in_call_dummy,
  1081. default is already generic_pc_in_call_dummy.
  1082. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
  1083. * v850-tdep.c (v850_gdbarch_init): Ditto.
  1084. * sh-tdep.c (sh_gdbarch_init): Ditto.
  1085. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  1086. * mips-tdep.c (mips_gdbarch_init): Ditto.
  1087. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  1088. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  1089. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  1090. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  1091. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  1092. * avr-tdep.c (avr_gdbarch_init): Ditto.
  1093. * arm-tdep.c (arm_gdbarch_init): Do not set
  1094. use_generic_dummy_frames, default is already 1.
  1095. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
  1096. * x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
  1097. * v850-tdep.c (v850_gdbarch_init): Ditto.
  1098. * sh-tdep.c (sh_gdbarch_init): Ditto.
  1099. * s390-tdep.c (s390_gdbarch_init): Ditto.
  1100. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  1101. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  1102. * mips-tdep.c (mips_gdbarch_init): Ditto.
  1103. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  1104. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  1105. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  1106. * i386-tdep.c (i386_gdbarch_init): Ditto.
  1107. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  1108. * frv-tdep.c (frv_gdbarch_init): Ditto.
  1109. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  1110. * cris-tdep.c (cris_gdbarch_init): Ditto.
  1111. * avr-tdep.c (avr_gdbarch_init): Ditto.
  1112. * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
  1113. call_dummy_location, default is already AT_ENTRY_POINT.
  1114. * x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
  1115. * v850-tdep.c (v850_gdbarch_init): Ditto.
  1116. * sparc-tdep.c (sparc_gdbarch_init): Ditto.
  1117. * sh-tdep.c (sh_gdbarch_init): Ditto.
  1118. * s390-tdep.c (s390_gdbarch_init): Ditto.
  1119. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  1120. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  1121. * mips-tdep.c (mips_gdbarch_init): Ditto.
  1122. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  1123. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  1124. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  1125. * i386-tdep.c (i386_gdbarch_init): Ditto.
  1126. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  1127. * frv-tdep.c (frv_gdbarch_init): Ditto.
  1128. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  1129. * cris-tdep.c (cris_gdbarch_init): Ditto.
  1130. * avr-tdep.c (avr_gdbarch_init): Ditto.
  1131. * arm-tdep.c (arm_gdbarch_init): Ditto.
  1132. * alpha-tdep.c (alpha_gdbarch_init): Ditto.
  1133. 2002-11-28 Andrew Cagney <cagney@redhat.com>
  1134. * frame.h: Update comments on set_current_frame, create_new_frame,
  1135. flush_cached_frames, reinit_frame_cache, select_frame and
  1136. selected_frame.
  1137. 2002-11-27 Andrew Cagney <cagney@redhat.com>
  1138. * config/z8k/tm-z8k.h (PC_IN_CALL_DUMMY): Update definition to use
  1139. deprecated pc_in_call_dummy function.
  1140. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Ditto.
  1141. * config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Ditto.
  1142. * config/pa/tm-hppa.h (PC_IN_CALL_DUMMY): Ditto.
  1143. * config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Ditto.
  1144. * config/h8500/tm-h8500.h (PC_IN_CALL_DUMMY): Ditto.
  1145. 2002-11-26 Martin M. Hunt <hunt@redhat.com>
  1146. * Makefile.in: Remove Tix dependencies.
  1147. * acinclude.m4: Ditto.
  1148. * aclocal.m4: Ditto.
  1149. * configure.in: Ditto.
  1150. * configure: Regenerated.
  1151. 2002-11-26 Andrew Cagney <ac131313@redhat.com>
  1152. * gdbarch.sh (TARGET_FLOAT_FORMAT): Print the float format name.
  1153. (TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto.
  1154. * gdbarch.c: Re-generate.
  1155. 2002-11-26 Andrew Cagney <ac131313@redhat.com>
  1156. * config/h8500/tm-h8500.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
  1157. (USE_GENERIC_DUMMY_FRAMES): Define as zero.
  1158. (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
  1159. * config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Define as
  1160. pc_in_call_dummy_at_entry_point.
  1161. * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
  1162. (USE_GENERIC_DUMMY_FRAMES): Define as zero.
  1163. (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
  1164. * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Delete undefine.
  1165. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Define as
  1166. pc_in_call_dummy_on_stack.
  1167. * config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Redefine as
  1168. pc_in_call_dummy_at_entry_point and pc_in_call_dummy_on_stack.
  1169. * config/z8k/tm-z8k.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
  1170. (USE_GENERIC_DUMMY_FRAMES): Define as zero.
  1171. (PC_IN_CALL_DUMMY): Defile as pc_in_call_dummy_on_stack.
  1172. 2002-11-26 Andrew Cagney <ac131313@redhat.com>
  1173. * inferior.h (deprecated_pc_in_call_dummy_before_text_end): Rename
  1174. pc_in_call_dummy_before_text_end
  1175. (deprecated_pc_in_call_dummy_after_text_end): Rename
  1176. pc_in_call_dummy_after_text_end.
  1177. (deprecated_pc_in_call_dummy_on_stack): Rename
  1178. pc_in_call_dummy_on_stack.
  1179. (deprecated_pc_in_call_dummy_at_entry_point): Rename
  1180. pc_in_call_dummy_at_entry_point.
  1181. * m68k-tdep.c (m68k_gdbarch_init): Update.
  1182. * s390-tdep.c (s390_gdbarch_init): Update.
  1183. * x86-64-tdep.c (x86_64_gdbarch_init): Update.
  1184. * vax-tdep.c (vax_gdbarch_init): Update.
  1185. * sparc-tdep.c (sparc_gdbarch_init): Update.
  1186. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  1187. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  1188. * i386-tdep.c (i386_gdbarch_init): Update.
  1189. * frv-tdep.c (frv_gdbarch_init): Update.
  1190. * cris-tdep.c (cris_gdbarch_init): Update.
  1191. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Update.
  1192. * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
  1193. (deprecated_pc_in_call_dummy_after_text_end)
  1194. (deprecated_pc_in_call_dummy_on_stack)
  1195. (deprecated_pc_in_call_dummy_at_entry_point): Update.
  1196. * alpha-tdep.c (alpha_gdbarch_init): Update.
  1197. 2002-11-25 Daniel Jacobowitz <drow@mvista.com>
  1198. * acconfig.h (HAVE_PREAD64): Add.
  1199. * configure.in: Check for pread64.
  1200. * config.in: Regenerated.
  1201. * configure: Regenerated.
  1202. * lin-lwp.c (lin_lwp_xfer_memory): Call linux_proc_xfer_memory.
  1203. * linux-proc.c (linux_proc_xfer_memory): New function.
  1204. * config/nm-linux.h (linux_proc_xfer_memory): Add prototype.
  1205. 2002-11-25 David Carlton <carlton@math.stanford.edu>
  1206. * dwarf2read.c (scan_partial_symbols): Descend into namespace
  1207. pdi's with no name.
  1208. 2002-11-25 Andrew Cagney <ac131313@redhat.com>
  1209. * MAINTAINERS: Mark h8500 as broken. Breakage occured Fri Nov 5
  1210. 16:32:04 1999 Andrew Cagney <cagney@b1.cygnus.com>.
  1211. 2002-11-25 Jim Blandy <jimb@redhat.com>
  1212. * symfile.c (init_objfile_sect_indices): New function.
  1213. (default_symfile_offsets): Move the section-index-initializing
  1214. stuff into init_objfile_sect_indices, and call that.
  1215. * symtab.h (SIZEOF_N_SECTION_OFFSETS): New macro.
  1216. (SIZEOF_SECTION_OFFSETS): Use SIZEOF_N_SECTION_OFFSETS.
  1217. * symfile.c (syms_from_objfile): Adjust indentation.
  1218. * symfile.c (symbol_file_add): Flush gdb_stdout even if from_tty
  1219. || info_verbose isn't true.
  1220. 2002-11-24 Andrew Cagney <ac131313@redhat.com>
  1221. * gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Change
  1222. default to get_frame_base.
  1223. * gdbarch.h, gdbarch.c: Regenerate.
  1224. * arch-utils.c (default_frame_address): Delete function.
  1225. * arch-utils.h (default_frame_address): Delete declaration
  1226. 2002-11-24 Pierre Muller <muller@ics.u-strasbg.fr>
  1227. * varobj.c (find_frame_addr_in_frame_chain):
  1228. Use get_frame_base instead of FRAME_FP,
  1229. obvious fix.
  1230. 2002-11-19 Andrew Cagney <ac131313@redhat.com>
  1231. * frame.h (FRAME_FP): Delete macro.
  1232. (get_frame_base): New function declaration.
  1233. * frame.c (get_frame_base): New function.
  1234. (get_frame_id): Use ->frame.
  1235. (frame_find_by_id): Rewrite to use get_frame_id.
  1236. * blockframe.c: Use get_frame_base instead of FRAME_FP.
  1237. * cris-tdep.c, d10v-tdep.c, findvar.c, h8500-tdep.c: Ditto.
  1238. * hppa-tdep.c, i386-tdep.c, infcmd.c, infrun.c: Ditto.
  1239. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
  1240. * mn10200-tdep.c, mn10300-tdep.c, rs6000-tdep.c: Ditto.
  1241. * sh-tdep.c, sparc-tdep.c, stack.c, tracepoint.c: Ditto.
  1242. * v850-tdep.c, valops.c, z8k-tdep.c: Ditto.
  1243. 2002-11-24 Andrew Cagney <ac131313@redhat.com>
  1244. * arm-tdep.c (arm_gdbarch_init): Do not set get_saved_register.
  1245. 2002-11-24 Andrew Cagney <ac131313@redhat.com>
  1246. * frame.c (set_unwind_by_pc): Revert change below, use
  1247. PC_IN_CALL_DUMMY.
  1248. (get_prev_frame): Ditto.
  1249. 2002-11-24 Andrew Cagney <ac131313@redhat.com>
  1250. * dummy-frame.c (pc_in_dummy_frame): New function.
  1251. (generic_pc_in_call_dummy): Call pc_in_dummy_frame.
  1252. (find_dummy_frame): Update comment.
  1253. (generic_pop_current_frame): Use get_frame_type.
  1254. * dummy-frame.h (pc_in_dummy_frame): Declare.
  1255. * frame.c (set_unwind_by_pc): Use pc_in_dummy_frame.
  1256. (create_new_frame): Use pc_in_dummy_frame.
  1257. (get_prev_frame): Use pc_in_dummy_frame.
  1258. (frame_saved_regs_register_unwind): Use get_prev_frame.
  1259. (deprecated_generic_get_saved_register): Use get_prev_frame.
  1260. 2002-11-23 Andrew Cagney <ac131313@redhat.com>
  1261. * blockframe.c (find_frame_addr_in_frame_chain): Move function
  1262. from here ...
  1263. * varobj.c (find_frame_addr_in_frame_chain): ... to here.
  1264. (varobj_create): Note that frame ID should be used.
  1265. * frame.h (find_frame_addr_in_frame_chain): Delete declaration.
  1266. 2002-11-23 Andrew Cagney <ac131313@redhat.com>
  1267. * breakpoint.c: Include "gdb_assert.h".
  1268. (deprecated_frame_in_dummy): Assert that generic dummy frames are
  1269. not being used.
  1270. * Makefile.in (breakpoint.o): Update dependencies.
  1271. * ada-lang.c (find_printable_frame): Use get_frame_type instead of
  1272. deprecated_frame_in_dummy.
  1273. * stack.c (print_frame_info_base): Ditto.
  1274. (frame_info): Ditto.
  1275. (print_frame_info_base): Ditto. Delete dead code.
  1276. 2002-11-23 Andreas Schwab <schwab@suse.de>
  1277. * Makefile.in (m68k_tdep_h): Define.
  1278. (abug-rom.o, cpu32bug-rom.o, dbug-rom.o, m68k-tdep.o, m68klinux-nat.o)
  1279. (remote-est.o, rom68k-rom.o): Add $(m68k_tdep_h).
  1280. * m68k-tdep.c: Move register number enum ...
  1281. * m68k-tdep.h: ... to this new file and rename the constants from
  1282. E_* to M68K_*. All uses changed.
  1283. * config/m68k/tm-m68k.h (D0_REGNUM, A0_REGNUM): Remove definitions.
  1284. * abug-rom.c: Include "m68k-tdep.h". Use
  1285. M68K_D0_REGNUM/M68K_A0_REGNUM instead of D0_REGNUM/A0_REGNUM.
  1286. * cpu32bug-rom.c: Likewise.
  1287. * dbug-rom.c: Likewise.
  1288. * m68k-tdep.c: Likewise.
  1289. * m68klinux-nat.c: Likewise.
  1290. * remote-est.c: Likewise.
  1291. * rom68k-rom.c: Likewise.
  1292. * config/m68k/tm-linux.h: Likewise.
  1293. 2002-11-23 Andrew Cagney <ac131313@redhat.com>
  1294. * arm-tdep.c (arm_gdbarch_init): Remove old style non-generic
  1295. dummy frame initialization code.
  1296. * mips-tdep.c (mips_gdbarch_init): Ditto.
  1297. 2002-11-22 Christopher Faylor <cgf@redhat.com>
  1298. * win32-nat.c (child_attach): Reset saw_create counter or subsequent
  1299. attach will hang.
  1300. 2002-11-22 Andrew Cagney <ac131313@redhat.com>
  1301. * gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Default
  1302. to default_frame_address.
  1303. * gdbarch.h, gdbarch.c: Re-generate.
  1304. * d10v-tdep.c (d10v_gdbarch_init): Do not set frame_args_address
  1305. or frame_locals_address to default_frame_address.
  1306. * m68k-tdep.c (m68k_gdbarch_init): Update.
  1307. * i386-tdep.c (i386_gdbarch_init): Update.
  1308. * frv-tdep.c (frv_gdbarch_init): Update.
  1309. * sh-tdep.c (sh_gdbarch_init): Update.
  1310. * v850-tdep.c (v850_gdbarch_init): Update.
  1311. * sparc-tdep.c (sparc_gdbarch_init): Update.
  1312. * mips-tdep.c (mips_gdbarch_init): Update.
  1313. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  1314. * x86-64-tdep.c (x86_64_gdbarch_init): Update.
  1315. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  1316. * cris-tdep.c (cris_frame_args_address): Delete function.
  1317. (cris_frame_locals_address): Delete function.
  1318. (cris_gdbarch_init): Do not set frame_args_address or
  1319. frame_locals_address.
  1320. 2002-11-22 Michael Snyder <msnyder@redhat.com>
  1321. * thread-db.c (thread_db_load): Tell the user what's going on
  1322. if dlopen fails on libthread_db.
  1323. 2002-11-23 Andreas Schwab <schwab@suse.de>
  1324. * m68k-tdep.c (m68k_register_virtual_type): Use architecture
  1325. invariant return values.
  1326. 2002-11-22 Andreas Schwab <schwab@suse.de>
  1327. * valops.c (value_slice): Move declaration of `offset' to avoid
  1328. warning.
  1329. 2002-11-22 Christopher Faylor <cgf@redhat.com>
  1330. * win32-nat.c (psapi_get_dll_name): Fix a compiler warning.
  1331. (struct so_stuff): Add end_addr field.
  1332. (register_loaded_dll): Calculate and store end address of loaded dll.
  1333. (solib_address): New function.
  1334. (child_solib_loaded_library_pathname): Pass carefully constructed
  1335. section info to safe_symbol_file_add rather than ignoring it.
  1336. (get_child_debug_event): Call re_enable_breakpoints_in_shlibs when a
  1337. DLL is loaded.
  1338. (do_initial_child_stuff): Call disable_breakpoints_in_shlibs.
  1339. (child_create_inferior): Fix a compiler warning.
  1340. * config/i386/tm-cygwin.h (PC_SOLIB): Define new macro.
  1341. (solib_address): Declare new function.
  1342. 2002-11-22 Andreas Schwab <schwab@suse.de>
  1343. * m68k-tdep.c (m68k_register_virtual_type): Return int for SR, FPC
  1344. and FPS registers.
  1345. 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
  1346. * maint.c (_initialize_maint_cmds): Fix typo. From
  1347. Francesco Potorti` <pot@gnu.org>.
  1348. 2002-11-21 Andrew Cagney <cagney@redhat.com>
  1349. * mips-tdep.c (mips_dump_tdep): Delete references to
  1350. GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC.
  1351. * config/mips/tm-mips.h (GDB_TARGET_MASK_DISAS_PC): Delete macro.
  1352. (GDB_TARGET_UNMASK_DISAS_PC): Delete macro.
  1353. * printcmd.c (build_address_symbolic): Delete calls to
  1354. GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC.
  1355. (address_info): Ditto.
  1356. Fix PR gdb/773.
  1357. 2002-11-19 Klee Dienes <kdienes@apple.com>
  1358. Adam Fedor <fedor@gnu.org>
  1359. * completer.c (skip_quoted_chars): Renamed from skip_chars. Add
  1360. the ability to explicitly specify the quote characters and word
  1361. break characters; if NULL is specified for either, use the old
  1362. behavior of using the characters used by the completer.
  1363. (skip_chars): New function. Convenience wrapper around
  1364. skip_quoted_chars to provide the original skip_chars behavior.
  1365. * completer.h (skip_quoted_chars): Add prototype.
  1366. 2002-11-19 Andrew Cagney <ac131313@redhat.com>
  1367. Problems reported by Paul Eggert.
  1368. * gdbarch.sh: Use `sort -k 3`. Fix PR gdb/527.
  1369. 2002-11-19 Andreas Schwab <schwab@suse.de>
  1370. * m68klinux-nat.c (IS_SIGTRAMP, IS_RT_SIGTRAMP)
  1371. (m68k_linux_in_sigtramp, SIGCONTEXT_PC_OFFSET)
  1372. (UCONTEXT_PC_OFFSET, m68k_linux_sigtramp_saved_pc)
  1373. (m68k_linux_frame_saved_pc): Move to ...
  1374. * m68klinux-tdep.c: ... here. New file.
  1375. * Makefile.in (m68klinux-tdep.o): Add dependencies.
  1376. * config/m68k/linux.mt (TDEPFILES): Add m68klinux-tdep.o.
  1377. 2002-11-19 Adam Fedor <fedor@gnu.org>
  1378. * objc-exp.y: Revert to old skip_quoted usage.
  1379. 2002-11-19 Adam Fedor <fedor@gnu.org>
  1380. * Makefile.in (SFILES): Add objc-exp.y objc-lang.c.
  1381. (objc_lang_h): Define.
  1382. (YYFILES): Add objc-exp.tab.c.
  1383. (local-maintainer-clean): Remove objc-exp.tab.c.
  1384. (objc-exp.tab.c, objc-exp.tab.o, objc-lang.o): New target.
  1385. 2002-11-19 Pierre Muller <muller@ics.u-strasbg.fr>
  1386. * p-exp.y (typecast rule): Add automatic dereference of
  1387. pascal classes if needed.
  1388. (THIS): Set current_type.
  1389. Automatically dereference pascal classes.
  1390. (typebase rule): Add ^typebase recognition.
  1391. 2002-11-18 Adam Fedor <fedor@gnu.org>
  1392. * expprint.c (print_subexp): Handle OP_OBJC_NSSTRING,
  1393. OP_OBJC_MSGCALL, and OP_OBJC_SELF.
  1394. (op_name): Handle OP_OBJC_SELF.
  1395. * Makefile.in (expprint.o): Add additional depends.
  1396. 2002-11-18 Adam Fedor <fedor@gnu.org>
  1397. * expression.h: Rename ObjC ops to OP_OBJC_MSGCALL,
  1398. OP_OBJC_SELECTOR, OP_OBJC_NSSTRING, and OP_OBJC_SELF.
  1399. * parse.c (length_of_subexp, prefixify_subexp): Likewise.
  1400. * objc-exp.y: Likewise.
  1401. 2002-11-18 Adam Fedor <fedor@gnu.org>
  1402. * parser-defs.h: (struct objc_class_str): New structure
  1403. for parsing ObjC classes.
  1404. 2002-11-18 Andrew Cagney <ac131313@redhat.com>
  1405. * stack.c (frame_relative_level): Copy function from here ...
  1406. * frame.c (frame_relative_level): ...to here.
  1407. 2002-11-18 Andrew Cagney <ac131313@redhat.com>
  1408. * frame.h (enum frame_type): Define.
  1409. (get_frame_type): Declare.
  1410. (struct frame_info): Add field `type'. Delete field
  1411. signal_handler_caller.
  1412. (deprecated_set_frame_signal_handler_caller): Declare.
  1413. * frame.c (get_frame_type): New function.
  1414. (deprecated_set_frame_type): New function.
  1415. (create_new_frame): Set the frame's type.
  1416. (get_prev_frame): Similar.
  1417. * sparc-tdep.c: Use get_frame_type instead of signal_handler_caller.
  1418. * s390-tdep.c: Ditto.
  1419. * m68klinux-nat.c: Ditto.
  1420. * ns32k-tdep.c: Ditto.
  1421. * x86-64-linux-tdep.c: Ditto.
  1422. * vax-tdep.c: Ditto.
  1423. * rs6000-tdep.c: Ditto.
  1424. * ppc-linux-tdep.c: Ditto.
  1425. * i386-interix-tdep.c: Ditto.
  1426. * mips-tdep.c: Ditto.
  1427. * m68k-tdep.c: Ditto.
  1428. * hppa-tdep.c: Ditto.
  1429. * ia64-tdep.c: Ditto.
  1430. * cris-tdep.c: Ditto.
  1431. * arm-tdep.c: Ditto.
  1432. * alpha-tdep.c: Ditto.
  1433. * i386-tdep.c: Ditto.
  1434. * stack.c: Ditto.
  1435. * ada-lang.c: Ditto.
  1436. * blockframe.c: Update.
  1437. * i386-interix-tdep.c (i386_interix_back_one_frame): Use
  1438. deprecated_set_frame_type instead of signal_handler_caller.
  1439. * ppc-linux-tdep.c (ppc_linux_init_extra_frame_info): Ditto.
  1440. * rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto.
  1441. * breakpoint.h: Delete FIXME suggesting get_frame_type.
  1442. 2002-11-18 Klee Dienes <kdienes@apple.com>
  1443. * Makefile.in (buildsym.o): Add dependency for gdb_assert.h.
  1444. 2002-11-18 Klee Dienes <kdienes@apple.com>
  1445. * buildsym.c (pop_context): Add comment.
  1446. 2002-11-18 Klee Dienes <kdienes@apple.com>
  1447. * buildsym.h (pop_context): Convert to function, defined in
  1448. buildsym.c.
  1449. * buildsym.c: Include gdb_assert.h.
  1450. (pop_context): Implement as C function. Add check for stack
  1451. underflow.
  1452. * dbxread.c (process_one_symbol): Complain and stop processing
  1453. that symbol if we are already at the top of the context stack for
  1454. a function-end N_FUN (this would imply an umatched RBRAC). Ditto
  1455. when processing N_RBRAC.
  1456. 2002-11-16 Daniel Jacobowitz <drow@mvista.com>
  1457. * config/pa/nm-hppah.h (CHILD_POST_FOLLOW_INFERIOR_BY_CLONE): Don't
  1458. define.
  1459. (struct target_waitstatus): Add opaque definition.
  1460. * corelow.c (init_core_ops): Don't set to_clone_and_follow_inferior.
  1461. * exec.c (init_exec_ops): Likewise.
  1462. * fork-child.c (clone_and_follow_inferior): Remove.
  1463. * hppah-nat.c (child_post_follow_inferior_by_clone): Remove.
  1464. * inferior.h (clone_and_follow_inferior): Remove prototype.
  1465. * infrun.c (follow_fork_mode_both): Remove.
  1466. (follow_fork_mode_kind_names): Remove commented out "both".
  1467. (follow_inferior_fork): Remove follow_fork_mode_both support.
  1468. * inftarg.c (child_clone_and_follow_inferior): Remove.
  1469. (child_post_follow_inferior_by_clone): Remove.
  1470. (init_child_ops): Don't set to_clone_and_follow_inferior
  1471. or to_post_follow_inferior_by_clone.
  1472. * target.c (default_clone_and_follow_inferior): Remove.
  1473. (cleanup_target): Don't set to_clone_and_follow_inferior
  1474. or to_post_follow_inferior_by_clone.
  1475. (find_default_clone_and_follow_inferior): Remove.
  1476. (init_dummy_target): Don't set to_clone_and_follow_inferior.
  1477. (debug_to_clone_and_follow_inferior): Remove.
  1478. (debug_to_post_follow_inferior_by_clone): Remove.
  1479. (setup_target_debug): Don't set to_clone_and_follow_inferior
  1480. or to_post_follow_inferior_by_clone.
  1481. * target.h (struct target_ops): Remove to_clone_and_follow_inferior
  1482. and to_post_follow_inferior_by_clone.
  1483. (child_clone_and_follow_inferior): Remove prototype.
  1484. (child_post_follow_inferior_by_clone): Remove prototype.
  1485. (target_clone_and_follow_inferior): Remove macro.
  1486. (target_post_follow_inferior_by_clone): Remove macro.
  1487. (find_default_clone_and_follow_inferior): Remove prototype.
  1488. 2002-11-16 Daniel Jacobowitz <drow@mvista.com>
  1489. * breakpoint.c (bpstat_stop_status): Call inferior_has_forked,
  1490. inferior_has_vforked, and inferior_has_execd instead of
  1491. target_has_forked, target_has_vforked, and target_has_execd.
  1492. * config/pa/nm-hppah.h (CHILD_HAS_FORKED, CHILD_HAS_VFORKED)
  1493. (CHILD_HAS_EXECD, CHILD_HAS_SYSCALL_EVENT): Don't define.
  1494. (CHILD_WAIT): Define.
  1495. (child_wait): Add prototype.
  1496. * hppah-nat.c (hpux_has_forked): Rename from child_has_forked.
  1497. Add prototype.
  1498. (hpux_has_vforked): Likewise, from child_has_vforked.
  1499. (hpux_has_execd): Likewise, from child_has_execd.
  1500. (hpux_has_syscall_event): Likewise, from child_has_syscall_event.
  1501. (not_same_real_pid, child_wait): New, copied from inftarg.c.
  1502. Call hpux_has_forked, hpux_has_vforked, hpux_has_execd,
  1503. and hpux_has_syscall_event instead of the target hooks.
  1504. * infrun.c (inferior_has_forked, inferior_has_vforked)
  1505. (inferior_has_execd): New functions.
  1506. * inftarg.c (not_same_real_pid): Remove.
  1507. (child_wait): Remove references to not_same_real_pid,
  1508. target_has_forked, target_has_vforked, target_has_execd,
  1509. and target_has_syscall_event.
  1510. (child_has_forked, child_has_vforked, child_has_execd)
  1511. (child_has_syscall_event): Remove.
  1512. (init_child_ops): Remove references to child_has_forked,
  1513. child_has_vforked, child_has_execd, and child_has_syscall_event.
  1514. * infttrace.c (hpux_has_forked): Rename from child_has_forked.
  1515. (hpux_has_vforked): Likewise, from child_has_vforked.
  1516. (hpux_has_execd): Likewise, from child_has_execd.
  1517. (hpux_has_syscall_event): Likewise, from child_has_syscall_event.
  1518. * target.c (cleanup_target): Remove references to
  1519. to_has_forked, to_has_vforked, to_has_execd, and
  1520. to_has_syscall_event.
  1521. (update_current_target): Likewise.
  1522. (setup_target_debug): Likewise.
  1523. (debug_to_has_forked): Remove.
  1524. (debug_to_has_vforked): Remove.
  1525. (debug_to_has_execd): Remove.
  1526. (debug_to_has_syscall_event): Remove.
  1527. * target.h (struct target_ops): Remove to_has_forked.
  1528. to_has_vforked, to_has_execd, and to_has_syscall_event.
  1529. (child_has_forked, child_has_vforked, child_has_execd)
  1530. (child_has_syscall_event): Remove prototypes.
  1531. (inferior_has_forked, inferior_has_vforked, inferior_has_execd): Add
  1532. prototypes.
  1533. (target_has_forked, target_has_vforked, target_has_execd)
  1534. (target_has_syscall_event): Remove macros.
  1535. 2002-11-16 Daniel Jacobowitz <drow@mvista.com>
  1536. * hppah-nat.c (child_can_follow_vfork_prior_to_exec): Remove.
  1537. * inftarg.c (child_can_follow_vfork_prior_to_exec): Remove.
  1538. (init_child_ops): Don't initialize to_can_follow_vfork_prior_to_exec.
  1539. * infttrace.c (child_can_follow_vfork_prior_to_exec): Remove.
  1540. * target.c (cleanup_target): Remove reference to
  1541. to_can_follow_vfork_prior_to_exec.
  1542. (update_current_target): Likewise.
  1543. (debug_to_can_follow_vfork_prior_to_exec): Remove.
  1544. (setup_target_debug): Remove reference to
  1545. to_can_follow_vfork_prior_to_exec.
  1546. * target.h (struct target_ops): Remove
  1547. to_can_follow_vfork_prior_to_exec.
  1548. (child_can_follow_vfork_prior_to_exec): Remove prototype.
  1549. (target_can_follow_vfork_prior_to_exec): Remove definition.
  1550. * config/pa/nm-hppah.h (CHILD_CAN_FOLLOW_VFORK_PRIOR_TO_EXEC): Don't
  1551. define.
  1552. * infrun.c (follow_vfork_when_exec): Remove.
  1553. (follow_inferior_fork): Remove references to follow_vfork_when_exec.
  1554. (follow_exec): Likewise.
  1555. (handle_inferior_event): Likewise.
  1556. (keep_going): Likewise.
  1557. 2002-11-15 Andrew Cagney <cagney@redhat.com>
  1558. * frame.c (generic_unwind_get_saved_register): Make static.
  1559. * frame.h (generic_unwind_get_saved_register): Delete declaration.
  1560. * avr-tdep.c (avr_gdbarch_init): Do not set get_saved_register,
  1561. defaults to generic_unwind_get_saved_register.
  1562. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  1563. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  1564. * frv-tdep.c (frv_gdbarch_init): Ditto.
  1565. * i386-tdep.c (i386_gdbarch_init): Ditto.
  1566. * s390-tdep.c (s390_gdbarch_init): Ditto.
  1567. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  1568. * v850-tdep.c (v850_gdbarch_init): Ditto.
  1569. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  1570. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  1571. * config/mn10200/tm-mn10200.h (GET_SAVED_REGISTER): Delete macro.
  1572. 2002-11-15 Andrew Cagney <cagney@redhat.com>
  1573. * x86-64-linux-nat.c (i386_sse_regnum_p): New function. Copy from
  1574. i386-tdep.c.
  1575. 2002-11-15 Andrew Cagney <cagney@redhat.com>
  1576. * frame.h (sigtramp_saved_pc): Delete declaration.
  1577. * blockframe.c (sigtramp_saved_pc): Delete function.
  1578. * ns32k-tdep.c (ns32k_sigtramp_saved_pc): New function.
  1579. (ns32k_frame_saved_pc): Call ns32k_sigtramp_saved_pc.
  1580. * vax-tdep.c (vax_sigtramp_saved_pc): New function.
  1581. (vax_frame_saved_pc): Call vax_sigtramp_saved_pc.
  1582. 2002-11-15 Andrew Cagney <ac131313@redhat.com>
  1583. * frame.c (frame_pc_unwind): New function.
  1584. (frame_saved_regs_pc_unwind): New function.
  1585. (frame_register_unwind): Pass unwind_cache instead of
  1586. register_unwind_cache.
  1587. (set_unwind_by_pc): Add unwind_pc parameter, set.
  1588. (create_new_frame): Pass frame->pc_unwind to set_unwind_by_pc.
  1589. (get_prev_frame): Ditto.
  1590. * frame.h (frame_pc_unwind_ftype): Declare.
  1591. (struct frame_info): Add pc_unwind, pc_unwind_cache_p and
  1592. pc_unwind_cache. Rename register_unwind_cache to unwind_cache.
  1593. (frame_pc_unwind): Declare.
  1594. * dummy-frame.c (dummy_frame_pc_unwind): New function.
  1595. (struct dummy_frame): Add comment mentioning that values are for
  1596. previous frame.
  1597. * dummy-frame.h (dummy_frame_pc_unwind): Declare.
  1598. * blockframe.c (file_frame_chain_valid): Use frame_pc_unwind.
  1599. (generic_file_frame_chain_valid): Ditto.
  1600. * stack.c (frame_info): Ditto.
  1601. 2002-11-15 David Carlton <carlton@math.stanford.edu>
  1602. * linespec.c (locate_first_half): New function.
  1603. (decode_line_1): Move code into locate_first_half.
  1604. 2002-11-15 Andrew Cagney <ac131313@redhat.com>
  1605. * complaints.h: Add comment explaining how to eliminate a
  1606. deprecated_complain call.
  1607. * complaints.h: Fix spelling errors.
  1608. 2002-11-15 David Carlton <carlton@math.stanford.edu>
  1609. * printcmd.c: Remove #include "disasm.h".
  1610. 2002-11-14 Andrew Cagney <ac131313@redhat.com>
  1611. * frame.h: Move the most relevant interface functions to the start
  1612. of the file.
  1613. 2002-11-14 Andrew Cagney <ac131313@redhat.com>
  1614. * regcache.h (deprecated_registers): Rename registers.
  1615. * a68v-nat.c, alpha-nat.c, arch-utils.c, core-sol2.c: Update.
  1616. * hp300ux-nat.c, hppab-nat.c, hppah-nat.c: Update.
  1617. * hppam3-nat.c, hpux-thread.c, i386gnu-nat.c: Update.
  1618. * ia64-aix-nat.c, ia64-linux-nat.c, ia64-tdep.c: Update.
  1619. * irix4-nat.c, irix5-nat.c, lynx-nat.c, m68k-tdep.c: Update.
  1620. * m68knbsd-nat.c, mips-linux-tdep.c, mipsm3-nat.c: Update.
  1621. * mipsv4-nat.c, ns32knbsd-nat.c, ppc-bdm.c: Update.
  1622. * ppc-sysv-tdep.c, ptx4-nat.c, regcache.c, remote-es.c: Update.
  1623. * remote-sds.c, remote-vx68.c, remote-vxmips.c: Update.
  1624. * remote-vxsparc.c, rs6000-tdep.c, sol-thread.c: Update.
  1625. * sparc-nat.c, sparc-tdep.c, sun3-nat.c, symm-nat.c: Update.
  1626. * v850ice.c: Update.
  1627. Wed Nov 13 19:51:05 2002 Andrew Cagney <cagney@redhat.com>
  1628. * utils.c (gdb_realpath): Add comment mentioning realpath with a
  1629. NULL buffer.
  1630. 2002-11-13 Andrew Cagney <cagney@redhat.com>
  1631. * regcache.h (deprecated_read_register_bytes): Rename
  1632. read_register_bytes.
  1633. (deprecated_write_register_bytes): Rename write_register_bytes.
  1634. * alpha-tdep.c, arm-tdep.c, cris-tdep.c, d10v-tdep.c: Update.
  1635. * dwarf2cfi.c, frv-tdep.c, hppa-tdep.c, ia64-tdep.c: Update.
  1636. * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update.
  1637. * ns32k-tdep.c, regcache.c, remote-sds.c, remote-vx.c: Update.
  1638. * remote.c, rs6000-tdep.c, s390-tdep.c, sh-tdep.c: Update.
  1639. * sparc-tdep.c, v850-tdep.c, vax-tdep.c, x86-64-tdep.c: Update.
  1640. * xstormy16-tdep.c, z8k-tdep.c, config/nm-gnu.h: Update.
  1641. * config/nm-m3.h, config/h8500/tm-h8500.h: Update.
  1642. * config/i386/nm-ptx4.h, config/i386/nm-symmetry.h: Update.
  1643. * config/m32r/tm-m32r.h, config/m68k/nm-sun3.h: Update.
  1644. * config/m68k/tm-delta68.h, config/m68k/tm-linux.h: Update.
  1645. * config/mn10200/tm-mn10200.h, config/pa/tm-hppa64.h: Update.
  1646. * config/sparc/nm-nbsd.h, config/sparc/nm-sun4os4.h: Update.
  1647. * config/sparc/nm-sun4sol2.h, config/sparc/tm-sparclet.h: Update.
  1648. 2002-11-13 Jim Blandy <jimb@redhat.com>
  1649. * findvar.c (read_var_value): Doc fix.
  1650. 2002-11-13 Andrew Cagney <cagney@redhat.com>
  1651. * regcache.c (struct regcache): Replace passthough_p with
  1652. readonly_p.
  1653. (regcache_xmalloc): Initialize readonly_p.
  1654. (build_regcache): Initialize readonly_p.
  1655. (regcache_save): New function.
  1656. (regcache_restore): New function.
  1657. (regcache_cpy): Re-implement using regcache_save and
  1658. regcache_restore.
  1659. (regcache_raw_read): Update.
  1660. (regcache_cooked_read): When a read-only cache, checked for cached
  1661. pseudo register values.
  1662. (regcache_raw_write): Assert that the cache is not read-only.
  1663. Remove code handling a non-passthrough cache.
  1664. * regcache.h (regcache_save): Declare.
  1665. (regcache_restore): Declare.
  1666. 2002-11-13 Andrew Cagney <cagney@redhat.com>
  1667. * regcache.c (struct regcache_descr): Add fields
  1668. sizeof_cooked_registers and sizeof_cooked_register_valid_p.
  1669. (init_legacy_regcache_descr): Compute the size of a cooked
  1670. register cache and then assign that to sizeof_raw_registers. Set
  1671. sizeof_raw_register_valid_p to sizeof_cooked_register_valid_p
  1672. (init_legacy_regcache_descr): Ditto.
  1673. 2002-11-13 Andrew Cagney <cagney@redhat.com>
  1674. * regcache.c (register_buffer): Move to near start of file, update
  1675. description.
  1676. (regcache_raw_read): Use.
  1677. (regcache_raw_write): Use.
  1678. (struct regcache): Rename raw_registers to registers and
  1679. raw_register_valid_p to register_valid_p.
  1680. (regcache_xmalloc): Update.
  1681. (regcache_xfree): Update.
  1682. (register_buffer): Update.
  1683. (regcache_cpy): Update.
  1684. (regcache_cpy_no_passthrough): Update.
  1685. (regcache_valid_p): Update.
  1686. (deprecated_grub_regcache_for_registers): Update.
  1687. (deprecated_grub_regcache_for_register_valid): Update.
  1688. (set_register_cached): Update.
  1689. (regcache_raw_write): Update.
  1690. 2002-11-13 Pierre Muller <muller@ics.u-strasbg.fr>
  1691. * p-exp.y (name_not_typename): Use copy_name to
  1692. set current_type variable for fields of THIS.
  1693. 2002-11-12 Daniel Jacobowitz <drow@mvista.com>
  1694. * gnu-nat.c (init_gnu_ops): Remove NULL initializations.
  1695. * monitor.c (init_base_monitor_ops): Likewise.
  1696. * ppc-bdm.c (init_bdm_ppc_ops): Likewise.
  1697. * remote-array.c (init_array_ops): Likewise.
  1698. * remote-e7000.c (init_e7000_ops): Likewise.
  1699. * remote-es.c (init_es1800_ops): Likewise.
  1700. (init_es1800_child_ops): Likewise.
  1701. * remote-rdp.c (init_remote_rdp_ops): Likewise.
  1702. * remote-sim.c (init_gdbsim_ops): Likewise.
  1703. * remote-st.c (init_st2000_ops): Likewise.
  1704. * sol-thread.c (init_sol_core_ops): Likewise.
  1705. (init_sol_thread_ops): Likewise.
  1706. * v850ice.c (init_850ice_ops): Likewise.
  1707. * win32-nat.c (init_child_ops): Likewise.
  1708. * wince.c (init_child_ops): Likewise.
  1709. 2002-11-12 Andrew Cagney <ac131313@redhat.com>
  1710. * utils.c (gdb_realpath): Make rp a constant pointer.
  1711. 2002-11-12 Andrew Cagney <ac131313@redhat.com>
  1712. * utils.c (gdb_realpath): Rewrite. Try, in order: realpath() with
  1713. a constant buffer; cannonicalize_file_name(); realpath() with a
  1714. pathconf() defined buffer, xstrdup().
  1715. 2002-11-12 Andrew Cagney <ac131313@redhat.com>
  1716. * config/djgpp/fnchange.lst: Fix typo, hang1.c to hang1.C; hang2.c
  1717. to hang2.C; hang3.c to hang3.C.
  1718. 2002-11-11 Elena Zannoni <ezannoni@redhat.com>
  1719. * findvar.c (read_var_value): Reenable TLS code.
  1720. 2002-11-11 Elena Zannoni <ezannoni@redhat.com>
  1721. Jim Blandy <jimb@redhat.com>
  1722. * gdb_thread_db.h (enum): Add TD_NOTALLOC.
  1723. * target.c (update_current_target): Add
  1724. to_get_thread_local_address.
  1725. * target.h (to_get_thread_local_address): Export.
  1726. (target_get_thread_local_address): Define.
  1727. (target_get_thread_local_address_p): Define.
  1728. * thread-db.c: Include solib-svr4.h.
  1729. (td_thr_tls_get_addr_p): Define.
  1730. (thread_db_load): Get a pointer to td_thr_tls_get_addr.
  1731. (thread_db_get_thread_local_address): New function.
  1732. (init_thread_db_ops): Initialize to_get_thread_local_address.
  1733. * configure.in: Add test for TD_NOTALLOC in thread_db.h.
  1734. * configure: Regenerate.
  1735. * config.in: Regenerate.
  1736. 2002-11-11 David Carlton <carlton@math.stanford.edu>
  1737. * linespec.c (set_flags): New function.
  1738. (decode_line_1): Move code into set_flags.
  1739. 2002-11-11 David Carlton <carlton@math.stanford.edu>
  1740. * linespec.c (decode_line_1): Move chunks of code to separate
  1741. functions.
  1742. (initialize_defaults): New function.
  1743. (decode_indirect): New function.
  1744. 2002-11-11 Andrew Cagney <ac131313@redhat.com>
  1745. * blockframe.c (sigtramp_saved_pc): Fix tipo. void_func_ptr
  1746. instead of void_code_ptr.
  1747. (sigtramp_saved_pc): Ditto.
  1748. * x86-64-tdep.c (i386_fp_regnum_p): Copy i386-tdep.c's
  1749. i386_fp_regnum_p.
  1750. 2002-11-10 Daniel Jacobowitz <drow@mvista.com>
  1751. * gdbtypes.h (struct main_type): Move artificial flag out of
  1752. loc. New member of ``struct field'' named static_kind. Reduce
  1753. overloaded meaning of bitsize.
  1754. (FIELD_ARTIFICIAL, SET_FIELD_PHYSNAME, SET_FIELD_PHYSADDR)
  1755. (TYPE_FIELD_STATIC, TYPE_FIELD_STATIC_HAS_ADDR): Likewise.
  1756. (FIELD_STATIC_KIND, TYPE_FIELD_STATIC_KIND): New macros.
  1757. * ada-lang.c (fill_in_ada_prototype): Initialize static_kind for
  1758. new fields.
  1759. (template_to_fixed_record_type, template_to_static_fixed_type)
  1760. (to_record_with_fixed_variant_part): Likewise.
  1761. * coffread.c (coff_read_struct_type, coff_read_enum_type): Likewise.
  1762. * dwarf2read.c (dwarf2_add_field, read_enumeration): Likewise.
  1763. * dwarfread.c (struct_type, enum_type): Likewise.
  1764. * hpread.c (hpread_read_enum_type)
  1765. (hpread_read_function_type, hpread_read_doc_function_type)
  1766. (hpread_read_struct_type): Likewise.
  1767. * mdebugread.c (parse_symbol): Likewise.
  1768. 2002-11-10 Andrew Cagney <ac131313@redhat.com>
  1769. * breakpoint.h (deprecated_frame_in_dummy): Rename frame_in_dummy.
  1770. * stack.c (print_frame_info_base): Update.
  1771. (print_frame_info_base, frame_info): Update.
  1772. * sparc-tdep.c (sparc_init_extra_frame_info): Update.
  1773. (sparc_frame_saved_pc): Update.
  1774. * ada-lang.c (find_printable_frame): Update.
  1775. * breakpoint.c (deprecated_frame_in_dummy): Update.
  1776. 2002-11-09 Mark Kettenis <kettenis@gnu.org>
  1777. * i386-linux-nat.c (ORIG_EAX): Define to -1 if not already
  1778. defined.
  1779. (regmap): Extend to cover all registers.
  1780. (PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE,
  1781. OLD_CANNOT_FETCH_REGISTERS, OLD_CANNOT_STORE_REGISTERS): Remove
  1782. definitions.
  1783. (fetch_register, sore_register): Simplify.
  1784. (old_fetch_inferior_registers, old_store_inferior_registers):
  1785. Remove functions.
  1786. (cannot_fetch_register, cannot_store_register): Change
  1787. implementation to use regmap array to decide which registers
  1788. cannot be fetched/stored. This removes $orig_eax from the
  1789. registers that cannot be fetched/stored.
  1790. (fetch_inferior_registers): Call fetch_register directly instead
  1791. of calling old_fetch_inferior_registers.
  1792. (store_inferior_registers): Call store_register directly instead
  1793. of calling old_store_inferior_registers.
  1794. (i386_linux_dr_get): Replace PT_READ_U with PTRACE_PEEKUSER.
  1795. (i386_linux_dr_set): Replace PT_WRITE_U with PTRACE_POKEUSER.
  1796. * config/i386/nm-linux.h (U_REGS_OFFSET): Remove definition.
  1797. 2002-11-09 Klee Dienes <kdienes@apple.com>
  1798. * i387-tdep.c (i387_supply_register): When called with NULL as a
  1799. buffer, mark the register as not provided (to mirror the behavior
  1800. of supply_register).
  1801. (i387_supply_fxsave): Ditto.
  1802. (i387_supply_fsave): Ditto (inherits the behavior from
  1803. i387_supply_register).
  1804. 2002-11-09 Klee Dienes <kdienes@apple.com>
  1805. * blockframe.c (sigtramp_saved_pc): Use
  1806. builtin_type_void_code_ptr, not builtin_type_void_data_ptr (we are
  1807. extracting the PC). Use TYPE_LENGTH (builtin_type_void_code_ptr)
  1808. instead of (TARGET_PTR_BIT / TARGET_CHAR_BIT).
  1809. 2002-11-09 Andrew Cagney <ac131313@redhat.com>
  1810. * frame.c (get_prev_frame): Test prev_p to identify a previously
  1811. unwound frame. Initialize prev_p.
  1812. * frame.h (struct frame_info): Add field prev_p. Expand prev/next
  1813. comment.
  1814. 2002-11-09 Andrew Cagney <ac131313@redhat.com>
  1815. * frame.c (get_prev_frame): Cleanups. Eliminate redundant tests
  1816. for a NULL NEXT_FRAME. Simplify fromleaf initialization. Add
  1817. more comments. Zap dead code.
  1818. 2002-11-09 Mark Kettenis <kettenis@gnu.org>
  1819. * infcmd.c (print_vector_info, print_float_info): Move code that
  1820. checks whether the target has any registers and whether there is a
  1821. selected frame up, such that it is also used if a target provides
  1822. multi-arch definitions of these functions.
  1823. 2002-11-08 Andrew Cagney <ac131313@redhat.com>
  1824. * Makefile.in (DESTDIR): Define.
  1825. (install-only, install-gdbtk, uninstall-gdbtk): Add $(DESTDIR)
  1826. prefix.
  1827. * config/djgpp/fnchange.lst: 8.3 proof i386obsd-nat.c and
  1828. i386obsd-tdep.c. Rename to "gdb.cxx", paths containing "gdb.c++".
  1829. 2002-11-08 Andrew Cagney <ac131313@redhat.com>
  1830. * i386-linux-tdep.c: Include "reggroups.h".
  1831. (i386_linux_register_reggroup_p): New function.
  1832. (i386_linux_init_abi): Set register_reggroup_p to
  1833. i386_linux_register_reggroup_p.
  1834. * i386-tdep.h (i386_register_reggroup_p): Declare.
  1835. * i386-tdep.c: Include "reggroups.h".
  1836. (i386_init_reggroups): New function.
  1837. (i386_add_reggroups): New function.
  1838. (i386_register_reggroup_p): New function.
  1839. (i386_sse_reggroup, i386_mmx_reggroup): New variables.
  1840. (_initialize_i386_tdep): Call i386_init_reggroups.
  1841. (i386_gdbarch_init): Set register_reggroup_p and add in the i386
  1842. specific reggroups.
  1843. 2002-11-09 Mark Kettenis <kettenis@gnu.org>
  1844. * infptrace.c (child_xfer_memory): Make use of the new PT_IO
  1845. request that's available in *BSD.
  1846. * i386-tdep.h (IS_FPU_CTRL_REGNUM): Remove.
  1847. * i387-tdep.c (i387_fill_fxsave): Use FOOFF_REGNUM instead of
  1848. FDOFF_REGNUM.
  1849. 2002-11-08 Andrew Cagney <ac131313@redhat.com>
  1850. * frame.c (set_unwind_by_pc): Use dummy_frame_register_unwind.
  1851. * dummy-frame.c (find_dummy_frame): Rename
  1852. generic_find_dummy_frame, make static. Return the dummy frame
  1853. instead of the regcache.
  1854. (generic_find_dummy_frame): Re-implement using find_dummy_frame,
  1855. (cached_find_dummy_frame): New function. Use find_dummy_frame.
  1856. (dummy_frame_register_unwind): Rename
  1857. generic_call_dummy_register_unwind. Use cached_find_dummy_frame.
  1858. * dummy-frame.h (dummy_frame_register_unwind): Rename
  1859. generic_call_dummy_register_unwind.
  1860. 2002-11-08 Mark Kettenis <kettenis@gnu.org>
  1861. * config/i386/tm-i386v42mp.h: Remove file. Move its contents,
  1862. except the inclusion of "i386/tm-i386.h", to...
  1863. * config/i386/nm-i386v42mp.h: ...here.
  1864. * config/i386/i386v42mp.mt (TM_FILE): Set to tm-i386.h.
  1865. 2002-11-08 Andrew Cagney <ac131313@redhat.com>
  1866. * Makefile.in (frame.o): Update dependencies.
  1867. * blockframe.c (current_frame, frame_obstack_alloc)
  1868. (frame_saved_regs_zalloc, get_current_frame)
  1869. (set_current_frame, create_new_frame)
  1870. (set_unwind_by_pc, get_next_frame)
  1871. (flush_cached_frames, reinit_frame_cache)
  1872. (frame_saved_regs_register_unwind)
  1873. (deprecated_generic_get_saved_register)
  1874. (get_prev_frame, get_frame_pc, get_frame_saved_regs)
  1875. (_initialize_blockframe): Move frame code from here...
  1876. * frame.c: ...to here. Include "gdb_obstack.h", "gdbcore.h",
  1877. "annotate.h" and "dummy-frame.h".
  1878. (_initialize_frame): New function.
  1879. 2002-11-08 Jim Blandy <jimb@redhat.com>
  1880. * dwarf2read.c (read_func_scope): Restore list_in_scope properly
  1881. when we finish a function a context.
  1882. * buildsym.h (outermost_context_p): New macro.
  1883. (Bug analyzed by David Edelsohn.)
  1884. 2002-11-08 Andrew Cagney <ac131313@redhat.com>
  1885. * blockframe.c: Include "dummy-frame.h".
  1886. (struct dummy_frame, dummy_frame_stack)
  1887. (generic_find_dummy_frame, deprecated_generic_find_dummy_frame)
  1888. (generic_pc_in_call_dummy, deprecated_read_register_dummy)
  1889. (generic_push_dummy_frame, generic_save_dummy_frame_tos)
  1890. (generic_save_call_dummy_addr, generic_pop_current_frame)
  1891. (generic_pop_dummy_frame, generic_fix_call_dummy)
  1892. (generic_fix_call_dummy, generic_call_dummy_register_unwind): Move
  1893. dummy frame code from here...
  1894. * dummy-frame.c: ...to here. New file.
  1895. * dummy-frame.h: New file.
  1896. (generic_call_dummy_register_unwind): Declare.
  1897. (generic_find_dummy_frame): Declare.
  1898. * Makefile.in (SFILES): Add dummy-frame.c.
  1899. (dummy-frame.o): Specify dependencies.
  1900. (dummy_frame_h): Define.
  1901. (COMMON_OBS): Add dummy-frame.o.
  1902. (blockframe.o): Update dependencies.
  1903. 2002-11-08 Jim Blandy <jimb@redhat.com>
  1904. * dwarf2read.c (read_func_scope): Restore local_symbols and
  1905. param_symbols after we finish the function context. (Based on a
  1906. patch from David Edelsohn.)
  1907. 2002-11-08 David Carlton <carlton@math.stanford.edu>
  1908. * linespec.c (symbol_found): New function.
  1909. (minsym_found): New function.
  1910. (decode_line_1): Separate out some code into separate functions.
  1911. 2002-11-08 Joel Brobecker <brobecker@gnat.com>
  1912. * i386-tdep.c (i386_frameless_signal_p): Make non static for
  1913. the benefit of the interix target.
  1914. * i386-tdep.h (i386_frameless_signal_p): Declare.
  1915. 2002-11-08 Andrew Cagney <ac131313@redhat.com>
  1916. * i386-tdep.h (i386_linux_orig_eax_regnum_p): Delete stray
  1917. declaration that snuck in from change below.
  1918. 2002-11-06 Andrew Cagney <cagney@redhat.com>
  1919. * i386-tdep.c (i386_mmx_regnum_p): Rename mmx_regnum_p. Update
  1920. all callers.
  1921. (i386_fp_regnum_p): New function. Use instead of FP_REGNUM_P.
  1922. (i386_fpc_regnum_p): New function. Use instead of FPC_REGNUM_P.
  1923. (i386_sse_regnum_p): New function. Use instead of SSE_REGNUM_P.
  1924. (i386_mxcsr_regnum_p): new function. Use instead of
  1925. MXCSR_REGNUM_P.
  1926. * i386-tdep.h (SSE_REGNUM_P): Delete macro.
  1927. (i386_sse_regnum_p): Declare.
  1928. (i386_mxcsr_regnum_p): Declare.
  1929. (FP_REGNUM_P, FPC_REGNUM_P): Delete macros.
  1930. (i386_fp_regnum_p, i386_fpc_regnum_p): Declare.
  1931. (IS_FP_REGNUM): Update definition.
  1932. (IS_FPU_CTRL_REGNUM): Update definition..
  1933. (IS_SSE_REGNUM): Update definition..
  1934. * i386v-nat.c (register_u_addr): Update.
  1935. * go32-nat.c (fetch_register): Update.
  1936. (store_register): Update.
  1937. 2002-11-07 Joel Brobecker <brobecker@gnat.com>
  1938. Preparation work to convert the hppa targets to multiarch partial.
  1939. * hppa-tdep.c: Add new functions replacing macro bodies from
  1940. config/pa/tm-hppa.h. These function will be used to initialize
  1941. the gdbarch structure. Import some comments from tm-hppa.h,
  1942. and place them where appropriate, to avoid loosing them when
  1943. we cleanup this file.
  1944. (hppa_reg_struct_has_addr): New function.
  1945. (hppa_inner_than): New function.
  1946. (hppa_stack_align): New function.
  1947. (hppa_pc_requires_run_before_use): New function.
  1948. (hppa_instruction_nullified): New function.
  1949. (hppa_register_byte): New function.
  1950. (hppa_register_virtual_type): New function.
  1951. (hppa_store_struct_return): New function.
  1952. (hppa_cannot_store_register): New function.
  1953. (hppa_frame_args_address): New function.
  1954. (hppa_frame_locals_address): New function.
  1955. (hppa_smash_text_address): New function.
  1956. (hppa_coerce_float_to_double): New function. Requires the inclusion
  1957. of "language.h".
  1958. * Makefile.in (hppa-tdep.o): Add dependency on language.h.
  1959. * tm-hppa.h (REG_STRUCT_HAS_ADDR): Change the definition of this
  1960. gdbarch-eligible macro to a call to the new associated function
  1961. created in hppa-tdep.c.
  1962. (INNER_THAN): Likewise.
  1963. (STACK_ALIGN): Likewise.
  1964. (PC_REQUIRES_RUN_BEFORE_USE): Likewise.
  1965. (INSTRUCTION_NULLIFIED): Likewise.
  1966. (REGISTER_BYTE): Likewise.
  1967. (REGISTER_VIRTUAL_TYPE): Likewise.
  1968. (STORE_STRUCT_RETURN): Likewise.
  1969. (CANNOT_STORE_REGISTER): Likewise.
  1970. (FRAME_ARGS_ADDRESS): Likewise.
  1971. (FRAME_LOCALS_ADDRESS): Likewise.
  1972. (SMASH_TEXT_ADDRESS): Likewise.
  1973. (COERCE_FLOAT_TO_DOUBLE): Likewise.
  1974. (ABOUT_TO_RETURN): Delete, as no longer used.
  1975. 2002-11-07 Fernando Nasser <fnasser@redhat.com>
  1976. * printcmd.c (disassemble_command): Remove obsolete function.
  1977. (_initialize_printcmd): Do not create disassemble command here.
  1978. * cli/cli-cmds.c (disassemble_command): New function. Implements
  1979. disassemble command.
  1980. (init_cli_cmds): Create disassemble command here instead.
  1981. 2002-11-07 Andrew Cagney <ac131313@redhat.com>
  1982. * MAINTAINERS: Add Daniel Jacobowitz to global maintainers list.
  1983. 2002-11-07 Andrew Cagney <ac131313@redhat.com>
  1984. * regcache.h (regcache_cooked_read_using_offset_hack)
  1985. (regcache_cooked_write_using_offset_hack): Delete declarations.
  1986. (register_changed): Delete declaration.
  1987. * regcache.c (regcache_cooked_read_using_offset_hack)
  1988. (regcache_cooked_write_using_offset_hack): Delete functions.
  1989. (cooked_xfer_using_offset_hack): Delete function.
  1990. (register_changed): Delete function.
  1991. 2002-11-07 Jim Blandy <jimb@redhat.com>
  1992. * macroscope.c: #include "complaints.h".
  1993. (sal_macro_scope): Cope with filenames that appear in the symtabs,
  1994. but not in the macro table.
  1995. * Makefile.in (macroscope.o): Record dependency.
  1996. 2002-11-07 Joel Brobecker <brobecker@gnat.com>
  1997. * PROBLEMS: Document gdb/816 (unable to read core file on alpha-osf).
  1998. 2002-11-07 Andrew Cagney <ac131313@redhat.com>
  1999. * regcache.c (deprecated_registers_fetched): Update.
  2000. * regcache.h (deprecated_registers_fetched): Rename
  2001. registers_fetched.
  2002. * remote-vxsparc.c (vx_read_register): Update.
  2003. * remote-vxmips.c (vx_read_register): Update.
  2004. * remote-vx68.c (vx_read_register): Update.
  2005. * irix5-nat.c (fetch_core_registers): Update.
  2006. * mipsm3-nat.c (fetch_inferior_registers): Update.
  2007. * sun3-nat.c (fetch_inferior_registers): Update.
  2008. * symm-nat.c (fetch_inferior_registers): Update.
  2009. * ns32knbsd-nat.c (fetch_inferior_registers): Update.
  2010. (fetch_core_registers): Update.
  2011. (fetch_kcore_registers): Update.
  2012. * mips-nat.c (fetch_inferior_registers): Update.
  2013. * corelow.c (get_core_registers): Update.
  2014. * a68v-nat.c (fetch_inferior_registers): Update.
  2015. 2002-11-06 Joel Brobecker <brobecker@gnat.com>
  2016. Put in place the framework necessary for multiarching the hppa targets.
  2017. * hppa-tdep.c (hppa_gdbarch_init): New function.
  2018. (hppa_dump_tdep): New function.
  2019. (_initialize_hppa_tdep): Register the hppa gdbarch init function and
  2020. tdep structure dumper.
  2021. * config/pa/tm-hppa.h (GDB_MULTI_ARCH): New macro, defined to 0
  2022. until the multi-arching conversion has partially been completed.
  2023. 2002-11-06 Andrew Cagney <ac131313@redhat.com>
  2024. * valops.c (value_assign): Merge lval_register case into
  2025. lval_reg_frame_relative. Use frame_register and
  2026. regcache_cooked_write instead of get_saved_register and
  2027. write_register_bytes. After flushing the register cache, try to
  2028. re-select the selected frame.
  2029. 2002-11-06 Andrew Cagney <ac131313@redhat.com>
  2030. * regcache.h (deprecated_register_valid): Rename register_valid.
  2031. * regcache.c: Update.
  2032. * ia64-aix-nat.c: Update.
  2033. * i386gnu-nat.c: Update.
  2034. * alpha-nat.c: Update.
  2035. * sparc-nat.c: Update.
  2036. * lynx-nat.c: Update.
  2037. * remote-mips.c: Update.
  2038. 2002-11-06 Joel Brobecker <brobecker@gnat.com>
  2039. * hppa-tdep.c (_initialize_hppa_tdep): Move function body
  2040. to end of file, to be more consistent with the pratice followed
  2041. by other targets.
  2042. 2002-11-06 Andrew Cagney <ac131313@redhat.com>
  2043. * infcmd.c: Include "reggroups.h" and <ctype.h>.
  2044. (print_float_info): Print registers in float_reggroup.
  2045. (print_vector_info): Print registers in vector_reggroup.
  2046. (default_print_registers_info): When all, print registers in
  2047. all_reggroup. Otherwize, print registers in general_reggroup.
  2048. (registers_info): Rewrite. Add support for register groups.
  2049. Eliminate a goto.
  2050. 2002-11-06 Elena Zannoni <ezannoni@redhat.com>
  2051. * symtab.c (methods_info): Delete. It has been ifdeffed out for
  2052. ages.
  2053. (symtab_symbol_info): Remove eons old ifdeffed out code.
  2054. (_initialize_symtab): Remove prehistoric disabled 'info methods'
  2055. command.
  2056. 2002-11-06 Theodore A. Roth <troth@openavr.org>
  2057. * c-exp.y: Add missing semi-colons.
  2058. * f-exp.y: Add missing semi-colons.
  2059. * m2-exp.y: Add missing semi-colons.
  2060. * p-exp.y: Add missing semi-colons.
  2061. Add empty action to start rule to avoid a type clash error when
  2062. building with bison >= 1.50.
  2063. 2002-11-06 Jim Blandy <jimb@redhat.com>
  2064. * macrotab.h (struct macro_source_file): Doc fix.
  2065. 2002-11-05 Jeff Johnston <jjohnstn@redhat.com>
  2066. * varobj.c (child_exists, cplus_number_of_children): Change
  2067. STREQ macro references to strcmp.
  2068. (cplus_name_of_child): Change code to handle the fact that
  2069. fields are not necessarily contiguous with regards to their
  2070. access control. This is a fix for PR gdb/792.
  2071. 2002-11-05 Andrew Cagney <ac131313@redhat.com>
  2072. * gdbarch.sh (GET_SAVED_REGISTER): Change to a predicate function.
  2073. * gdbarch.h, gdbarch.c: Regnerate.
  2074. * frame.h (frame_register): Declare.
  2075. * frame.c (frame_register): New function.
  2076. (get_saved_register): Test GET_SAVED_REGISTER_P before calling
  2077. GET_SAVED_REGISTER, otherwize call
  2078. generic_unwind_get_saved_register.
  2079. (frame_register_read): Use frame_register instead of
  2080. get_saved_register.
  2081. 2002-11-05 Elena Zannoni <ezannoni@redhat.com>
  2082. From Jim Ingham <jingham@apple.com>:
  2083. * event-top.c (gdb_disable_readline): New function.
  2084. (_initialize_event_loop): Move comment.
  2085. 2002-11-05 Elena Zannoni <ezannoni@redhat.com>
  2086. * event-loop.c (start_event_loop): Add comment.
  2087. Update copyright.
  2088. 2002-11-05 Andrew Cagney <ac131313@redhat.com>
  2089. * infcmd.c (default_print_registers_info): Do not call
  2090. PRINT_REGISTER_HOOK.
  2091. 2002-11-05 Andrew Cagney <ac131313@redhat.com>
  2092. * sparc-tdep.c (sparc_print_register_hook): Make static.
  2093. (sparc_print_registers_info): New function.
  2094. (sparc_do_registers_info): New function.
  2095. (sparclet_print_registers_info): New function.
  2096. (sparclet_do_registers_info): New function.
  2097. (do_sparc_print_registers_info): New function.
  2098. (sparc_print_registers): New static function, clone of infcmd.c's
  2099. default_print_registers_info.
  2100. * config/sparc/tm-sparclet.h (PRINT_REGISTER_HOOK): Delete macro.
  2101. (sparclet_do_registers_info): Declare.
  2102. (DEPRECATED_DO_REGISTERS_INFO): Re-define.
  2103. * config/sparc/tm-sparc.h (DEPRECATED_DO_REGISTERS_INFO):
  2104. Re-define.
  2105. (sparc_do_registers_info): Declare.
  2106. (PRINT_REGISTER_HOOK): Delete macro.
  2107. (sparc_print_register_hook): Delete declaration.
  2108. 2002-11-05 David Carlton <carlton@math.stanford.edu>
  2109. * symtab.c (lookup_symbol_aux): Move chunks of code into separate
  2110. functions.
  2111. (lookup_symbol_aux_local): New function.
  2112. (lookup_symbol_aux_symtabs): New function.
  2113. (lookup_symbol_aux_psymtabs): New function.
  2114. 2002-11-05 David Carlton <carlton@math.stanford.edu>
  2115. * symtab.c (lookup_symbol_aux): In minsym sections, don't use the
  2116. previous values of 'objfile' and 'block'.
  2117. 2002-11-05 Pierre Muller <muller@ics.u-strasbg.fr>
  2118. * values.c (value_change_enclosing_type): Set
  2119. enclosing_type field correctly also for the case where
  2120. more memory needs to be allocated.
  2121. 2002-11-03 Mark Kettenis <kettenis@gnu.org>
  2122. * i387-tdep.c (i387_print_float_info): Call fputs_filtered instead
  2123. of puts_filtered.
  2124. * i387-tdep.c (i387_print_float_info): Replace calls to
  2125. register_read and deprecated_read_register_gen with calls to
  2126. frame_register_read, and make the necessary adjustments to the
  2127. surrounding code.
  2128. 2002-11-02 Andrew Cagney <ac131313@redhat.com>
  2129. * gdbarch.sh (register_reggroup_p): Allow default value.
  2130. * gdbarch.h, gdbarch.c: Regenerate.
  2131. 2002-11-02 Andrew Cagney <ac131313@redhat.com>
  2132. * regcache.h: Add coment indicating replacements for deprecated
  2133. functions.
  2134. 2002-11-02 Andrew Cagney <cagney@redhat.com>
  2135. * reggroups.h, reggroups.c: New files.
  2136. * regcache.c: Include "reggroups.h".
  2137. (enum regcache_dump_what): Add `regcache_dump_groups'.
  2138. (regcache_dump): Contract size of the "Type" column. When
  2139. specified, dump the register's groups.
  2140. (maintenance_print_register_groups): New function.
  2141. (_initialize_regcache): Add command `maint print register-groups'.
  2142. * Makefile.in (COMMON_OBS): Add reggroups.o
  2143. (SFILES): Add reggroups.c.
  2144. (reggroups_h): Define.
  2145. (regcache.o, gdbarch.o): Update dependencies.
  2146. (reggroups.o): Specify dependencies.
  2147. * gdbarch.sh (register_reggroup_p): Add pure multi-arch method.
  2148. Add opaque declaration for `struct reggroup' in generated .h file.
  2149. Include "reggroups.h" in generated .c file.
  2150. gdbarch.h, gdbarch.c: Re-generate.
  2151. 2002-11-02 Andrew Cagney <cagney@redhat.com>
  2152. * regcache.h (deprecated_read_register_gen): Rename
  2153. read_register_gen.
  2154. (deprecated_write_register_gen): Rename write_register_gen.
  2155. * i387-tdep.c: Update.
  2156. * x86-64-linux-nat.c: Update
  2157. * wince.c: Update.
  2158. * thread-db.c: Update.
  2159. * win32-nat.c: Update.
  2160. * mips-tdep.c: Update.
  2161. * d10v-tdep.c: Update.
  2162. * cris-tdep.c: Update.
  2163. * remote-sim.c: Update.
  2164. * remote-rdi.c: Update.
  2165. * remote-rdp.c: Update.
  2166. * frame.c: Update.
  2167. * target.c: Update.
  2168. * blockframe.c: Update.
  2169. * x86-64-tdep.c: Update.
  2170. * xstormy16-tdep.c: Update.
  2171. * sh-tdep.c: Update.
  2172. * s390-tdep.c: Update.
  2173. * rs6000-tdep.c: Update.
  2174. * sparc-tdep.c: Update.
  2175. * i386-tdep.c: Update.
  2176. * dwarf2cfi.c: Update.
  2177. * regcache.c: Update.
  2178. 2002-11-01 Joel Brobecker <brobecker@gnat.com>
  2179. New interix-specific files:
  2180. * config/i386/nm-interix.h: New file.
  2181. * config/i386/interix.mh: New file.
  2182. * config/i386/interix.mt: New file.
  2183. * i386-interix-nat.c: New file.
  2184. * i386-interix-tdep.c: New file.
  2185. 2002-11-01 Andrew Cagney <cagney@redhat.com>
  2186. * frame.h (deprecated_generic_get_saved_register): Rename
  2187. generic_get_saved_register.
  2188. * blockframe.c (deprecated_generic_get_saved_register): Update.
  2189. * xstormy16-tdep.c (xstormy16_get_saved_register): Update.
  2190. (xstormy16_frame_saved_register): Update.
  2191. * sh-tdep.c (sh_gdbarch_init): Update.
  2192. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  2193. * ia64-tdep.c (ia64_get_saved_register): Update.
  2194. * cris-tdep.c (cris_gdbarch_init): Update.
  2195. * config/m32r/tm-m32r.h (GET_SAVED_REGISTER): Update.
  2196. * arm-tdep.c (arm_gdbarch_init): Update.
  2197. 2002-10-31 Daniel Jacobowitz <drow@mvista.com>
  2198. * lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.
  2199. 2002-10-31 Daniel Jacobowitz <drow@mvista.com>
  2200. * i386-linux-tdep.c (i386_linux_pc_in_sigtramp): Check for
  2201. trampolines in sigaction.
  2202. 2002-10-31 Andrew Cagney <cagney@redhat.com>
  2203. * h8300-tdep.c: Include "gdb_assert.h".
  2204. (h8300_print_register): Add gdbarch, file and frame parameters.
  2205. Use frame_read_unsigned_register to read the register's value.
  2206. Use fprintf_filtered to display output.
  2207. (h8300_print_registers_info): Replace h8300_do_registers_info.
  2208. (h8300_gdbarch_init): Set print_registers_info.
  2209. 2002-10-31 Andrew Cagney <cagney@redhat.com>
  2210. * frame.c (frame_read_unsigned_register): New function.
  2211. (frame_read_signed_register): New function.
  2212. * frame.h (frame_read_unsigned_register): Declare.
  2213. (frame_read_signed_register): Declare.
  2214. 2002-10-31 Andrew Cagney <cagney@redhat.com>
  2215. * h8500-tdep.c (h8500_print_registers_info): New static function,
  2216. clone of infcmd.c's default_print_registers_info.
  2217. (h8500_do_registers_info): New funtion.
  2218. (h8500_print_register_hook): Rename print_register_hook, make
  2219. static.
  2220. * config/h8500/tm-h8500.h: Update copyright.
  2221. (DEPRECATED_DO_REGISTERS_INFO): Define.
  2222. (h8500_do_registers_info: Declare.
  2223. (PRINT_REGISTER_HOOK): Delete macro.
  2224. (print_register_hook): Delete function.
  2225. 2002-10-31 Andrew Cagney <cagney@redhat.com>
  2226. * z8k-tdep.c (z8k_print_register_hook): Make static.
  2227. (z8k_print_registers_info): New static function, clone of
  2228. infcmd.c's default_print_registers_info.
  2229. (z8k_do_registers_info): New function. Wrap
  2230. z8k_print_registers_info.
  2231. * config/z8k/tm-z8k.h: Update copyright.
  2232. (PRINT_REGISTER_HOOK): Delete macro.
  2233. (z8k_print_register_hook): Delete declaration.
  2234. (DEPRECATED_DO_REGISTERS_INFO): Define.
  2235. (z8k_do_registers_info): Declare.
  2236. 2002-10-30 Joel Brobecker <brobecker@gnat.com>
  2237. * hppa-tdep.c (find_function_in_inferior): Remove this extern,
  2238. as this is already provided by value.h, and was actually causing
  2239. a compilation error because of a conflict in parameter type
  2240. declaration due to a missing const keyword.
  2241. (low_text_segment_addres): Fix a compilation warning.
  2242. 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
  2243. * mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetch
  2244. registers without a name.
  2245. (mips_linux_cannot_store_register): Don't store registers without
  2246. a name.
  2247. 2002-10-28 David Carlton <carlton@math.stanford.edu>
  2248. * symtab.c (find_addr_symbol): Delete. (It was already commented
  2249. out.)
  2250. * symtab.h: Delete prototype for find_addr_symbol.
  2251. 2002-10-26 Andrew Cagney <cagney@redhat.com>
  2252. * gdbarch.sh (DEPRECATED_DO_REGISTERS_INFO): Rename
  2253. DO_REGISTERS_INFO.
  2254. gdbarch.h, gdbarch.c: Re-generate.
  2255. * infcmd.c (default_print_registers_info): Update reference.
  2256. * mips-tdep.c (mips_gdbarch_init): Set deprecated_do_registers_info.
  2257. (mips_dump_tdep): Do not print DO_REGISTERS_INFO.
  2258. * sh-tdep.c (sh_gdbarch_init): Ditto.
  2259. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  2260. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  2261. 2002-10-26 Mark Kettenis <kettenis@gnu.org>
  2262. * x86-64-tdep.c (x86_64_init_abi): Set init_extra_frame_info to
  2263. cfi_init_extra_frame_info.
  2264. * x86-64-tdep.h (x86_64_init_extra_frame_info): Remove prototype.
  2265. * x86-64-linux-tdep.c (x86_64_init_extra_frame_info): Remove function.
  2266. * x86-64-tdep.c (x86_64_init_abi): Add calls to override the i386
  2267. target where necessary. Add more comments and remove the ones
  2268. that don't provide any useful information.
  2269. * i386-tdep.c (i386_frame_saved_pc): Replace call to
  2270. deprecated_read_register_dummy with
  2271. frame_unwind_unsigned_register.
  2272. * i386-tdep.c (i386_extract_struct_value_address): Use
  2273. regcache_raw_read_unsigned instead of
  2274. regcache_cooked_read_unsigned since we know that the register
  2275. we're reading isn't a pseudo register. Rename variable 'val' into
  2276. the more descriptive 'addr'.
  2277. * x86-64-tdep.c: Fix some formatting problems, mostly in comments.
  2278. (x86_64_push_return_address): Add comment.
  2279. (x86_64_pop_frame): Make static.
  2280. (examine_argument): Clarify comment.
  2281. (x86_64_skip_prologue): Make prolog_expact variable static.
  2282. * dwarf2cfi.c: Fix some formatting problems.
  2283. (context_cpy, read_encoded_pointer): Clarify comments.
  2284. * x86-64-tdep.c (x86_64_breakpoint_from_pc): Constify.
  2285. (x86_64_init_abi): Move set_gdbarch_* calls that overlap with the
  2286. i386 target back into x86_64_gdbarch_init. Add some comments and
  2287. remove meaningless ones.
  2288. 2002-10-25 Andrew Cagney <cagney@redhat.com>
  2289. * complaints.h (struct deprecated_complaint): Rename `struct
  2290. complaint'.
  2291. * complaints.c (complain): Update.
  2292. * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Delete
  2293. incorrect comment indicating that "symfile.h" was being included
  2294. for the `struct complaint' definition.
  2295. * remote-vx.c: Update.
  2296. * objc-lang.c: Update.
  2297. * xcoffread.c: Update.
  2298. * hpread.c: Update.
  2299. * mdebugread.c: Update.
  2300. * stabsread.c: Update.
  2301. * dwarf2read.c: Update.
  2302. * dwarfread.c: Update.
  2303. * elfread.c: Update.
  2304. * coffread.c: Update.
  2305. * stabsread.h: Update.
  2306. * dbxread.c: Update.
  2307. * buildsym.c: Update.
  2308. * gdbtypes.c: Update.
  2309. * macrotab.c: Update.
  2310. 2002-10-25 Mark Kettenis <kettenis@gnu.org>
  2311. * x86-64-tdep.c (x86_64_gdbarch_init): Make a bit more similar to
  2312. the version in i386-tdep.c. Move set_gdbarch_* calls out into...
  2313. (x86_64_init_abi): ...new function.
  2314. * Makefile.in (i386v-nat.o): Add $(i386_tdep_h).
  2315. * i386v-nat.c: Include "i386-tdep.h".
  2316. 2002-10-25 Andrew Cagney <cagney@redhat.com>
  2317. * gdbtypes.c (address_space_name_to_int): Update.
  2318. (address_space_int_to_name): Update.
  2319. * gdbarch.sh (address_class_type_flags_to_name): Change to a pure
  2320. multi-arch predicate.
  2321. (address_class_name_to_type_flags): Ditto.
  2322. * gdbarch.h, gdbarch.c: Re-generate.
  2323. * MAINTAINERS: Check all warnings when h8300hms and alpha-elf.
  2324. 2002-10-24 Martin M. Hunt <hunt@redhat.com>
  2325. * utils.c (string_to_core_addr): Revert patch from 11 Oct.
  2326. 2002-10-24 Elena Zannoni <ezannoni@redhat.com>
  2327. * symtab.h (INIT_SAL): Delete macro.
  2328. (init_sal): Export.
  2329. * symtab.c (init_sal): New function.
  2330. * ada-lang.c (ada_finish_decode_line_1): Change INIT_SAL macro
  2331. to init_sal function call.
  2332. (find_sal_from_funcs_and_line): Ditto.
  2333. (all_sals_for_line): Ditto.
  2334. * breakpoint.c (create_internal_breakpoint): Ditto.
  2335. (create_fork_vfork_event_catchpoint): Ditto.
  2336. (create_exec_event_catchpoint): Ditto.
  2337. (parse_breakpoint_sals): Ditto.
  2338. (watch_command_1): Ditto.
  2339. (handle_gnu_4_16_catch_command): Ditto.
  2340. (clear_command): Ditto.
  2341. * hppa-tdep.c (child_enable_exception_callback): Ditto.
  2342. * infcmd.c (run_stack_dummy): Ditto.
  2343. * infrun.c (process_event_stop_test): Ditto.
  2344. (check_sigtramp2): Ditto.
  2345. (step_over_function): Ditto.
  2346. * linespec.c (decode_line_2): Ditto.
  2347. (decode_line_1): Ditto.
  2348. * source.c (line_info): Ditto.
  2349. * symtab.c (find_pc_sect_line): Ditto.
  2350. 2002-10-24 Michal Ludvig <mludvig@suse.cz>
  2351. * dwarf2cfi.c (struct context)
  2352. (struct context_reg): Moved to dwarf2cfi.h
  2353. (context_alloc, frame_state_alloc, context_cpy):
  2354. Made extern instead of static, removed prototypes.
  2355. * dwarf2cfi.h (struct context)
  2356. (struct context_reg): New, moved from dwarf2cfi.c
  2357. (context_alloc, frame_state_alloc, context_cpy):
  2358. New prototypes.
  2359. * x86-64-linux-tdep.c (x86_64_linux_sigtramp_saved_pc):
  2360. Changed from static to extern.
  2361. (LINUX_SIGINFO_SIZE, LINUX_SIGCONTEXT_PC_OFFSET)
  2362. (LINUX_SIGCONTEXT_FP_OFFSET)
  2363. (LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Adjusted.
  2364. (x86_64_linux_in_sigtramp, x86_64_linux_frame_chain)
  2365. (x86_64_init_frame_pc, x86_64_init_extra_frame_info): New.
  2366. * x86-64-tdep.c (x86_64_gdbarch_init): Several
  2367. set_gdbarch_*() calls now use x86-64 specific functions
  2368. instead of DWARF2 CFI ones.
  2369. * x86-64-tdep.h (x86_64_linux_in_sigtramp)
  2370. (x86_64_linux_frame_chain, x86_64_init_frame_pc)
  2371. (x86_64_init_extra_frame_info): New prototypes.
  2372. 2002-10-23 David Carlton <carlton@math.stanford.edu>
  2373. * linespec.c: #include "parser-defs.h".
  2374. Delete prototype for find_template_name_end.
  2375. * Makefile.in (linespec.o): Depend on $(parser_defs_h).
  2376. 2002-10-23 Jeff Johnston <jjohnstn@redhat.com>
  2377. * NEWS: add recent mi fixes.
  2378. * varobj.c (struct varobj): Add new "updated" flag.
  2379. (new_variable): Default "updated" flag to 0.
  2380. (varobj_set_value): Set "updated" flag to 1 if value
  2381. changes.
  2382. (varobj_update): Check varobj "updated" flag before
  2383. comparing old and refreshed values. Fix for
  2384. PR gdb/702.
  2385. 2002-10-23 David Carlton <carlton@math.stanford.edu>
  2386. * parse.c (parse_exp_1): Use BLOCK_START.
  2387. * x86-64-tdep.c (x86_64_skip_prologue): Use BLOCK_END,
  2388. SYMBOL_BLOCK_VALUE.
  2389. * objc-lang.c (find_methods): Use BLOCK_START, BLOCK_END.
  2390. 2002-10-23 David Carlton <carlton@math.stanford.edu>
  2391. * symtab.c: Delete cplusplus_hint.
  2392. Delete prototype for find_template_name_end.
  2393. 2002-10-23 Elena Zannoni <ezannoni@redhat.com>
  2394. * symtab.h: Update comment.
  2395. 2002-10-23 Michael Snyder <msnyder@redhat.com>
  2396. * printcmd.c (address_info): Restore quotes in output.
  2397. * valops.c (value_of_local): Restore quotes in error message.
  2398. 2002-10-23 Elena Zannoni <ezannoni@redhat.com>
  2399. * symtab.c (symbol_demangled_name): New function.
  2400. * symtab.h (SYMBOL_DEMANGLED_NAME): Simplify macro, by
  2401. turning most of it into a function.
  2402. (symbol_demangled_name): Export.
  2403. 2002-10-23 Michael Snyder <msnyder@redhat.com>
  2404. * valops.c (value_of_local): Restore quotes in error message.
  2405. 2002-10-23 Elena Zannoni <ezannoni@redhat.com>
  2406. * symtab.c (symbol_init_language_specific): New function.
  2407. * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): Simplify macro, by
  2408. turning most of it into a function.
  2409. (symbol_init_language_specific): Export.
  2410. 2002-10-23 David Carlton <carlton@math.stanford.edu>
  2411. * dwarf2read.c (dwarf_tag_name): Add DWARF 3 names.
  2412. (dwarf_attr_name): Ditto.
  2413. (dwarf_type_encoding_name): Ditto.
  2414. (scan_partial_symbols): Descend into DW_TAG_namespace entries.
  2415. (process_die): Handle DW_TAG_namespace,
  2416. DW_TAG_imported_declaration, DW_TAG_imported_module.
  2417. (read_namespace): New function.
  2418. 2002-10-22 Joel Brobecker <brobecker@gnat.com>
  2419. * configure.in: Define NEW_PROC_API on Interix too.
  2420. * configure: Regenerate.
  2421. 2002-10-21 Joel Brobecker <brobecker@gnat.com>
  2422. * configure: Regenerate using the proper version of autoconf.
  2423. 2002-10-21 Elena Zannoni <ezannoni@redhat.com>
  2424. * findvar.c (read_var_value): Temporarily disable TLS code, until
  2425. complete TLS support is added.
  2426. 2002-10-21 Jim Blandy <jimb@redhat.com>
  2427. Elena Zannoni <ezannoni@redhat.com>
  2428. * symtab.h (address_class): Re-add LOC_THREAD_LOCAL_STATIC
  2429. for thread local storage locations.
  2430. (struct symbol): Add objfile field.
  2431. (SYMBOL_OBJFILE): Define.
  2432. * dwarf2read.c (is_thread_local): New static variable.
  2433. (new_symbol): If variable is in thread local fill in address class
  2434. and objfile appropriately.
  2435. (decode_locdesc): Recognize and handle DW_OP_GNU_push_tls_address
  2436. stack operation.
  2437. * printcmd.c (address_info): Print the information for thread
  2438. local storage variable.
  2439. * findvar.c (read_var_value): In case of thread local variable,
  2440. defer to the target vector code to compute address.
  2441. 2002-10-21 Elena Zannoni <ezannoni@redhat.com>
  2442. * solib-svr4.c (svr4_fetch_objfile_link_map): New function.
  2443. * solib-svr4.h (svr4_fetch_objfile_link_map): Export.
  2444. 2002-10-21 Elena Zannoni <ezannoni@redhat.com>
  2445. * symtab.h (address_class): Rename
  2446. LOC_THREAD_LOCAL_STATIC to LOC_HP_THREAD_LOCAL_STATIC.
  2447. * hpread.c (hpread_process_one_debug_symbol): Ditto.
  2448. * printcmd.c (address_info): Ditto.
  2449. * findvar.c (symbol_read_needs_frame, read_var_value): Ditto.
  2450. 2002-10-20 Mark Kettenis <kettenis@gnu.org>
  2451. * i386bsd-nat.c (i386bsd_dr_set, i386bsd_dr_get_status): Use
  2452. DBREG_DRX macro to acces debug registers.
  2453. * Makefile.in (i386obsd-tdep.o): New target.
  2454. * solib-sunos.c: Include "bcache.h" and "regcache.h".
  2455. * Makefile.in (solib-sunos.o): Add $(bcache_h) and $(regcache_h).
  2456. * configure.tgt (i[3456]86-*-openbsd*): Set gdb_target to obds.
  2457. * config/i386/obsd.mt: New file.
  2458. * i386bsd-nat.c (_initialize_i386bsd_nat): Introduce
  2459. i386obsd_sc_pc_offset and i386obsd_sc_sp_offset;
  2460. * i386obsd-nat.c (_initialize_i386obsd_nat): Set
  2461. i386obsd_sigtramp_start and i386obsd_sigtramp_end instead of
  2462. i386nbsd_sigtramp_start and i386nbsd_sigtramp_end.
  2463. * i386obsd-tdep.c: New file.
  2464. 2002-10-19 Adam Fedor <fedor@gnu.org>
  2465. * objc-exp.y (name_not_typename): Fix invalid comment.
  2466. 2002-10-20 Mark Kettenis <kettenis@gnu.org>
  2467. * solib-sunos.c (allocate_rt_common_objfile): Use bcache_xmalloc
  2468. to allocate partial syms and macro byte caches.
  2469. 2002-10-18 David Carlton <carlton@math.stanford.edu>
  2470. * symtab.h: Delete 'struct source' and 'struct sourcevector'.
  2471. 2002-10-18 Adam Fedor <fedor@gnu.org>
  2472. * stabsread.c (find_name_end): New function.
  2473. (define_symbol): Use it.
  2474. 2002-10-18 Daniel Jacobowitz <drow@mvista.com>
  2475. * config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
  2476. * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Define to 1.
  2477. * config/alpha/nm-nbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
  2478. * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Define to 1.
  2479. 2002-10-17 David Carlton <carlton@math.stanford.edu>
  2480. * symfile.h: Add opaque declaration for struct obstack.
  2481. Declare obsavestring to take a const char *.
  2482. * symfile.c (obsavestring): Make first argument a const char *.
  2483. 2002-10-16 Adam Fedor <fedor@gnu.org>
  2484. * breakpoint.c (parse_breakpoint_sals): Ignore ObjC method
  2485. names when matching breakpoints in current file.
  2486. 2002-10-16 Kevin Buettner <kevinb@redhat.com>
  2487. * dwarf2read.c (dwarf2_invalid_pointer_size): New complaint.
  2488. (read_tag_pointer_type): Add address class support.
  2489. * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS)
  2490. (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, ADDRESS_CLASS_NAME_TO_TYPE_FLAGS):
  2491. New methods.
  2492. * gdbarch.h, gdbarch.c: Regenerate.
  2493. * gdbtypes.c (address_space_name_to_int, address_space_int_to_name)
  2494. (make_type_with_address_space, recursive_type_dump): Add address
  2495. class support.
  2496. * gdbtypes.h (TYPE_FLAG_ADDRESS_CLASS_1, TYPE_FLAG_ADDRESS_CLASS_2)
  2497. (TYPE_FLAG_ADDRESS_CLASS_ALL, TYPE_ADDRESS_CLASS_1)
  2498. (TYPE_ADDRESS_CLASS_2, TYPE_ADDRESS_CLASS_ALL): New defines
  2499. 2002-10-16 Klee Dienes <kdienes@apple.com>
  2500. * stabsread.c (read_tilde_fields): Use name[sizeof(vptr_name)-2]
  2501. to get the last character of a char[] buffer, not
  2502. name[sizeof(vptr_name)-1].
  2503. 2002-10-14 Adam Fedor <fedor@gnu.org>
  2504. * symtab.h: New objc_specific struct.
  2505. (SYMBOL_INIT_LANGUAGE_SPECIFIC): Handle ObjC.
  2506. (SYMBOL_DEMANGLED_NAME): Likewise.
  2507. 2002-10-14 Adam Fedor <fedor@gnu.org>
  2508. * symfile.c (init_filename_language_table): Add ObjC file extension.
  2509. 2002-10-14 Adam Fedor <fedor@gnu.org>
  2510. * utils.c (puts_filtered_tabular): New function.
  2511. (fprintf_symbol_filtered): Get ObjC demangled name.
  2512. * defs.h (puts_filtered_tabular): Declared.
  2513. 2002-10-14 Kevin Buettner <kevinb@redhat.com>
  2514. * c-lang.h (c_type_print_varspec_prefix): Delete.
  2515. * c-typeprint.c (c_type_print_varspec_prefix): Make static. Add
  2516. ``need_post_space'' parameter. Adjust all callers.
  2517. 2002-10-14 Daniel Jacobowitz <drow@mvista.com>
  2518. * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Define to 1.
  2519. * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
  2520. * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
  2521. * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
  2522. 2002-10-13 Adam Fedor <fedor@gnu.org>
  2523. * source.c (print_source_lines): Update comments.
  2524. 2002-10-13 Adam Fedor <fedor@gnu.org>
  2525. * valops.c (value_of_local): New function.
  2526. (value_of_this): Use it.
  2527. * value.h (value_of_local): Declared.
  2528. 2002-10-13 Adam Fedor <fedor@gnu.org>
  2529. * parse.c: (length_of_subexp, prefixify_subexp): Handle
  2530. OP_MSGCALL, OP_SELECTOR, OP_NSSTRING, and OP_SELF.
  2531. 2002-10-12 Adam Fedor <fedor@gnu.org>
  2532. * language.c (binop_result_type): Add language_objc to case.
  2533. (integral_type): Likewise.
  2534. (character_type): Likewise.
  2535. (string_type): Likewise.
  2536. (boolean_type): Likewise.
  2537. (structured_type): Likewise.
  2538. (binop_type_check): Likewise.
  2539. 2002-10-11 Adam Fedor <fedor@gnu.org>
  2540. * printcmd.c (address_info): Print 'self' for ObjC.
  2541. 2002-10-11 Adam Fedor <fedor@gnu.org>
  2542. * expression.h: New ops OP_NSSTRING, OP_SELECTOR, OP_MSGCALL, and
  2543. OP_SELF.
  2544. 2002-10-11 Adam Fedor <fedor@gnu.org>
  2545. * language.h (CAST_IS_CONVERSION): Add language_objc.
  2546. 2002-10-11 Adam Fedor <fedor@gnu.org>
  2547. * defs.h (enum language): Add language_objc.
  2548. 2002-10-11 Klee Dienes <kdienes@apple.com>
  2549. * corefile.c (read_memory_typed_address): New function.
  2550. * gdbcore.h (read_memory_typed_address): Add prototype.
  2551. * blockframe.c (sigtramp_saved_pc): Use read_memory_typed_address
  2552. to read a value destined for a CORE_ADDR, not read_memory_integer.
  2553. * f-valprint.c (f77_get_dynamic_upperbound): Ditto.
  2554. (f77_get_dynamic_lowerbound): Ditto.
  2555. 2002-10-11 Martin M. Hunt <hunt@redhat.com>
  2556. * utils.c (string_to_core_addr): After turning string into
  2557. a number, convert to a CORE_ADDR using INTEGER_TO_ADDRESS
  2558. which will do necessary sign-extension, etc.
  2559. 2002-10-11 Daniel Jacobowitz <drow@mvista.com>
  2560. * c-exp.y (THIS): Delete token and grammar rule.
  2561. (yylex): Don't return THIS.
  2562. * cp-valprint.c (vtbl_ptr_name_old): Delete.
  2563. (cp_is_vtbl_ptr_type): Don't check vtbl_ptr_name_old.
  2564. * demangle.c (cplus_markers): Update comment. Put '$'
  2565. first. Remove CPLUS_MARKER.
  2566. (_initialize_demangler): Don't call set_cplus_marker_for_demangling.
  2567. * jv-exp.y (THIS): Delete token and grammar rule.
  2568. (yylex): Don't return THIS.
  2569. * mips-tdep.c (mips_dump_tdep): Don't dump CPLUS_MARKER.
  2570. * objc-exp.y (THIS): Delete token and grammar rule.
  2571. (yylex): Don't return THIS.
  2572. * p-exp.y (yylex): Remove reference to CPLUS_MARKER.
  2573. * stabsread.c (vptr_name, vb_name): Replace CPLUS_MARKER with '$'.
  2574. (read_member_functions): Likewise for opname.
  2575. (read_tilde_fields): Use is_cplus_marker.
  2576. * defs.h (CPLUS_MARKER): Don't define.
  2577. * config/tm-sysv4.h (CPLUS_MARKER): Likewise.
  2578. * config/i386/xm-i386sco.h (CPLUS_MARKER): Likewise.
  2579. * config/mips/tm-irix3.h (CPLUS_MARKER): Likewise.
  2580. * config/mips/tm-irix6.h (CPLUS_MARKER): Likewise.
  2581. * config/rs6000/tm-rs6000.h (CPLUS_MARKER): Likewise.
  2582. * config/i386/tm-i386v4.h: Delete file.
  2583. * config/djgpp/fnchange.lst: Delete tm-i386v4.h.
  2584. * config/i386/tm-i386sol2.h: Include "i386/tm-i386.h" instead.
  2585. * config/i386/tm-i386v42mp.h: Include "i386/tm-i386.h" instead.
  2586. * config/i386/tm-ptx.h: Include "i386/tm-i386.h" instead.
  2587. * config/i386/i386gnu.mt (TM_FILE): Use tm-i386.h.
  2588. * config/i386/i386sco5.mt (TM_FILE): Likewise.
  2589. * config/i386/i386v4.mt (TM_FILE): Likewise.
  2590. * config/i386/ncr3000.mt (TM_FILE): Likewise.
  2591. 2002-10-10 Marko Mlinar <markom@opencores.org>
  2592. * infrun.c (resume): Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C,
  2593. accidentially not commited 2002-10-09
  2594. * gdbarch.h, gdbarch.c: Re-generate.
  2595. 2002-10-09 Marko Mlinar <markom@opencores.org>
  2596. * infrun.c (resume): Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C.
  2597. * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Add.
  2598. * gdbarch.h, gdbarch.c: Re-generate.
  2599. 2002-10-08 Petr Sorfa <petrs@caldera.com>
  2600. Revised and re-submitted by John Wolfe <jlw@caldera.com>
  2601. Move the Dwarf 2 abbrev table to a per-compilation-unit structure,
  2602. so we can work on more than one compilation unit at a time. This
  2603. helps prepare GDB to handle inter-CU die references.
  2604. * dwarf2read.c (ABBREV_HASH_SIZE): moved definition forward in
  2605. the code to be defined before struct comp_unit_head.
  2606. (comp_unit_head): Added new members - offset, cu_head,
  2607. begin_die, next and dwarf2_abbrevs.
  2608. (dwarf2_abbrevs): Removed single static var; now member of
  2609. struct comp_unit_head.
  2610. dwarf2_build_psymtabs_hard): Complete new struct comp_unit_head
  2611. members.
  2612. (psymtab_to_symtab_1): Changed to work with the new
  2613. struct comp_unit_head.
  2614. (dwarf2_read_abbrevs): Now accepts a cu_header parameter and
  2615. constructs the dwarf2_abbrevs[] inside the cu_header.
  2616. (dwarf2_empty_abbrev_table): Now expects a ptr to a
  2617. dwarf2_abbrev table to clean up.
  2618. (dwarf2_lookup_abbrev): Now accepts a cu_header parameter and
  2619. handling of dwarf2_abbrevs inside the cu_header.
  2620. (read_partial_die): Now supports the call to the new
  2621. dwarf2_lookup_abbrev.
  2622. (read_full_die): Now supports the call to the new
  2623. dwarf2_lookup_abbrev.
  2624. 2002-10-06 Christopher Faylor <cgf@redhat.com>
  2625. * Makefile.in (install-gdbtk): Add missing continuation backslash to
  2626. insure that shell variables, such as "transformed_name" are propagated
  2627. to later shell statements in rule.
  2628. 2002-10-06 Mark Kettenis <kettenis@gnu.org>
  2629. * config/i386/nm-i386sco.h: Add protection against
  2630. multiple-inclusion. Include "i386/nm-i386v.h".
  2631. (REGISTER_U_ADDR): Remove define.
  2632. (i386_register_u_addr): Remove prototype.
  2633. 2002-10-04 Michael Snyder <msnyder@redhat.com>
  2634. * m32r-stub.c (handle_exception): Make sure exception is "trap"
  2635. before treating it as a single-step event.
  2636. 2002-10-03 Adam Fedor <fedor@gnu.org>
  2637. * objc-lang.c: ARI fixes. Change string.h to gdb_string.h.
  2638. (objc_demangle): Remove assignment in if statements, Replace
  2639. free with xfree.
  2640. (add_msglist): Likewise.
  2641. (end_msglist): Likewise.
  2642. (complare_selectors): Likewise.
  2643. (selectors_info): Likewise.
  2644. (compare_classes): Likewise.
  2645. (classes_info): Likewise.
  2646. (print_object_command): Likewise.
  2647. (find_objc_msgcall_submethod): Replace PTR with void *.
  2648. * objc-lang.h: Remove check for __STDC__.
  2649. 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
  2650. * ui-out.h (ui_out_field_fmt_int): New prototype.
  2651. * ui-out.c (ui_out_field_fmt_int): New function allowing specification
  2652. of field width and alignment.
  2653. * stack.c (print_frame_info_base): When printing frame level, use
  2654. ui_out_field_fmt_int with a width of 2 and left alignment. Fix for
  2655. PR gdb/192
  2656. 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
  2657. * MAINTAINERS: Add self to Write After Approval list.
  2658. 2002-10-02 Elena Zannoni <ezannoni@redhat.com>
  2659. * infcmd.c (interrupt_target_command_wrapper): Delete.
  2660. (interrupt_target_command): Make non static.
  2661. (nofp_registers_info): Make static.
  2662. * stack.c (return_command_wrapper): Delete.
  2663. (return_command): Make non static.
  2664. 2002-10-02 Elena Zannoni <ezannoni@redhat.com>
  2665. * event-top.c (gdb_setup_readline): New function. Code moved from
  2666. _initialize_event_loop().
  2667. (_initialize_event_loop): Call gdb_setup_readline().
  2668. 2002-10-02 Andrew Cagney <ac131313@redhat.com>
  2669. * infrun.c (resume): Convert #ifdef CANNOT_STEP_BREAKPOINT into C.
  2670. * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Add.
  2671. * gdbarch.h, gdbarch.c: Re-generate.
  2672. 2002-10-02 Daniel Jacobowitz <drow@mvista.com>
  2673. Fix PR gdb/778
  2674. * gdbtypes.c (fill_in_vptr_fieldno): Call check_typedef
  2675. before recursing.
  2676. * gnu-v3-abi.c (gnuv3_virtual_fn_field): Check return value
  2677. of fill_in_vptr_fieldno.
  2678. 2002-10-02 Elena Zannoni <ezannoni@redhat.com>
  2679. * inferior.h (registers_info, stepi_command, nexti_command,
  2680. continue_command, interrupt_target_command): Export from infcmd.c.
  2681. * frame.h (args_info, selected_frame_level_changed_hook,
  2682. return_command): Export from stack.c.
  2683. * v850ice.c (stepi_command, nexti_command, continue_command): use
  2684. prototypes from inferior.h.
  2685. * tracepoint.c (registers_info, args_info, locals_info): Use
  2686. prototypes from frame.h and inferior.h.
  2687. * Makefile.in (mi-main.o): Add dependency on frame.h.
  2688. 2002-10-02 Andrew Cagney <ac131313@redhat.com>
  2689. * rs6000-tdep.c (rs6000_store_struct_return): Store struct_return
  2690. value in register 3 adjusted by ppc_gp0_regnum.
  2691. * rs6000-tdep.c (skip_prologue): Bias alloca_reg by ppc_gp0_regnum.
  2692. 2002-10-02 Marko Mlinar <markom@opencores.org>
  2693. * MAINTAINERS: Add myself to the Write After Approval list.
  2694. 2002-10-01 Alexandre Oliva <aoliva@redhat.com>
  2695. * mips-tdep.c (mips_find_abi_section): .mdebug.abi64 is the name
  2696. of the section for the N64 ABI, fixed.
  2697. * config/mips/tm-irix6.h: Include solib.h.
  2698. 2002-10-01 Elena Zannoni <ezannoni@redhat.com>
  2699. * dwarf2read.c (dwarf_stack_op_name): Recognize more dwarf3 and
  2700. GNU operators.
  2701. 2002-10-01 Andrew Cagney <ac131313@redhat.com>
  2702. * NEWS: Mention that MI syntax, selected by "mi" changed to "mi2"
  2703. and that "mi0" syntax has been removed.
  2704. 2002-09-30 David Carlton <carlton@math.stanford.edu>
  2705. * Makefile.in (ppc-sysv-tdep.o): Depend on gdb_string_h.
  2706. * ppc-sysv-tdep.c: #include "gdb_string.h".
  2707. * remote-sds.c (getmessage): Add semicolon after 'retry' label to
  2708. pacify GCC.
  2709. 2002-10-01 Andrew Cagney <ac131313@redhat.com>
  2710. * rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix
  2711. "vrsave"'s register number.
  2712. 2002-09-30 Andrew Cagney <ac131313@redhat.com>
  2713. * mips-tdep.c (mips_frame_saved_pc): When a generic dummy frame,
  2714. use frame_unwind_signed_register to obtain the PC.
  2715. (mips_frame_chain): Handle a generic dummy frame.
  2716. (mips_init_extra_frame_info): When a generic dummy frame, don't
  2717. re-compute the frame base.
  2718. (mips_pop_frame): Handle generic dummy frames.
  2719. (mips_gdbarch_init): When generic dummy frames, set
  2720. use_generic_dummy_frames, push_dummy_frame to
  2721. generic_push_dummy_frame, pc_in_call_dummy to
  2722. generic_pc_in_call_dummy, and save_dummy_frame_top_of_stack to
  2723. generic_save_dummy_frame_tos.
  2724. 2002-09-30 Andrew Cagney <ac131313@redhat.com>
  2725. * blockframe.c (generic_find_dummy_frame): Rewrite. Only test
  2726. against TOP when TOP was explictly set.
  2727. (generic_push_dummy_frame): Set TOP to zero.
  2728. 2002-09-30 Elena Zannoni <ezannoni@redhat.com>
  2729. * event-loop.c (start_event_loop): Rename variable 'result' to
  2730. 'gdb_result', to avoid conflicts with upcoming intepreters changes.
  2731. 2002-09-30 Keith Seitz <keiths@redhat.com>
  2732. * gdb-events.sh (selected_thread_changed): New event.
  2733. * gdb-events.c: Regenerated.
  2734. * gdb-events.h: Regenerated.
  2735. 2002-09-30 Hans-Peter Nilsson <hp@bitrange.com>
  2736. * MAINTAINERS: Add self to Write After Approval list.
  2737. 2002-09-30 Fernando Nasser <fnasser@redhat.com>
  2738. * disasm.c: New file.
  2739. * disasm.h: New file.
  2740. * mi/mi-cmd-disas.c (gdb_dis_asm_read_memory): Moved to disasm.c.
  2741. (compare_lines): Ditto.
  2742. (dump_insns): Ditto.
  2743. (do_mixed_source_and_assembly): Moved to disasm.c. Added uiout
  2744. argument.
  2745. (do_assembly_only): Ditto.
  2746. (do_disassembly): Renamed to gdb_disassembly and moved to
  2747. disasm.c. Sdded uiout argument.
  2748. * Makefile.in: Add new files. Reorder SFILES list. Update
  2749. dependencies. Include libgdb.a later in the insight executable.
  2750. 2002-09-29 Andrew Cagney <ac131313@redhat.com>
  2751. * config/djgpp/fnchange.lst: Rename bfd/elf64-alpha.c and
  2752. bfd/elf64-alpha-fbsd.c.
  2753. 2002-09-29 Andrew Cagney <ac131313@redhat.com>
  2754. * config/djgpp/fnchange.lst: Rename i386gnu-nat.c and
  2755. i386gnu-tdep.c.
  2756. 2002-09-29 Andrew Cagney <ac131313@redhat.com>
  2757. * gnu-nat.h (debug): Use __FILE__ and __LINE__ instead of
  2758. __FUNCTION__.
  2759. * gnu-nat.c (do_mach_notify_no_senders): Replace __FUNCTION__ with
  2760. function name.
  2761. (do_mach_notify_port_deleted, do_mach_notify_msg_accepted): Ditto.
  2762. (do_mach_notify_port_destroyed, do_mach_notify_send_once): Ditto.
  2763. (S_proc_setmsgport_reply, S_proc_getmsgport_reply): Ditto.
  2764. (S_msg_sig_post_reply): Ditto.
  2765. 2002-09-28 Corinna Vinschen <vinschen@redhat.com>
  2766. * sh-tdep.c (sh_use_struct_convention): Use definition according
  2767. to ABI.
  2768. (sh_push_arguments): Store in register with correct endianess.
  2769. (sh_default_store_return_value): Ditto.
  2770. (sh_gdbarch_init): Set sizeof long double to 8.
  2771. 2002-09-27 Mark Kettenis <kettenis@gnu.org>
  2772. * defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".
  2773. Fix some whitespace problems.
  2774. 2002-09-27 David Carlton <carlton@math.stanford.edu>
  2775. * Makefile.in (cris-tdep.o): Depend on gdb_string_h.
  2776. (mcore-tdep.o): Ditto.
  2777. (ns32k-tdep.o): Ditto.
  2778. (ns32knbsd-tdep.o): Ditto.
  2779. (sh3-rom.o): Ditto.
  2780. (vax-tdep.o): Ditto.
  2781. * cris-tdep.c: #include "gdb_string.h"
  2782. * mcore-tdep.c: Ditto.
  2783. * ns32k-tdep.c: Ditto.
  2784. * ns32knbsd-tdep.c: Ditto.
  2785. * sh3-rom.c: Ditto.
  2786. * vax-tdep.c: Ditto.
  2787. 2002-09-27 David Carlton <carlton@math.stanford.edu>
  2788. * config/djgpp/fnchange.lst: Add entries for
  2789. gdb/testsuite/gdb.c++/m-static files.
  2790. 2002-09-27 Jim Wilson <wilson@redhat.com>
  2791. * MAINTAINERS: Add myself to the Write After Approval list.
  2792. 2002-09-26 Martin M. Hunt <hunt@redhat.com>
  2793. * mips-tdep.c (find_proc_desc): Initialize startaddr.
  2794. 2002-09-26 Andrew Cagney <ac131313@redhat.com>
  2795. * rs6000-tdep.c (rs6000_frame_chain): Don't chain past the dummy
  2796. frame.
  2797. 2002-09-26 Andrew Cagney <ac131313@redhat.com>
  2798. * rs6000-tdep.c (rs6000_extract_struct_value_address): Return 0.
  2799. (rs6000_struct_return_address): Delete variable.
  2800. (rs6000_store_struct_return): Update.
  2801. (rs6000_gdbarch_init): Set extract_struct_value_address instead of
  2802. deprecated_extract_struct_value_address.
  2803. (rs6000_frame_align): New function.
  2804. (rs6000_gdbarch_init): Set frame_align.
  2805. 2002-09-26 Andrew Cagney <ac131313@redhat.com>
  2806. From Grace Sainsbury <graces@redhat.com>:
  2807. * Makefile.in (gdbtk-main.o): New target.
  2808. (gdb.o): New target.
  2809. (main_h): Define.
  2810. (main.o): Update dependencies.
  2811. (gdb$(EXEEXT)): Add gdb.o.
  2812. (SUBDIR_GDBTK_SRCS): Add gdbtk-main.c.
  2813. (SUBDIR_GDBTK_ALL, SUBDIR_GDBTK_UNINSTALL): Set.
  2814. (SUBDIR_GDBTK_CLEAN): Set.
  2815. (install-gdbtk): Install the insight binary.
  2816. (uninstall-gdbtk): New target.
  2817. (all-gdbtk, clean-gdbtk): New rule.
  2818. * top.c (use_windows): Default to zero.
  2819. * main.c: Include "main.h".
  2820. (main): Delete.
  2821. (struct captured_main_args): Delete.
  2822. (gdb_main): New function.
  2823. * main.h: New file.
  2824. * gdb.c: New File.
  2825. 2002-09-25 Andrew Cagney <cagney@redhat.com>
  2826. * frame.c: Include "gdb_string.h" and "builtin-regs.h".
  2827. (frame_map_regnum_to_name): New function.
  2828. (frame_map_name_to_regnum): New function.
  2829. * frame.h (frame_map_name_to_regnum): Declare.
  2830. (frame_map_regnum_to_name): Declare.
  2831. * builtin-regs.c (builtin_reg_map_regnum_to_name): New function.
  2832. * builtin-regs.h (builtin_reg_map_regnum_to_name): Declare.
  2833. * parse.c: Do not include "builtin-regs.h".
  2834. (target_map_name_to_register): Delete function.
  2835. (write_dollar_variable): Use frame_map_name_to_regnum.
  2836. * parser-defs.h (target_map_name_to_register): Delete declaration.
  2837. * expprint.c: Include "frame.h".
  2838. (print_subexp): Use frame_map_regnum_to_name.
  2839. * eval.c (evaluate_subexp_standard): Use frame_map_regnum_to_name.
  2840. * infcmd.c (registers_info): Use frame_map_name_to_regnum.
  2841. 2002-09-25 Andrew Cagney <ac131313@redhat.com>
  2842. * rs6000-tdep.c (rs6000_frame_saved_pc): If the link register
  2843. wasn't saved, and the next innermost frame is a dummy, return the
  2844. dummy frame's link register.
  2845. 2002-09-24 Jim Blandy <jimb@redhat.com>
  2846. Fix from Paul Breed:
  2847. * main.c (captured_main): Add a `break' after the case for 'b'.
  2848. 2002-09-24 Keith Seitz <keiths@redhat.com>
  2849. * varobj.c (c_type_of_child): Use get_target_type instead
  2850. of TYPE_TARGET_TYPE.
  2851. 2002-09-22 Fernando Nasser <fnasser@redhat.com>
  2852. * source.c (get_current_or_default_source_symtab_and_line): Remove
  2853. function.
  2854. (set_default_source_symtab_and_line): New function. Attempts to
  2855. determine a source file to list lines from if one is not currently
  2856. defined.
  2857. (get_current_source_symtab_and_line): Initialize sal.pc and
  2858. sal.end fields.
  2859. (set_current_source_symtab_and_line): Mark argument as const.
  2860. * source.h: Update declarations and comments.
  2861. * linespec.c (decode_line_1): Replace call to removed routine above.
  2862. * stack.c (print_frame_info_base): Ditto.
  2863. * cli/cli-cmds.c (edit_command): Ditto.
  2864. (list_command): Ditto.
  2865. 2002-09-22 Fernando Nasser <fnasser@redhat.com>
  2866. * source.c (get_current_or_default_source_symtab_and_line): Initialize
  2867. sal.pc and sal.end fields.
  2868. (get_current_or_default_source_symtab_and_line): Ditto.
  2869. * breakpoint.c (parse_breakpoint_sals): Use correct accessor function
  2870. so we do not cause a new source symtab to be searched for (reverting an
  2871. unintentional change from the 2002-09-20 patch).
  2872. * scm-lang.c (scm_unpac): Ditto.
  2873. 2002-09-21 Andrew Cagney <cagney@redhat.com>
  2874. * complaints.c (symfile_explanations): Remove new-line from
  2875. ``isolated_message''.
  2876. (vcomplaint): When ISOLATED_MESSAGE, force a line break.
  2877. (clear_complaints): When a SUBSEQUENT_MESSAGE, force a line break.
  2878. 2002-09-20 Nick Clifton <nickc@redhat.com>
  2879. * NEWS: Announce that V850EA ISA is no longer supported.
  2880. * v850-tdep.c: Remove reference to bfd_mach_v850ea.
  2881. 2002-09-20 David Carlton <carlton@math.stanford.edu>
  2882. * Makefile.in (c-lang.o): Correct dependencies.
  2883. (utils.o): Gather dependencies.
  2884. (charset.o): Move.
  2885. * c-lang.c: #include "gdb_string.h"
  2886. 2002-09-20 George Helffrich <george@gly.bris.ac.uk>
  2887. * cli/cli-cmds.c (list_command): New function. Implements the new
  2888. cli edit command.
  2889. (_init_cli_cmds): Add new command definition.
  2890. * gdb.1: Document edit command.
  2891. 2002-09-20 Fernando Nasser <fnasser@redhat.com>
  2892. * source.c: Make global variables current_source_symtab and
  2893. current_source_line static.
  2894. (list_command): Moved to cli/cli-cmds.c.
  2895. (ambiguous_line_spec): Moved to cli/cli-cmds.c.
  2896. (get_first_line_listed): New accessor function.
  2897. (get_lines_to_list): New accessor function.
  2898. (get_current_source_symtab_and_line): New function. Retrieves the
  2899. position in the source code that we consider current.
  2900. (get_current_or_default_source_symtab_and_line): New function.
  2901. Like the above but attempts to determine a default position if one
  2902. is not currently defined.
  2903. (set_current_source_symtab_and_line): New function. Sets the source
  2904. code position considered current and returns the previously set one.
  2905. (clear_current_source_symtab_and_line): Reset stored information about
  2906. a current source line.
  2907. (_initialize_source): Remove registration for the "list" command and
  2908. its alias.
  2909. * source.h: Add declarations for the new functions above.
  2910. * symtab.h: Remove declarations for the global variables mentioned
  2911. above.
  2912. * breakpoint.c (parse_breakpoint_sals): Use accessor functions to
  2913. obtain current source line.
  2914. * linespec.c (decode_line_1): Ditto.
  2915. * macroscope.c (default_macro_scope): Ditto.
  2916. * scm-lang.c (scm_unpac): Ditto.
  2917. * stack.c (print_frame_info_base): Ditto.
  2918. * symfile.c (clear_symtab_users): Ditto.
  2919. * symtab.c (decode_line_spec): Ditto.
  2920. * cli/cli-cmds.c (list_command): Moved here from source.c.
  2921. (ambiguous_line_spec): Moved here from source.c.
  2922. (_init_cli_cmds): Add definition for "list" and its alias.
  2923. * Makefile.in: Update dependencies.
  2924. 2002-09-20 Corinna Vinschen <vinschen@redhat.com>
  2925. * h8300-tdep.c (h8300_examine_prologue): Match saved regs location
  2926. with what gcc thinks is correct.
  2927. 2002-09-20 Corinna Vinschen <vinschen@redhat.com>
  2928. * h8300-tdep.c (h8300_examine_prologue): Fix loop for saved regs in
  2929. multiple register push instruction.
  2930. 2002-09-19 Jim Blandy <jimb@redhat.com>
  2931. Add support for distinct host and target character sets.
  2932. * charset.c, charset.h: New files.
  2933. * c-exp.y: #include "charset.h".
  2934. (yylex): Convert character and string literals to the target
  2935. character set, before returning them as the semantic value of the
  2936. token.
  2937. * c-lang.c: #include "charset.h".
  2938. (c_emit_char): Use charset-specific methods to recognize
  2939. characters with backslash escape forms, to decide which characters
  2940. to print literally and which to print using numeric escape
  2941. sequences, and to convert target characters to host characters
  2942. before printing.
  2943. * utils.c: #include "charset.h".
  2944. (no_control_char_error): New function.
  2945. (parse_escape): Use charset-specific methods to recognize
  2946. backslash escapes, parse `control character' notation, and convert
  2947. characters from the host character set to the target character set.
  2948. * configure.in: Set the default host character set.
  2949. Check where to find iconv, and what its argument types might be.
  2950. * acinclude.m4 (AM_ICONV): New macro, borrowed from GCC.
  2951. * Makefile.in (SFILES): List charset.c.
  2952. (COMMON_OBS): List charset.o.
  2953. (charset.o): New rule.
  2954. (charset_h): New header dependency variable.
  2955. (c-lang.o, utils.o, c-exp.tab.o): Note dependency on $(charset_h).
  2956. (LIBICONV): New variable, set by configure.
  2957. (CLIBS): Include $(LIBICONV) here.
  2958. * aclocal.m4, config.in, configure: Regenerated.
  2959. 2002-09-19 Joel Brobecker <brobecker@gnat.com>
  2960. * ada-exp.y: Add missing semicolons to end rules. Fixes a
  2961. bison 1.35 warning.
  2962. 2002-09-19 Richard Earnshaw <rearnsha@arm.com>
  2963. * gdb_mbuild.sh: New file.
  2964. 2002-09-19 Andrew Cagney <ac131313@redhat.com>
  2965. * objc-exp.y, objc-lang.h, objc-lang.c: Fix copyright notice.
  2966. 2002-09-18 Andrew Cagney <ac131313@redhat.com>
  2967. * breakpoint.c, c-exp.y, defs.h, elfread.c, expression.h,
  2968. jv-exp.y, language.c, language.h, p-exp.y, parse.c, parser-defs.h,
  2969. printcmd.c, source.c, stabsread.c, symfile.c, symtab.h, utils.c,
  2970. valops.c, value.h: Revert previous change.
  2971. 2002-09-18 Michael Snyder <msnyder@redhat.com>
  2972. Preliminary support for Objective-C:
  2973. * defs.h (language_objc): New enum value.
  2974. (puts_filtered_tabular): Declaration only, exported from utils.c.
  2975. (skip_quoted): Delete, declared in completer.h.
  2976. * c-exp.y: Include completer.h.
  2977. * p-exp.y: Ditto.
  2978. * jv-exp.y: Ditto.
  2979. * expression.h (OP_MSGCALL, OP_SELECTOR, OP_SELF, OP_NSSTRING):
  2980. New operator enum values.
  2981. * language.h (CAST_IS_CONVERSION): Test for language_objc.
  2982. * language.c (binop_result_type): Handle language_objc case.
  2983. (integral_type, character_type, string_type, boolean_type,
  2984. structured_type, binop_type_check): Ditto.
  2985. * symtab.h (SYMBOL_OBJC_DEMANGLED_NAME): Define.
  2986. (struct objc_specific): Add to general_symbol_info.
  2987. (SYMBOL_INIT_LANGUAGE_SPECIFIC): Add objc initialization.
  2988. (SYMBOL_DEMANGLED_NAME): Handle objc case.
  2989. * parser-defs.h (struct objc_class_str): New struct type.
  2990. (start_msglist, end_msglist, add_msglist): Declaration only,
  2991. exported from objc-lang.c.
  2992. * value.h (value_of_local, value_nsstring,
  2993. call_function_by_hand_expecting_type): Exported from valops.c.
  2994. * valops.c (find_function_addr): Export.
  2995. (call_function_by_hand_expecting_type): New function.
  2996. (value_of_local): New function.
  2997. * symfile.c (init_filename_language_table): Add ".m" extension
  2998. for Objective-C.
  2999. * utils.c (puts_filtered_tabular): New function.
  3000. (fprintf_symbol_filtered): Add objc demangling support (disabled).
  3001. (set/show demangle): Extend help-string to refer to ObjC.
  3002. * elfread.c (elf_symtab_read): Skip Objective-C special symbols.
  3003. * stabsread.c (symbol_reference_defined): Objective-C symbols
  3004. may contain colons: make allowances when scanning stabs strings
  3005. for colons.
  3006. (objc_find_colon): New function.
  3007. * printcmd.c (address_info): If language == objc then print
  3008. "self" instead of "this".
  3009. * parse.c (length_of_subexp): Handle new operators OP_MSGCALL,
  3010. OP_NSSTRING, and OP_SELF.
  3011. (prefixify_subexp): Ditto.
  3012. * source.c (print_source_lines): Mention objc in comment.
  3013. * breakpoint.c (parse_breakpoint_sals): Recognize Objective-C
  3014. method names.
  3015. 2002-09-18 Andrew Cagney <ac131313@redhat.com>
  3016. * complaints.h: Update copyright.
  3017. (struct complaints): Declare.
  3018. (struct complaint): Make `message' constant.
  3019. (internal_complaint): Declare.
  3020. (complaint): Declare.
  3021. (complaint_root): Delete declaration.
  3022. (symfile_complaints): Delete declaration.
  3023. (struct complaints): Add opaque declaration.
  3024. (clear_complaints): Add a complaints parameter.
  3025. * complaints.c: Update copyright.
  3026. (enum complaint_series): Define.
  3027. (complaint_root): Delete.
  3028. (struct complaints): Define.
  3029. (complaint_sentinel, symfile_complaint_book): New variables.
  3030. (symfile_explanations, symfile_complaints): New variables.
  3031. New variables.
  3032. (get_complaints): New function.
  3033. (vcomplaint): New function.
  3034. (complaint): New function.
  3035. (internal_complaint): New function.
  3036. (complain): Call vcomplain with symfile_complaint.
  3037. (clear_complaints): Rewrite.
  3038. (_initialize_complaints): Use add_setshow_command.
  3039. * Makefile.in (complaints.o): Update dependencies.
  3040. * symfile.c (syms_from_objfile): Add symfile_complaints parameter
  3041. to call to clear_complaints.
  3042. (new_symfile_objfile, reread_symbols): Ditto.
  3043. (oldsyms_complaint): Delete.
  3044. (empty_symtab_complaint, unknown_option_complaint): Delete.
  3045. (free_named_symtabs): Use complaint instead of complain.
  3046. 2002-09-18 Michael Snyder <msnyder@redhat.com>
  3047. Contributed by Apple Computer, Inc. Merged with current sources
  3048. by Adam Fedor <fedor@doc.com> [cagney].
  3049. * objc-lang.c: First clean-up round: comments, indentation.
  3050. * objc-lang.h: Ditto.
  3051. * objc-lang.y: Ditto.
  3052. 2002-09-18 Andrew Cagney <ac131313@redhat.com>
  3053. * maint.c (maintenance_internal_error): Print the parameter as the
  3054. error message.
  3055. (maintenance_internal_warning): New function.
  3056. (_initialize_maint_cmds): Add command `maint internal-warning'.
  3057. * defs.h (internal_warning, internal_vwarning): Declare.
  3058. * utils.c (struct internal_problem): Define.
  3059. (internal_vproblem): New function.
  3060. (internal_warning): New function.
  3061. (internal_vwarning): New function.
  3062. (internal_warning_problem, internal_error_problem): New variables.
  3063. (internal_verror): Just call internal_vproblem.
  3064. 2002-09-18 Michael Snyder <msnyder@redhat.com>
  3065. * objc-lang.c: New file, support for Objective-C.
  3066. Preliminary check-in, not yet integrated into gdb.
  3067. * objc-lang.h: New file.
  3068. * objc-exp.y: New file.
  3069. 2002-09-18 Andrew Cagney <ac131313@redhat.com>
  3070. * infrun.c (signal_stop_update): Convert definition to ISO C.
  3071. (signal_print_update): Ditto.
  3072. (signal_pass_update): Ditto.
  3073. * inflow.c (terminal_save_ours): Ditto.
  3074. * h8300-tdep.c (h8300_gdbarch_init): Use C instead of C++
  3075. comments.
  3076. * config/djgpp/fnchange.lst: Handle name clashes between
  3077. bfd/coff-tic30.c, bfd/coff-tic4x.c, bfd/coff-tic54x.c and
  3078. bfd/coff-tic80.c.
  3079. * i386-linux-tdep.h: Fix tipo.
  3080. 2002-09-18 Adam Fedor <fedor@gnu.org>
  3081. * MAINTAINERS: Add myself to the Write After Approval list.
  3082. 2002-09-18 Jim Blandy <jimb@redhat.com>
  3083. * dbxread.c, mdebugread.c: Revert my change of 2001-10-23. Moving
  3084. texthigh and textlow to reader-specific structs caused
  3085. objfile_relocate to miss them. This is fixable, but the work that
  3086. the change was supposed to prepare GDB for never got done anyway.
  3087. 2002-09-18 David Carlton <carlton@math.stanford.edu>
  3088. * MAINTAINERS: Alphabetize Write After Approval list.
  3089. 2002-09-18 Daniel Jacobowitz <drow@mvista.com>
  3090. Fix PR gdb/709
  3091. * values.c (value_static_field): Call read_var_value.
  3092. 2002-09-18 Andrew Cagney <ac131313@redhat.com>
  3093. * valops.c (hand_function_call): Align the initial stack pointer
  3094. and STRUCT_ADDR using frame_align. When STRUCT_RETURN and
  3095. FRAME_ALIGN_P, use STRUCT_ADDR to obtain the called function's
  3096. return value.
  3097. * mips-tdep.c (mips_frame_align): New function.
  3098. (mips_gdbarch_init): Set frame_align.
  3099. * gdbarch.sh (FRAME_ALIGN): New method.
  3100. * gdbarch.h, gdbarch.c: Re-generate.
  3101. 2002-09-18 Michal Ludvig <mludvig@suse.cz>
  3102. * x86-64-linux-nat.c (x86_64_regmap): Added CS and SS
  3103. registers.
  3104. 2002-09-17 Andrew Cagney <ac131313@redhat.com>
  3105. * NEWS: Mention that MIPS $fp behavior changed.
  3106. * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register): Delete
  3107. reference to FP_REGNUM.
  3108. (mipsnbsd_cannot_store_register): Ditto.
  3109. * mips-linux-nat.c: Update copyright.
  3110. (mips_linux_cannot_fetch_register): Delete reference to FP_REGNUM.
  3111. (mips_linux_cannot_store_register): Ditto.
  3112. * mips-linux-tdep.c (supply_gregset): Ditto. Update copyright.
  3113. * config/mips/tm-mips.h: Update copyright.
  3114. (FP_REGNUM): Delete macro.
  3115. (MIPS_REGISTER_NAMES): Replace "fp" with "".
  3116. * config/mips/tm-irix6.h (FP_REGNUM): Delete macro.
  3117. * mips-tdep.c (mips_gdbarch_init): Set read_fp to mips_read_sp.
  3118. (mips_r3041_reg_names, mips_r3051_reg_names)
  3119. (mips_r3081_reg_names): Replace "fp" with "".
  3120. Fix PR gdb/480.
  3121. 2002-09-17 Theodore A. Roth <troth@verinet.com>
  3122. * avr-tdep.c(avr_scan_prologue): Fix bad call to
  3123. generic_read_register_dummy() (PR gdb/703).
  3124. (avr_push_return_address): #if 0 out unused vars.
  3125. (avr_gdbarch_init): Enable use of avr_push_return_address().
  3126. 2002-09-17 Michael Snyder <msnyder@redhat.com>
  3127. * m32r-stub.c (restore_and_return): Postpone restoring of PSW.
  3128. RTE will take care of it.
  3129. 2002-09-17 Andrew Cagney <ac131313@redhat.com>
  3130. * arch-utils.c (legacy_virtual_frame_pointer): If FP_REGNUM is
  3131. invalid, return SP_REGNUM.
  3132. 2002-09-17 Michael Snyder <msnyder@redhat.com>
  3133. * mips-tdep.c (mips_pop_frame): Read saved values of floating
  3134. point registers without sign extension.
  3135. 2002-09-17 Andrew Cagney <cagney@redhat.com>
  3136. * blockframe.c (deprecated_read_register_dummy): Rename
  3137. generic_read_register_dummy.
  3138. * frame.c (frame_unwind_signed_register): New function.
  3139. (frame_unwind_unsigned_register): New function.
  3140. * frame.h (frame_unwind_signed_register): Declare.
  3141. (frame_unwind_unsigned_register): Declare.
  3142. (deprecated_read_register_dummy): Rename
  3143. generic_read_register_dummy.
  3144. * h8300-tdep.c (h8300_frame_chain): Update.
  3145. (h8300_frame_saved_pc): Update.
  3146. * xstormy16-tdep.c (xstormy16_frame_saved_pc): Update.
  3147. * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
  3148. * s390-tdep.c (s390_frame_saved_pc_nofix): Update.
  3149. (s390_frame_chain): Update.
  3150. * v850-tdep.c (v850_find_callers_reg): Update.
  3151. (v850_frame_saved_pc): Update.
  3152. * m32r-tdep.c (m32r_init_extra_frame_info): Update.
  3153. (m32r_find_callers_reg): Update.
  3154. (m32r_frame_saved_pc): Update.
  3155. * sh-tdep.c (sh_find_callers_reg): Update.
  3156. (sh64_get_saved_pr): Update.
  3157. (sh_init_extra_frame_info): Update.
  3158. (sh_init_extra_frame_info): Update.
  3159. (sh64_init_extra_frame_info): Update.
  3160. (sh64_init_extra_frame_info): Update.
  3161. * mcore-tdep.c (mcore_find_callers_reg): Update.
  3162. (mcore_frame_saved_pc): Update.
  3163. (mcore_init_extra_frame_info): Update.
  3164. * i386-tdep.c (i386_frame_saved_pc): Update.
  3165. * ia64-tdep.c (ia64_frame_saved_pc): Update.
  3166. (ia64_init_extra_frame_info): Update.
  3167. (ia64_init_extra_frame_info): Update.
  3168. * d10v-tdep.c (d10v_frame_saved_pc): Update.
  3169. * cris-tdep.c (cris_init_extra_frame_info): Update.
  3170. * avr-tdep.c (avr_frame_chain): Update.
  3171. (avr_init_extra_frame_info): Update.
  3172. (avr_frame_saved_pc): Update.
  3173. * arm-tdep.c (arm_find_callers_reg): Update.
  3174. (arm_init_extra_frame_info): Update.
  3175. (arm_frame_saved_pc): Update.
  3176. 2002-09-17 Tom Tromey <tromey@redhat.com>
  3177. * c-lang.c (c_emit_char): Don't treat \0 specially unless quoter
  3178. is "'".
  3179. 2002-09-17 Corinna Vinschen <vinschen@redhat.com>
  3180. * MAINTAINERS: Remove "non multi-arched" text from h8300.
  3181. * h8300-tdep.c (h8300_next_prologue_insn) Renamed from
  3182. NEXT_PROLOGUE_INSN.
  3183. (h8300_examine_prologue): Call h8300_next_prologue_insn instead of
  3184. NEXT_PROLOGUE_INSN.
  3185. 2002-09-16 Joel Brobecker <brobecker@gnat.com>
  3186. * osfsolib.c: Remove file, replaced by solib-osf.c.
  3187. * Makefile.in: Remove compilation rules for osfsolib.c.
  3188. 2002-09-16 David Carlton <carlton@math.stanford.edu>
  3189. * cp-valprint.c (cp_print_class_method): Correct args to
  3190. check_stub_method_group.
  3191. 2002-09-16 Corinna Vinschen <vinschen@redhat.com>
  3192. * h8300-tdep.c: Multiarch. Drop `set machine' command in favor of
  3193. `set architecture'. Unify naming convention of functions.
  3194. (h8300_skip_prologue): Improve prologue analysis.
  3195. (h8300_push_arguments): Rewritten to more closely match GCC's
  3196. bizarre argument-passing behavior, along with the comment describing
  3197. said behavior.
  3198. * remote-hms.c (hms_regnames): Don't use NUM_REGS in definition.
  3199. * config/h8300/tm-h8300.h: Multiarch. Just keep stuff needed by
  3200. sim, remote-e7000.c, remote-hms.c and remote.c
  3201. 2002-09-15 Mark Kettenis <kettenis@gnu.org>
  3202. * i386-tdep.c (gdb_print_insn_i386): Removed.
  3203. (i386_print_insn): New function.
  3204. (i386_gdbarch_init): Set print_insn to i386_print_insns.
  3205. (_initialize_i386_tdep): Don't initialize tm_print_insn and
  3206. tm_print_insn_info.
  3207. 2002-09-14 Mark Kettenis <kettenis@gnu.org>
  3208. * gdbtypes.c (check_stub_method_group): Initialize found_stub to
  3209. zero.
  3210. 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
  3211. * arch-utils.c (legacy_pc_in_sigtramp): Move preprocessor expression
  3212. for IN_SIGTRAMP to here. Use IN_SIGTRAMP only if it's defined.
  3213. Guard usage of SIGTRAMP_START() by using SIGTRAMP_START_P.
  3214. 2002-09-13 Christopher Faylor <cgf@redhat.com>
  3215. * win32-nat.c (child_create_inferior): Honor 'tty' command.
  3216. 2002-09-13 Daniel Jacobowitz <drow@mvista.com>
  3217. * gdbtypes.c (check_stub_method): Make static.
  3218. (check_stub_method_group): New function.
  3219. * gdbtypes.h: Update prototypes.
  3220. * cp-support.c: New file.
  3221. * cp-support.h: New file.
  3222. * stabsread.c: Include "cp-abi.h" and "cp-support.h".
  3223. (update_method_name_from_physname): New function.
  3224. (read_member_functions): Correct method names for operators
  3225. and v3 constructors/destructors. Separate v2 constructors and
  3226. destructors.
  3227. * Makefile.in (stabsread.o): Update dependencies.
  3228. (SFILES): Add cp-support.c.
  3229. (COMMON_OBS): Add cp-support.o.
  3230. (cp_support_h, cp-support.o): Add.
  3231. * cp-valprint.c (cp_print_class_method): Call
  3232. check_stub_method_group instead of check_stub_method. Remove
  3233. extraneous QUITs.
  3234. * p-valprint.c (pascal_object_print_class_method): Likewise.
  3235. * valops.c (search_struct_method): Likewise.
  3236. (find_method_list, value_struct_elt_for_reference): Likewise.
  3237. 2002-09-13 Andrew Cagney <cagney@redhat.com>
  3238. * gdbarch.sh (SIGTRAMP_END): Change to a predicate function.
  3239. * gdbarch.h, gdbarch.c: Regenerate.
  3240. 2002-09-13 Andrew Cagney <ac131313@redhat.com>
  3241. * frame.c (find_saved_register): Delete function.
  3242. * frame.h (find_saved_register): Delete declaration.
  3243. Fix PR gdb/631.
  3244. Fri Sep 13 14:59:55 2002 Andrew Cagney <cagney@redhat.com>
  3245. * mips-tdep.c (read_next_frame_reg): Re-hack using
  3246. frame_register_unwind.
  3247. Fri Sep 13 07:42:09 2002 Andrew Cagney <cagney@redhat.com>
  3248. * mips-tdep.c (mips_get_saved_register): Re-hack using
  3249. frame_register_unwind.
  3250. 2002-09-12 Joel Brobecker <brobecker@gnat.com>
  3251. * gdbarch.sh (NAME_OF_MALLOC): New variable in the architecture
  3252. vector. Will be useful for Interix.
  3253. * gdbarch.h, gdbarch.c: Regenerate.
  3254. * valops.c (value_allocate_space_in_inferior): Replace hard-coded
  3255. name of the malloc function by NAME_OF_MALLOC.
  3256. 2002-09-12 Joel Brobecker <brobecker@gnat.com>
  3257. * value.h (find_function_in_inferior): Add const keyword to
  3258. one of the parameters. Allows us to invoke this function with
  3259. a const char *.
  3260. * valops.c (find_function_in_inferior): Likewise.
  3261. 2002-09-12 Joel Brobecker <brobecker@gnat.com>
  3262. * exec.c (xfer_memory): Fix compilation warning with old versions
  3263. of GCC.
  3264. * tracepoint.c (trace_find_tracepoint_command): Likewise.
  3265. 2002-09-12 David Carlton <carlton@math.stanford.edu>
  3266. * symtab.h: Run through gdb_indent.h.
  3267. Add 2002 to Copyright year list.
  3268. 2002-09-12 Alan Modra <amodra@bigpond.net.au>
  3269. * x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded
  3270. mach constants.
  3271. * MAINTAINERS: Add myself to write after approval list.
  3272. 2002-09-11 J. Brobecker <brobecker@gnat.com>
  3273. * osabi.c (gdb_osabi_name): Add entry for GDB_OSABI_INTERIX.
  3274. 2002-09-11 J. Brobecker <brobecker@gnat.com>
  3275. * osabi.h (gdb_osabi): Add new GDB_OSABI_INTERIX enum value for
  3276. Interix.
  3277. 2002-06-05 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
  3278. * procfs.c (do_detach): Clear current signal, not just fault.
  3279. Corrects problem with breakpoint trap signal leaking to detached
  3280. process on Tru64.
  3281. 2002-09-10 Michael Snyder <msnyder@redhat.com>
  3282. * buildsym.c (finish_block): Protect against null pointer.
  3283. 2002-09-10 Andrew Cagney <cagney@redhat.com>
  3284. * infcmd.c (default_print_registers_info): Send all output to
  3285. ``file'' instead of ``gdb_stdout''.
  3286. 2002-09-10 Michael Snyder <msnyder@redhat.com>
  3287. * mips-tdep.c (mips_extract_struct_value_address): Make val a
  3288. LONGEST, and use signed register read (addresses are sign-
  3289. extended for mips).
  3290. 2002-09-10 Stephane Carrez <stcarrez@nerim.fr>
  3291. * event-loop.c (gdb_do_one_event): Make public.
  3292. * event-loop.h (gdb_do_one_event): Declare.
  3293. 2002-09-10 Jeff Law <law@redhat.com>
  3294. * infttrace.c (child_resume): Simplify and rework to avoid
  3295. TT_PROC_CONTINUE.
  3296. 2002-09-09 Fred Fish <fnf@intrinsity.com>
  3297. * printcmd.c (print_scalar_formatted): "len" is the number of
  3298. target bytes, NOT the number of target bits.
  3299. 2002-09-09 Elena Zannoni <ezannoni@redhat.com>
  3300. From: Emmanuel Thome' <thome@lix.polytechnique.fr>
  3301. * top.c (init_main): Set rl_terminal_name.
  3302. 2002-09-08 Aidan Skinner <aidan@velvet.net>
  3303. * ada-lang.c (ada_array_bound, ada_type_match,
  3304. _initialize_ada_language): Fix K&R definitions.
  3305. * ada-tasks.c (get_current_task): Fix K&R definitions.
  3306. * ada-valprint.c (adjust_type_signedness): Fix K&R definitions.
  3307. 2002-09-07 Christopher Faylor <cgf@redhat.com>
  3308. * MAINTAINERS: Remove CE from list of maintainership responsibilities.
  3309. Add XP.
  3310. 2002-09-06 Mark Kettenis <kettenis@gnu.org>
  3311. * i386-tdep.c (i386_register_virtual_type,
  3312. i386_register_convertible, i386_register_convert_to_virtual,
  3313. i386_register_comvert_to_raw): Use FP_REGNUM_P and SSE_REGNUM_P
  3314. instead of IS_FP_REGNUM and IS_SSE_REGNUM.
  3315. (i386_gdbarch_init): Fix comment. Add comments on calls that set
  3316. sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum.
  3317. Don't set push_arguments twice.
  3318. * i386bsd-tdep.c (i386bsd_init_abi): Set sigtramp_start and
  3319. sigtramp_end to i386bsd_sigtramp_start and i386bsd_sigtramp_end.
  3320. * i386nbsd-tdep.c (i386nbsd_init_abi): Set sigtramp_start and
  3321. sigtramp_end to NULL.
  3322. * config/i386/tm-fbsd.h (SIGTRAMP_START, SIGTRAMP_END): Remove
  3323. defines.
  3324. (i386bsd_sigtramp_start, i386_sigtramp_end): Remove prototypes.
  3325. * i386nbsd-tdep.c (i386nbsd_pc_in_sigtramp): Remove spurious
  3326. whitespace.
  3327. * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): New methods.
  3328. * gdbarch.h, gdbarch.c: Re-generate.
  3329. * blockframe.c (find_pc_sect_partial_function): Convert to use
  3330. SIGTRAMP_START_P predicate.
  3331. 2002-09-05 Michael Snyder <msnyder@redhat.com>
  3332. * arm-tdep.c (arm_init_extra_frame_info): Distinguish between
  3333. generic_dummy_frame method and old method. Also distinguish
  3334. between ARM_FP_REGNUM and THUMB_FP_REGNUM.
  3335. (arm_extract_return_value): Use new regcache method.
  3336. * mips-tdep.c (mips_n32n64_push_arguments): Remove alignment
  3337. adjustment that doesn't conform to the ABI.
  3338. (mips_extract_struct_value_address): Retrieve V0_REGNUM from
  3339. saved regcache, not from current regcache.
  3340. 2002-09-05 Andrew Cagney <ac131313@redhat.com>
  3341. * NEWS: Update for 5.3. Add new section ``Changes since 5.3''.
  3342. * README: Update.
  3343. 2002-09-04 Jason Thorpe <thorpej@wasabisystems.com>
  3344. * arm-tdep.c (arm_addr_bits_remove): Don't check for Thumb mode
  3345. if arm_apcs_32 is false.
  3346. 2002-09-04 Andrew Cagney <ac131313@redhat.com>
  3347. GDB 5.3 branch created.
  3348. 2002-09-03 Theodore A. Roth <troth@verinet.com>
  3349. * avr-tdep.c (avr_gdbarch_init): Use
  3350. generic_unwind_get_saved_register.
  3351. 2002-09-03 David Carlton <carlton@math.stanford.edu>
  3352. * dwarf2read.c (dwarf2_add_member_fn): Add the 'type'
  3353. argument (PR gdb/653). Update call to smash_to_method_type.
  3354. (read_structure_scope): Update call to dwarf2_add_member_fn.
  3355. 2002-09-03 Michal Ludvig <mludvig@suse.cz>
  3356. * x86-64-linux-tdep.c: Include gdb_string.h
  3357. * x86-64-linux-nat.c: Ditto.
  3358. 2002-09-02 Jason Thorpe <thorpej@wasabisystems.com>
  3359. * ada-exp.y (yyname, yyrule): Remap global variables that appear
  3360. when YYDEBUG is set to 1.
  3361. * c-exp.y: Likewise.
  3362. * f-exp.y: Likewise.
  3363. * jv-exp.y: Likewise.
  3364. * m2-exp.y: Likewise.
  3365. * p-exp.y: Likewise.
  3366. 2002-09-02 Jason Thorpe <thorpej@wasabisystems.com>
  3367. * Makefile.in (i386nbsd-tdep.o): Add $(solib_svr4_h) to
  3368. dependency list.
  3369. * i386nbsd-tdep.c (i386nbsdelf_init_abi): Set
  3370. solib_svr4_fetch_link_map_offsets to
  3371. nbsd_ilp32_solib_svr4_fetch_link_map_offsets.
  3372. * config/i386/nbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
  3373. * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
  3374. * config/i386/nbsdelf.mh (NATDEPFILES): Remove solib.o,
  3375. solib-svr4.o, and solib-legacy.o.
  3376. * config/i386/tm-nbsd.h: Include solib.h.
  3377. 2002-09-02 Jason Thorpe <thorpej@wasabisystems.com>
  3378. * configure.tgt (i[3456]86-*-netbsdelf*): Merge with...
  3379. (i[3456]86-*-netbsd*): ...this. Set gdb_target to nbsd.
  3380. (i[3456]86-*-openbsd*): Make this a separate entry. Add a
  3381. comment noting that this needs its own target configuration.
  3382. * config/i386/nbsd.mt: New file.
  3383. * config/i386/nbsdaout.mt: Remove.
  3384. * config/i386/nbsdelf.mt: Ditto.
  3385. * config/i386/tm-nbsdaout.h: Ditto.
  3386. 2002-09-02 Jason Thorpe <thorpej@wasabisystems.com>
  3387. * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): New function.
  3388. (i386nbsd_pc_in_sigtramp): Rewrite to use i386nbsd_sigtramp_offset.
  3389. (i386nbsd_init_abi): Don't initialize tdep->sigtramp_start or
  3390. tdep->sigtramp_end.
  3391. (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): Remove.
  3392. * config/i386/tm-nbsd.h (SIGTRAMP_START, SIGTRAMP_END)
  3393. (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove.
  3394. 2002-09-02 Jason Thorpe <thorpej@wasabisystems.com>
  3395. * Makefile.in (i386nbsd-tdep.o): Add $(arch_utils_h),
  3396. $(i386_tdep_h), and $(nbsd_tdep_h) to dependency list.
  3397. * i386-tdep.h (i386bsd_init_abi): New prototype.
  3398. * i386bsd-tdep.c (i386bsd_init_abi): Remove "static" from
  3399. function declaration.
  3400. (_initialize_i386bsd_tdep): Don't register OS ABI handlers
  3401. for NetBSD-a.out or NetBSD-ELF.
  3402. (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end)
  3403. (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset)
  3404. (i386nbsd_init_abi, i386nbsdelf_init_abi): Move to...
  3405. * i386nbsd-tdep.c: ...here. Include arch-utils.h, i386-tdep.h,
  3406. and nbsd-tdep.h.
  3407. (i386nbsd_pc_in_sigtramp): New function.
  3408. (i386nbsd_init_abi): Set gdbarch_pc_in_sigtramp to
  3409. i386nbsd_pc_in_sigtramp.
  3410. (_initialize_i386nbsd_tdep): Register i386nbsd_init_abi
  3411. and i386nbsdelf_init_abi OS ABI handlers.
  3412. * config/i386/nbsdaout.mt (TDEPFILES): Add nbsd-tdep.o.
  3413. * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
  3414. 2002-09-02 Mark Kettenis <kettenis@gnu.org>
  3415. * i386-linux-nat.c (dummy_sse_values): Only try to fill in the SSE
  3416. registers if the target really has them.
  3417. 2002-08-31 Jason Thorpe <thorpej@wasabisystems.com>
  3418. * Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
  3419. than nbsd-tdep.h.
  3420. 2002-08-31 Jason Thorpe <thorpej@wasabisystems.com>
  3421. * Makefile.in (alphanbsd-tdep.o): Add $(frame_h) to dependency
  3422. list.
  3423. * alphanbsd-tdep.c (alphanbsd_sigcontext_addr)
  3424. (alphanbsd_skip_sigtramp_frame): New functions.
  3425. (alphanbsd_init_abi): Set tdep->skip_sigtramp_frame to
  3426. alphanbsd_skip_sigtramp_frame. Set tdep->sigcontext_addr
  3427. to alphanbsd_sigcontext_addr.
  3428. 2002-08-31 Jason Thorpe <thorpej@wasabisystems.com>
  3429. * Makefile.in (mipsnbsd-tdep.o): Add nbsd-tdep.h to dependency
  3430. list.
  3431. (nbsd-tdep.o): Add $(gdb_string_h) to dependency list.
  3432. * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): Use
  3433. nbsd_pc_in_sigtramp.
  3434. * mipsnbsd-tdep.c: Include nbsd-tdep.h.
  3435. (mipsnbsd_pc_in_sigtramp): Use nbsd_pc_in_sigtramp.
  3436. * nbsd-tdep.c: Include gdb_string.h.
  3437. (nbsd_pc_in_sigtramp): New function.
  3438. * nbsd-tdep.h (nbsd_pc_in_sigtramp): New prototype.
  3439. * ppcnbsd-tdep.c (ppcnbsd_pc_in_sigtramp): New function.
  3440. (ppcnbsd_init_abi): Set gdbarch_pc_in_sigtramp to
  3441. ppcnbsd_pc_in_sigtramp.
  3442. * shnbsd-tdep.c (shnbsd_pc_in_sigtramp): New function.
  3443. (shnbsd_init_abi): Set gdbarch_pc_in_sigtramp to
  3444. shnbsd_pc_in_sigtramp.
  3445. * sparcnbsd-tdep.c (sparcnbsd_init_abi_elf): Set
  3446. gdbarch_pc_in_sigtramp to nbsd_pc_in_sigtramp.
  3447. * config/mips/nbsd.mt (TDEPFILES): Add nbsd-tdep.o.
  3448. 2002-08-30 Pierre Muller <muller@ics.u-strasbg.fr>
  3449. * breakpoint.c (breakpoint_init_inferior): Reset the val field of
  3450. watchpoints to NULL.
  3451. (insert_breakpoints): set val field of watchpoints if NULL.
  3452. 2002-08-29 Jim Blandy <jimb@redhat.com>
  3453. * symtab.c (lookup_symbol_aux): In the cases where we find a
  3454. minimal symbol of an appropriate name and use its address to
  3455. select a symtab to read and search, use `name' (as passed to us)
  3456. as the demangled name when searching the symtab's global and
  3457. static blocks, not the minsym's name.
  3458. 2002-08-29 Keith Seitz <keiths@redhat.com>
  3459. * stack.c (print_frame_info_base): Always set current_source_symtab
  3460. and current_source_line.
  3461. 2002-08-29 Donn Terry <donnte@microsoft.com>
  3462. * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).
  3463. 2002-08-28 Keith Seitz <keiths@redhat.com>
  3464. * stack.c (select_frame): Add FIXME concerning selected-frame
  3465. events.
  3466. (select_frame_command): Send selected-frame-level-changed
  3467. event notification, but only if the level actually changed.
  3468. (up_silently_base): Add selected-frame-level-changed event
  3469. notification.
  3470. (down_silently_base): Likewise.
  3471. 2002-08-28 Andrew Cagney <ac131313@redhat.com>
  3472. * Makefile.in: Update dependencies for all gdb/*.c files.
  3473. 2002-08-27 Tom Tromey <tromey@redhat.com>
  3474. * Makefile.in (osabi.o, i387-tdep.o, i386-linux-nat.o, lin-lwp.o,
  3475. ax-gdb.o, signals.o, jv-valprint.o, c-valprint.o, cp-abi.o):
  3476. Update dependencies.
  3477. * i387-tdep.c: Include gdb_string.h.
  3478. * osabi.c: Likewise.
  3479. * i386-linux-nat.c: Likewise.
  3480. * lin-lwp.c: Likewise.
  3481. * ax-gdb.c: Likewise.
  3482. * signals/signals.c: Likewise.
  3483. * jv-valprint.c: Likewise.
  3484. * p-lang.c: Likewise.
  3485. * c-valprint.c: Likewise.
  3486. * cp-abi.c: Likewise.
  3487. 2002-08-27 Elena Zannoni <ezannoni@redhat.com>
  3488. * cli/cli-script.h (copy_command_lines): Export.
  3489. * breakpoint.c: Include cli/cli-script.h.
  3490. * Makefile.in (breakpoint.o): Update dependencies.
  3491. 2002-08-26 Michael Snyder <msnyder@redhat.com>
  3492. * breakpoint.c (insert_breakpoints): Protect all references
  3493. to 'process_warning'. Shorten long lines.
  3494. 2002-08-26 Joel Brobecker <brobecker@gnat.com>
  3495. * cli/cli-script.c (copy_command_lines): New function.
  3496. * defs.h (copy_command_lines): Export.
  3497. 2002-08-26 Michael Snyder <msnyder@redhat.com>
  3498. * breakpoint.c (bpstat_stop_status): Instead of copying the
  3499. pointer to the breakpoint commands struct, make a new copy
  3500. of the struct and point to that.
  3501. (bpstat_clear): Free the commands struct.
  3502. (bpstat_clear_actions): Free the commands struct.
  3503. (bpstat_do_actions): Free the command actions. Also execute
  3504. the local cleanups, instead of deleting them.
  3505. (delete_breakpoint): Leave the commands field of the bpstat
  3506. chain alone -- it will be freed later.
  3507. 2002-08-26 Kevin Buettner <kevinb@redhat.com>
  3508. * rs6000-tdep.c (altivec_register_p): Restore function inadvertently
  3509. deleted in 2002-08-20 commit. This function is still used by
  3510. ppc-linux-nat.c.
  3511. 2002-08-26 Keith Seitz <keiths@redhat.com>
  3512. * gdb-events.sh: Add selected-frame-level-changed event.
  3513. * gdb-events.c: Regenerated.
  3514. * gdb-events.h: Regenerated.
  3515. 2002-08-26 Stephane Carrez <stcarrez@nerim.fr>
  3516. Fix PR gdb/393:
  3517. * inflow.c (terminal_save_ours): New function to save terminal
  3518. settings.
  3519. * inferior.h (terminal_save_ours): Declare.
  3520. * target.c (debug_to_terminal_save_ours): New function.
  3521. (cleanup_target): Defaults to_terminal_save_ours.
  3522. (update_current_target): Inherit to_terminal_save_ours.
  3523. (setup_target_debug): Set to_terminal_save_ours.
  3524. * target.h (target_terminal_save_ours): New to save terminal settings.
  3525. (target_ops): New member to_terminal_save_ours.
  3526. * gnu-nat.c (init_gnu_ops): Set to_terminal_save_ours.
  3527. * hpux-thread.c (init_hpux_thread_ops): Likewise.
  3528. * inftarg.c (init_child_ops): Likewise.
  3529. * m3-nat.c (init_m3_ops): Likewise.
  3530. * procfs.c (init_procfs_ops): Likewise.
  3531. * wince.c (init_child_ops): Likewise.
  3532. * win32-nat.c (init_child_ops): Likewise.
  3533. * sol-thread.c (init_sol_thread_ops): Likewise.
  3534. 2002-08-26 Mark Kettenis <kettenis@gnu.org>
  3535. * i386-tdep.c (i386_store_return_value): Undeprecate. Convert to
  3536. use regcache_* functions.
  3537. (i386_gdbarch_init): Set store_return_value instead of
  3538. deprecated_store_return_value.
  3539. * regcache.c (regcache_raw_write_signed,
  3540. regcache_raw_write_unsigned): New functions.
  3541. * regcache.h (regcache_raw_write_signed,
  3542. regcache_raw_write_unsigned): New prototypes.
  3543. 2002-08-25 Andrew Cagney <ac131313@redhat.com>
  3544. * Makefile.in (c-exp.tab.o, jv-exp.tab.o, f-exp.tab.o)
  3545. (m2-exp.tab.o, p-exp.tab.o, ada-exp.tab.o): Move to before the
  3546. source file dependencies. Cleanup corresponding generator rules.
  3547. 2002-08-25 Andrew Cagney <ac131313@redhat.com>
  3548. * regcache.h (register_offset_hack): Declare.
  3549. (regcache_cooked_read_using_offset_hack): Declare.
  3550. (regcache_cooked_write_using_offset_hack): Declare.
  3551. * regcache.c (register_offset_hack): New function.
  3552. (regcache_cooked_read_using_offset_hack): New function.
  3553. (regcache_cooked_write_using_offset_hack): New function.
  3554. (regcache_dump): Check that the registers, according to their
  3555. offset, are packed hard against each other.
  3556. (cooked_xfer_using_offset_hack): New function.
  3557. 2002-08-25 Andrew Cagney <ac131313@redhat.com>
  3558. * regcache.c (struct regcache_descr): Add field register_type.
  3559. (init_legacy_regcache_descr): Pass a pre-allocated regcache_descr
  3560. in as a parameter
  3561. (init_regcache_descr): Initialize register_type. Pass the descr
  3562. to init_legacy_regcache_descr. Use register_type instead of
  3563. REGISTER_VIRTUAL_TYPE.
  3564. (register_type): New function.
  3565. (regcache_dump): Replace REGISTER_VIRTUAL_TYPE with register_type.
  3566. * regcache.h (register_type): Declare.
  3567. 2002-08-25 Andrew Cagney <ac131313@redhat.com>
  3568. * rs6000-tdep.c (rs6000_gdbarch_init): Set store_struct_return
  3569. instead of deprecated_store_return_value. Fix fallout from
  3570. 2002-08-23 Andrew Cagney <cagney@redhat.com>.
  3571. 2002-08-25 Andrew Cagney <ac131313@redhat.com>
  3572. * regcache.c (max_register_size): New function.
  3573. (init_legacy_regcache_descr): Ensure that max_register_size is
  3574. large enough for REGISTER_VIRTUAL_SIZE.
  3575. * regcache.h (max_register_size): Declare.
  3576. 2002-08-24 Andrew Cagney <ac131313@redhat.com>
  3577. * rs6000-tdep.c (rs6000_gdbarch_init): Use deprecated version of
  3578. store_return_value.
  3579. (e500_extract_return_value): Change type of valbuf pointer to
  3580. void.
  3581. 2002-08-24 Mark Kettenis <kettenis@gnu.org>
  3582. * PROBLEMS: Clarify problems with FreeBSD's compiler and suggest
  3583. workaround.
  3584. * valprint.c (print_longest) [CC_HAS_LONG_LONG &&
  3585. PRINTF_HAS_LONG_LONG]: Cast val_long to (long long) or (unsigned
  3586. long long) to prevent compiler warning on 64-bit systems.
  3587. 2002-08-23 Andrew Cagney <cagney@redhat.com>
  3588. * gdbarch.sh (STORE_RETURN_VALUE): Add regcache parameter.
  3589. (DEPRECATED_STORE_RETURN_VALUE): New method.
  3590. (EXTRACT_RETURN_VALUE): Make buffer parameter a void pointer.
  3591. * gdbarch.h, gdbarch.c: Re-generate.
  3592. * values.c (set_return_value): Pass current_regcache to
  3593. STORE_RETURN_VALUE.
  3594. * arch-utils.h (legacy_store_return_value): Declare.
  3595. * arch-utils.c (legacy_store_return_value): New function.
  3596. (legacy_extract_return_value): Update parameters.
  3597. * config/pa/tm-hppa.h (DEPRECATED_STORE_RETURN_VALUE): Rename
  3598. STORE_RETURN_VALUE.
  3599. * config/pa/tm-hppa64.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
  3600. * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
  3601. * config/z8k/tm-z8k.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
  3602. * config/sparc/tm-sparclet.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
  3603. * config/mn10200/tm-mn10200.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
  3604. * config/m68k/tm-linux.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
  3605. * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
  3606. * config/m32r/tm-m32r.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
  3607. * config/h8500/tm-h8500.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
  3608. * config/h8300/tm-h8300.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
  3609. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  3610. * i386-tdep.c (i386_extract_return_value): Update.
  3611. * arch-utils.c (legacy_extract_return_value): Update.
  3612. * frv-tdep.c (frv_gdbarch_init): Update.
  3613. * cris-tdep.c (cris_gdbarch_init): Update.
  3614. * d10v-tdep.c (d10v_gdbarch_init): Update.
  3615. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  3616. * m68k-tdep.c (m68k_gdbarch_init): Update.
  3617. * mcore-tdep.c (mcore_gdbarch_init): Update.
  3618. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  3619. * s390-tdep.c (s390_gdbarch_init): Update.
  3620. * sparc-tdep.c (sparc_gdbarch_init): Update.
  3621. * sh-tdep.c (sh_gdbarch_init): Update.
  3622. * x86-64-tdep.c (x86_64_gdbarch_init): Update.
  3623. * v850-tdep.c (v850_gdbarch_init): Update.
  3624. * avr-tdep.c (avr_gdbarch_init): Update.
  3625. * ia64-tdep.c (ia64_gdbarch_init): Update.
  3626. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  3627. * vax-tdep.c (vax_gdbarch_init): Update.
  3628. * alpha-tdep.c (alpha_gdbarch_init): Update.
  3629. * arm-tdep.c (arm_gdbarch_init): Update.
  3630. * mips-tdep.c (mips_gdbarch_init): Update.
  3631. * i386-tdep.c (i386_gdbarch_init): Update.
  3632. 2002-08-23 Andrew Cagney <ac131313@redhat.com>
  3633. * config/djgpp/fnchange.lst: Add entries for bfd/elf32-ppcqnx.c,
  3634. bfd/elf32-ppc.c, bfd/elf32-sh.c and bfd/elf32-shqnx.c.
  3635. 2002-08-24 Mark Kettenis <kettenis@gnu.org>
  3636. * PROBLEMS: Refer to GDB 5.3 instead of 5.2. Mention FreeBSD
  3637. problems.
  3638. 2002-08-23 Joel Brobecker <brobecker@gnat.com>
  3639. * infrun.c (handle_inferior_event): Move a comment outside of a
  3640. function call, in order to avoid indent reformatting this part
  3641. of the code in an unreadable way.
  3642. 2002-08-23 Grace Sainsbury <graces@redhat.com>
  3643. * infrun.c (normal_stop, proceed): Remove call to print_sys_errmsg
  3644. when breakpoints fail. Move general breakpoint error messages to
  3645. insert_breakpoints.
  3646. * breakpoint.c (insert_breakpoints): Change warnings when
  3647. breakpoints are nto inserted to specify the type. Remove call to
  3648. memory_error when hardware breakpoints can't be inserted. Remove
  3649. multiple calls to warning so all messages are sent to the user at
  3650. once.
  3651. (delete_breakpoints): Make insert error messsages more explicit.
  3652. 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
  3653. * ChangeLog: Move gdbserver entries after GDB 5.2 to
  3654. gdbserver/ChangeLog.
  3655. 2002-08-23 Mark Kettenis <kettenis@gnu.org>
  3656. * i386-tdep.c: Include "objfiles.h".
  3657. (i386_svr4_init_abi): Set in_solib_call_trampoline and
  3658. skip_trampoline_code.
  3659. * config/i386/tm-i386v4.h: Don't include "config/tm-sysv4.h".
  3660. (CPLUS_MARKER): Define to '.'.
  3661. * linux-proc.c (struct linux_corefile_thread_data): Add num_notes
  3662. member.
  3663. (linux_corefile_thread_callback): Increase args->num_notes.
  3664. (linux_make_note_section): Initialize thread_args.num_notes, and
  3665. use it to determine whether notes for any threads were created.
  3666. 2002-08-23 Donn Terry <donnte@microsoft.com>
  3667. * proc-api.c (rw_table): Do not include a row for PCDSTOP if the
  3668. corresponding macro is not defined. Likewise for PCNICE, PCSHOLD
  3669. and PCUNKILL.
  3670. (write_with_trace): Conditionalize out the switch branch handling
  3671. PCSHOLD if the corresponding macro is not defined. Likewise for
  3672. PRSABORT and PRSTOP.
  3673. This change will be needed by the Interix port.
  3674. 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
  3675. * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): use
  3676. write_register wherever possible instead of manipulating the
  3677. register bytes directly.
  3678. Assign VALUE_CONTENTS to a variable and use that.
  3679. The GPR numbers are now dependent on the architecture.
  3680. 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
  3681. * rs6000-tdep.c (struct rs6000_framedata): Add saved_ev and
  3682. ev_offset fields.
  3683. (skip_prologue): Add support for BookE/e500 instructions.
  3684. (e500_extract_return_value): New function.
  3685. (frame_get_saved_regs): Add support for saving ev registers and
  3686. pseudo gpr's.
  3687. (e500_store_return_value): New function.
  3688. (rs6000_gdbarch_init): Move up default intializations of
  3689. deprecated_extract_return_value and store_return_value. Overwrite
  3690. init of store_return_value with e500 specific version.
  3691. Set extract_return_value for e500.
  3692. 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
  3693. * blockframe.c (generic_call_dummy_register_unwind): Use
  3694. regcache_cooked_read to catch cases in which the variable is
  3695. stored in a pseudo register.
  3696. 2002-08-22 Andrew Cagney <cagney@redhat.com>
  3697. * NEWS: Mention that the i960 has been made obsolete.
  3698. * Makefile.in (SFILES): Delete remote-nrom.c, remote-nindy.c and
  3699. i960-tdep.c
  3700. (remote-nrom.o): Obsolete target.
  3701. (remote-nindy.o, i960-tdep.o): Ditto.
  3702. * remote-nrom.c: Make file obsolete.
  3703. * remote-nindy.c, remote-vx960.c: Ditto.
  3704. * config/i960/vxworks960.mt, config/i960/nindy960.mt: Ditto.
  3705. * config/i960/mon960.mt, config/i960/tm-i960.h: Ditto.
  3706. * config/i960/tm-vx960.h, config/i960/tm-nindy960.h: Ditto.
  3707. * config/i960/tm-mon960.h, i960-tdep.c: Ditto.
  3708. * configure.tgt: Make i960-*-bout*, i960-nindy-coff*,
  3709. i960-*-coff*, i960-nindy-elf*, i960-*-elf*, i960-*-nindy* and
  3710. i960-*-vxworks* obsolete.
  3711. * MAINTAINERS: Note that the i960 is obsolete.
  3712. 2002-08-21 Corinna Vinschen <vinschen@redhat.com
  3713. * aix-thread.c (aix_thread_detach): Disable thread debugging on
  3714. detach to allow reinitialization.
  3715. 2002-08-22 Andrew Cagney <ac131313@redhat.com>
  3716. * MAINTAINERS: Change the s390 target to s390-linux-gnu (second
  3717. attempt).
  3718. 2002-08-22 Jim Blandy <jimb@redhat.com>
  3719. * coffread.c (coff_symfile_read): Don't try to read the line
  3720. number table from disk if the image file doesn't have a symbol
  3721. table; we'll never actually look at the info anyway, and Windows
  3722. ships DLL's with bogus file offsets for the line number data.
  3723. 2002-08-21 Elena Zannoni <ezannoni@redhat.com>
  3724. * rs6000-tdep.c (rs6000_gdbarch_init): Figure out whether we have
  3725. an e500 executable.
  3726. 2002-08-21 Michael Snyder <msnyder@redhat.com>
  3727. * mips-tdep.c (MSYMBOL_IS_SPECIAL): Replace macro with function.
  3728. (MSYMBOL_SIZE): Replace macro with function.
  3729. (DEFAULT_MIPS_TYPE): Delete unused macro.
  3730. * config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): Delete unused macro.
  3731. * config/mips/tm-embed.h (DEFAULT_MIPS_TYPE): Delete unused macro.
  3732. 2002-08-21 Jim Blandy <jimb@redhat.com>
  3733. * valops.c (value_cast): Simplify and correct logic for doing a
  3734. static cast from a pointer to a base class to a pointer to a
  3735. derived class.
  3736. 2002-08-21 Andrew Cagney <ac131313@redhat.com>
  3737. * infcmd.c (default_print_registers_info): Replace
  3738. do_registers_info.
  3739. (registers_info): Use gdbarch_print_registers_info instead of
  3740. DO_REGISTERS_INFO.
  3741. * inferior.h (default_print_registers_info): Replace
  3742. do_registers_info.
  3743. * gdbarch.sh (PRINT_REGISTERS_INFO): New method.
  3744. (DO_REGISTERS_INFO): Change to a predicate function.
  3745. * gdbarch.h, gdbarch.c: Regenerate.
  3746. 2002-08-21 Keith Seitz <keiths@redhat.com>
  3747. * gdb-events.sh: Add target-changed event.
  3748. * gdb-events.c: Regenerated.
  3749. * gdb-events.c: Regenerated.
  3750. * valops.c (value_assign): Add target-changed event notification
  3751. to inlval_register, lval_memory, and lval_reg_frame_relative.
  3752. 2002-08-21 Joel Brobecker <brobecker@gnat.com>
  3753. * NEWS: Add an entry regarding the improvement of the next/step
  3754. operation on Alpha Tru64 multi-processor machines.
  3755. 2002-08-21 Andrew Cagney <ac131313@redhat.com>
  3756. * Makefile.in: Update dependencies for mi/ cli/ and tui/
  3757. directores.
  3758. * Makefile.in: Update all _h macro definitions.
  3759. * Makefile.in (install-gdbtk): Move to install section.
  3760. (rdi-share/libangsd.a): Move to end of file.
  3761. 2002-08-19 Andrew Cagney <ac131313@redhat.com>
  3762. * frame.c (frame_register_unwind): When a register, set addrp to
  3763. the register's byte.
  3764. 2002-08-20 Michael Snyder <msnyder@redhat.com>
  3765. * mips-tdep.c (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): These are only
  3766. used locally, so move them from the target machine header to here.
  3767. (mips_set_processor_type, mips_register_name, mips32_next_pc,
  3768. mips16_next_pc, cached_proc_desc, mips_set_processor_type):
  3769. Make static.
  3770. * config/mips/tm-mips.h (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Delete.
  3771. 2002-08-20 Andrew Cagney <cagney@redhat.com>
  3772. * NEWS: Mention that the Apollo line was made obsolete.
  3773. * configure.tgt: Make m68*-apollo*-bsd*, m68*-hp-bsd*, and
  3774. m68*-hp-hpux* obsolete.
  3775. * configure.host: Make m68*-apollo*-sysv*, m68*-apollo*-bsd*,
  3776. m68*-hp-bsd* and m68*-hp-hpux* obsolete.
  3777. * buildsym.c (make_blockvector): Make static.
  3778. * buildsym.h (make_blockvector): Make extern declaration obsolete.
  3779. * Makefile.in (HFILES_NO_SRCDIR): Remove dst.h
  3780. (ALLDEPFILES): Remove dstread.c.
  3781. (dstread.o): Obsolete make rule.
  3782. * dstread.c: Makefile obsolete.
  3783. * dst.h: Ditto.
  3784. * config/m68k/hp300hpux.mt: Ditto.
  3785. * config/m68k/hp300hpux.mh: Ditto.
  3786. * config/m68k/hp300bsd.mt: Ditto.
  3787. * config/m68k/hp300bsd.mh: Ditto.
  3788. * config/m68k/apollo68b.mt: Ditto.
  3789. * config/m68k/apollo68v.mh: Ditto.
  3790. * config/m68k/apollo68b.mh: Ditto.
  3791. 2002-08-20 Michael Snyder <msnyder@redhat.com>
  3792. * mips-tdep.c (mips_in_return_stub): Make static.
  3793. (mips_gdbarch_init): Set in_solib_return_trampoline.
  3794. * config/mips/tm-mips.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete.
  3795. 2002-08-20 Michael Snyder <msnyder@redhat.com>
  3796. * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Add.
  3797. * gdbarch.c, gdbarch.h: Regenerate.
  3798. * arch-utils.c, arch-utils.h (generic_in_solib_return_trampoline):
  3799. Add.
  3800. * infrun.c (IN_SOLIB_RETURN_TRAMPOLINE): Delete default definition.
  3801. 2002-08-20 Michael Snyder <msnyder@redhat.com>
  3802. * mips-tdep.c (mips_skip_stub, mips_in_call_stub): Make static.
  3803. (mips_gdbarch_init): Set skip_trampoline_code,
  3804. in_solib_call_trampoline.
  3805. * config/mips/tm-mips.h (REGISTER_NAME): Delete.
  3806. (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): Delete.
  3807. 2002-08-20 Elena Zannoni <ezannoni@redhat.com>
  3808. * ppc-tdep.h (struct gdbarch_tdep): Add ev registers.
  3809. * rs6000-tdep.c (rs6000_register_virtual_type): Return 64 bit
  3810. vector type for ev registers.
  3811. (e500_pseudo_register_read): New function.
  3812. (e500_pseudo_register_write): New function.
  3813. (e500_dwarf2_reg_to_regnum): New function.
  3814. (PPC_UISA_NOFP_SPRS): New macro.
  3815. (PPC_EV_REGS): New macro.
  3816. (PPC_GPRS_PSEUDO_REGS): New macro.
  3817. (registers_e500): New register set for e500.
  3818. (variants): Add e500 variant.
  3819. (rs6000_gdbarch_init): Move setting of pc, sp, fp regnums to
  3820. before setting architectural dependent variations. Initialize ev
  3821. registers numbers. Add case for e500 architecture. Set the
  3822. number of pseudo registers.
  3823. 2002-08-20 Elena Zannoni <ezannoni@redhat.com>
  3824. * rs6000-tdep.c: Clean up comments.
  3825. 2002-08-20 Andrew Cagney <cagney@redhat.com>
  3826. * h8300-tdep.c: Re-indent file.
  3827. 2002-08-20 Jim Blandy <jimb@redhat.com>
  3828. * Makefile.in (LDFLAGS): Allow the configure script to establish a
  3829. default for this.
  3830. 2002-08-20 Keith Seitz <keiths@redhat.com>
  3831. * breakpoints.c (watch_command_1): Use internal breakpoint
  3832. when setting a watchpoint_scope breakpoint.
  3833. 2002-08-20 Elena Zannoni <ezannoni@redhat.com>
  3834. * gdbtypes.c (build_builtin_type_vec64): Add name to type.
  3835. (build_builtin_type_vec64i): Ditto.
  3836. (build_builtin_type_vec128): Ditto.
  3837. (build_builtin_type_vec128i): Ditto.
  3838. 2002-08-19 Michael Snyder <msnyder@redhat.com>
  3839. * config/mips/tm-mips.h (ELF_MAKE_MSYMBOL_SPECIAL): Delete.
  3840. (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Change into functions.
  3841. (FIX_CALL_DUMMY, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
  3842. POP_FRAME, INIT_EXTRA_FRAME_INFO): Delete.
  3843. (CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
  3844. CALL_DUMMY_ADDRESS): Delete.
  3845. * mips-tdep.c (mips_elf_make_msymbol_special, mips_msymbol_size,
  3846. mips_msymbol_is_special, mips_fix_call_dummy): New functions.
  3847. (mips_gdbarch_init): Set elf_make_msymbol_special, pop_frame,
  3848. push_dummy_frame, fix_call_dummy, init_extra_frame_info,
  3849. push_return_address.
  3850. (mips_register_raw_size, mips_eabi_use_struct_convention,
  3851. mips_n32n64_use_struct_convention, mips_o32_use_struct_convention,
  3852. mips_o32_reg_struct_has_addr, mips_frame_saved_pc, mips_frame_chain,
  3853. mips_init_extra_frame_info, mips_eabi_push_arguments,
  3854. mips_n32n64_push_arguments, mips_push_return_address,
  3855. mips_push_dummy_frame, mips_pop_frame, mips_skip_prologue,
  3856. mips_breakpoint_from_pc, mips_call_dummy_address): Make static.
  3857. 2002-08-19 Michael Snyder <msnyder@redhat.com>
  3858. * mips-tdep.c (mips_frame_num_args): New function.
  3859. (mips_gdbarch_init): Set frame_chain, frameless_function_invocation,
  3860. frame_saved_pc, frame_args_address, frame_locals_address,
  3861. frame_num_args, and frame_args_skip.
  3862. * config/mips/tm-mips.h (FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION,
  3863. FRAME_SAVED_PC, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
  3864. FRAME_NUM_ARGS, FRAME_ARGS_SKIP): Delete.
  3865. * config/mips/tm-mipsv4.h (FRAME_CHAIN_VALID): Delete.
  3866. 2002-08-20 Michael Snyder <msnyder@redhat.com>
  3867. * config/mips/tm-mips.h (STORE_STRUCT_RETURN): Delete.
  3868. (EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
  3869. * mips-tdep.c (mips_store_struct_return): New function.
  3870. (mips_extract_struct_value_address): New function.
  3871. (mips_gdbarch_init): Set store_struct_return and
  3872. extract_struct_value_address.
  3873. 2002-08-20 David Carlton <carlton@math.stanford.edu>
  3874. * dwarf2read.c (dwarf2_build_psymtabs): Check that
  3875. dwarf_line_offset is nonzero before creating dwarf_line_buffer.
  3876. (read_file_scope): Check that line_header is nonzero before
  3877. decoding macro information.
  3878. 2002-08-20 Mark Kettenis <kettenis@gnu.org>
  3879. * i386-tdep.h (FP_REGNUM_P): Change such that we don't incorrectly
  3880. flag the general-purpose registers as floating-point on targets
  3881. that don't support the floating-point registers.
  3882. 2002-08-20 Elena Zannoni <ezannoni@redhat.com>
  3883. * rs6000-tdep.c (altivec_register_p): Delete.
  3884. (rs6000_do_altivec_registers): Delete.
  3885. (rs6000_altivec_registers_info): Delete.
  3886. (rs6000_do_registers_info): Delete.
  3887. (_initialize_rs6000_tdep): Remove command 'info powerpc altivec'.
  3888. (rs6000_gdbarch_init): Remove setting of do_registers_info.
  3889. 2002-08-20 Elena Zannoni <ezannoni@redhat.com>
  3890. * infcmd.c (do_registers_info): Print vector registers in hex
  3891. format only.
  3892. (print_vector_info): Check that printing registers
  3893. makes sense.
  3894. (print_float_info): Ditto.
  3895. 2002-08-20 Andrew Cagney <ac131313@redhat.com>
  3896. * mips-tdep.c (mips_gdbarch_init): Update.
  3897. (mips_o32_extract_return_value): Rewrite.
  3898. (mips_o32_store_return_value): Rewrite.
  3899. (mips_o32_xfer_return_value): New function.
  3900. (mips_xfer_register): Tweak debug print message. Allow for
  3901. buf_offset when dumping the value transfered.
  3902. 2002-08-20 Andrew Cagney <ac131313@redhat.com>
  3903. * config/mips/tm-nbsd.h (MIPS_DEFAULT_ABI): Delete.
  3904. * config/mips/tm-linux.h (MIPS_DEFAULT_ABI): Delete.
  3905. * config/mips/tm-irix5.h (MIPS_DEFAULT_ABI): Delete.
  3906. * config/mips/tm-irix6.h (MIPS_DEFAULT_ABI): Delete.
  3907. * mips-tdep.c (mips_gdbarch_init) [MIPS_DEFAULT_ABI]: Delete code.
  3908. 2002-08-14 Michael Snyder <msnyder@redhat.com>
  3909. * mips-tdep.c (mips_frame_chain): Check for call-dummy frames.
  3910. 2002-08-19 Elena Zannoni <ezannoni@redhat.com>
  3911. * rs6000-tdep.c (struct reg): Add field to indicate a pseudo
  3912. register.
  3913. (P): New macro to define a register as a pseudo register.
  3914. (R, R4, R8, R16, FR32, R64, R0): Updated.
  3915. (struct variant): Add new fields for number of pseudo registers
  3916. and number of total registers.
  3917. (tot_num_registers): New macro replacing....
  3918. (num_registers): ...deleted macro.
  3919. (num_registers): New function.
  3920. (num_pseudo_registers): New function.
  3921. (variants): Update all variants to intialize new fields correctly.
  3922. Postpone initialization of number of pseudo regs and real regs.
  3923. (init_variants): New function.
  3924. (rs6000_gdbarch_init): Initialize variants. Update calculation of
  3925. registers offsets.
  3926. 2002-08-19 David Carlton <carlton@math.stanford.edu>
  3927. * valops.c (search_struct_field): Change error message to treat
  3928. return value of 0 from value_static_field as meaning that field is
  3929. optimized out.
  3930. (value_struct_elt_for_reference): Ditto.
  3931. * values.c (value_static_field): Treat an unresolved location the
  3932. same as a nonexistent symbol. Fix PR gdb/635.
  3933. * gnu-v2-abi.c (gnuv2_value_rtti_type): Eliminate test for being
  3934. enclosed. Fix PR gdb/574.
  3935. * MAINTAINERS: Add self to Write After Approval list.
  3936. 2002-08-19 Andrew Cagney <ac131313@redhat.com>
  3937. * mips-tdep.c (mips_xfer_register): New function.
  3938. (mips_n32n64_extract_return_value): Rewrite.
  3939. (mips_gdbarch_init): For N32 and N64, set extract_return_value
  3940. instead of deprecated_extract_return_value.
  3941. 2002-08-19 Elena Zannoni <ezannoni@redhat.com>
  3942. * rs6000-tdep.c (TDEP): Delete macro.
  3943. (branch_dest): Replace use of TDEP macro with its body.
  3944. (rs6000_pop_frame): Ditto.
  3945. (rs6000_push_arguments): Ditto.
  3946. (rs6000_skip_trampoline_code): Ditto.
  3947. (rs6000_frame_saved_pc): Ditto.
  3948. (rs6000_frame_chain): Ditto.
  3949. (rs6000_register_name): Ditto.
  3950. (rs6000_register_byte): Ditto.
  3951. (rs6000_register_raw_size): Ditto.
  3952. (rs6000_register_virtual_type): Ditto.
  3953. (rs6000_register_convertible): Ditto.
  3954. (rs6000_convert_from_func_ptr_addr): Ditto.
  3955. 2002-08-19 Daniel Jacobowitz <drow@mvista.com>
  3956. * config/mips/tm-linux.h (REALTIME_LO, REALTIME_HI): Define
  3957. conditionally.
  3958. (JB_PC, JB_ELEMENT_SIZE): Rename to MIPS_LINUX_JB_PC and
  3959. MIPS_LINUX_JB_ELEMENT_SIZE.
  3960. * mips-linux-tdep.c (supply_gregset, fill_gregset): Use alloca
  3961. for MAX_REGISTER_RAW_SIZE arrays.
  3962. (mips_linux_get_longjmp_target): Use MIPS_LINUX_JB_PC and
  3963. MIPS_LINUX_JB_ELEMENT_SIZE.
  3964. 2002-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
  3965. * i387-tdep.c (i387_print_float_info): Fix typo in comment.
  3966. 2002-08-19 Aidan Skinner <aidan@velvet.net>
  3967. * Makefile.in (SFILES): Add ada-exp.y ada-lang.c ada-typeprint.c
  3968. ada-valprint.c ada-tasks.c.
  3969. (YYFILES): Add ada-exp.y.
  3970. (ada-exp.tab.c ada-lex.c ada-lang.o): New target.
  3971. (ada-tasks.o ada-typeprint.o ada-valprint.o): New target.
  3972. (ada-exp.tab.o): New target.
  3973. 2002-08-18 Andrew Cagney <ac131313@redhat.com>
  3974. * regcache.c (regcache_xfer_part): New function.
  3975. (regcache_raw_read_part): New function.
  3976. (regcache_raw_write_part): New function.
  3977. (regcache_cooked_read_part): New function.
  3978. (regcache_cooked_write_part): New function.
  3979. * regcache.h (regcache_raw_read_part): Declare.
  3980. (regcache_raw_write_part): Declare.
  3981. (regcache_cooked_read_part): Declare.
  3982. (regcache_cooked_write_part): Declare.
  3983. 2002-08-18 Daniel Jacobowitz <drow@mvista.com>
  3984. * remote.c (remote_open_1): Add async_p.
  3985. (remote_async_open_1): Delete.
  3986. (open_remote_target): Delete.
  3987. (remote_open, extended_remote_open): Update calls to remote_open_1.
  3988. (remote_async_open, extended_remote_async_open): Call
  3989. remote_open_1 instead of remote_async_open_1.
  3990. 2002-08-19 Mark Kettenis <kettenis@gnu.org>
  3991. * blockframe.c: Fix a few coding standard violations.
  3992. 2002-08-19 Mark Kettenis <kettenis@gnu.org>
  3993. * config/i386/nm-i386sco5.h (START_INFERIOR_TRAPS_EXPECTED): Moved
  3994. here from ...
  3995. * config/i386/tm-i386sco5.h: ... here. File removed.
  3996. * config/i386/i386sco5.mt (TM_FILE): Set to tm-i386v4.h.
  3997. * config/i386/nm-i386v.h (START_INFERIOR_TRAPS_EXPECTED): New define.
  3998. * config/i386/i386aout.mt (TDEPFILES): Add i387-tdep.o
  3999. (TM_FILE): Set to tm-i386.h.
  4000. * config/i386/i386v.mt (TM_FILE): Set to tm-i386.h.
  4001. * config/i386/tm-i386v.h: Remove file.
  4002. * config/i386/tm-ptx.h [!SEQUENT_PTX4]: Include "i386/tm-i386.h"
  4003. instead of "i386/tm-i386v.h".
  4004. (START_INFERIOR_TRAPS_EXPECTED): Remove define.
  4005. * config/i386/tm-symmetry: Include "i386/tm-i386.h" instead of
  4006. "i386/tm-i386v.h".
  4007. (START_INFERIOR_TRAPS_EXPECTED): Remove define.
  4008. * config/i386/tm-vxworks.h: Include "i386/tm-i386.h" instead of
  4009. "i386/tm-i386.h".
  4010. 2002-08-18 Mark Kettenis <kettenis@gnu.org>
  4011. * config/i386/nm-i386v.h: Add protection against
  4012. multiple-inclusion.
  4013. (i386_register_u_addr): Remove prototype.
  4014. (register_u_addr): New prototype.
  4015. (REGISTER_U_ADDR): Redefine accordingly.
  4016. * i386v-nat.c: Improve several comments.
  4017. (i386_register_u_addr): Change signature and rename to
  4018. register_u_addr. Use FP_REGNUM_P. Rewrite slightly to get rid of
  4019. ubase variable.
  4020. 2002-08-18 Andrew Cagney <ac131313@redhat.com>
  4021. * config/mips/tm-mips.h (STORE_RETURN_VALUE): Delete macro.
  4022. (DEPRECATED_EXTRACT_RETURN_VALUE): Delete macro.
  4023. * mips-tdep.c (mips_gdbarch_init): Set store_return_value and
  4024. deprecated_extract_return_value.
  4025. (mips_o32_push_arguments, mips_o64_push_arguments): Clone and
  4026. rename mips_o32o64_push_arguments.
  4027. (mips_gdbarch_init): Update.
  4028. (mips_extract_return_value): Delete.
  4029. (mips_o32_extract_return_value): Clone mips_extract_return_value.
  4030. (mips_o64_extract_return_value): Clone mips_extract_return_value.
  4031. (mips_eabi_extract_return_value): Clone mips_extract_return_value.
  4032. (mips_n32n64_extract_return_value): Clone
  4033. mips_extract_return_value.
  4034. (mips_store_return_value): Delete.
  4035. (mips_o32_store_return_value): Clone mips_store_return_value.
  4036. (mips_o64_store_return_value): Clone mips_store_return_value.
  4037. (mips_eabi_store_return_value): Clone mips_store_return_value.
  4038. (mips_n32n64_store_return_value): Clone mips_store_return_value.
  4039. 2002-08-18 Aidan Skinner <aidan@velvet.net>
  4040. * ada-lang.c: Use gdb_string.h instead of <string.h>.
  4041. * ada-typeprint.c: Use gdb_string.h instead of <string.h>.
  4042. 2002-08-18 Aidan Skinner <aidan@velvet.net>
  4043. * ada-lang.c: Run through gdb_indent.sh.
  4044. * ada-lang.h: Run through gdb_indent.sh.
  4045. * ada-tasks.c: Run through gdb_indent.sh.
  4046. * ada-typeprint.c: Run through gdb_indent.sh.
  4047. * ada-valprint.c: Run through gdb_indent.sh.
  4048. 2002-08-18 Andrew Cagney <ac131313@redhat.com>
  4049. * osabi.c (gdbarch_init_osabi): Don't complain about an unknown
  4050. ABI.
  4051. 2002-08-18 Mark Kettenis <kettenis@gnu.org>
  4052. * i386b-nat.c [FETCH_INFERIOR_REGISTERS]: Remove dead code.
  4053. * config/i386/nm-i386bsd.h (FLOAT_INFO): Remove redundant #undef.
  4054. * i386b-nat.c [FLOAT_INFO]: Remove dead code.
  4055. * i386-tdep.c (i386_do_pop_frame, i386_store_return_value): Call
  4056. write_register_gen instead of write_register_bytes.
  4057. * NEWS: Mention that the i[3456]-*mach3*, i[3456]-*-mach* and
  4058. i[3456]-*-osf1mk* configurations have been made obsolete.
  4059. * configure.host: Make i[3456]86-*-mach3*, i[3456]86-*mach* and
  4060. i[3456]86-*-osf1mk* hosts obsolete.
  4061. * confighure.tgt: Make i[3456]86-*-mach3*, i[3456]86-*-osf1mk*
  4062. targets obsolete.
  4063. * config/i386/i386mach.mh, config/i386/nm-i386mach.h,
  4064. config/i386/xm-i386mach.h, config/i386/i386m3.mh,
  4065. config/i386/i386m3.mt, config/i386/nm-m3.h,
  4066. config/i386/tm-i386m3.h, config/i386/xm-i386m3.h,
  4067. config/i386/i386mk.mh, config/i386/i386mk.mt,
  4068. config/i386/tm-i386mk.h, config/i386/xm-i386mk.h: Make files
  4069. obsolete.
  4070. * i386mach-nat.c, i386m3-nat.c: Make files obsolete.
  4071. * Makefile.in (ALLDEPFILES): Remove i386mach.c i386m3-nat.c
  4072. (i386mach-nat.o, i386m3-nat.o):Make targets obsolete.
  4073. 2002-08-18 Andrew Cagney <ac131313@redhat.com>
  4074. * config/pa/tm-hppa.h (hppa_store_return_value): Declare.
  4075. (hppa_value_returned_from_stack): Declare.
  4076. (hppa_extract_return_value): Declare.
  4077. * config/pa/hppa.mt: New file.
  4078. * configure.tgt: Recognize hppa*-*-*.
  4079. * MAINTAINERS: Change HPPA target to hppa-elf. Still broken.
  4080. 2002-08-18 Mark Kettenis <kettenis@gnu.org>
  4081. * i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Fix typo in
  4082. comment.
  4083. 2002-08-17 Mark Kettenis <kettenis@gnu.org>
  4084. * top.c (gdb_rl_operate_and_get_next): Make sure
  4085. operate-and-get-next functions correctly even when the history
  4086. list is completely filled.
  4087. 2002-08-18 Andrew Cagney <ac131313@redhat.com>
  4088. * MAINTAINERS (Target Instruction Set Architectures): Rename
  4089. Target/Architectures. Replace vax-dec-vms5.5 with vax-netbsd.
  4090. Replace s390-linux with s390-linux-gnu. Remove i386-aout,
  4091. mcore-pe, mips64-elf, sparc64-elf. Remove i586-pc-msdosdjgpp,
  4092. already listed under Host/Native.
  4093. * configure.tgt: Combine i[3456]86-*-coff*, i[3456]86-*-elf*,
  4094. i[3456]86-*-pe*, and i[3456]86-*-aout* into i[3456]86-*-*. Add
  4095. mips*-*-*.
  4096. 2002-08-17 Andrew Cagney <ac131313@redhat.com>
  4097. * config/ia64/ia64.mt: New file.
  4098. * config/alpha/alpha.mt: New file.
  4099. * MAINTAINERS: Change the alpha target to alpha-elf and IA-64 to
  4100. ia64-linux-gnu. Mention that ia64-elf is broken.
  4101. * configure.tgt: Add alpha*-*-* and ia64*-*-* patterns.
  4102. 2002-08-17 Mark Kettenis <kettenis@elgar.kettenis.dyndns.org>
  4103. * i386-tdep.c (i386_svr4_init_abi, i386_nw_init_abi): Use
  4104. generic_func_frame_valid instead of func_frame_valid.
  4105. 2002-08-16 Joel Brobecker <brobecker@gnat.com>
  4106. * alpha-osf1-tdep.c (alpha_osf1_init_abi): Unfortunately,
  4107. procfs appears to be broken when debugging on multi-processor
  4108. machines. So enable software single stepping in order to avoid
  4109. using the procfs interface to do next/step operations, using
  4110. internal breakpoints instead.
  4111. * infrun.c (handle_inferior_event): Readjust the stop_pc by
  4112. DECR_PC_AFTER_BREAK when hitting a single step breakpoint, to
  4113. make this pc address equal to the value it would have if the
  4114. system stepping capability was used. Also set a new flag used
  4115. to ensure that we don't readjust the PC one more time later.
  4116. * breakpoint.c (bpstat_stop_status): Do not adjust the PC
  4117. address by DECR_PC_AFTER_BREAK when software single step is
  4118. in use for this architecture, as this has already been taken
  4119. care of in handle_inferior_event().
  4120. 2002-08-16 Joel Brobecker <brobecker@gnat.com>
  4121. * infrun.c (handle_inferior_event): Minor reformatting, to make
  4122. a rather long condition expression easier to read.
  4123. 2002-08-16 Andrew Cagney <ac131313@redhat.com>
  4124. * Makefile.in (gdbtk.o): Move to end of file.
  4125. (gdbtk-bp.o, gdbtk-cmds.o): Ditto.
  4126. (gdbtk-hooks.o, gdbtk-register.o): Ditto.
  4127. (gdbtk-stack.o, gdbtk-varobj.o): Ditto.
  4128. (gdbtk-wrapper.o, gdbres.o): Ditto.
  4129. 2002-08-16 Andrew Cagney <ac131313@redhat.com>
  4130. * Makefile.in (copying.o): Separate out compile rule.
  4131. (hpux-thread.o, procfs.o, signals.o): Ditto.
  4132. (v850ice.o, z8k-tdep.o): Ditto.
  4133. (tui-file.o): Move to TUI section.
  4134. (xdr_ptrace.o, xdr_rdb.o, xdr_ld.o): Move to separate section.
  4135. (nindy.o, Onindy.o, ttyflush.o): Move to separate section.
  4136. 2002-08-16 Joel Brobecker <brobecker@gnat.com>
  4137. * i386-tdep.c (i386_pe_skip_trampoline_code): renamed from
  4138. skip_trampoline_code, for better namespace-proofing.
  4139. * i386-tdep.h (i386_pe_skip_trampoline_code): Add declaration.
  4140. 2002-08-16 Joel Brobecker <brobecker@gnat.com>
  4141. * config/i386/tm-cygwin.h: Remove some "#if 0"'ed macros.
  4142. 2002-08-16 Joel Brobecker <brobecker@gnat.com>
  4143. * infrun.c (handle_inferior_event): When receiving a SIGTRAP
  4144. signal, check whether we hit a breakpoint before checking for a
  4145. single step breakpoint. Otherwise, GDB fails to notice that a
  4146. breakpoint has been hit when stepping onto a breakpoint.
  4147. 2002-08-16 Keith Seitz <keiths@redhat.com>
  4148. * gdb-events.sh (clear_gdb_event_hooks): New function.
  4149. * gdb-events.c: Regenerate.
  4150. * gdb-events.h: Regenerate.
  4151. 2002-08-16 Andrew Cagney <ac131313@redhat.com>
  4152. * breakpoint.c (bpstat_stop_status): Rename not_a_breakpoint to
  4153. not_a_sw_breakpoint.
  4154. * breakpoint.h (bpstat_stop_status): Add parameter names.
  4155. 2002-08-16 Grace Sainsbury <graces@redhat.com>
  4156. * remote.c (remote_insert_hw_breakpoint)
  4157. (remote_remove_hw_breakpoint): Fix calculation of length field
  4158. for Z-packet.
  4159. 2002-08-15 Michael Snyder <msnyder@redhat.com>
  4160. * irix5-nat.c (supply_gregset): Allocate plenty-big buffer
  4161. (32 bytes) instead of using MAX_REGISTER_RAW_SIZE.
  4162. (supply_fpregset): Ditto.
  4163. * config/mips/tm-mips.h (REGISTER_CONVERT_TO_VIRTUAL,
  4164. REGISTER_CONVERT_TO_RAW, REGISTER_CONVERTIBLE,
  4165. MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE): Delete.
  4166. (TARGET_READ_SP): Delete.
  4167. (DO_REGISTERS_INFO): Delete.
  4168. (FUNCTION_START_OFFSET, IN_SIGTRAMP, REGISTER_VIRTUAL_SIZE):
  4169. Delete.
  4170. (REGISTER_CONVERT_FROM_TYPE, REGISTER_CONVERT_TO_TYPE): Convert
  4171. from macros to functions.
  4172. * mips-tdep.c (mips_gdbarch_init): Set the above in the gdbarch.
  4173. (mips_register_convertible, mips_register_convert_to_virtual,
  4174. mips_register_convert_to_raw): Make static.
  4175. (mips_read_sp): New function.
  4176. (mips_gdbarch_init): Set gdbarch read_sp to mips_read_sp.
  4177. (mips_do_registers_info): Make static.
  4178. (mips_gdbarch_init): Insert mips_do_registers_info into gdbarch.
  4179. (in_sigtramp): Make static, rename to mips_pc_in_sigtramp.
  4180. (mips_register_convert_from_type, mips_register_convert_to_type):
  4181. New functions.
  4182. (mips_gdbarch_init): Set up function_start_offset,
  4183. register_virtual_size, pc_in_sigtramp.
  4184. 2002-08-15 Andrew Cagney <ac131313@redhat.com>
  4185. * infcmd.c (vector_info): New function.
  4186. (_initialize_infcmd): Add command "info vector".
  4187. (print_vector_info): New function.
  4188. * gdbarch.sh (PRINT_VECTOR_INFO): New method
  4189. * gdbarch.h, gdbarch.c: Regenerate.
  4190. 2002-08-15 Andrew Cagney <ac131313@redhat.com>
  4191. * infcmd.c (do_registers_info): Rename parameter ``fpregs'' to
  4192. ``print_all''. Only print vector registers when ``print_all''.
  4193. 2002-08-15 Andrew Cagney <ac131313@redhat.com>
  4194. * i387-tdep.h (i387_print_float_info): Add `args' parameter.
  4195. * i387-tdep.c (i387_print_float_info): Add `args' parameter.
  4196. * gdbarch.sh (PRINT_FLOAT_INFO): Change to a predicate method.
  4197. Add `args' parameter.
  4198. * gdbarch.h, gdbarch.c: Regenerate.
  4199. * arm-tdep.c (arm_print_float_info): Add the parameter `args'.
  4200. * infcmd.c (float_info): Call print_float_info.
  4201. (print_float_info): New function. By default, print the
  4202. floating-point registers.
  4203. * arch-utils.h (default_print_float_info): Delete declaration.
  4204. * arch-utils.c (default_print_float_info): Delete function.
  4205. 2002-08-16 Mark Kettenis <kettenis@gnu.org>
  4206. * config/i386/nm-i386v.h (FLOAT_INFO): Remove already commented
  4207. out define.
  4208. * i387-tdep.c (i387_print_float_info): Add comment about ignoring
  4209. FRAME.
  4210. * NEWS: Mention that the i[3456]-*-aix target has been made obsolete.
  4211. * configure.host: Make i[3456]86-*-aix host obsolete.
  4212. * configure.tgt: Make i[3456]86-*-aix target obsolete.
  4213. * config/i386/i386aix.mh, config/i386/i386aix.mt,
  4214. config/i386/nm-i386aix.h, condig/i386/tm-i386aix.h,
  4215. config/i386/xm-i386aix.h: Make files obsolete.
  4216. * i386aix-nat.c: Make file obsolete.
  4217. * Makefile.in (ALLDEPFILES): Remove i386aix-nat.c.
  4218. (i386aix-nat.o): Make target obsolete.
  4219. * config/i386/nm-gnu.h: Removed.
  4220. * config/i386/nm-i386gnu.h: New file.
  4221. (THREAD_STATE_FLAVOR, THREAD_STATE_SIZE,
  4222. THREAD_STATE_SET_TRACED, THREAD_STATE_CLEAR_STATE, ATTACH_DETACH):
  4223. Moved here from ...
  4224. * config/i386/tm-i386gnu.h: ... here. Removed.
  4225. * config/i386/xm-i386gnu.h: Removed.
  4226. * config/i386/i386gnu.mh (XM_FILE): Set to xm-i386.h.
  4227. (NAT_FILE): Set to nm-i386gnu.h.
  4228. * config/i386/i386gnu.mt (TDEPFILES): Add i386gnu-tdep.o.
  4229. * i386-tdep.c: New file.
  4230. * Makefile.in (ALLDEPFILES): Add i386gnu-nat.c and i386gnu-tdep.c.
  4231. (i386gnu-tdep.o): Specify dependencies.
  4232. 2002-08-15 Mark Kettenis <kettenis@gnu.org>
  4233. * config/i386/tm-i386sco5.h: Include "i386/tm-i386v4.h" instead of
  4234. "i386/tm-i386.h", "i386/tm-i386v.h" and "config/tm-sysv.h".
  4235. Adjust a few comments to reflect reality a bit closer.
  4236. (KERNEL_U_SIZE, TARGET_HAS_HARDWARE_WATCHPOINTS,
  4237. TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUEABLE_WATCHPOINT,
  4238. HAVE_STEPPABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT,
  4239. target_insert_watchpoint, target_remove_watchpoint):
  4240. Move defines to ...
  4241. * config/i386/nm-i386sco5.h: ... here.
  4242. (kernel_u_size): Add prototype. Improve a few comments and add
  4243. protection against multiple inclusion.
  4244. * config/i386/nm-i386sco.h (FLOAT_INFO): Remove already commented
  4245. out define.
  4246. * uw-thread.c (SP_ARG0): Define if not already defined.
  4247. * config/i386/tm-i386.h (SO_ARG0): Remove define.
  4248. * config/i386/tm-i386v4.h (HAVE_I387_REGS): Remove define.
  4249. * config/i386/tm-i386.h: Don't include "regcache.h".
  4250. * i387-tdep.h (i387_print_float_info): New prototype.
  4251. * i387-tdep.c (print_i387_value, print_i387_ext,
  4252. print_i387_status_word, print_i387_control_word): Add `struct
  4253. ui_file *' argument and use it for output.
  4254. (i387_print_float_info): Renamed from i387_float_info. Add
  4255. `struct gdbarch *' and `struct ui_file *' arguments and use the
  4256. latter for output.
  4257. * i386-tdep.c: Include "i387-tdep.h".
  4258. (i386_gdbarch_init): Set print_float_info.
  4259. * config/i386/tm-i386.h (i387_float_info): Remove prototype.
  4260. (FLOAT_INFO): Remove define.
  4261. 2002-08-13 Michael Snyder <msnyder@redhat.com>
  4262. * mips-tdep.c (mips_push_arguments): Rename to
  4263. mips_eabi_push_arguments, and tune for EABI.
  4264. (MIPS_REGS_HAVE_HOME_P): Delete.
  4265. (struct gdbarch_tdep): Remove mips_regs_have_home_p field.
  4266. (mips_gdbarch_init): Set gdbarch push_arguments for eabi.
  4267. Delete references to mips_regs_have_home_p.
  4268. 2002-08-14 Keith Seitz <keiths@redhat.com>
  4269. * Makefile.in (install-gdbtk): Create insight plugin directory.
  4270. Install plugins.tcl file.
  4271. 2002-08-14 Keith Seitz <keiths@redhat.com>
  4272. * configure.in: Move SUBDIRS to near top of the file so that
  4273. --enable options may add things to it.
  4274. If gdbtk is enabled, add gdbtk directory to SUBDIRS and configdirs.
  4275. * configure: Regenerate.
  4276. 2002-08-13 Michael Snyder <msnyder@redhat.com>
  4277. * mips-tdep.c (mips_o32o64_push_arguments): New function,
  4278. cloned from mips_push_arguments, tuned for o32/o64 ABI.
  4279. (mips_gdbarch_init): Set gdbarch_push_arguments to new func.
  4280. 2002-08-13 Andrew Cagney <ac131313@redhat.com>
  4281. * vax-tdep.c (vax_get_saved_register): Delete function.
  4282. (vax_gdbarch_init): Update.
  4283. * ns32k-tdep.c (ns32k_get_saved_register): Delete function.
  4284. (ns32k_gdbarch_init): Update.
  4285. * alpha-tdep.c (alpha_get_saved_register): Delete function.
  4286. (alpha_gdbarch_init): Update.
  4287. 2002-08-13 Andrew Cagney <cagney@redhat.com>
  4288. * regcache.c (init_regcache_descr): Overallocate the
  4289. raw_register_valid_p array including space for NUM_PSEUDO_REGS.
  4290. (registers_changed): Replace NUM_REGS+NUM_PSEUDO_REGS with
  4291. nr_raw_registers.
  4292. (set_register_cached): Add range checking assertions. Use
  4293. current_regcache.
  4294. 2002-08-13 Mark Kettenis <kettenis@gnu.org>
  4295. * i386-tdep.c (i386_stab_reg_to_regnum): Return correct register
  4296. numbers for MMX registers.
  4297. 2002-08-13 Andrew Cagney <cagney@redhat.com>
  4298. * i386-tdep.c (i386_gdbarch_init): Use
  4299. generic_unwind_get_saved_register.
  4300. 2002-08-13 Kevin Buettner <kevinb@redhat.com>
  4301. * procfs.c (procfs_can_use_hw_breakpoint): New function.
  4302. (init_procfs_ops): Define ``to_can_use_hw_breakpoint'' for procfs
  4303. target vector.
  4304. * config/mips/nm-irix5.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
  4305. Delete. Add comment regarding this now-deleted target method.
  4306. 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
  4307. * m68hc11-tdep.c (M68HC12_NUM_PSEUDO_REGS): New define.
  4308. (M68HC12_HARD_PC_REGNUM): Define specific PC for 68HC12 (pseudo reg).
  4309. (m68hc11_pseudo_register_read): Compute the 68HC12 PC using the
  4310. real PC and the page number (if it's within the memory bank window).
  4311. (m68hc11_pseudo_register_write): Likewise when saving.
  4312. (m68hc11_register_name): Name the virtual pc 'pc' and the real one ppc.
  4313. (m68hc11_register_virtual_type): Return uint32 for virtual pc.
  4314. (m68hc11_register_raw_size): And use 32-bit for it.
  4315. (m68hc11_gdbarch_init): Use 32-bit address for 68HC12 if the
  4316. 16K memory bank is used by the prog; also use the virtual pc.
  4317. 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
  4318. * m68hc11-tdep.c (m68hc11_elf_make_msymbol_special): New function.
  4319. (m68hc11_gdbarch_init): Install it in gdbarch.
  4320. (MSYMBOL_SET_RTC, MSYMBOL_SET_RTI): New to set symbol specific flags.
  4321. (MSYMBOL_IS_RTC, MSYMBOL_IS_RTI): New to test these flags.
  4322. (MSYMBOL_SIZE): New for documentation.
  4323. (insn_return_kind): Enum to specify how a function returns.
  4324. (frame_extra_info): Cleanup and record the return mode.
  4325. (gdbarch_tdep, USE_PAGE_REGISTER): New to control the use of page
  4326. register in address computation.
  4327. (m68hc11_get_return_insn): New to obtain the return instruction used
  4328. by the function.
  4329. (m68hc11_frame_init_saved_regs): Take into account the return
  4330. instruction used by the function for far and interrupt functions.
  4331. (m68hc11_init_extra_frame_info): Take into account page register.
  4332. (m68hc11_frame_args_address): Adjust according to the return mode.
  4333. (show_regs): Print page register only when it's used.
  4334. 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
  4335. * m68hc11-tdep.c (HARD_PAGE_REGNUM): Define for 68HC12 page register.
  4336. (M68HC11_LAST_HARD_REG, m68hc11_register_names): Update.
  4337. (m68hc11_register_virtual_type): Return a 8-bit type for 8-bit
  4338. registers.
  4339. (m68hc11_register_raw_size): Likewise.
  4340. 2002-08-13 Andrew Cagney <cagney@redhat.com>
  4341. * i386-tdep.c (i386_register_name): Handle mmx registers.
  4342. (mmx_regnum_p): New function.
  4343. (i386_mmx_names): New array.
  4344. (mmx_num_regs): New variable.
  4345. (i386_pseudo_register_read): New function.
  4346. (i386_pseudo_register_write): New function.
  4347. (mmx_regnum_to_fp_regnum): New function. Code from Fernando Nasser.
  4348. * regcache.c (regcache_raw_read_unsigned): New function.
  4349. (regcache_raw_read_signed): New function.
  4350. * regcache.h (regcache_raw_read_unsigned): Declare.
  4351. (regcache_raw_read_signed): Declare.
  4352. 2002-08-13 Andrew Cagney <cagney@redhat.com>
  4353. * regcache.c (regcache_raw_read_as_address): Delete function.
  4354. (regcache_cooked_read_signed): New function.
  4355. (regcache_cooked_read_unsigned): New function.
  4356. * regcache.h (regcache_cooked_read_signed): Declare.
  4357. (regcache_cooked_read_unsigned): Declare.
  4358. (regcache_raw_read_as_address): Delete declaration.
  4359. * blockframe.c (generic_read_register_dummy): Use
  4360. regcache_cooked_read_unsigned.
  4361. * i386-tdep.c (i386_extract_struct_value_address): Use
  4362. regcache_cooked_read_unsigned.
  4363. 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
  4364. * m68hc11-tdep.c (m68hc11_gdbarch_init): Set int, double and long
  4365. double sizes according to ELF ABI flags.
  4366. (gdbarch_tdep): Record elf_flags.
  4367. 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
  4368. * m68hc11-tdep.c (M6812_OP_PSHX, M6812_OP_PSHY): New defines.
  4369. (m6812_prolog): They can appear in 68HC12 function prologue.
  4370. (m68hc11_frame_chain): Cleanup.
  4371. 2002-08-12 Andrew Cagney <cagney@redhat.com>
  4372. * i386-tdep.h (i386_register_byte, i386_register_raw_size): Delete
  4373. declarations.
  4374. * i386-linux-tdep.c (i386_linux_register_byte): Delete function.
  4375. (i386_linux_register_raw_size): Delete function.
  4376. (i386_linux_init_abi): Update.
  4377. * i386-tdep.c (i386_register_raw_size): Delete function.
  4378. (i386_register_byte): Delete function.
  4379. (i386_gdbarch_init): Update.
  4380. (i386_register_size): Delete array.
  4381. (i386_register_offset): Delete array.
  4382. * config/i386/tm-symmetry.h (REGISTER_BYTE): Delete macro.
  4383. (REGISTER_RAW_SIZE): Delete macro.
  4384. * config/i386/tm-ptx.h (REGISTER_RAW_SIZE): Delete macro.
  4385. (REGISTER_BYTE): Delete macro.
  4386. 2002-08-11 Aidan Skinner <aidan@velvet.net>
  4387. * ada-lang.c (ada_lookup_partial_symbol)
  4388. (to_fixed_variant_branch_type) (find_line_in_linetable): Fix
  4389. prototype names so that grep ^func works properly.
  4390. * ada-lang.c (ada_array_element_type)
  4391. (ada_lookup_partial_symbol): Fix typos in parameter list.
  4392. * ada-valprint.c (val_print_packed_array_elements) (ada_val_print_1):
  4393. Fix prototype names so that grep ^func works properly.
  4394. 2002-08-10 Andrew Cagney <cagney@redhat.com>
  4395. Elena Zannoni <ezannoni@redhat.com>
  4396. Martin M. Hunt <hunt@redhat.com>
  4397. * gdbtypes.c (build_builtin_type_vec128): Set the vector bit.
  4398. (build_builtin_type_vec128i): Set the vector bit.
  4399. * gdbtypes.h (builtin_type_vec64, builtin_type_vec64i): Declare.
  4400. * gdbtypes.c (builtin_type_vec64, builtin_type_vec64i): Define.
  4401. (build_builtin_type_vec64): New function.
  4402. (build_builtin_type_vec64i): New function.
  4403. (build_gdbtypes): Initialize builtin_type_vec64 and
  4404. builtin_type_vec64i.
  4405. 2002-08-09 Andrew Cagney <cagney@redhat.com>
  4406. * regcache.c (regcache_dump): Compare the register offset
  4407. with REGISTER_BYTE.
  4408. * arch-utils.c (generic_register_byte): New function.
  4409. * arch-utils.h (generic_register_byte): Declare.
  4410. * gdbarch.sh (REGISTER_BYTE): Default to generic_register_byte.
  4411. * gdbarch.h, gdbarch.c: Regenerate.
  4412. 2002-08-09 Andrew Cagney <cagney@redhat.com>
  4413. * regcache.c: Include "gdbcmd.h"
  4414. (_initialize_regcache): Add commands "maintenance print
  4415. registers", "maintenance print raw-registers" and "maintenance
  4416. print cooked-registers".
  4417. (enum regcache_dump_what): Define.
  4418. (dump_endian_bytes): New function.
  4419. (regcache_dump): New function.
  4420. (regcache_print): New function.
  4421. (maintenance_print_registers): New function.
  4422. (maintenance_print_raw_registers): New function.
  4423. (maintenance_print_cooked_registers): New function.
  4424. * Makefile.in (regcache.o): Update dependencies.
  4425. 2002-08-09 Michael Snyder <msnyder@redhat.com>
  4426. * mips-tdep.c (ROUND_DOWN, ROUND_UP): Move to global scope.
  4427. (mips_push_arguments): Correct some comments. Use paddr_nz
  4428. for printing addresses in debug output. Replace static
  4429. allocation using MAX_REGISTER_RAW_SIZE with alloca.
  4430. (mips_n32n64_push_arguments): New function, cloned from
  4431. mips_push_arguments and tuned for the n32/n64 ABI.
  4432. (mips_push_register): Buffer needs dynamic allocation.
  4433. (mips_print_register): Ditto.
  4434. (do_gp_register_row): Ditto.
  4435. (mips_store_return_value): Ditto.
  4436. (mips_gdbarch_init): Set gdbarch_push_arguments per ABI.
  4437. 2002-08-09 Don Howard <dhoward@redhat.com>
  4438. * memattr.c (mem_info_command): Print special case of upper bound
  4439. as max CORE_ADDR + 1.
  4440. 2002-08-08 Michael Snyder <msnyder@redhat.com>
  4441. * mips-tdep.c (mips_n32n64_use_struct_convention): N32 only
  4442. returns structs by ref if they're too big to fit in two registers.
  4443. 2002-08-09 Kevin Buettner <kevinb@redhat.com>
  4444. * mips-tdep.c (mips_init_extra_frame_info): Initialize SP_REGNUM's
  4445. saved regs value.
  4446. (read_next_frame_reg): Call FRAME_INIT_SAVED_REGS instead of
  4447. mips_find_saved_regs().
  4448. (mips_pop_frame): Likewise.
  4449. 2002-08-09 Kevin Buettner <kevinb@redhat.com>
  4450. * blockframe.c (frame_saved_regs_register_unwind): Revise
  4451. PC_IN_CALL_DUMMY assertion to only apply when generic dummy
  4452. frames are in use.
  4453. 2002-08-09 Grace Sainsbury <graces@redhat.com>
  4454. * remote.c: (remote_wait, remote_async_wait): Add check for awatch
  4455. T-packets; the 'a' is not taken as a register number.
  4456. (remote_check_watch_resources, remote_stopped_by_watchpoint)
  4457. (remote_stopped_data_address): New functions; add to target
  4458. vector.
  4459. (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Change
  4460. prototypes to match other implementations of this
  4461. function. replace integer argument with pointer -- the length
  4462. field in the Z-packet is the length of what is pointed to or 1 if
  4463. pointer is null. Add to target vector.
  4464. (remote_insert_watchpoint, remote_remove_watchpoint): Add to
  4465. target vector.
  4466. From Mark Salter:
  4467. * remote.c (remote_wait): Add support to extract optional
  4468. watchpoint information from T-packet. Ignore unrecognized
  4469. optional info in T-packet.
  4470. (remote_async_wait): Ditto.
  4471. 2002-08-09 Corinna Vinschen <vinschen@redhat.com>
  4472. * cli/cli-dump.c: Change fopen modes to use binary open modes
  4473. as defined in include/fopen-bin.h throughout.
  4474. 2002-08-08 Michael Snyder <msnyder@redhat.com>
  4475. * mips-tdep.c: Minor whitespace and indentation clean-ups.
  4476. 2002-08-08 Kevin Buettner <kevinb@redhat.com>
  4477. * doublest.c (store_floating): Avoid floatformat_from_doublest()
  4478. assertion failure by returning early after a warning.
  4479. 2002-08-08 Kevin Buettner <kevinb@redhat.com>
  4480. * mips-tdep.c (mips_find_saved_regs): Make static.
  4481. (mips_frame_init_saved_regs): New function.
  4482. (mips_gdbarch_init): Setup FRAME_INIT_SAVED_REGS method.
  4483. * config/mips/tm-mips.h (FRAME_INIT_SAVED_REGS): Delete macro.
  4484. (mips_find_saved_regs): Delete declaration.
  4485. 2002-08-08 Grace Sainsbury <graces@redhat.com>
  4486. * remote.c (remote_wait, remote_async_wait): Change
  4487. thread_num from int to ULONGEST.
  4488. (unpack_varlen_hex): Change result parameter from
  4489. int * to ULONGEST *.
  4490. 2002-08-08 Andrew Cagney <ac131313@redhat.com>
  4491. * configure.tgt: Replace powerpc-*-sysv*, powerpc-*-elf*,
  4492. powerpcle-*-eabi*, powerpcle-*-sysv* and powerpcle-*-elf* with
  4493. powerpc*-*-*.
  4494. * MAINTAINERS: Remove redundant rs6000-ibm-aix4.1 target.
  4495. 2002-08-08 Andrew Cagney <cagney@redhat.com>
  4496. * gcore.c (override_derive_stack_segment): Delete variable.
  4497. (preempt_derive_stack_segment): Delete function.
  4498. (derive_stack_segment): Delete function.
  4499. (default_derive_stack_segment): Renamed to derive_stack_segment.
  4500. (override_derive_heap_segment): Delete variable.
  4501. (preempt_derive_heap_segment): Delete function.
  4502. (derive_heap_segment): Delete function.
  4503. (default_derive_heap_segment): Rename to derive_heap_segment.
  4504. 2002-08-06 Michael Snyder <msnyder@redhat.com>
  4505. * config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION.
  4506. * mips-tdep.c (mips_EABI_use_struct_convention,
  4507. mips_OABI_use_struct_convention, mips_NABI_use_struct_convention):
  4508. New functions. (mips_use_struct_convention): Delete.
  4509. (mips_gdbarch_init): set use_gdbarch_convention.
  4510. 2002-08-06 Michael Snyder <msnyder@redhat.com>
  4511. * mips-tdep.c: gdbarch-ify reg_struct_has_addr.
  4512. (mips_eabi_reg_struct_has_addr, mips_n32n64_reg_struct_has_addr,
  4513. mips_o32_reg_struct_has_addr): New functions.
  4514. (mips_gdbarch_init): Set gdbarch reg_struct_has_addr.
  4515. 2002-08-07 Andrew Cagney <ac131313@redhat.com>
  4516. * regcache.c (pseudo_register): Delete function.
  4517. (fetch_register): Delete function.
  4518. (store_register): Delete function.
  4519. (regcache_raw_read, legacy_read_register_gen): Use
  4520. target_fetch_registers instead of fetch_register.
  4521. (legacy_write_register_gen, regcache_raw_write): Use
  4522. target_store_register instead of store_register.
  4523. (write_register_bytes): Ditto.
  4524. * gdbarch.sh (FETCH_PSEUDO_REGISTER): Delete.
  4525. (STORE_PSEUDO_REGISTER): Delete.
  4526. * gdbarch.h, gdbarch.c: Regenerate.
  4527. 2002-08-06 Corinna Vinschen <vinschen@redhat.com>
  4528. * cli/cli-dump.c (add_dump_command): Explicitely use "b" flag to
  4529. write dump file binary.
  4530. 2002-08-05 Michael Snyder <msnyder@redhat.com>
  4531. * mips-tdep.c (mips_find_saved_regs): Adjust stack according
  4532. to MIPS_SAVED_REGSIZE, not GDB_TARGET_IS_MIPS64. Enhance comment.
  4533. (mips_gdbarch_init): Set N32 target to be mips64.
  4534. 2002-08-06 Kevin Buettner <kevinb@redhat.com>
  4535. * frame.c (find_saved_register): Break out of loop once saved
  4536. register address is found. Don't mention sparc in loop comment
  4537. anymore.
  4538. 2002-08-06 Kevin Buettner <kevinb@redhat.com>
  4539. * mips-tdep.c (mips_gdbarch_init): For the N32 ABI, set
  4540. mips_default_saved_regsize to 8.
  4541. 2002-08-06 Andrew Cagney <ac131313@redhat.com>
  4542. * gcore.c: Do not include <sys/procfs.h>.
  4543. * Makefile.in (gcore.o): Update dependencies.
  4544. 2002-08-06 Andrew Cagney <cagney@redhat.com>
  4545. * configure.tgt: Make arc-*-* obsolete.
  4546. * NEWS: Mention that arc-*-* has been identifed as obsolete.
  4547. * MAINTAINERS: Make arc-elf obsolete.
  4548. * arc-tdep.c: Make file obsolete.
  4549. * config/arc/arc.mt: Ditto.
  4550. * config/arc/tm-arc.h: Ditto.
  4551. 2002-08-05 Theodore A. Roth <troth@verinet.com>
  4552. * avr-tdep.c (avr_skip_prologue): Fix to return the correct pc.
  4553. 2002-08-05 Andrew Cagney <ac131313@redhat.com>
  4554. * mcore-tdep.c (mcore_gdbarch_init): Use
  4555. generic_unwind_get_saved_register instead of
  4556. generic_get_saved_register.
  4557. * v850-tdep.c (v850_gdbarch_init): Ditto.
  4558. * frv-tdep.c (frv_gdbarch_init): Ditto.
  4559. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  4560. * s390-tdep.c (s390_gdbarch_init): Ditto.
  4561. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  4562. * config/mn10200/tm-mn10200.h (GET_SAVED_REGISTER): Ditto.
  4563. * config/h8300/tm-h8300.h (GET_SAVED_REGISTER): Ditto.
  4564. 2002-08-05 Joel Brobecker <brobecker@gnat.com>
  4565. * objfiles.h: Add missing #include "symfile.h"
  4566. * Makefile.in (objfiles_h): Add dependency on symfile.h and dependents.
  4567. 2002-08-04 Andrew Cagney <ac131313@redhat.com>
  4568. From 2002-08-01 david carlton <carlton@math.stanford.edu>:
  4569. * hpread.c (hpread_read_struct_type): Deleted superfluous setting
  4570. of FIELD_BITSIZE.
  4571. 2002-08-04 Daniel Jacobowitz <drow@mvista.com>
  4572. * NEWS: Cleanup and nitpick.
  4573. 2002-08-03 Andrew Cagney <ac131313@redhat.com>
  4574. * NEWS: Cleanup. Use *-linux*-gnu*. Only use `*' for headings.
  4575. 2002-08-03 Andrew Cagney <ac131313@redhat.com>
  4576. * Makefile.in (gdbtk-bp.o): Update dependencies.
  4577. (gdbtk-register.o): Ditto.
  4578. (gdbtk-varobj.o): Ditto.
  4579. 2002-08-03 Andrew Cagney <cagney@redhat.com>
  4580. * m68hc11-tdep.c (m68hc11_pseudo_register_read): Replace
  4581. m68hc11_fetch_pseudo_register.
  4582. (m68hc11_pseudo_register_write): Replace
  4583. m68hc11_store_pseudo_register.
  4584. (m68hc11_gdbarch_init): Update.
  4585. Fri Aug 2 15:53:50 2002 Andrew Cagney <cagney@redhat.com>
  4586. * gdbarch.sh: Include "gdb_string.h".
  4587. * gdbarch.c: Regenerate.
  4588. * regcache.c: Include "gdb_string.h".
  4589. * ax-general.c: Ditto.
  4590. * varobj.c: Ditto.
  4591. * std-regs.c: Ditto.
  4592. * fbsd-proc.c: Ditto.
  4593. * thread.c: Ditto.
  4594. * Makefile.in (regcache.o): Update dependencies.
  4595. (thread.o, gdbarch.o): Ditto.
  4596. (ax-general.o, gdbarch.o): Ditto.
  4597. (varobj.o, std-regs.o): Ditto.
  4598. (fbsd-proc.o): Specify dependencies.
  4599. 2002-08-02 Andrew Cagney <cagney@redhat.com>
  4600. * regcache.c (regcache_cooked_read): Rename rawnum parameter to
  4601. regnum.
  4602. (regcache_cooked_write): Ditto.
  4603. 2002-08-02 Andrew Cagney <ac131313@redhat.com>
  4604. * regcache.c (regcache_cooked_read): New function.
  4605. (regcache_cooked_write): New function.
  4606. (read_register_gen): Rewrite using regcache_cooked_read.
  4607. (write_register_gen): Rewrite using regcache_cooked_write.
  4608. * regcache.h (regcache_cooked_read, regcache_cooked_write):
  4609. Declare.
  4610. 2002-08-02 Andrew Cagney <cagney@redhat.com>
  4611. * gdbarch.sh (pseudo_register_read, pseudo_register_write):
  4612. Replace the architecture methods register_read and register_write.
  4613. * gdbarch.h, gdbarch.c: Regenerate.
  4614. * regcache.c (init_regcache_descr): Update.
  4615. (read_register_gen): Update.
  4616. (write_register_gen): Update.
  4617. (supply_register): Update comment.
  4618. * sh-tdep.c (sh_gdbarch_init): Update.
  4619. (sh_pseudo_register_read, sh64_pseudo_register_read): Add
  4620. `regcache' and `gdbarch' parameters. Make `buffer' a void
  4621. pointer. Update code.
  4622. (sh_pseudo_register_write, sh64_pseudo_register_write): Add
  4623. `regcache' and `gdbarch' parameters. Make `buffer' a constant
  4624. void pointer. Update code.
  4625. (sh64_register_write): Delete.
  4626. (sh4_register_read): Delete.
  4627. (sh64_register_read): Delete.
  4628. (sh4_register_write): Delete.
  4629. (sh_sh4_register_convert_to_raw): Make `from' parameter a constant
  4630. void pointer, `to' parameter a void pointer.
  4631. (sh_sh64_register_convert_to_raw): Ditto.
  4632. 2002-08-01 Kevin Buettner <kevinb@redhat.com>
  4633. * mips-tdep.c (mips_register_virtual_type): Use architecture
  4634. invariant return values.
  4635. 2002-08-01 Andrew Cagney <cagney@redhat.com>
  4636. * linux-proc.c: Include "gdb_string.h".
  4637. * Makefile.in (linux-proc.o): Update dependency list.
  4638. 2002-08-01 Kevin Buettner <kevinb@redhat.com>
  4639. * mips-tdep.c (mips_gdbarch_init): Add comments. Fix typo in
  4640. comment.
  4641. 2002-08-01 Grace Sainsbury <graces@redhat.com>
  4642. * target.h: Add to_insert_hw_breakpoint, to_remove_hw_breakpoint,
  4643. to_insert_watchpoint, to_remove_watchpoint,
  4644. to_stopped_by_watchpoint, to_stopped_data_address,
  4645. to_region_size_ok_for_hw_watchpoint, to_can_use_hw_breakpoint to
  4646. target vecctor. Define their corresponding macros so they call
  4647. them.
  4648. * target.c: Add default and debug versions of for
  4649. to_insert_hw_breakpoint, to_remove_hw_breakpoint,
  4650. to_insert_watchpoint, to_remove_watchpoint,
  4651. to_stopped_by_watchpoint, to_stopped_data_address,
  4652. to_region_size_ok_for_hw_watchpoint, to_can_use_hw_breakpoint.
  4653. 2002-08-01 Kevin Buettner <kevinb@redhat.com>
  4654. * mips-tdep.c (mips_register_virtual_type): New function.
  4655. (mips_gdbarch_init): Register mips_register_virtual_type()
  4656. with gdbarch machinery.
  4657. * config/mips/tm-irix6.h (mips/tm-bigmips64.h): Include
  4658. this file instead of tm-bigmips.h.
  4659. (MIPS_REGSIZE): Delete this macro.
  4660. (REGISTER_VIRTUAL_TYPE): Delete macro. Undef macro so that
  4661. multiarch version in mips-tdep.c will be found.
  4662. 2002-08-01 Andrew Cagney <cagney@redhat.com>
  4663. * NEWS: Menion that CHILL has been made obsolete.
  4664. * gdbtypes.c (chill_varying_type): Make chill references obsolete.
  4665. * stabsread.c (read_range_type): Ditto.
  4666. * gdbtypes.h: Ditto.
  4667. * language.c (binop_type_check): Ditto.
  4668. (binop_result_type): Ditto.
  4669. (integral_type): Ditto.
  4670. (character_type): Ditto.
  4671. (string_type): Ditto.
  4672. (boolean_type): Ditto.
  4673. (structured_type): Ditto.
  4674. (lang_bool_type): Ditto.
  4675. (binop_type_check): Ditto.
  4676. * language.h (_LANG_chill): Ditto.
  4677. * dwarfread.c (set_cu_language): Ditto.
  4678. * dwarfread.c (CHILL_PRODUCER): Ditto.
  4679. * dwarfread.c (handle_producer): Ditto.
  4680. * expression.h (enum exp_opcode): Ditto.
  4681. * eval.c: Ditto for comments.
  4682. * typeprint.c (typedef_print) [_LANG_chill]: Ditto.
  4683. * expprint.c (print_subexp): Ditto.
  4684. (print_subexp): Ditto.
  4685. * valops.c (value_cast): Ditto.
  4686. (search_struct_field): Ditto.
  4687. * value.h (COERCE_VARYING_ARRAY): Ditto.
  4688. * symfile.c (init_filename_language_table): Ditto.
  4689. (add_psymbol_with_dem_name_to_list): Ditto.
  4690. * valarith.c (value_binop): Ditto.
  4691. (value_neg): Ditto.
  4692. * valops.c (value_slice): Ditto.
  4693. * symtab.h (union language_specific): Ditto.
  4694. (SYMBOL_INIT_LANGUAGE_SPECIFIC): Ditto.
  4695. (SYMBOL_DEMANGLED_NAME): Ditto.
  4696. (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
  4697. * defs.h (enum language): Ditto.
  4698. * symtab.c (got_symtab): Ditto.
  4699. * utils.c (fprintf_symbol_filtered): Ditto.
  4700. * ch-typeprint.c: Make file obsolete.
  4701. * ch-valprint.c: Make file obsolete.
  4702. * ch-lang.h: Make file obsolete.
  4703. * ch-exp.c: Make file obsolete.
  4704. * ch-lang.c: Make file obsolete.
  4705. * Makefile.in (FLAGS_TO_PASS): Do not pass CHILL or CHILLFLAGS or
  4706. CHILL_LIB.
  4707. (TARGET_FLAGS_TO_PASS): Ditto.
  4708. (CHILLFLAGS): Obsolete.
  4709. (CHILL): Obsolete.
  4710. (CHILL_FOR_TARGET): Obsolete.
  4711. (CHILL_LIB): Obsolete.
  4712. (SFILES): Remove ch-exp.c, ch-lang.c, ch-typeprint.c and
  4713. ch-valprint.c.
  4714. (HFILES_NO_SRCDIR): Remove ch-lang.h.
  4715. (COMMON_OBS): Remove ch-valprint.o, ch-typeprint.o, ch-exp.o and
  4716. ch-lang.o.
  4717. (ch-exp.o, ch-lang.o, ch-typeprint.o, ch-valprint.o): Delete
  4718. targets.
  4719. 2002-07-31 Joel Brobecker <brobecker@gnat.com>
  4720. * dwarf2read.c (set_cu_language): Add handler for LANG_Ada95.
  4721. This does not change anything at the moment, but will be helpful
  4722. later when full Ada support is integrated.
  4723. 2002-07-31 Kevin Buettner <kevinb@redhat.com>
  4724. * mips-tdep.c (_initialize_mips_tdep): Add "n64" to "set mips abi"
  4725. help message.
  4726. 2002-07-31 Kevin Buettner <kevinb@redhat.com>
  4727. * mips-tdep.c (mips_push_arguments): Fetch gdbarch_tdep struct
  4728. and save it in a local variable. Use variable in later test.
  4729. 2002-07-31 Kevin Buettner <kevinb@redhat.com>
  4730. * mips-tdep.c (mips_find_abi_section): Add N64 ABI recognition
  4731. test. (Thanks to Daniel Jacobowitz.)
  4732. 2002-07-31 Kevin Buettner <kevinb@redhat.com>
  4733. * mips-tdep.c (enum mips_abi): Add MIPS_ABI_N64.
  4734. (mips_abi_strings): Add "n64".
  4735. (mips_gdbarch_init): Add test for n64 abi. Add MIPS_ABI_N64 case.
  4736. 2002-07-31 Kevin Buettner <kevinb@redhat.com>
  4737. * config/mips/tm-irix6.h (MIPS_REGSIZE): Define to be 8.
  4738. (REGISTER_VIRTUAL_TYPE): Some registers are now 64 bits wide.
  4739. 2002-07-31 Kevin Buettner <kevinb@redhat.com>
  4740. * utils.c (host_pointer_to_address, address_to_host_pointer):
  4741. Use gdb_assert() instead of explicit call to internal_error().
  4742. 2002-07-30 Kevin Buettner <kevinb@redhat.com>
  4743. * Makefile.in (rs6000-nat.o): Update dependencies.
  4744. From Nicholas Duffek:
  4745. * Makefile.in (ALLDEPFILES): Add aix-thread.c.
  4746. (aix-thread.o): New rule.
  4747. * configure.host (gdb_host): Set to aix432 on AIX 4.3.2+.
  4748. * config/powerpc/aix432.mh: New file.
  4749. 2002-07-30 Daniel Jacobowitz <drow@mvista.com>
  4750. * ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG)
  4751. (ELF_FPREGSET_SIZE, ELF_GREGSET_SIZE): New enums.
  4752. (fetch_core_registers, ppc_linux_supply_gregset)
  4753. (ppc_linux_supply_fpregset): New functions.
  4754. (ppc_linux_regset_core_fns): New.
  4755. (_initialize_ppc_linux_tdep): Call add_core_fns.
  4756. * ppc-tdep.h: Add prototypes for ppc_linux_supply_fpregset
  4757. and ppc_linux_supply_gregset.
  4758. * ppc-linux-nat.c (supply_gregset): Call ppc_linux_supply_gregset.
  4759. (supply_fpregset): Call ppc_linux_supply_fpregset.
  4760. * config/powerpc/linux.mh (NATDEPFILES): Remove core-regset.o and
  4761. corelow.o.
  4762. * config/powerpc/linux.mt (TDEPFILES): Add corelow.o.
  4763. 2002-07-30 Daniel Jacobowitz <drow@mvista.com>
  4764. * symtab.c (lookup_symbol): Demangle before lowercasing.
  4765. 2002-07-30 Andrew Cagney <ac131313@redhat.com>
  4766. * symtab.h: Replace #include "gdb_obstack.h" with opaque
  4767. declaration.
  4768. * cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h".
  4769. * gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto.
  4770. * avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto.
  4771. * arch-utils.c, cli/cli-setshow.c: Unconditionally include
  4772. "gdb_string.h".
  4773. * Makefile.in (cli-script.o, cli-cmds.o): Update dependencies.
  4774. (gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto.
  4775. (cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto.
  4776. (avr-tdep.o, mon960-rom.o): Ditto.
  4777. (aout_stabs_gnu_h): Define.
  4778. (symtab_h): Remove $(gdb_obstack_h).
  4779. 2002-07-30 Jim Blandy <jimb@redhat.com>
  4780. Patch from David Carlton <carlton@math.stanford.edu>:
  4781. * gdbinit.in: Move the `dir' commands that add GDB's own source
  4782. directory to the search path to the end, so that the `gdb' source
  4783. directory will be searched first.
  4784. 2002-07-29 Andrew Cagney <ac131313@redhat.com>
  4785. * gdb_obstack.h: New file.
  4786. * symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
  4787. (obstack_chunk_alloc, obstack_chunk_free): Delete macros.
  4788. * objfiles.h: Include "gdb_obstack.h".
  4789. * Makefile.in (gdb_obstack_h): Define.
  4790. (symtab_h): Add $(gdb_obstack_h).
  4791. (objfiles_h): Add $(gdb_obstack_h).
  4792. * objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
  4793. * macrotab.c, cp-valprint.c, dbxread.c: Ditto.
  4794. * ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
  4795. * macroexp.c, p-typeprint.c, stabsread.c: Ditto.
  4796. * symtab.c, f-typeprint.c, mdebugread.c: Ditto.
  4797. * p-valprint.c, symmisc.c, typeprint.c: Ditto.
  4798. * symfile.c, coffread.c, c-typeprint.c: Ditto.
  4799. * buildsym.c, bcache.c, ada-typeprint.c: Ditto.
  4800. * Makefile.in (bcache.o): Update dependencies.
  4801. (buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
  4802. (ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
  4803. (dbxread.o, dstread.o, f-typeprint.o): Ditto.
  4804. (objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
  4805. (stabsread.o, symfile.o, symmisc.o): Ditto.
  4806. (symtab.o, typeprint.o, macroexp.o): Ditto.
  4807. (macrotab.o, mdebugread.o): Ditto.
  4808. (f_lang_h, coff_sym_h, coff_symconst_h): Define.
  4809. (coff_ecoff_h, aout_aout64_h): Define.
  4810. (aout_stabs_gnu_h, libaout_h): Define.
  4811. 2002-07-29 Andrew Cagney <cagney@redhat.com>
  4812. * regcache.c (struct regcache_descr): Rename nr_registers to
  4813. nr_cooked_registers. Revise comments describing the structure
  4814. member fields.
  4815. (init_regcache_descr): Update.
  4816. (init_legacy_regcache_descr): Update.
  4817. (read_register_gen, write_register_gen): When a cooked register in
  4818. the raw register range, directly access the value from the raw
  4819. register cache.
  4820. 2002-07-29 Andrew Cagney <ac131313@redhat.com>
  4821. * z8k-tdep.c: Do not include "obstack.h".
  4822. * h8300-tdep.c, h8500-tdep.c: Ditto.
  4823. * m68hc11-tdep.c, sh-tdep.c: Ditto.
  4824. * valprint.c, v850-tdep.c: Ditto.
  4825. * d10v-tdep.c, mn10300-tdep.c: Ditto.
  4826. * mn10200-tdep.c: Ditto.
  4827. * Makefile.in (z8k-tdep.o): Update dependencies.
  4828. (m68hc11-tdep.o, valprint.o): Ditto.
  4829. (v850-tdep.o, d10v-tdep.o): Ditto.
  4830. (mn10300-tdep.o, sparc-tdep.o): Ditto.
  4831. (sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
  4832. (m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
  4833. (sh_opc_h, gdb_sim_sh_h): Define.
  4834. (elf_sh_h, elf_bfd_h): Define.
  4835. (opcode_m68hc11_h): Define.
  4836. (OPCODES_SRC, OPCODES_DIR): define.
  4837. (OPCODES): Use $(OPCODES_DIR).
  4838. (gdb_sim_d10v_h): Rename sim_d10v_h.
  4839. (gdb_sim_arm_h): Rename sim_arm_h.
  4840. 2002-07-26 Kevin Buettner <kevinb@redhat.com>
  4841. * utils.c (host_pointer_to_address, address_to_host_pointer):
  4842. Change internal_error() message to indicate function responsible
  4843. for the error.
  4844. 2002-07-26 Kevin Buettner <kevinb@redhat.com>
  4845. * ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in
  4846. calls to local_hex_string_custom().
  4847. 2002-07-26 Kevin Buettner <kevinb@redhat.com>
  4848. * irix5-nat.c: Move IRIX shared library support from here...
  4849. * solib-irix.c: ...to here. Revised substantially to work with
  4850. generic solib framework.
  4851. * osabi.h (gdb_osabi): Add new enum constant GDB_OSABI_IRIX.
  4852. * osabi.c (gdb_osabi_names): Add corresponding string for Irix.
  4853. * mips-irix-tdep.c: New file.
  4854. * Makefile.in (ALLDEPFILES): Add mips-irix-tdep.c and solib-irix.c.
  4855. (mips-irix-tdep.o, solib-irix.o): New rules.
  4856. * config/mips/irix5.mt (TDEPFILES): Add mips-irix-tdep.o, solib.o,
  4857. solib-irix.o.
  4858. * config/mips/irix6.mt (TDEPFILES): Likewise.
  4859. * config/mips/irix6.mh (NATDEPFILES): Remove solib.o.
  4860. 2002-07-26 Kevin Buettner <kevinb@redhat.com>
  4861. * aix-thread.c (coff/internal.h, bfd/libcoff.h, pthread.h): Remove
  4862. disabled (via ``#if 0'') includes.
  4863. 2002-07-26 Kevin Buettner <kevinb@redhat.com>
  4864. * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32)
  4865. (fetch_regs_user_thread, fetch_regs_kernel_thread, fill_sprs64)
  4866. (fill_sprs32, store_regs_user_thread, store_regs_kernel_thread):
  4867. Add support for the fpscr register.
  4868. * rs6000-nat.c (regmap, fetch_inferior_registers)
  4869. (store_inferior_registers, fetch_core_registers): Likewise.
  4870. 2002-07-26 Kevin Buettner <kevinb@redhat.com>
  4871. * rs6000-nat.c (language.h): Include.
  4872. (special_regs): Delete this array.
  4873. (regmap): New function.
  4874. (fetch_register, store_register): Use regmap() to map gdb
  4875. register numbers to ptrace register numbers. Also, use
  4876. outputs from regmap() to make decisions regarding type of
  4877. ptrace() call to make. In particular, don't compare against
  4878. FIRST_UISA_SP_REGNUM or LAST_UISA_SP_REGNUM.
  4879. (fetch_inferior_registers, store_inferior_registers): Where
  4880. possible, obtain register numbers from tdep struct. Don't
  4881. refer to FIRST_UISA_SP_REGNUM or LAST_UISA_SP_REGNUM.
  4882. * config/rs6000/tm-rs6000.h (FIRST_UISA_SP_REGNUM)
  4883. (LAST_UISA_SP_REGNUM): Delete.
  4884. 2002-07-25 Kevin Buettner <kevinb@redhat.com>
  4885. * rs6000-nat.c (ppc-tdep.h): Include.
  4886. (fetch_registers, store_register, fetch_core_registers): Don't
  4887. access registers[] directly. Instead, use supply_register() or
  4888. regcache_collect() as appropriate.
  4889. (find_toc_address): Format hex address with local_hex_string().
  4890. 2002-07-25 Andrew Cagney <ac131313@redhat.com>
  4891. * config/djgpp/fnchange.lst: Rename bfd/elf32-fr30.c and
  4892. bfd/elf32-frv.c.
  4893. 2002-07-24 Tom Tromey <tromey@redhat.com>
  4894. * jv-exp.y: Marked all strings with _().
  4895. (ClassInstanceCreationExpression, ArrayCreationExpression): Use
  4896. internal_error.
  4897. (MethodInvocation, CastExpression, parse_number, yyerror,
  4898. java_type_from_name, push_expression_name, yylex): Typo fixes.
  4899. 2002-07-24 Daniel Jacobowitz <drow@mvista.com>
  4900. * ui-file.c (struct tee_file, tee_file_new, tee_file_delete)
  4901. (tee_file_flush, tee_file_write, tee_file_fputs)
  4902. (tee_file_isatty): New.
  4903. * ui-file.h (tee_file_new): Add prototype.
  4904. 2002-07-24 Aidan Skinner <aidan@velvet.net>
  4905. * ada-lang.c: Change k&r style function definitions to prototyped
  4906. form.
  4907. * ada-typeprint.c: Change k&r style function definitions to prototyped
  4908. form.
  4909. * ada-valprint.c: Change k&r style function definitions to prototyped
  4910. form.
  4911. 2002-07-24 Andrew Cagney <cagney@redhat.com>
  4912. * README: Remove reference to remote-bug.
  4913. * Makefile.in (ALLDEPFILES): Remove m88k-nat.c, m88k-tdep.c and
  4914. remote-bug.c.
  4915. (m88k-nat.o): Delete rule.
  4916. (m88k-tdep.o): Delete rule.
  4917. (remote-bug.o): Delete rule.
  4918. * MAINTAINERS: Mark as obsolete.
  4919. * elfread.c (elf_symtab_read): Mention that m88k is obsolete.
  4920. * m88k-tdep.c: Make file obsolete.
  4921. * config/m88k/m88k.mh: Ditto.
  4922. * config/m88k/delta88v4.mh: Ditto.
  4923. * config/m88k/delta88v4.mt: Ditto.
  4924. * config/m88k/delta88.mt: Ditto.
  4925. * config/m88k/delta88.mh: Ditto.
  4926. * remote-bug.c: Ditto.
  4927. * config/m88k/tm-delta88.h: Ditto.
  4928. * config/m88k/nm-delta88v4.h: Ditto.
  4929. * config/m88k/xm-delta88.h: Ditto.
  4930. * config/m88k/xm-dgux.h: Ditto.
  4931. * config/m88k/tm-m88k.h: Ditto.
  4932. * config/m88k/nm-m88k.h: Ditto.
  4933. * config/m88k/tm-delta88v4.h: Ditto.
  4934. * m88k-nat.c: Ditto.
  4935. * cxux-nat.c: Ditto.
  4936. * configure.host: Make m88*-motorola-sysv4*, m88*-motorola-sysv*
  4937. and m88*-*-* obsolete.
  4938. * configure.tgt: Make m88*-motorola-sysv4*, m88*-motorola-* and
  4939. m88*-*-* obsolete.
  4940. 2002-07-24 Andrew Cagney <cagney@redhat.com>
  4941. * findvar.c (extract_unsigned_integer): Make `addr' parameter
  4942. constant. Same for local pointer variables.
  4943. (extract_signed_integer): Ditto.
  4944. * defs.h (extract_unsigned_integer): Update.
  4945. (extract_signed_integer): Update.
  4946. 2002-07-24 Andrew Cagney <cagney@redhat.com>
  4947. * regcache.c (regcache_raw_write): Change buf parameter to a
  4948. constant void pointer.
  4949. (regcache_raw_read): Change buf parameter to a void pointer.
  4950. (legacy_write_register_gen): Change myaddr parameter a constant
  4951. void pointer.
  4952. (supply_register): Change val parameter to a const void pointer.
  4953. * regcache.h (regcache_raw_write): Update declaration.
  4954. (regcache_raw_read): Update declaration.
  4955. (supply_register): Update declaration.
  4956. 2002-07-24 Tom Tromey <tromey@redhat.com>
  4957. * defs.h (gdb_readline_wrapper): Declare.
  4958. * utils.c (prompt_for_continue): Use gdb_readline_wrapper.
  4959. * tracepoint.c (read_actions): Use gdb_readline_wrapper.
  4960. * top.c (gdb_readline_wrapper): New function.
  4961. (command_line_input): Use it.
  4962. 2002-07-24 Andrew Cagney <cagney@redhat.com>
  4963. * regcache.h (regcache_raw_read, regcache_raw_write): Replace
  4964. regcache_read and regcache_write.
  4965. (regcache_raw_read_as_address): Replace regcache_read_as_address.
  4966. * regcache.c: Update.
  4967. * sh-tdep.c (sh64_push_arguments): Update comment.
  4968. (sh_pseudo_register_read): Update.
  4969. (sh_pseudo_register_write): Update.
  4970. (sh4_register_read): Update.
  4971. (sh4_register_write): Update.
  4972. (sh64_pseudo_register_read): Update.
  4973. (sh64_pseudo_register_write): Update.
  4974. (sh64_register_read): Update.
  4975. (sh64_register_write): Update.
  4976. * i386-tdep.c (i386_extract_return_value): Update.
  4977. (i386_extract_struct_value_address): Update.
  4978. (i386_extract_return_value): Update.
  4979. * blockframe.c (generic_read_register_dummy): Update.
  4980. (generic_call_dummy_register_unwind): Update
  4981. * infrun.c (write_inferior_status_register): Update.
  4982. 2002-07-23 Jim Blandy <jimb@redhat.com>
  4983. * parser-defs.h (expression_context_pc): Make this extern.
  4984. (Thanks to Michael Snyder.)
  4985. 2002-07-23 Andrew Cagney <ac131313@redhat.com>
  4986. GDB 5.2.1 released from 5.2 branch.
  4987. * NEWS: Mention changes in 5.2.1 including addition of AVR target.
  4988. * README: Update to mention 5.2.1.
  4989. 2002-07-23 Mark Salter <msalter@redhat.com>
  4990. * remote.c (remote_read_bytes): Fix check for error.
  4991. 2002-07-22 Kevin Buettner <kevinb@redhat.com>
  4992. * aix-thread.c (language.h): Include.
  4993. (ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs)
  4994. (pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc):
  4995. Print newlines at end of debug messages.
  4996. (pdc_symbol_addrs, pdc_read_regs, pdc_write_regs, pdc_read_data)
  4997. (pdc_write_data): Use local_hex_string() instead of %llx formats.
  4998. 2002-07-22 Kevin Buettner <kevinb@redhat.com>
  4999. * aix-thread.c (ppc-tdep.h): Include.
  5000. (special_register_p): New function.
  5001. (supply_sprs64, supply_sprs32, fill_sprs64, fill_sprs32)
  5002. (store_regs_user_thread): Use register number information from
  5003. gdbarch_tdep struct instead of hardcoded offsets relative to
  5004. FIRST_UISA_SP_REGNUM.
  5005. (fetch_regs_kernel_thread, store_regs_kernel_thread): Call
  5006. special_register_p() instead of using FPLAST_REGNUM and
  5007. LAST_UISA_SP_REGNUM as lower and upper bounds on the special
  5008. register numbers. Also, don't assume that LAST_UISA_SP_REGNUM
  5009. will be MQ's register number.
  5010. 2002-07-22 Michael Snyder <msnyder@redhat.com>
  5011. * aix-thread.c (ops): Rename to aix_thread_ops.
  5012. (base_ops): Rename to base_target.
  5013. (ops_attach): Rename to aix_thread_attach.
  5014. (ops_detach): Rename to aix_thread_detach.
  5015. (ops_resume): Rename to aix_thread_detach.
  5016. (ops_wait): Rename to aix_thread_wait.
  5017. (ops_kill): Rename to aix_thread_kill.
  5018. (init_ops): Rename to init_aix_thread_ops.
  5019. (ops_fetch_register): Rename to aix_thread_fetch_register.
  5020. (ops_store_register): Rename to aix_thread_store_register.
  5021. (ops_mourn_inferior): Rename to aix_thread_mourn_inferior.
  5022. (ops_thread_alive): Rename to aix_thread_thread_alive.
  5023. (ops_extra_thread_info: Rename to aix_thread_extra_thread_info.
  5024. (ops_pid_to_str): Rename to aix_thread_pid_to_str.
  5025. (ops_xfer_memory): Rename to aix_thread_xfer_memory.
  5026. (fetch_regs_lib): Rename to fetch_regs_user_thread.
  5027. (fetch_regs_kern): Rename to fetch_regs_kernel_thread.
  5028. (store_regs_lib): Rename to store_regs_user_thread.
  5029. (store_regs_kern): Rename to store_regs_kernel_thread.
  5030. 2002-07-22 Michael Snyder <msnyder@redhat.com>
  5031. * aix-thread.c (ops_prepare_to_store): Eliminate.
  5032. (init_ops): Don't initialize ops.prepare_to_store.
  5033. (store_regs_kern): Pre-fetch register buffers from child,
  5034. because some registers may not be in the cache. Copy
  5035. regs from register cache only if they are cached.
  5036. (store_regs_lib): Copy regs from register cache only
  5037. if they are cached.
  5038. (fill_sprs32, (fill_sprs64, fill_fprs, fill_gprs32,
  5039. fill_gprs64): Ditto.
  5040. 2002-07-22 Kevin Buettner <kevinb@redhat.com>
  5041. * aix-thread.c (gdb_assert.h): Include.
  5042. (fill_sprs64, fill_sprs32): Add selected asserts to make sure that
  5043. register sizes (from register cache) match size of buffer holding
  5044. register data.
  5045. (fill_sprs32): Change parameter types to match those in the ptrace()
  5046. buffer.
  5047. (store_regs_lib): Likewise, but for 32-bit temporary variables.
  5048. (ops_prepare_to_store): Rename loop variable ``i'' to ``regno''.
  5049. 2002-07-22 Michael Snyder <msnyder@redhat.com>
  5050. * aix-thread.c (supply_sprs64): Cosmetic change.
  5051. (supply_sprs32): Cosmetic change.
  5052. (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs32): New funcs.
  5053. (fill_sprs64): Use regcache_collect instead of read_register.
  5054. (store_regs_lib): Use regcache_collect instead of
  5055. read_register. Use fill_sprs32 instead of fill_sprs64,
  5056. if debugging a 32-bit architecture.
  5057. (store_regs_kern): Use fill_gprs64 etc. to pull the values
  5058. out of the register cache, instead of passing a pointer into
  5059. the register cache directly to ptrace. Use regcache_collect
  5060. insteaad of read_register.
  5061. (ops_prepare_to_store): Use target_read_registers instead
  5062. of read_register_bytes.
  5063. 2002-07-20 Aidan Skinner <aidan@velvet.net>
  5064. * MAINTAINERS: Add self under write after approval.
  5065. 2002-07-20 Aidan Skinner <aidan@velvet.net>
  5066. * ada-tasks.c: Change k&r style function definitions to prototyped
  5067. form.
  5068. 2002-07-19 Andrew Cagney <ac131313@redhat.com>
  5069. * Makefile.in (x86-64-tdep.o): Add $(objfiles_h).
  5070. * x86-64-tdep.c: Include "objfiles.h".
  5071. (x86_64_gdbarch_init): Set in_solib_call_trampoline to
  5072. in_plt_section. From 2002-07-18 Michal Ludvig <mludvig@suse.cz>.
  5073. 2002-07-17 Michal Ludvig <michal@suse.cz>
  5074. * dwarf2cfi.c (execute_stack_op): Complain on unknown DW_OP_ value.
  5075. (update_context): Initialise cfa variable.
  5076. 2002-07-17 Michael Snyder <msnyder@redhat.com>
  5077. * aix-thread.c: Shorten some long lines.
  5078. Bring comments into line with code spec.
  5079. 2002-07-18 Joel Brobecker <brobecker@gnat.com>
  5080. * infrun.c: Re-indent using gdb_indent.sh.
  5081. 2002-07-18 Joel Brobecker <brobecker@gnat.com>
  5082. * infrun.c (handle_inferior_event): Remove unneeded extra brace.
  5083. Leave the indentation temporarily untouched, to minimize the diffs.
  5084. 2002-07-18 Elena Zannoni <ezannoni@redhat.com>
  5085. * stabsread.c: Make os9k sections of the code obsolete,
  5086. for real this time.
  5087. * stabsread.h: Make os9k sections of the code obsolete.
  5088. 2002-07-18 Michal Ludvig <mludvig@suse.cz>
  5089. * linux-low.c (regsets_store_inferior_registers): Add free()
  5090. at the end of a loop to prevent memory leak.
  5091. * linux-x86-64-low.c (x86_64_regmap): Add CS, SS registers.
  5092. (X86_64_NUM_GREGS): Count it from the size of x86_64_regmap.
  5093. * config/sparc/tm-sp64linux.h: Make the rest of #endif
  5094. line a comment.
  5095. * Makefile.in (x86-64-linux-nat.o): Remove dependency on i387-tdep.h
  5096. 2002-07-17 Jim Blandy <jimb@redhat.com>
  5097. * macrocmd.c (info_macro_command): Remove newline from error
  5098. message.
  5099. 2002-07-17 J"orn Rennecke <joern.rennecke@superh.com>
  5100. * sh-tdep.c (sh_dsp_register_sim_regno): New function.
  5101. (sh_gdbarch_init): Use it for sh-dsp.
  5102. 2002-07-16 Kevin Buettner <kevinb@redhat.com>
  5103. * dwarf2read.c (read_initial_length): Handle older, non-standard,
  5104. 64-bit DWARF2 format.
  5105. 2002-07-16 Joel Brobecker <brobecker@gnat.com>
  5106. * proc-api.c: use HAVE_SYS_PROC_H macro to avoid including
  5107. <sys/proc.h> when not available.
  5108. 2002-07-16 Andrew Cagney <ac131313@redhat.com>
  5109. * NEWS: Mention that the i[34]86-*-os9k has been made obsolete.
  5110. * stabsread.c: Make os9k sections of the code obsolete.
  5111. * configure.tgt: Make i[3456]86-*-os9k target obsolete.
  5112. * config/i386/i386os9k.mt: Make file obsolete.
  5113. * Makefile.in (ALLDEPFILES): Remove remote-os9k.c.
  5114. (COMMON_OBS): Remove os9kread.o
  5115. (SFILES): Remove os9kread.c.
  5116. (os9kread.o, remote-os9k.o): Make target obsolete.
  5117. * remote-os9k.c: Make file obsolete.
  5118. * os9kread.c: Make file obsolete.
  5119. * Makefile.in
  5120. 2002-07-16 Andrew Cagney <ac131313@redhat.com>
  5121. * NEWS: Mention that the FR30 has been made obsolete.
  5122. * fr30-tdep.c: Make file obsolete.
  5123. * config/fr30/tm-fr30.h: Ditto.
  5124. * config/fr30/fr30.mt: Ditto.
  5125. * configure.tgt: Make fr30-*-elf obsolete.
  5126. * MAINTAINERS: Make fr30-elf obsolete.
  5127. 2002-07-16 Pierre Muller <muller@ics.u-strasbg.fr>
  5128. * blockframe.c (get_pc_function_start): return 0 if the minimal symbol
  5129. found is not inside a section.
  5130. 2002-07-15 Kevin Buettner <kevinb@redhat.com>
  5131. * aix-thread.c (ptrace_check): Use safe_strerror() instead of
  5132. strerror().
  5133. (pdc_realloc): Use xrealloc() instead of realloc().
  5134. 2002-07-15 Kevin Buettner <kevinb@redhat.com>
  5135. * aix-thread.c (PD_ERROR, CALL_BASE): Delete.
  5136. (ops_resume, ops_wait, fetch_regs_lib, store_regs_lib)
  5137. (ops_xfer_memory, ops_kill): Don't use PD_ERROR or CALL_BASE
  5138. macros.
  5139. 2002-07-15 Kevin Buettner <kevinb@redhat.com>
  5140. * aix-thread.c (ptrace_check): Eliminate goto.
  5141. (sync_threadlists): Eliminate gotos. Also, fix array overrun
  5142. problem.
  5143. 2002-07-15 Kevin Buettner <kevinb@redhat.com>
  5144. * aix-thread.c (gdbcmd.h): Include.
  5145. (DEBUG, DBG, DBG2, dbg): Eliminate.
  5146. (debug_aix_thread): New static global.
  5147. (ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs)
  5148. (pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc)
  5149. (fetch_regs_lib, store_regs_lib, store_regs_kern): Rewrite
  5150. invocations to DBG and DBG2 macros to test against
  5151. ``debug_aix_thread'' and call fprintf_unfiltered().
  5152. (_initialize_aix_thread): Add new command "set debug aix-thread".
  5153. 2002-07-15 Andrew Cagney <ac131313@redhat.com>
  5154. From Gerhard Tonn <TON@de.ibm.com>:
  5155. * s390-nat.c (fill_fpregset, fill_gregset): Use regcache_collect
  5156. instead of supply_register.
  5157. 2002-07-15 Andrew Cagney <ac131313@redhat.com>
  5158. * dwarf2cfi.c: Include "gdb_assert.h".
  5159. (frame_state_for): Use gdb_assert to check that fde->cie_ptr is
  5160. non-NULL.
  5161. (update_context): Do not use __func__. Add missing ``break''.
  5162. (update_context): Do not use __func__.
  5163. 2002-07-15 Elena Zannoni <ezannoni@redhat.com>
  5164. * rs6000-tdep.c (rs6000_gdbarch_init): Remove variable print_insn
  5165. and its setting. Set gdbarch instruction printing functions
  5166. directly. For non-rs6000 case use new function
  5167. gdb_print_insn_powerpc.
  5168. (gdb_print_insn_powerpc): New function.
  5169. 2002-07-13 Andrew Cagney <ac131313@redhat.com>
  5170. * NEWS: Mention that the d30v has been marked obsolete.
  5171. * MAINTAINERS: Note that d30v / d30v-elf has been made obsolete.
  5172. * configure.tgt: Mark d30v-*-* as obsolete.
  5173. * d30v-tdep.c: Mark file as obsolete.
  5174. * config/d30v/d30v.mt: Ditto.
  5175. * config/d30v/tm-d30v.h: Ditto.
  5176. 2002-07-13 Aidan Skinner <aidan@velvet.net>
  5177. * ada-tasks.c (add_task_entry): replace calls to
  5178. malloc() with xmalloc
  5179. * ada-tasks.c (init_task_list): replace calls to free with xfree()
  5180. * ada-lang.c (replace_operator_with_call, fill_in_ada_prototype,
  5181. ada_finish_decode_line_1, all_sals_for_line
  5182. ada_breakpoint_rewrite): replace calls to free() with xfree()
  5183. 2002-07-12 Kevin Buettner <kevinb@redhat.com>
  5184. From Nicholas Duffek (with minor changes by Martin Hunt,
  5185. Louis Hamilton, and Kevin Buettner):
  5186. * aix-thread.c: New file.
  5187. 2002-07-12 Petr Sorfa <petrs@caldera.com>
  5188. * dwarf2read.c (dwarf2_invalid_attrib_class): New
  5189. complaint for invalid attribute class or form.
  5190. (read_func_scope): DW_AT_frame_base
  5191. better handling of DW_AT_block*.
  5192. (dwarf2_add_member_fn): DW_AT_vtable_elem_location
  5193. better handling of DW_AT_block*.
  5194. (read_common_block): DW_AT_location
  5195. better handling of DW_AT_block*.
  5196. (read_partial_die): DW_AT_location better handling
  5197. of DW_AT_block*.
  5198. (new_symbol): DW_AT_external better handling of
  5199. DW_AT_block*. Proper initialization of variable
  5200. "addr".
  5201. (attr_form_is_block): New function that returns true
  5202. if the attribute's form is of DW_FORM_block*.
  5203. 2002-07-12 Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
  5204. * valops.c (find_method_list): Remove comment about
  5205. removed STATIC_MEMFUNCP argument.
  5206. (value_find_oload_method_list): Likewise.
  5207. 2002-07-12 Kevin Buettner <kevinb@redhat.com>
  5208. From Nicholas Duffek:
  5209. * rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call
  5210. target_new_objfile_hook.
  5211. 2002-07-12 Kevin Buettner <kevinb@redhat.com>
  5212. From Nicholas Duffek:
  5213. * xcoffread.c (scan_xcoff_symtab): Recognize XMC_TD as a data storage
  5214. csect.
  5215. 2002-07-12 Andrew Cagney <cagney@redhat.com>
  5216. * MAINTAINERS: Mention --enable-sim-build-warnings.
  5217. (m68hc11-elf): Disable sim build warnings.
  5218. (m32r-elf): Mark as broken obsolete candidate.
  5219. (x86_64-linux-gnu): Mark as buildable with -Werror.
  5220. (arm-elf): Change -w to ``,'' which enables warnings but not
  5221. -Werror.
  5222. 2002-07-12 Andrew Cagney <ac131313@redhat.com>
  5223. * bcache.h: Update copyright.
  5224. (struct bstring, struct bcache): Move definition to "bcache.c".
  5225. Replaced by opaque declaration.
  5226. (bcache_xfree): Replace free_bcache.
  5227. (bcache_xmalloc, bcache_memory_used): Declare.
  5228. * bcache.c: Update copyright.
  5229. (struct bstring, struct bcache): Moved to here from "bcache.h".
  5230. Update comments.
  5231. (bcache_xmalloc, bcache_memory_used): New functions.
  5232. (bcache_xfree): Replace function free_bcache.
  5233. * Makefile.in (objfiles.o): Add $(bcache_h).
  5234. (objfiles_h): Remove $(bcache_h).
  5235. (symfile.o): Add $(bcache_h).
  5236. * symmisc.c: Update copyright.
  5237. (print_symbol_bcache_statistics): Pass psymbol_cache by value.
  5238. (print_objfile_statistics): Use bcache_memory_used.
  5239. * symfile.c: Include "bcache.h".
  5240. (reread_symbols): Use bcache_xfree.
  5241. (reread_symbols): Use bcache_xmalloc and bcache_xfree.
  5242. (add_psymbol_to_list): Pass psymbol_cache by value.
  5243. (add_psymbol_with_dem_name_to_list): Ditto.
  5244. * objfiles.h: Update copyright.
  5245. (struct bcache): Declare opaque. Do not include "bcache.h".
  5246. (struct objfile): Change psymbol_cache and macro_cache to ``struct
  5247. bcache'' pointers.
  5248. * dwarf2read.c (macro_start_file): Pass macro_cache by value.
  5249. * objfiles.c: Include "bcache.h". Update copyright.
  5250. (allocate_objfile): Use bcache_xmalloc to create psymbol_cache and
  5251. macro_cache.
  5252. (free_objfile): Use bcache_xfree.
  5253. 2002-07-11 Grace Sainsbury <graces@redhat.com>
  5254. * monitor.c (monitor_fetch_register): Make name a constant.
  5255. (monitor_store_register): Same.
  5256. 2002-07-11 Daniel Jacobowitz <drow@mvista.com>
  5257. Based on patch from Daniel Berlin <dberlin@dberlin.org>.
  5258. * buildsym.c: Include "demangle.h" for SYMBOL_INIT_DEMANGLED_NAME.
  5259. (finish_block) For non-function blocks, hash the symbol table. For
  5260. function blocks, mark the symbol table as unhashed.
  5261. * minsyms.c (msymbol_hash): Return hash value without taking modulus.
  5262. (msymbol_hash_iw): Likewise.
  5263. (add_minsym_to_hash_table): Take modulus of msymbol_hash's return
  5264. value.
  5265. (add_minsym_to_demangled_hash_table): Likewise for msymbol_hash_iw.
  5266. (lookup_minimal_symbol): Likewise for both.
  5267. * symtab.h (struct block): Add `hashtable' flag. Comment the
  5268. hashtable.
  5269. (BLOCK_HASHTABLE, BLOCK_BUCKETS, BLOCK_BUCKET): New macro.
  5270. (ALL_BLOCK_SYMBOLS): Update.
  5271. (BLOCK_SHOULD_SORT): Do not sort hashed blocks.
  5272. (struct symbol): Add `hash_next' pointer.
  5273. * symtab.c (lookup_block_symbol): Search using the hash table when
  5274. possible.
  5275. (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
  5276. (search_symbols, find_addr_symbol): Likewise.
  5277. * dstread.c (process_dst_block): Clear hashtable bit for new block.
  5278. (read_dst_symtab): Likewise.
  5279. * jv-lang.c (get_java_class_symtab): Likewise.
  5280. * mdebugread.c: Include "gdb_assert.h".
  5281. (shrink_block): Assert that the block being modified is not hashed.
  5282. * coffread.c (patch_opaque_types): Use ALL_BLOCK_SYMBOLS.
  5283. * symmisc.c (free_symtab_block): Walk the hash table when freeing
  5284. symbols.
  5285. (dump_symtab): Recognize hashed blocks.
  5286. * printcmd.c (print_frame_args): Assert that function blocks do not
  5287. have hashed symbol tables.
  5288. * ada-lang.c (symtab_for_sym): Use ALL_BLOCK_SYMBOLS.
  5289. (fill_in_ada_prototype, debug_print_block): Likewise.
  5290. (ada_add_block_symbols): Use ALL_BLOCK_SYMBOLS. Handle hash tables.
  5291. 2002-07-11 Corinna Vinschen <vinschen@redhat.com>
  5292. * stack.c (print_frame): Use result of frame_address_in_block()
  5293. instead of fi->pc when evaluating symbols.
  5294. (backtrace_command_1): Ditto.
  5295. 2002-07-11 Andrew Cagney <cagney@redhat.com>
  5296. * cris-tdep.c (cris_saved_pc_after_call): Fix parameter type.
  5297. Make static.
  5298. * arm-tdep.c (arm_register_name): Make return type constant.
  5299. 2002-07-10 Andrew Cagney <ac131313@redhat.com>
  5300. * win32-nat.c (has_detach_ability): Convert to strict ISO C
  5301. prototype.
  5302. * top.c (gdb_rl_operate_and_get_next_completion): Ditto.
  5303. * s390-tdep.c (s390_fp_regnum): Ditto.
  5304. (s390_read_fp): Ditto.
  5305. (s390_pop_frame): Ditto.
  5306. (_initialize_s390_tdep): Ditto.
  5307. * remote.c (get_remote_state): Ditto.
  5308. * procfs.c (mappingflags): Ditto.
  5309. * memattr.c (_initialize_mem): Ditto.
  5310. * mcore-tdep.c (mcore_pop_frame): Ditto.
  5311. * m68klinux-nat.c (_initialize_m68k_linux_nat): Ditto.
  5312. * m68k-tdep.c (m68k_register_bytes_ok): Ditto.
  5313. * language.c (set_case_str): Ditto.
  5314. * gnu-v3-abi.c (vtable_address_point_offset): Ditto.
  5315. * frv-tdep.c (new_variant): Ditto.
  5316. (frv_stopped_data_address): Ditto.
  5317. * dwarf2cfi.c (fde_chunks_need_space): Ditto.
  5318. (context_alloc): Ditto.
  5319. (frame_state_alloc): Ditto.
  5320. (unwind_tmp_obstack_init): Ditto.
  5321. (unwind_tmp_obstack_free): Ditto.
  5322. (cfi_read_fp): Ditto.
  5323. * cris-tdep.c (cris_saved_pc_after_call): Ditto.
  5324. (cris_pop_frame): Ditto.
  5325. * c-lang.c (scanning_macro_expansion): Ditto.
  5326. (finished_macro_expansion): Ditto.
  5327. (c_preprocess_and_parse): Ditto.
  5328. * gdbarch.sh: Ditto.
  5329. * gdbarch.h, gdbarch.c: Regenerate.
  5330. * config/mn10200/tm-mn10200.h: Adjust indentation.
  5331. * target.c: Adjust indentation.
  5332. * symtab.h: Adjust indentation.
  5333. * stabsread.h: Adjust indentation.
  5334. * remote-es.c: Adjust indentation.
  5335. * os9kread.c: Adjust indentation.
  5336. 2002-07-10 Andrew Cagney <ac131313@redhat.com>
  5337. * wince.c (_initialize_wince): Rename _initialize_inftarg.
  5338. * win32-nat.c (_initialize_win32_nat): Rename _initialize_inftarg.
  5339. 2002-07-10 Grace Sainsbury <graces@redhat.com>
  5340. * NEWS: Mention m68k, mcore multi-arching.
  5341. * MAINTAINERS: Change status of m68k, mcore to reflect
  5342. multi-arching.
  5343. 2002-07-10 Daniel Jacobowitz <drow@mvista.com>
  5344. * valops.c (find_overload_match): Free oload_syms.
  5345. 2002-07-09 Joel Brobecker <brobecker@gnat.com>
  5346. Define HAVE_SYS_PROC_H if sys/proc.h exists
  5347. * configure.in: Add check for sys/proc.h
  5348. * config.in: Regenerate.
  5349. * configure: Regenerate.
  5350. 2002-07-09 Grace Sainsbury <graces@redhat.com>
  5351. * config/m68k/tm-m68k.h: Remove macros wrapped in
  5352. #if !GDB_MULTI_ARCH.
  5353. 2002-07-08 Andrew Cagney <ac131313@redhat.com>
  5354. * config.in, configure: Regenerate.
  5355. 2002-07-08 Mark Kettenis <kettenis@gnu.org>
  5356. * dwarf2cfi.c: Include "gcore.h".
  5357. (execute_stack_op): Fix implementation of the
  5358. DW_OP_deref and DW_OP_deref_size operators by letting do their
  5359. lookup in the target.
  5360. 2002-07-07 Mark Kettenis <kettenis@gnu.org>
  5361. From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>:
  5362. * i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for
  5363. tdep->sc_sp_offset.
  5364. 2002-07-05 Daniel Jacobowitz <drow@mvista.com>
  5365. Fix PR gdb/595, gdb/602
  5366. * gnu-v3-abi.c (gnuv3_baseclass_offset): Remove unused variables.
  5367. Don't call value_cast, just read the vtable pointer; update comments
  5368. to match.
  5369. 2002-07-05 Grace Sainsbury <graces@redhat.com>
  5370. * config/mcore/tm-mcore.h: Remove file.
  5371. * config/mcore/mcore.mt: Remove definition of TM_FILE
  5372. * configure.tgt: Set gdb_multi_arch to yes for the mcore target.
  5373. 2002-07-05 Mark Kettenis <kettenis@gnu.org>
  5374. * i386bsd-tdep.c: Include "gdb_string.h".
  5375. 2002-07-04 Grace Sainsbury <graces@redhat.com>
  5376. * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Set to 2.
  5377. (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG,RETVAL_REGNUM): Move to
  5378. mcore-tdep.
  5379. (REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER)
  5380. (TARGET_VIRTUAL_FRAME_POINTER, BELIEVE_PCC_PROMOTION): Remove.
  5381. * mcore-tdep.c (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG)
  5382. (RETVAL_REGNUM): Move macros from tm-mcore.h
  5383. (mcore_reg_struct_has_addr): New function.
  5384. (mcore_gdbarch_init): Added initializations for the macros removed
  5385. from tm-mcore.h.
  5386. 2002-07-04 Mark Kettenis <kettenis@gnu.org>
  5387. * osabi.c (generic_elf_osabi_sniffer): Add check for FreeBSD 3.x's
  5388. traditonal string branding within the ELF header.
  5389. 2002-07-04 Daniel Jacobowitz <drow@mvista.com>
  5390. * symtab.c (remove_params): New function.
  5391. (make_symbol_overload_list): Use it instead of cplus_demangle.
  5392. (overload_list_add_symbol): Likewise. Reorder. Fix memory leak.
  5393. 2002-07-04 Mark Kettenis <kettenis@gnu.org>
  5394. * i386obsd-nat.c (_initialize_i386obsd_nat): Fix typo in prototype.
  5395. * i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end):
  5396. New variables.
  5397. (i386nbsd_init_abi): Use these to initialize tdep->sigtramp_start
  5398. and tdep->sigtramp_end.
  5399. * i386obsd-nat.c: New file.
  5400. * config/i386/obsd.mh (NATDEPFILES): Add i386obsd-nat.o.
  5401. * dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf.
  5402. Don't call get_current_frame().
  5403. 2002-07-04 Pierre Muller <muller@ics.u-strasbg.fr>
  5404. * i386-nat.c (child_post_startup_inferior): New function
  5405. calling i386_cleanup_dregs if
  5406. I386_USE_GENERIC_WATCHPOINTS is defined.
  5407. * config/i386/nm-i386.h: define CHILD_POST_STARTUP_INFERIOR
  5408. conditional to acknowledge that i386-nat.c has its
  5409. own child_post_startup_inferior function.
  5410. 2002-07-04 Mark Kettenis <kettenis@gnu.org>
  5411. * i386-tdep.h (I386_MAX_REGISTER_SIZE): New define.
  5412. * i386-tdep.c (i386_do_pop_frame): Use I386_MAX_REGISTER_SIZE
  5413. instead of MAX_REGISTER_RAW_SIZE.
  5414. (i386_extract_return_value, i386_extract_struct_value_address):
  5415. Convert to use regcache.
  5416. (i386_gdbarch_init): Set max_register_raw_size and
  5417. max_register_virtual_size to I386_MAX_REGISTER_SIZE.
  5418. Set extract_return_value and extract_struct_value_address instead
  5419. of their deprecated variants.
  5420. Convert i386 target to generic dummy frames.
  5421. * i386-tdep.c: Include "symfile.h".
  5422. (i386_frameless_signal_p): Consider a function to be frameless if
  5423. the pc points at the first instruction of the function.
  5424. (i386_frame_chain): Handle (generic) call dummies.
  5425. (i386_frame_saved_pc): Likewise.
  5426. (i386_frame_init_saved_regs): Remove code dealing with call
  5427. dummies on the stack.
  5428. (i386_push_dummy_frame): Removed.
  5429. (i386_call_dummy_words): Removed.
  5430. (i386_fix_call_dummy): Removed.
  5431. (i386_push_return_address): New function.
  5432. (i386_do_pop_frame): Renamed from i386_pop_frame. Add FRAME
  5433. parameter, and don't call get_current_frame.
  5434. (i386_pop_frame): New function.
  5435. (i386_gdbarch_init): Set use_generic_dummy_frames to 1, set
  5436. call_dummy_location to AT_ENTRY_POINT, set call_dummy_address to
  5437. entry_point_address, set call_dummy_breakpoint_offset to 0, set
  5438. call_dummy_length to 0, set call_dummy_words to NULL, set
  5439. sizeof_call_dummy_words to 0, set fix_call_dummy to
  5440. generic_fix_call_dummy, set pc_in_call_dummy to
  5441. pc_in_call_dummy_at_entry_point, set push_dummy_frame to
  5442. generic_push_dummy_frame, set push_return_address to
  5443. i386_push_return_address and set frame_chain_valid to
  5444. generic_file_frame_chain_valid.
  5445. 2002-07-03 Andrew Cagney <ac131313@redhat.com>
  5446. * gdbarch.sh (struct regcache): Add opaque declaration.
  5447. (EXTRACT_RETURN_VALUE): New architecture method.
  5448. (EXTRACT_STRUCT_VALUE_ADDRESS): Ditto.
  5449. * gdbarch.h, gdbarch.c: Regenerate.
  5450. * arch-utils.c (legacy_extract_return_value): New function.
  5451. * arch-utils.h (legacy_extract_return_value): Declare.
  5452. * values.c (value_being_returned): Re-enable code handling
  5453. EXTRACT_STRUCT_VALUE_ADDRESS. Move
  5454. deprecated_grub_regcache_for_registers call to block handling
  5455. DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
  5456. (EXTRACT_RETURN_VALUE): Do not define.
  5457. 2002-07-03 Grace Sainsbury <graces@redhat.com>
  5458. * config/mcore/tm-mcore.h (REGISTER_BYTES, NUM_REGS, PC_REGNUM)
  5459. (SP_REGNUM, FP_REGNUM, FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK)
  5460. (BREAKPOINT_FROM_PC, INNER_THAN, SAVED_PC_AFTER_CALL)
  5461. (INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS, INIT_FRAME_PC)
  5462. (FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC)
  5463. (STORE_RETURN_VALUE, DEPRECATED_EXTRACT_RETURN_VALUE)
  5464. (STORE_STRUCT_RETURN, DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS)
  5465. (SKIP_PROLOGUE, FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS)
  5466. (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, POP_FRAME)
  5467. (PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME, PUSH_ARGUMENTS): Remove.
  5468. * mcore-tdep.c (mcore_init_extra_frame_info): Add fromleaf
  5469. argument so the function fits the prototype in the architecture
  5470. vector.
  5471. (mcore_pop_frame): Remove argument so the function fits the
  5472. prototype. Use get_current_frame instead of the argument.
  5473. (mcore_push_arguments): Change type of struct_return so the
  5474. function can be used in the architecture vector.
  5475. (mcore_store_struct_return): Add.
  5476. (mcore_frame_init_saved_regs): Add.
  5477. (mcore_gdbarch_init): Add function calls to replace the macros
  5478. removed from tm-mcore.h
  5479. 2002-07-03 Andrew Cagney <ac131313@redhat.com>
  5480. * infcmd.c (print_return_value): Remove compatibility code calling
  5481. deprecated_grub_regcache_for_registers.
  5482. * values.c: Include "regcache.h".
  5483. (value_being_returned): Update. Use
  5484. deprecated_grub_regcache_for_registers to extract the register
  5485. buffer address.
  5486. * value.h (value_being_returned): Change ``retbuf'' parameter to a
  5487. ``struct regcache''.
  5488. * Makefile.in (values.o): Add dependency on $(regcache_h).
  5489. * inferior.h (run_stack_dummy): Change type of second parameter to
  5490. a ``struct regcache''.
  5491. * valops.c (hand_function_call): Change type of retbuf to ``struct
  5492. regcache''. Allocate using regcache_xmalloc, clean using
  5493. make_cleanup_regcache_xfree.
  5494. * infcmd.c (run_stack_dummy): Update. Use
  5495. regcache_cpu_no_passthrough instead of memcpy to copy the buffer.
  5496. * regcache.c (do_regcache_xfree): New function.
  5497. (make_cleanup_regcache_xfree): New function.
  5498. * regcache.h (make_cleanup_regcache_xfree): Declare.
  5499. 2002-07-03 Martin M. Hunt <hunt@redhat.com>
  5500. * event-top.c (command_line_handler): Don't read past
  5501. beginning of buffer.
  5502. 2002-07-03 Martin M. Hunt <hunt@redhat.com>
  5503. * varobj.c (struct varobj_root): Change frame from CORE_ADDR to
  5504. struct frame_id.
  5505. (varobj_create): Store frame_id for root.
  5506. (varobj_gen_name): Use xasprintf.
  5507. (varobj_update): Save and restore frame using get_frame_id() and
  5508. frame_find_by_id().
  5509. (create_child): Use xasprintf.
  5510. (new_root_variable): Initialize frame_id.
  5511. (c_name_of_child): Use xasprintf. Call find_frame_by_id().
  5512. (c_value_of_variable): Use xasprintf. Move mem_fileopen call
  5513. to prevent memory leak.
  5514. 2002-07-03 Andrew Cagney <ac131313@redhat.com>
  5515. * valops.c (hand_function_call): Move declaration of retbuf to
  5516. start of function, allocate using malloc, add a cleanup but before
  5517. the inf_status cleanup, cleanup the buffer. Rename local variable
  5518. old_chain to inf_status_cleanup.
  5519. 2002-07-03 Martin M. Hunt <hunt@redhat.com>
  5520. * top.c (execute_command): Use cmd_func() and cmd_func_p().
  5521. * cli/cli-decode.c (cmd_func_p): New function.
  5522. (cmd_func): New function.
  5523. * command.h: Add cmd_func() and cmd_func_p().
  5524. 2002-07-03 Grace Sainsbury <graces@redhat.com>
  5525. * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Add macro. Set to 0.
  5526. (REGISTER_SIZE): Remove.
  5527. (MAX_REGISTER_RAW_SIZE): Remove.
  5528. (REGISTER_VIRTUAL_TYPE): Remove.
  5529. (MAX_REGISTER_VIRTUAL_SIZE): Remove.
  5530. (REGISTER_NAME): Remove.
  5531. (USE_GENERIC_DUMMY_FRAMES): Remove.
  5532. (CALL_DUMMY): Remove.
  5533. (CALL_DUMMY_START_OFFSET): Remove.
  5534. (CALL_DUMMY_BREAKPOINT_OFFSET): Remove.
  5535. (CALL_DUMMY_LOCATION): Remove.
  5536. (FIX_CALL_DUMMY): Remove.
  5537. (CALL_DUMMY_ADDRESS): Remove.
  5538. (SIZEOF_CALL_DUMMY_WORDS): Remove.
  5539. (SAVE_DUMMY_FRAME_TOS): Remove.
  5540. * mcore-tdep.c (MCORE_REG_SIZE, MCORE_NUM_REGS): Add macros.
  5541. (mcore_register_virtual_type): New function.
  5542. (mcore_register_byte): New function.
  5543. (mcore_register_size): New function.
  5544. (mcore_register_name): New function.
  5545. (mcore_gdbarch_init): New function. Add set_gdbarch calls for
  5546. macros removed from tm-mcore.h.
  5547. (mcore_dump_tdep): Add.
  5548. (_initialize_mcore_tdep): Add gdbarch_register call.
  5549. 2002-07-03 Mark Kettenis <kettenis@gnu.org>
  5550. * i386-tdep.c (i386_frameless_signal_p): Provide an argument in to
  5551. frameless_look_for_prologue, such that we actually call this
  5552. function.
  5553. 2002-07-02 Joel Brobecker <brobecker@gnat.com>
  5554. * frame.h (frame_address_in_block): New function.
  5555. * blockframe.c (frame_address_in_block): New function extracted
  5556. from get_frame_block().
  5557. (get_frame_block): Use frame_address_in_block().
  5558. (block_innermost_frame): Use frame_address_in_block() to match
  5559. the frame pc address against the block boundaries rather than
  5560. the frame pc directly. This prevents a failure when a frame pc
  5561. is actually a return-address pointing immediately after the end
  5562. of the given block.
  5563. 2002-07-02 Grace Sainsbury <graces@redhat.com>
  5564. * MAINTAINERS: Add self under write after approval.
  5565. 2002-07-02 Grace Sainsbury <graces@redhat.com>
  5566. * m68k-tdep.c (m68k_remote_breakpoint_from_pc): Add. Currently not
  5567. used in architecture vector. The default is
  5568. m68k_local_breakpoint_from_pc.
  5569. (m68k_local_breakpoint_from_pc): Add.
  5570. (enum): Add register numbers from tm-m68k.h.
  5571. (m68k_gdbarch_init): Add breakpoint_from_pc to architecture
  5572. vector.
  5573. * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Set to
  5574. GDB_MULTI_ARCH_PARTIAL.
  5575. (BPT_VECTOR, REGISTER_BYTES_FP, REGISTER_BYTES_NOFP)
  5576. (NUM_FREGS, SIG_PC_FP_OFFSET, SP_ARG0, REMOTE_BPT_VECTOR): Move to
  5577. m68k-tdep.c.
  5578. (BREAKPOINT, REMOTE_BREAKPOINT): Remove.
  5579. (A1_REGNUM, FP0_REGNUM, FPC_REGNUM, FPS_REGNUM, FPI_REGNUM): Move
  5580. to enum in m68k-tdep.c
  5581. 2002-07-02 Joel Brobecker <brobecker@gnat.com>
  5582. * solib-osf.c (open_map): Compute the list of shared libraries
  5583. loaded by the inferior, rather than the list of libraries loaded
  5584. by GDB itself. Otherwise, GDB ends up reading the symbols from
  5585. the wrong shared libraries...
  5586. 2002-07-02 Mark Kettenis <kettenis@gnu.org>
  5587. * i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static.
  5588. (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONEXT_SP_OFFSET): Remove
  5589. macros.
  5590. (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
  5591. Remove functions.
  5592. (FRAMELESS_SIGNAL): Remove function.
  5593. (i386_linux_frame_chain, i386_linux_frame_saved_pc,
  5594. i386_linux_saved_pc_after_call): Removed.
  5595. (i386_linux_init_abi): Initialize tdep->sigcontext_addr,
  5596. tdep->sc_pc_offset and tdep->sc_sp_offset. Don't override
  5597. frame_chain, frame_saved_pc and saved_pc_after_call any longer.
  5598. * i386-tdep.c (i386_frameless_signal_p): New function.
  5599. (i386_frame_chain): Deal with frameless signals.
  5600. (i386_sigtramp_saved_sp): New function.
  5601. (i386_frame_saved_pc): Deal with frameless signals.
  5602. (i386_saved_pc_after_call): Make sure the correct value is
  5603. returned just after entry into a sigtramp.
  5604. * i386bsd-tdep.c (i386bsd_sc_sp_offset, i386nbsd_sc_sp_offset,
  5605. i386fbsd4_sc_sp_offset): New variables.
  5606. (i386bsd_init_abi, i386nbsd_init_abi, i386fbsd4_init_abi): Use
  5607. these variables to initialize tdep->sc_sp_offset. * i386bsd-nat.c
  5608. (_initialize_i386bsd_nat): Add sanity check for sc_sp_offset
  5609. similiar to what we already did for sc_pc_offset.
  5610. * i386-sol2-tdep.c (i386_sol2_init_abi): Initialize
  5611. tdep->sc_sp_offset.
  5612. * i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line.
  5613. 2002-07-02 Michal Ludvig <mludvig@suse.cz>
  5614. * config/i386/tm-x86-64linux.h: New.
  5615. * config/i386/x86-64linux.mt: Add GDB_MULTI_ARCH and TM_FILE
  5616. definitions.
  5617. * config/i386/nm-x86-64.h: Rename to ...
  5618. * config/i386/nm-x86-64linux.h: ... this one.
  5619. * config/i386/x86-64linux.mh: Reflect the above change.
  5620. 2002-07-01 Mark Kettenis <kettenis@gnu.org>
  5621. * i386-tdep.h (struct gdbarch_tdep): Replace sigtramp_saved_pc
  5622. with sigcontext_addr. Add sc_sp_offset.
  5623. (i386bsd_sigtramp_saved_pc): Remove prototype.
  5624. (i386bsd_sicontext_addr): Add prototype.
  5625. * i386-tdep.c (i386_sigtramp_saved_pc): New function.
  5626. (i386_frame_saved_pc): Rewrite to call i386_sigtramp_saved_pc.
  5627. (i386_svr4_sigtramp_saved_pc): Removed.
  5628. (i386_svr4_sigcontext_addr): New function.
  5629. (i386_svr4_init_abi): Don't initialize tdep->sigtramp_saved_pc.
  5630. Initialize tdep->sigcontext_addr instead. Initialize
  5631. tdep->sc_pc_offset and tdep->sc_sp_offset.
  5632. (i386_gdbarch_init): Likewise.
  5633. * i386bsd-tdep.c (i386bsd_sigcontext_addr): Don't make it static
  5634. any more.
  5635. (i386bsd_sigtramp_saved_pc): Remove function.
  5636. (i386bsd_init_abi): Don't initialize tdep->sigtramp_saved_pc.
  5637. Initialize tdep->sigcontext_addr instead. Initialize
  5638. tdep->sc_pc_offset.
  5639. * i386-linux-tdep.c (i386_linux_init_abi): Remove initialization
  5640. of tdep->sigtramp_saved_pc.
  5641. * i386-sol2-tdep.c (i386_sol2_init_abi): Don't initialize
  5642. tdep->sigtramp_saved_pc. Initialize tdep->sigcontext_addr
  5643. instead.
  5644. * i386-tdep.c (i386_frameless_function_invocation,
  5645. i386_frame_num_args, i386_frame_init_saved_regs,
  5646. i386_skip_prologue, i386_push_dummy_frame, i386_fix_call_dummy,
  5647. i386_pop_frame, i386_push_arguments, i386_store_struct_return,
  5648. i386_extract_return_value, i386_store_return_value,
  5649. i386_extract_struct_value_address, i386_register_virtual_type,
  5650. i386_register_convertible, i386_register_convert_to_virtual,
  5651. i386_register_convert_to_raw, i386_svr4_sigtramp_saved_pc,
  5652. i386_go32_init_abi, i386_nw_init_abi, i386_gdbarch_init): Make
  5653. static.
  5654. 2002-07-01 Mark Kettenis <kettenis@gnu.org>
  5655. * i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed.
  5656. * config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed.
  5657. * i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of
  5658. this macro. Include "value.h".
  5659. 2002-06-30 Aidan Skinner <aidan@velvet.net>
  5660. * ada-exp.tab.c: remove as it's a generated file
  5661. * ada-lex.c: remove as it's a generated file
  5662. 2002-06-30 Mark Kettenis <kettenis@gnu.org>
  5663. * config/i386/tm-i386.h (struct frame_info, struct
  5664. frame_saved_regs, struct value, struct type): Remove forward
  5665. declarations.
  5666. * config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]
  5667. (FILL_FPXREGSET, HAVE_SSE_REGS): Remove define.
  5668. * config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS]
  5669. (FILL_FPXREGSET): Define.
  5670. * config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define.
  5671. * configure.tgt (i[3456]86-*-openbsd*): Fold into
  5672. i[3456]86-*-netbsd* case.
  5673. * config/i386/tm-obsd.h: Removed.
  5674. * config/i386/obsd.mt: Removed.
  5675. * config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and
  5676. core-aout.o.
  5677. (MH_CFLAGS): Add -DYYDEBUG=0.
  5678. * i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
  5679. i386nbsd_sc_pc_offset on OpenBSD too.
  5680. * config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS]
  5681. (IN_SOLIB_CALL_TRAMPOLINE): Remove define.
  5682. * config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove
  5683. define.
  5684. * i386bsd-tdep.c: Include "arch-utils.h".
  5685. (i386bsd_aout_in_solib_call_trampoline): New function.
  5686. (i386bsd_init_abi): Set in_solib_call_trampoline to
  5687. i386bsd_aout_in_solib_call_trampoline.
  5688. (i386nbsdelf_init_abi, i386fbsd_init_abi): Set
  5689. in_solib_call_trampoline to generic_in_solib_call_trampoline.
  5690. 2002-06-28 Andrew Cagney <ac131313@redhat.com>
  5691. * macrotab.h: Do not include "obstack.h" or "bcache.h".
  5692. (struct obstack, struct bcache): Add opaque declarations.
  5693. * Makefile.in (macrotab_h): Update
  5694. 2002-06-28 Andrew Cagney <ac131313@redhat.com>
  5695. * blockframe.c (generic_find_dummy_frame): Change return type to
  5696. ``struct regcache''.
  5697. (struct dummy_frame): Replace field ``registers'' with regcache, a
  5698. struct regcache object.
  5699. (generic_find_dummy_frame): Update.
  5700. (generic_push_dummy_frame): Update. Use regcache_xfree,
  5701. regcache_xmalloc and regcache_cpy.
  5702. (generic_pop_dummy_frame): Update. Use regcache_cpy and
  5703. regcache_xfree.
  5704. (deprecated_generic_find_dummy_frame): Update.
  5705. (generic_read_register_dummy): Update. Use
  5706. regcache_read_as_address.
  5707. (generic_call_dummy_register_unwind): Update. Use regcache_read.
  5708. (generic_get_saved_register): Update. Use regcache_read.
  5709. 2002-06-28 Andrew Cagney <ac131313@redhat.com>
  5710. * Makefile.in (objfiles_h): Add $(bcache_h).
  5711. * objfiles.h: Include "bcache.h".
  5712. * Makefile.in (symtab_h): Remove $(bcache_h).
  5713. * symtab.h: Do not include "bcache.h".
  5714. 2002-06-28 Andrew Cagney <ac131313@redhat.com>
  5715. * ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
  5716. generic_func_frame_chain_valid.
  5717. 2002-06-28 David O'Brien <obrien@FreeBSD.org>
  5718. * config/i386/nm-fbsd.h: Include <sys/param.h>.
  5719. * config/i386/tm-fbsd.h: Likewise.
  5720. 2002-06-28 Andrew Cagney <ac131313@redhat.com>
  5721. * rs6000-tdep.c (rs6000_gdbarch_init): Use
  5722. generic_unwind_get_saved_register.
  5723. 2002-06-27 Andrew Cagney <ac131313@redhat.com>
  5724. From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
  5725. * regcache.c (supply_register): Add missing argument to
  5726. register_buffer call.
  5727. 2002-06-27 Andrew Cagney <ac131313@redhat.com>
  5728. * Makefile.in (init.c): Drop -e option to grep. Not necessary and
  5729. Solaris /bin/grep does not not like it. From Peter Schauer.
  5730. 2002-06-26 Tom Tromey <tromey@redhat.com>
  5731. * command.h (add_setshow_cmd): Declare.
  5732. (add_setshow_cmd_full): Declare.
  5733. * cli/cli-decode.c (add_setshow_cmd): No longer static. Now
  5734. returns void. Use add_setshow_cmd_full.
  5735. (add_setshow_cmd_full): New function.
  5736. (add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full.
  5737. (add_setshow_boolean_cmd): Likewise.
  5738. 2002-06-26 Jason Thorpe <thorpej@wasabisystems.com>
  5739. * config/vax/tm-vax.h: Protect from multiple inclusion.
  5740. (TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR)
  5741. (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to...
  5742. * config/vax/tm-vaxbsd.h: ...here. New file.
  5743. * config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h.
  5744. 2002-06-26 Jason Thorpe <thorpej@wasabisystems.com>
  5745. * config/vax/tm-vax.h (BREAKPOINT): Remove.
  5746. (BELIEVE_PCC_PROMOTION): Remove.
  5747. (AP_REGNUM): Move to...
  5748. * config/vax/nm-vax.h: ...here.
  5749. * vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM.
  5750. (vax_breakpoint_from_pc): New function.
  5751. (vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc
  5752. and gdbarch_believe_pcc_promotion.
  5753. 2002-06-26 Jason Thorpe <thorpej@wasabisystems.com>
  5754. * Makefile.in (vax_tdep_h): Define.
  5755. (vax-tdep.o): Use $(vax_tdep_h).
  5756. * vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework.
  5757. (vax_dump_tdep): New function.
  5758. (_initialize_vax_tdep): Register vax_dump_tdep.
  5759. * vax-tdep.h: Include osabi.h.
  5760. (struct gdbarch_tdep): New.
  5761. 2002-06-26 Andrew Cagney <cagney@redhat.com>
  5762. * frame.h (deprecated_generic_find_dummy_frame): Rename
  5763. generic_find_dummy_frame.
  5764. * blockframe.c (generic_find_dummy_frame): Make static.
  5765. (deprecated_generic_find_dummy_frame): New function.
  5766. * sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace
  5767. generic_find_dummy_frame with deprecated_find_dummy_frame.
  5768. (sh64_nofp_frame_init_saved_regs): Ditto.
  5769. (sh_fp_frame_init_saved_regs): Ditto.
  5770. * s390-tdep.c (s390_frame_saved_pc_nofix): Ditto.
  5771. (s390_frame_chain): Ditto.
  5772. * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
  5773. 2002-06-26 Grace Sainsbury <graces@redhat.com>
  5774. * config/m68k/tm-m68k.h: Rearrange code so macros not in the
  5775. gdbarch vector are at the top.
  5776. (NUM_REGS): Remove.
  5777. (FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove.
  5778. (FRAME_ARGS_ADDRESS): Remove.
  5779. (FRAME_LOCALS_ADDRESS): Remove.
  5780. (FRAME_NUM_ARGS): Remove.
  5781. (FRAME_ARGS_SKIP): Remove.
  5782. * m68k-tdep.c (enum): Add eumeration of special register numbers.
  5783. (m68k_gdbarch_init): Add gdbarch initializations for macros
  5784. undefined in tm-m68k.h
  5785. 2002-06-26 Grace Sainsbury <graces@redhat.com>
  5786. * monitor.h: Add the function regname to monitor_ops
  5787. structure. This way NUM_REGS does not have to be a constant.
  5788. * monitor.c (monitor_fetch_register): Added support for regname
  5789. function. The function is called if the array regnames is NULL.
  5790. (monitor_store_register): Same.
  5791. * cpu32bug-rom.c (cpu32bug_regname): Add function. Replaces
  5792. regnames array.
  5793. (init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL,
  5794. cpu32bug_cmds.regname to point to new function.
  5795. * abug-rom.c (abug_regname): Same as above.
  5796. (init_abug_cmds): Same.
  5797. * dbug-rom.c (dbug_regname): Same as above.
  5798. (init_dbug_cmds): Same.
  5799. * remote-est.c (est_regname): Same.
  5800. (init_est_cmds): Same.
  5801. * rom68k-rom.c (rom68k_regname): Same.
  5802. (init_rom68k_cmds): Same.
  5803. 2002-06-25 Tom Tromey <tromey@redhat.com>
  5804. * breakpoint.c (delete_command): Don't repeat `delete' commands.
  5805. 2002-06-25 Andrew Cagney <cagney@redhat.com>
  5806. * infrun.c (stop_registers): Change variable's type to ``struct
  5807. regcache'''.
  5808. (xmalloc_inferior_status): Delete function.
  5809. (free_inferior_status): Delete function.
  5810. (normal_stop): Use regcache_cpy.
  5811. (struct inferior_status): Change type of fields ``stop_registers''
  5812. and ``registers'' to ``struct regcache''.
  5813. (write_inferior_status_register): Use regcache_write.
  5814. (save_inferior_status): Instead of calling
  5815. xmalloc_inferior_status, allocate the inf_status buffer directly.
  5816. Use regcache_dup_no_passthrough and regcache_dup to save the
  5817. buffers.
  5818. (restore_inferior_status): Use regcache_xfree and regcache_cpy.
  5819. Replace the stop_registers regcache instead of overriding it. Use
  5820. regcache_xfree. Instead of calling free_inferior_status, xfree
  5821. the buffer directly.
  5822. (discard_inferior_status): Use regcache_xfree. Instead of calling
  5823. free_inferior_status, xfree the buffer directly.
  5824. (build_infrun): Use regcache_xmalloc.
  5825. (_initialize_infrun): Delete redundant call to build_infrun.
  5826. * Makefile.in (infcmd.o): Add $(regcache_h).
  5827. * infcmd.c: Include "regcache.h".
  5828. (run_stack_dummy): Use deprecated_grub_regcache_for_registers to
  5829. obtain the address of `stop_registers' register buffer.
  5830. (print_return_value): Ditto.
  5831. * inferior.h (struct regcache): Add opaque declaration.
  5832. (stop_registers): Change variable's declared type to ``struct
  5833. regcache''.
  5834. 2002-06-24 Tom Tromey <tromey@redhat.com>
  5835. * cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
  5836. * target.c (initialize_targets): Fixed typo in
  5837. trust-readonly-sections `show' documentation.
  5838. * main.c: Marked all strings with _().
  5839. 2002-06-24 Don Howard <dhoward@redhat.com>
  5840. * memattr.c (create_mem_region): Treat hi == 0 as a special case
  5841. that means max CORE_ADDR+1.
  5842. (lookup_mem_region): Ditto.
  5843. (mem_info_command): Ditto.
  5844. 2002-06-24 Grace Sainsbury <graces@redhat.com>
  5845. * config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove.
  5846. (REGISTER_BYTES_OK): Remove.
  5847. (REGISTER_BYTES): Remove.
  5848. (STORE_STRUCT_RETURN): Remove.
  5849. (DEPRECATED_EXTRACT_RETURN_VALUE): Remove.
  5850. (STORE_RETURN_VALUE): Remove.
  5851. (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
  5852. (FRAME_CHAIN): Remove.
  5853. (FRAMELESS_FUNCTION_INVOCATION): Remove.
  5854. (FRAME_SAVED_PC): Remove.
  5855. * m68k-tdep.c (m68k_register_bytes_ok):Add.
  5856. (m68k_store_struct_return): Add.
  5857. (m68k_deprecated_extract_return_value): Add.
  5858. (m68k_deprecated_extract_struct_value_address): Add.
  5859. (m68k_store_return_value): Add.
  5860. (m68k_frame_chain): Add.
  5861. (m68k_frameless_function_invocation): Add.
  5862. (m68k_frame_saved_pc): Add.
  5863. (m68k_gdbarch_init): added set_gdbarch calls for new
  5864. functions and deleted macros.
  5865. 2002-06-23 Tom Tromey <tromey@redhat.com>
  5866. * Makefile.in (HFILES_NO_SRCDIR): Remove old files.
  5867. (ALLDEPFILES): Likewise.
  5868. (udiheaders): Removed.
  5869. (udip2soc.o): Likewise.
  5870. (udi2go32.o): Likewise.
  5871. (udr.o): Likewise.
  5872. (HFILES_WITH_SRCDIR): Don't mention udiheaders.
  5873. 2002-06-22 Andrew Cagney <ac131313@redhat.com>
  5874. * infrun.c (_initialize_infrun): Delete unnecessary call to
  5875. build_infrun.
  5876. * regcache.h: Update comments describing the regcache_cpy family
  5877. of functions.
  5878. (regcache_save, regcache_restore): Delete declaration.
  5879. (regcache_save_no_passthrough): Delete declaration.
  5880. (regcache_restore_no_passthrough): Delete declaration.
  5881. * regcache.c (regcache_save): Delete function.
  5882. (regcache_save_no_passthrough): Delete function.
  5883. (regcache_restore): Delete function.
  5884. (regcache_restore_no_passthrough): Delete function.
  5885. 2002-06-21 Andrew Cagney <ac131313@redhat.com>
  5886. * config/m68k/tm-m68k.h: Fix typo.
  5887. (FRAME_INIT_SAVED_REGS): Define when non-multi-arch.
  5888. (m68k_frame_init_saved_regs): Declare.
  5889. 2002-06-21 Jim Blandy <jimb@redhat.com>
  5890. Remove some vestiges of Harris 88k support.
  5891. * dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k
  5892. register numbering quirk.
  5893. * elfread.c (elf_symtab_read): Remove `#if' block for skipping
  5894. odd symbols occurring in Harris 88k ELF targets.
  5895. 2002-06-21 Tom Tromey <tromey@redhat.com>
  5896. * gdb_locale.h: New file.
  5897. * Makefile.in (GDB_CFLAGS): Define LOCALEDIR.
  5898. (defs_h): Added gdb_locale.h.
  5899. * configure, config.in: Rebuilt.
  5900. * configure.in (PACKAGE): Define.
  5901. * defs.h: Include gdb_locale.h.
  5902. * main.c (captured_main): Call setlocale, bindtextdomain,
  5903. textdomain.
  5904. 2002-06-21 Dave Brolley <brolley@redhat.com>
  5905. From Stan Shebs, Jim Blandy, Mark Salter, Kevin Buettner:
  5906. * config/frv/frv.mt: New file.
  5907. * config/frv/tm-frv.h: New file.
  5908. * configure.tgt: Support frv-*-*.
  5909. * Makefile.in (frv-tdep.o): New target.
  5910. * frv-tdep.c: New file.
  5911. * NEWS: Mention frv.
  5912. 2002-06-21 Dave Brolley <brolley@redhat.com>
  5913. * MAINTAINERS: Add self to "Write After Approval" list.
  5914. 2002-06-21 Grace Sainsbury <graces@redhat.com>
  5915. * config/m68k/tm-m68k.h (REGISTER_BYTE, REGISTER_RAW_SIZE)
  5916. (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
  5917. (REGISTER_VIRTUAL_TYPE, REGISTER_NAMES, TARGET_LONG_DOUBLE_FORMAT)
  5918. (FUNCTION_START_OFFSET, SKIP_PROLOGUE, SAVED_PC_AFTER_CALL)
  5919. (INNER_THAN, STACK_ALIGN, REGISTER_SIZE): Remove macros.
  5920. * m68k-tdep.c: Include arch-utils.h
  5921. (m68k_register_raw_size): Add.
  5922. (m68k_register_virtual_size): Add.
  5923. (m68k_register_virtual_type): Add.
  5924. (m68k_register_name): Add.
  5925. (m68k_stack_align): Add.
  5926. (m68k_register_byte): Add.
  5927. (m68k_gdbarch_init): Add set_gdbarch calls for macros removed in
  5928. tm-m68k.h.
  5929. 2002-06-21 Grace Sainsbury <graces@redhat.com>
  5930. * m68k-tdep.c (m68k_frame_init_saved_regs): Replace
  5931. m68k_find_saved_regs.
  5932. (m68k_pop_frame): Removed saved_regs structure, and replaced
  5933. references to it with frame->saved_regs.
  5934. (m68k_gdbarch_init): Added function calls to initialize the
  5935. gdbarch structure.
  5936. (m68k_fix_call_dummy): Add.
  5937. * config/m68k/tm-m68k.h: (FRAME_FIND_SAVED_REGS): Remove.
  5938. (CALL_DUMMY): Remove.
  5939. (CALL_DUMMY_LENGTH): Remove.
  5940. (CALL_DUMMY_START_OFFSET): Remove.
  5941. (CALL_DUMMY_BREAKPOINT_OFFSET): Remove.
  5942. (FIX_CALL_DUMMY): Remove.
  5943. (PUSH_DUMMY_FRAME): Remove.
  5944. (POP_FRAME): Remove.
  5945. 2002-06-19 Pierre Muller <muller@ics.u-strasbg.fr>
  5946. * parse.c (parse_fprintf): New function used to avoid calls to
  5947. fprintf in bison parser generated debug code.
  5948. * parser-defs.h: Declaration of new parse_fprintf function.
  5949. * ada-exp.y, c-exp.y, f-exp.y, jv-exp.y, m2-exp.y, p-exp.y:
  5950. Set YYDEBUG to 1 by default.
  5951. Set YYFPRINTF as parse_fprintf.
  5952. 2002-06-21 Michal Ludvig <mludvig@suse.cz>
  5953. * dwarf2cfi.c (read_encoded_pointer): Don't handle pointer
  5954. encoding anymore.
  5955. (pointer_encoding, enum ptr_encoding): New.
  5956. (execute_cfa_program): Take care about pointer encoding.
  5957. (dwarf2_build_frame_info): Only call parse_frame_info for
  5958. .debug_frame and .eh_frame.
  5959. (parse_frame_info): New, derived from former dwarf2_build_frame_info.
  5960. fixed augmentation handling, added relative addressing,
  5961. ignore duplicate FDEs. Added comments.
  5962. * dwarf2cfi.c: Reindented.
  5963. 2002-06-20 Elena Zannoni <ezannoni@redhat.com>
  5964. * event-top.c (command_handler): Don't use space_at_cmd_start
  5965. unless there is sbrk() on the host. Assign time and space data
  5966. to union fields of the appropriate length.
  5967. 2002-06-20 Michal Ludvig <mludvig@suse.cz>
  5968. * x86-64-tdep.c (x86_64_register_nr2name): Rename to
  5969. x86_64_register_name. Return type changed to 'const char *'.
  5970. (x86_64_register_name2nr): Rename to x86_64_register_number.
  5971. (x86_64_gdbarch_init): Update to reflect the change.
  5972. * x86-64-tdep.h: Ditto.
  5973. * x86-64-linux-nat.c (x86_64_fxsave_offset)
  5974. (supply_fpregset): Ditto.
  5975. 2002-06-19 Andrew Cagney <cagney@redhat.com>
  5976. * regcache.h: Update copyright.
  5977. (struct regcache, struct gdbarch): Add opaque declarations.
  5978. (current_regcache): Declare global variable.
  5979. (regcache_read, regcache_write): Add gdbarch parameter.
  5980. (regcache_save, regcache_save_no_passthrough)
  5981. (regcache_restore, regcache_restore_no_passthrough)
  5982. (regcache_dup, regcache_dup_no_passthrough)
  5983. (regcache_cpy, regcache_cpy_no_passthrough)
  5984. (deprecated_grub_regcache_for_registers)
  5985. (deprecated_grub_regcache_for_register_valid)
  5986. (regcache_valid_p): Add function declarations.
  5987. * regcache.c: Update copyright.
  5988. (regcache_descr_handle): New global variable.
  5989. (struct regcache_descr): Define.
  5990. (init_legacy_regcache_descr, init_regcache_descr): New functions.
  5991. (regcache_descr, xfree_regcache_descr): New functions.
  5992. (struct regcache): Define.
  5993. (regcache_xmalloc, regcache_xfree): New functions.
  5994. (regcache_cpy, regcache_cpy_no_passthrough): New functions.
  5995. (regcache_dup, regcache_dup_no_passthrough): New functions.
  5996. (regcache_valid_p, regcache_read_as_address): New functions.
  5997. (deprecated_grub_regcache_for_registers): New function.
  5998. (deprecated_grub_regcache_for_register_valid): New function.
  5999. (current_regcache): New global variable.
  6000. (register_buffer): Add regcache parameter. Update calls.
  6001. (regcache_read, regcache_write): Add regcache parameter. Rewrite.
  6002. (read_register_gen, write_register_gen): Update register_buffer
  6003. call. Test for legacy_p instead of gdbarch_register_read_p or
  6004. gdbarch_register_write_p.
  6005. (regcache_collect): Update register_buffer call.
  6006. (build_regcache): Rewrite. Use deprecated grub functions.
  6007. (regcache_save, regcache_save_no_passthrough): New functions.
  6008. (regcache_restore, regcache_restore_no_passthrough): New
  6009. functions.
  6010. (_initialize_regcache): Create the regcache_data_handle. Swap
  6011. current_regcache global variable.
  6012. * sh-tdep.c (sh_pseudo_register_read): Add current_regcache
  6013. parameter to regcache_read and regcache_write calls.
  6014. (sh4_register_read): Ditto.
  6015. (sh64_pseudo_register_read): Ditto.
  6016. (sh64_register_read): Ditto.
  6017. (sh_pseudo_register_write): Ditto.
  6018. (sh4_register_write): Ditto.
  6019. (sh64_pseudo_register_write): Ditto.
  6020. (sh64_register_write): Ditto.
  6021. * defs.h (XCALLOC): Define.
  6022. 2002-06-19 Grace Sainsbury <graces@redhat.com>
  6023. * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Added (set to 0).
  6024. * m68k-tdep.c (m68k_gdbarch_init): Added.
  6025. (m68k_dump_tdep): Added.
  6026. 2002-06-19 Daniel Jacobowitz <drow@mvista.com>
  6027. * ada-lang.c (fill_in_ada_prototype): Update comment.
  6028. 2002-06-19 Daniel Jacobowitz <drow@mvista.com>
  6029. * mips-tdep.c (enum mips_abi): Explicitly start at 0. Add
  6030. MIPS_ABI_LAST.
  6031. (mips_abi_string, mips_abi_strings): New.
  6032. (struct gdbarch_tdep): Remove mips_abi_string, add found_abi.
  6033. (mips_gdbarch_init): Set tdep->found_abi. Don't set
  6034. tdep->mips_abi_string. Honor mips_abi_string. Default to
  6035. O32 if no ABI is found.
  6036. (mips_dump_tdep): Use mips_abi_strings.
  6037. (mips_abi_update): New function.
  6038. (_initialize_mips_tdep): Initialize mips_abi_string. Add
  6039. ``set mips abi'' and ``show mips abi''. Check the size of
  6040. mips_abi_strings.
  6041. 2002-06-19 Andrew Cagney <cagney@redhat.com>
  6042. * i386-linux-tdep.c (i386_linux_register_name): Make return type
  6043. constant.
  6044. 2002-06-18 Joel Brobecker <brobecker@gnat.com>
  6045. * alpha-tdep.c (heuristic_proc_desc): Compute the size of the
  6046. current frame using only the first stack size adjustment. All
  6047. subsequent size adjustments are not considered to be part of
  6048. the "static" part of the current frame.
  6049. Compute the address of the saved registers relative to the
  6050. Frame Pointer ($fp) instead of the Stack Pointer if $fp is
  6051. in use in this frame.
  6052. 2002-06-18 Don Howard <dhoward@redhat.com>
  6053. * valops.c (value_ind): Use value_at_lazy() when dereferencing
  6054. type int expressions. Thanks to Jim Blandy <jimb@redhat.com> for
  6055. suggesting this solution.
  6056. 2002-06-18 Andrew Cagney <ac131313@redhat.com>
  6057. * config/romp/xm-rtbsd.h: Delete file.
  6058. * config/romp/rtbsd.mh: Delete file.
  6059. 2002-06-18 Keith Seitz <keiths@redhat.com>
  6060. * breakpoint.c (condition_command): Post breakpoint_modify
  6061. when a condition is added to an existing breakpoint.
  6062. (commands_command): Likewise for commands.
  6063. (set_ignore_count): Likewise for ignore counts.
  6064. If no tty, do not simply return, still need to send event
  6065. notification.
  6066. (ignore_command): Only print a newline if the command came
  6067. from a tty.
  6068. Don't call breakpoints_changed, since this is now properly
  6069. handled by set_ignore_count.
  6070. 2002-06-18 Andrew Cagney <cagney@redhat.com>
  6071. * MAINTAINERS: Note that cris-elf target can be compiled with
  6072. -Werror.
  6073. * cris-tdep.c (cris_register_name): Make return type constant.
  6074. (cris_breakpoint_from_pc): Ditto.
  6075. 2002-06-18 Michal Ludvig <mludvig@suse.cz>
  6076. * frame.h (struct frame_info): Change type of context to
  6077. 'struct context'.
  6078. 2002-06-17 Andrew Cagney <cagney@redhat.com>
  6079. * gdbarch.sh (REGISTER_NAME): Change return type a constant string
  6080. pointer.
  6081. * gdbarch.h, gdbarch.c: Regenerate.
  6082. * config/mips/tm-mips.h (mips_register_name): Update.
  6083. * i386-tdep.h (i386_register_name): Update.
  6084. * mips-tdep.c (mips_register_name): Update
  6085. * alpha-tdep.c (alpha_register_name): Update.
  6086. * arch-utils.c (legacy_register_name): Update.
  6087. * arch-utils.h (legacy_register_name): Update.
  6088. * avr-tdep.c (avr_register_name): Update.
  6089. * ia64-tdep.c (ia64_register_name): Update.
  6090. * i386-tdep.c (i386_register_name): Update.
  6091. * sparc-tdep.c (sparc32_register_name): Update.
  6092. (sparc64_register_name): Update.
  6093. (sparclite_register_name): Update.
  6094. (sparclet_register_name): Update.
  6095. * sh-tdep.c (sh_generic_register_name): Update.
  6096. (sh_sh_register_name): Update.
  6097. (sh_sh3_register_name): Update.
  6098. (sh_sh3e_register_name): Update.
  6099. (sh_sh_dsp_register_name): Update.
  6100. (sh_sh3_dsp_register_name): Update.
  6101. (sh_sh4_register_name): Update.
  6102. (sh_sh64_register_name): Update.
  6103. * s390-tdep.c (s390_register_name): Update.
  6104. * rs6000-tdep.c (rs6000_register_name): Update.
  6105. * ns32k-tdep.c (ns32k_register_name_32082): Update.
  6106. (ns32k_register_name_32382): Update.
  6107. * d10v-tdep.c (d10v_ts2_register_name): Update.
  6108. (d10v_ts3_register_name): Update.
  6109. * xstormy16-tdep.c (xstormy16_register_name): Update.
  6110. * vax-tdep.c (vax_register_name): Update.
  6111. * v850-tdep.c (v850_register_name): Update.
  6112. * m68hc11-tdep.c (m68hc11_register_name): Update.
  6113. * mn10300-tdep.c (mn10300_generic_register_name): Update.
  6114. (am33_register_name): Update.
  6115. 2002-06-17 Grace Sainsbury <graces@redhat.com>
  6116. * m68k-tdep.c: Reindented.
  6117. 2002-06-17 Andrew Cagney <ac131313@redhat.com>
  6118. * gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the
  6119. list of predefined types.
  6120. 2002-06-16 Mark Kettenis <kettenis@gnu.org>
  6121. * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE,
  6122. REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
  6123. REGISTER_CONVERT_TO_RAW): Remove defines.
  6124. (i386_register_virtual_type, i386_register_convertible,
  6125. i386_register_convert_to_virtual, i386_register_convert_to_raw):
  6126. Remove prototypes.
  6127. * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the
  6128. macros mentioned above.
  6129. * config/i386/tm-i386lynx.h (SAVED_PC_AFTER_CALL): Remove define.
  6130. (i386lynx_saved_pc_after_call): Remove prototype.
  6131. * i386ly-tdep.c: Include "i386-tdep.h".
  6132. (i386lynx_saved_pc_after_call): Make static. Use
  6133. read_memory_nobpt instead of read_memory. Use
  6134. read_memory_unsigned_integer instead of read_memory_integer.
  6135. (i386lynx_init_abi): New function.
  6136. (i386lynx_coff_osabi_sniffer): New function.
  6137. (_initialize_i386bsd_tdep): New function.
  6138. * config/i386/tm-i386.h (PARM_BOUNDARY, CALL_DUMMY,
  6139. CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET,
  6140. CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Remove defines.
  6141. (i386_fix_call_dummy): Remove prototype.
  6142. * i386-tdep.c (i386_call_dummy_words): New variable.
  6143. (i386_gdbarch_init): Adjust for removal of the
  6144. macros mentioned above.
  6145. 2002-06-15 Andrew Cagney <ac131313@redhat.com>
  6146. * command.h (add_setshow_auto_boolean_cmd): Replace
  6147. add_set_auto_boolean_cmd.
  6148. * cli/cli-decode.c (add_setshow_auto_boolean_cmd): Replace
  6149. add_set_auto_boolean_cmd.
  6150. * cli/cli-decode.h (add_set_auto_boolean_cmd): Delete declaration.
  6151. * mips-tdep.c (_initialize_mips_tdep): Update ``set mips
  6152. mask-address'' command.
  6153. (show_mask_address): Add cmd parameter.
  6154. * remote.c (add_packet_config_cmd): Update. Change type of
  6155. set_func and show_func to cmd_sfunc_ftype.
  6156. (_initialize_remote): Update `set remote Z-packet'
  6157. (show_remote_protocol_qSymbol_packet_cmd): Add cmd parameter.
  6158. (show_remote_protocol_e_packet_cmd): Ditto.
  6159. (show_remote_protocol_E_packet_cmd): Ditto.
  6160. (show_remote_protocol_P_packet_cmd): Ditto.
  6161. (show_remote_protocol_Z_software_bp_packet_cmd): Ditto.
  6162. (show_remote_protocol_Z_hardware_bp_packet_cmd): Ditto.
  6163. (show_remote_protocol_Z_write_wp_packet_cmd): Ditto.
  6164. (show_remote_protocol_Z_read_wp_packet_cmd): Ditto.
  6165. (show_remote_protocol_Z_access_wp_packet_cmd): Ditto.
  6166. (show_remote_protocol_Z_packet_cmd): Ditto.
  6167. (show_remote_protocol_binary_download_cmd): Ditto.
  6168. (show_remote_cmd): Pass NULL to all of above.
  6169. 2002-06-15 Mark Kettenis <kettenis@gnu.org>
  6170. * config/i386/tm-i386.h (PUSH_ARGUMENTS, STORE_STRUCT_RETURN,
  6171. DEPRECATED_EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE,
  6172. DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, PUSH_DUMMY_FRAME,
  6173. POP_FRAME): Remove defines.
  6174. (i386_push_arguments, i386_store_struct_return,
  6175. i386_extract_return_value, i386_store_return_value,
  6176. i386_extract_struct_value_address, i386_push_dummy_frame,
  6177. i386_pop_frame): Renove prototypes.
  6178. * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the
  6179. macros mentioned above.
  6180. 2002-06-15 Andrew Cagney <ac131313@redhat.com>
  6181. * cli/cli-decode.c (add_setshow_boolean_cmd): Replace
  6182. add_set_boolean_cmd.
  6183. (add_setshow_cmd): New function.
  6184. * command.h (add_setshow_boolean_cmd): Replace
  6185. add_set_boolean_cmd.
  6186. * remote-rdi.c (_initialize_remote_rdi): Update ``set rdiheartbeat''
  6187. and ``set rdiromatzero''.
  6188. * maint.c (_initialize_maint_cmds): Update commented out code.
  6189. * cli/cli-decode.h (add_set_boolean_cmd): Delete declaration.
  6190. * target.c (initialize_targets): Update `set
  6191. trust-readonly-sections'.
  6192. * remote.c (_initialize_remote): Update `set remotebreak'.
  6193. 2002-06-15 Mark Kettenis <kettenis@gnu.org>
  6194. * config/i386/tm-i386.h (FUNCTION_START_OFFSET, INNER_THAN,
  6195. BREAKPOINT, DECR_PC_AFTER_BREAK): Removed.
  6196. * i386-tdep.c (i386_skip_prologue): Adjust function signature to
  6197. fit into multi-arch framework.
  6198. (i386_breakpoint_from_pc): New function.
  6199. (i386_gdbarch_init): Adjust for removal of the macros mentioned
  6200. above.
  6201. * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION,
  6202. FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS,
  6203. FRAME_ARGS_SKIP, FRAME_INIT_SAVED_REGS): Remove defines.
  6204. (i386_frameless_function_invocation, i386_frame_num_args,
  6205. i386_frame_init_saved_regs): Remove prototypes.
  6206. * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the
  6207. macros mentioned above.
  6208. 2002-06-15 Andrew Cagney <ac131313@redhat.com>
  6209. * cli/cli-decode.c (set_cmd_cfunc): Update.
  6210. (set_cmd_sfunc): Update.
  6211. * command.h (cmd_cfunc_ftype, cmd_sfunc_ftype): Declare.
  6212. (set_cmd_sfunc, set_cmd_cfunc): Update.
  6213. * cli/cli-decode.h: Update.
  6214. 2002-06-15 Mark Kettenis <kettenis@gnu.org>
  6215. * i386-sol2-tdep.c (i386_sol2_osabi_sniffer): New function.
  6216. (_initialize_i386_sol2_tdep): Register i386_sol2_osabi_sniffer.
  6217. 2002-06-15 Andrew Cagney <ac131313@redhat.com>
  6218. * defs.h (auto_boolean): Declare enum.
  6219. * command.h (cmd_auto_boolean): Delete enum.
  6220. * mips-tdep.c (mask_address_var): Update.
  6221. (mips_mask_address_p): Update.
  6222. (show_mask_address): Update.
  6223. * remote.c (struct packet_config): Update.
  6224. (update_packet_config): Update.
  6225. (show_packet_config_cmd): Update.
  6226. (packet_ok): Update.
  6227. (add_packet_config_cmd): Update.
  6228. (_initialize_remote):
  6229. * command.h: Update.
  6230. * cli/cli-setshow.c (parse_auto_binary_operation): Update.
  6231. (do_setshow_command): Update.
  6232. * cli/cli-decode.c (add_set_auto_boolean_cmd): Update.
  6233. * cli/cli-decode.h: Update.
  6234. 2002-06-15 Mark Kettenis <kettenis@gnu.org>
  6235. * config/i386/tm-cygwin.h, config/i386/tm-fbsd.h,
  6236. config/i386/tm-go32.h, config/i386/tm-i386gnu.h,
  6237. config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h,
  6238. config/i386/tm-linux.h, config/i386/tm-nbsd.h,
  6239. config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define.
  6240. * config/i386/tm-i386.h: Unconditionally define FLOAT_INFO.
  6241. * i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the
  6242. list of DJGPP COFF targets.
  6243. * config/i386/tm-i386.h (REGISTER_SIZE): Remove define.
  6244. (NUM_GREGS, NUM_FREGS, NUM_SSE_REGS): Remove defines.
  6245. (FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove defines.
  6246. (FP0_REGNUM): Remove define.
  6247. (MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE,
  6248. MAX_REGISTER_VIRTUAL_SIZE): Remove define.
  6249. (i386_register_virtual_size): Remove protoype.
  6250. * i386-tdep.c (i386_register_virtual_size): Removed.
  6251. (i386_extract_return_value, i386_store_return_value): Use
  6252. FP0_REGNUM instead of NUM_FREGS to determine whether the
  6253. floating-point registers are available.
  6254. (i386_gdbarch_init): Tweak FIXME about FPU registers.
  6255. Adjust for removal of macros mentioned above.
  6256. 2002-06-15 Mark Kettenis <kettenis@gnu.org>
  6257. * i386v4-nat.c: Include "i386-tdep.h". Reformat and tweak various
  6258. comments.
  6259. (fill_gregset, supply_gregset, supply_fpregset, fill_fpregset):
  6260. Remove prototypes.
  6261. (supply_gregset, fill_gregset): Remove use of register keyword and
  6262. remove declaration for regmap. Use I386_NUM_GREGS instead of
  6263. NUM_REGS and NUM_FREGS.
  6264. (FPREGSET_FSAVE_OFFSET): Remove.
  6265. (supply_fpregset, fill_fpregset): Use FPO_REGNUM instead of
  6266. NUM_FREGS to determine whether the floating-point registers are
  6267. available.
  6268. * i386gnu-nat.c (supply_gregset, gnu_fetch_registers,
  6269. gnu_store_registers): Replace usage of NUM_GREGS with
  6270. I386_NUM_GREGS.
  6271. * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER,
  6272. OLD_CANNOT_STORE_REGISTER, supply_gregset, fill_gregset): Replace
  6273. usage of NUM_GREGS with I386_NUM_GREGS.
  6274. * i386-linux-nat.c (fill_gregset): Remove redundant parentheses.
  6275. * i386bsd-nat.c: Include "i386-tdep.h".
  6276. (supply_gregset, fill_gregset): Replace usage of NUM_GREGS with
  6277. I386_NUM_GREGS.
  6278. * i386v-nat.c: Remove copnditional inclusion of <asm/debugreg.h>,
  6279. and associated comment. They no longer make any sense, since we
  6280. don't use this file anymore on Linux.
  6281. * config/i386/tm-i386.h (MAX_NUM_REGS): Removed.
  6282. * i386-tdep.c (i386_register_offset, i386_register_size): Use
  6283. I386_SSE_NUM_REGS instead of MAX_NUM_REGS for the number of
  6284. elements in these arrays.
  6285. (_initialize_i386_tdep): Use I386_SSE_NUM_REGS instead of
  6286. MAX_NUM_REGS.
  6287. 2002-06-15 Mark Kettenis <kettenis@gnu.org>
  6288. * osabi.h (gdb_osabi): Add GDB_OSABI_LYNXOS.
  6289. * osabi.c (gdb_osabi_names): Add entry for "LynxOS".
  6290. 2002-06-14 Andrew Cagney <cagney@redhat.com>
  6291. * gdbarch.sh (DEPRECATED_EXTRACT_RETURN_VALUE): Rename
  6292. EXTRACT_RETURN_VALUE.
  6293. (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Rename
  6294. EXTRACT_STRUCT_VALUE_ADDRESS.
  6295. * gdbarch.h, gdbarch.c: Regenerate.
  6296. * values.c (value_being_returned): Handle
  6297. DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
  6298. (EXTRACT_RETURN_VALUE): Define as DEPRECATED_EXTRACT_RETURN_VALUE.
  6299. * arm-linux-tdep.c (arm_linux_init_abi): Update.
  6300. * arm-tdep.c (arm_gdbarch_init): Update.
  6301. * avr-tdep.c (avr_gdbarch_init): Update.
  6302. * cris-tdep.c (cris_gdbarch_init): Update.
  6303. * d10v-tdep.c (d10v_gdbarch_init): Update.
  6304. * ia64-tdep.c (ia64_gdbarch_init): Update.
  6305. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  6306. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  6307. * s390-tdep.c (s390_gdbarch_init): Update.
  6308. * sh-tdep.c (sh_gdbarch_init): Update.
  6309. * s390-tdep.c (s390_gdbarch_init): Update.
  6310. * sparc-tdep.c (sparc_gdbarch_init): Update.
  6311. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  6312. * v850-tdep.c (v850_gdbarch_init): Update.
  6313. * vax-tdep.c (vax_gdbarch_init): Update.
  6314. * x86-64-tdep.c (x86_64_gdbarch_init): Update.
  6315. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  6316. * config/arc/tm-arc.h: Update.
  6317. * config/d30v/tm-d30v.h: Update.
  6318. * config/fr30/tm-fr30.h: Update.
  6319. * config/h8300/tm-h8300.h: Update.
  6320. * config/h8500/tm-h8500.h: Update.
  6321. * config/i386/tm-i386.h: Update.
  6322. * config/i386/tm-ptx.h: Update.
  6323. * config/i386/tm-symmetry.h: Update.
  6324. * config/i960/tm-i960.h: Update.
  6325. * config/m32r/tm-m32r.h: Update.
  6326. * config/m68k/tm-delta68.h: Update.
  6327. * config/m68k/tm-linux.h: Update.
  6328. * config/m68k/tm-m68k.h: Update.
  6329. * config/m88k/tm-m88k.h: Update.
  6330. * config/mcore/tm-mcore.h: Update.
  6331. * config/mips/tm-mips.h: Update.
  6332. * config/mn10200/tm-mn10200.h: Update.
  6333. * config/pa/tm-hppa.h: Update.
  6334. * config/pa/tm-hppa64.h: Update.
  6335. * config/sparc/tm-sp64.h: Update.
  6336. * config/sparc/tm-sparc.h: Update.
  6337. * config/sparc/tm-sparclet.h: Update.
  6338. * config/z8k/tm-z8k.h: Update.
  6339. 2002-06-14 Andrew Cagney <cagney@redhat.com>
  6340. * Makefile.in (i386_linux_tdep_h): Define.
  6341. (i386_tdep_h, i387_tdep_h): Define.
  6342. (i386-linux-nat.o): Add $(i386_linux_tdep_h),
  6343. $(i386_tdep_h) and $(i387_tdep_h).
  6344. * i386-linux-nat.c: Include "i386-linux-tdep.h".
  6345. 2002-06-14 Mark Kettenis <kettenis@gnu.org>
  6346. * config/i386/tm-i386.h (START_INFERIOR_TRAPS_EXPECTED): Removed.
  6347. Already covered by the default.
  6348. * config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT,
  6349. TARGET_LONG_DOUBLE_BIT): Remove. * i386-tdep.c
  6350. (i386_gdbarch_init): Initialize long_double_format and long_double
  6351. bit.
  6352. * config/i386/i386sol2.mt (TDEPFILES): Add i386-sol2-tdep.o and
  6353. i386bsd-tdep.o. Remove solib.o, solib-svr4.o and solib-legacy.o.
  6354. Move these to ...
  6355. * config/i386/i386sol2.mh: ... here.
  6356. * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Remove define.
  6357. (sigtramp_saved_pc, I386V4_SIGTRAMP_SAVED_PC): Don't #undef.
  6358. (SIGCONTEXT_PC_OFFSET): Remove define.
  6359. (IN_SIGTRAMP): Remove define.
  6360. * i386-sol2-tdep.c: New file.
  6361. * config/i386/i386nw.mt (TM_FILE): Change to tm-i386.h.
  6362. * config/i386/tm-i386nw.h: Removed.
  6363. * config/i386/tm-fbsd.h (STAB_REG_TO_REGNUM,
  6364. USE_STRUCT_CONVENTION): Remove defines.
  6365. (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines.
  6366. (get_longjmp_target): Remove prototype.
  6367. (IN_SIGTRAMP): Remove define.
  6368. (i386bsd_in_sigtramp): Remove prototype.
  6369. (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a
  6370. function. Update comment accordingly
  6371. (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly.
  6372. (FRAME_SAVED_PC): Remove define.
  6373. (i386bsd_frame_saved_pc): Remove prototype.
  6374. * config/i386/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC,
  6375. GET_LONGJMP_TARGET): Remove defines.
  6376. (get_longjmp_target): Remove prototype.
  6377. (IN_SIGTRAMP): Remove define.
  6378. (i386bsd_in_sigtramp): Remove prototype.
  6379. (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a
  6380. function. Update comment accordingly
  6381. (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly.
  6382. (FRAME_SAVED_PC): Remove define.
  6383. (i386bsd_frame_saved_pc): Remove prototype.
  6384. * config/i386/tm-nbsdaout.h (i386nbsd_aout_use_struct_convention):
  6385. Remove prototype.
  6386. (USE_STRUCT_CONVENTION): Remove prototype.
  6387. * i386bsd-nat.c (i386bsd_sigcontext_pc_offset): Remove
  6388. declaration.
  6389. (_initialize_i386bsd_nat): Revise logic to determine some
  6390. constants at compile time when compiling a native GDB. Warn if
  6391. things don't match up with what we expect.
  6392. * i386bsd-tdep.c (i386bsd_sigtramp_start, i386bsd_sigtramp_end):
  6393. Remove variables.
  6394. (i386bsd_in_sigtramp): Rename tp i386bsd_pc_in_sigtramp. Rewrite
  6395. to use date stored in `struct gdbarch_tdep'.
  6396. (i386bsd_sigcontext_offset): Remove varaible.
  6397. (i386bsd_sigtramp_saved_pc): Make public. Rewrite to use data
  6398. stored in `struct gdbarch_tdep'.
  6399. (i386bsd_frame_saved_pc): Make static.
  6400. (i386bsd_sigtramp_start, i386bsd_sigtramp_end): New functions.
  6401. (i386bsd_sc_pc_offset, i386nbsd_sc_pc_offset,
  6402. i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
  6403. i386fbsd4_sc_pc_offset): New variables.
  6404. (i386bsd_init_abi, i386nbsd_init_abi, i386nbsdelf_init_abi,
  6405. i386fbsdaout_init_abi, i386fbsd_init_abi, i386fbsd4_init_abi): New
  6406. functions.
  6407. (i386bsd_aout_osabi_sniffer, _initialize_i386bsd_tdep): New
  6408. functions.
  6409. * i386fbsd-nat.c (_initialize_i386fbsd_nat): Fix type in comment.
  6410. Modify the value of i386fbsd_sigtramp_start and
  6411. i386fbsd_sigtramp_end instead of i386bsd_sigtramp_start and
  6412. i386fbsd_sigtramp_end.
  6413. * i386nbsd-tdep.c: (i386nbsd_aout_use_struct_convention): Remove
  6414. function.
  6415. * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Move
  6416. define to i386-linux-tdep.h.
  6417. (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME,
  6418. REGISTER_BYTE, REGISTER_RAW_SIZE, STAB_REG_TO_REGNUM): Remove
  6419. defines.
  6420. (i386_linux_register_name, i386_linux_register_byte,
  6421. i386_linux_register_raw_size): Remove prototypes.
  6422. (i386_linux_svr4_fetch_link_map_offsets): Remove prototype.
  6423. (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define.
  6424. (IN_SIGTRAMP, FRAME_CHAIN, FRAME_SAVED_PC, SAVED_PC_AFTER_CALL,
  6425. TARGET_WRITE_PC): Remove defines.
  6426. (i386_linux_in_sigtramp, i386_linux_frame_chain,
  6427. i386_linux_frame_saved_pc, i386_linux_saved_pc_after_call,
  6428. i386_linux_write_pc): Remove prototypes.
  6429. (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines.
  6430. (get_longjmp_target): Remove prototype.
  6431. * i386-linux-tdep.h: New file.
  6432. * i386-linux-nat.c: Include "i386-linux-tdep.h".
  6433. * i386-linux-tdep.c: Include "i386-tdep.h" and
  6434. "i386-linux-tdep.h".
  6435. (i386_linux_register_name, i386_linux_register_byte,
  6436. i386_linux_register_raw_size, i386_linux_in_sigtramp,
  6437. i386_linux_write_pc, i386_linux_svr4_fetch_link_map_offsets):
  6438. Make static.
  6439. (i386_linux_init_abi): New function.
  6440. (_initialize_i386_linux_tdep): New function.
  6441. * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Remove define.
  6442. (i386_saved_pc_after_call): Remove prototype.
  6443. (MAX_NUM_REGS): Increase to deal with Linux's orig_eax "register".
  6444. (REGISTER_NAME, STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
  6445. DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): Remove defines.
  6446. (i386_register_name, i386_stab_reg_to_regnum,
  6447. i386_dwarf_reg_to_regnum): Remove prototypes.
  6448. (SIZEOF_GREGS, SIZEOF_FPU_REGS, SIZEOF_FPU_CTL_REGS,
  6449. SIZEOF_SSE_REGS): Remove defines.
  6450. (REGISTER_BYTES): Remove define.
  6451. (REGISTER_BYTE, REGISTER_RAW_SIZE): Remove defines.
  6452. (i386_register_byte, i386_register_raw_size): Remove prototypes.
  6453. (FRAME_CHAIN, FRAME_SAVED_PC): Remove defines.
  6454. (i386_frame_chain, i386_frame_saved_pc): Remove prototypes.
  6455. * config/i386/tm-i386v4.h (FRAME_CHAIN_VALID): Remove define.
  6456. (JB_ELEMENT_SIZE, JB_PC, JB_EBX, JB_ESI, JB_EDI, JB_EBP, JB_ESP,
  6457. JB_EDX, GET_LONGJMP_TARGET): Remove defines.
  6458. (get_longjmp_target): Remove prototype.
  6459. (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP): Remove defines.
  6460. (sigtramp_saved_pc): Remove define.
  6461. (i386v4_sigtramp_saved_pc): Remove prototype.
  6462. * config/i386/tm-go32.h (FRAME_CHAIN,
  6463. FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): Remove defines.
  6464. (i386go32_frame_saved_pc): Remove prototype.
  6465. (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines.
  6466. (get_longjmp_target): Remove prototype.
  6467. * i386-tdep.h: Include "osabi.h".
  6468. (enum i386_abi): Removed.
  6469. (enum struct_return): New enum.
  6470. (struct gdbarch_tdep): Remove abi member, add osabi, jb_pc_offset,
  6471. struct_return, sigtramp_saved_pc, sigtramp_start, sigtramp_end and
  6472. sc_pc_offset members.
  6473. (i386_gdbarch_register_os_abi): Remove prototype.
  6474. (I386_NUM_GREGS, I386_NUM_FREGS, I386_NUM_XREGS,
  6475. I386_SSE_NUM_REGS): New defines.
  6476. (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS,
  6477. I386_SSE_SIZEOF_REGS): New defines.
  6478. (i386_register_name, i386_register_byte, i386_register_raw_size):
  6479. New prototypes.
  6480. (i386_elf_init_abi, i386_svr4_init_abi): New prototypes.
  6481. (i386bsd_sigtramp_saved_pc): New prototype.
  6482. * i386-tdep.c: Don't include "elf-bfd.h".
  6483. (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum,
  6484. i386_frame_chain, i386_saved_pc_after_call): Make static.
  6485. (i386_frame_saved_pc): Rewrite to call architecture dependent
  6486. function to deal with signal handlers. Make static.
  6487. (i386go32_frame_saved_pc): Removed.
  6488. [GET_LONGJMP_TARGET] (JB_PC, JB_ELEMENT_SIZE, get_longjmp_target):
  6489. Removed.
  6490. (i386_get_longjmp_target): New function.
  6491. (default_struct_convention, pcc_struct_convention,
  6492. reg_struct_convention, valid_conventions, struct_convention): New
  6493. variables.
  6494. (i386_use_struct_convention): New function.
  6495. (i386v4_sigtramp_saved_pc): Renamed to
  6496. i386_svr4_sigtramp_saved_pc. Made static. Moved.
  6497. (i386_pc_in_sigtramp): New function.
  6498. (i386_abi_names): Removed.
  6499. (ABI_TAG_OS_GNU_LINUX, ABI_TAG_OS_GNU_HURD,
  6500. ABI_TAG_OS_GNU_SOLARIS, ABI_TAG_OS_FREEBSD, ABI_TAG_OS_NETBSD):
  6501. Removed.
  6502. (process_note_sections, i386_elf_abi_from_note, i386_elf_abi,
  6503. i386_gdbarch_register_os_abi): Removed.
  6504. (struct i386_abi_handler): Removed.
  6505. (i386_abi_handler_list): Removed.
  6506. (i386_svr4_pc_in_sigtramp, i386_go32_pc_in_sigtramp): New
  6507. functions.
  6508. (i386_elf_init_abi, i386_svr4_init_abi, i386_go32_init_abi,
  6509. i386_nw_init_abi): New functions.
  6510. (i386_gdbarch_init): Rewritten to use generic OS ABI framework.
  6511. Use set_gdbarch_xxx() calls instead of relying on macros for a
  6512. number of calls.
  6513. (i386_coff_osabi_sniffer, i386_nlm_osabi_sniffer): New functions.
  6514. (_initialize_i386_tdep): Add new 'struct-convcention' command.
  6515. Register the various architecture variants defined in this file.
  6516. 2002-06-14 Daniel Jacobowitz <drow@mvista.com>
  6517. * gdbtypes.h (TYPE_FLAG_VARARGS): Update comment.
  6518. (struct main_type): Remove arg_types member. Update comments for
  6519. struct field.
  6520. (TYPE_ARG_TYPES): Remove.
  6521. (TYPE_FN_FIELD_ARGS): Update.
  6522. (smash_to_method_type): Update prototype.
  6523. * c-typeprint.c (cp_type_print_method_args): Take method type
  6524. instead of argument list. Use new argument layout. Simplify.
  6525. (c_type_print_args): Use new argument layout. Simplify.
  6526. (c_type_print_base): Update call to cp_type_print_method_args.
  6527. * dwarf2read.c (dwarf2_add_member_fn): Remove unneeded type
  6528. argument; use die->type instead. Update call to
  6529. smash_to_method_type.
  6530. (read_structure_scope): Update call to dwarf2_add_member_fn.
  6531. * gdbtypes.c (allocate_stub_method): Update comment.
  6532. (smash_to_method_type): Take new NARGS and VARARGS arguments.
  6533. Use new argument layout.
  6534. (check_stub_method): Use new argument layout. Don't count
  6535. void as an argument.
  6536. (print_arg_types): Update comments. Use new argument layout.
  6537. (recursive_dump_type): Don't print arg_types member.
  6538. * hpread.c (hpread_read_struct_type): Use new argument layout.
  6539. (fixup_class_method_type): Likewise.
  6540. (hpread_type_lookup): Likewise.
  6541. * stabsread.c (read_type): Update calls to read_args and
  6542. smash_to_method_type.
  6543. (read_args): Use new argument layout. Simplify.
  6544. * valops.c (typecmp): Use new argument layout. Update parameters
  6545. and comments. Simplify.
  6546. (hand_function_call): Use new argument layout.
  6547. (search_struct_method): Update call to typecmp.
  6548. (find_overload_match): Use new argument layout.
  6549. 2002-06-13 Daniel Jacobowitz <drow@mvista.com>
  6550. * NEWS: Mention multithreaded debug support for gdbserver.
  6551. 2002-06-13 Daniel Jacobowitz <drow@mvista.com>
  6552. * MAINTAINERS: Mention NEWS.
  6553. 2002-06-13 Daniel Jacobowitz <drow@mvista.com>
  6554. * mips-tdep.c (PROC_SYMBOL): Add warning comment.
  6555. (struct mips_objfile_private, compare_pdr_entries): New.
  6556. (non_heuristic_proc_desc): Read the ".pdr" section if it
  6557. is present.
  6558. 2002-06-12 Andrew Cagney <ac131313@redhat.com>
  6559. * arm-tdep.c (arm_push_arguments): Rewrite using a two-pass loop.
  6560. (arm_debug): New static variable.
  6561. (_initialize_arm_tdep): Add ``set debug arm'' command.
  6562. 2002-06-12 Andrew Cagney <ac131313@redhat.com>
  6563. * Makefile.in (sim_arm_h): Define.
  6564. (arm-tdep.o): Add $(sim_arm_h) and $(gdb_assert_h).
  6565. * arm-tdep.c: Include "gdb/sim-arm.h" and "gdb_assert.h".
  6566. (arm_register_sim_regno): New function, map an internal REGNUM
  6567. onto a simulator register number.
  6568. (arm_gdbarch_init): Set register_sim_regno.
  6569. 2002-06-09 Aldy Hernandez <aldyh@redhat.com>
  6570. * MAINTAINERS: Add self.
  6571. 2002-06-11 Jim Blandy <jimb@redhat.com>
  6572. * source.c (source_info): Mention whether the symtab has
  6573. information about preprocessor macros.
  6574. Call the command `info macro', not `show macro'.
  6575. * macrocmd.c (info_macro_command): Renamed from `show_macro_command'.
  6576. Fix error message.
  6577. (_initialize_macrocmd): Register `info_macro_command' in
  6578. `infolist', not `showlist'.
  6579. 2002-06-11 Daniel Jacobowitz <drow@mvista.com>
  6580. * mips-tdep.c (MIPS_FPU_TYPE, FP_REGISTER_DOUBLE, MIPS_EABI)
  6581. (MIPS_LAST_FP_ARG_REGNUM, MIPS_LAST_ARG_REGNUM)
  6582. (MIPS_DEFAULT_SAVED_REGSIZE, MIPS_REGS_HAVE_HOME_P)
  6583. (MIPS_DEFAULT_STACK_ARGSIZE, GDB_TARGET_IS_MIPS64)
  6584. (MIPS_DEFAULT_MASK_ADDRESS_P): Remove obsolete definitions. Define
  6585. unconditionally.
  6586. (set_mipsfpu_single_command, set_mipsfpu_double_command)
  6587. (set_mipsfpu_none_command): Remove if (GDB_MULTI_ARCH).
  6588. (_initialize_mips_tdep): Remove dead code.
  6589. * config/mips/tm-irix5.h (MIPS_LAST_ARG_REGNUM)
  6590. (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove.
  6591. * config/mips/tm-irix6.h (MIPS_LAST_ARG_REGNUM)
  6592. (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove.
  6593. * config/mips/tm-mips.h (MIPS_EABI, MIPS_LAST_ARG_REGNUM,
  6594. MIPS_LAST_FP_ARG_REGNUM): Remove.
  6595. 2002-06-11 Michal Ludvig <mludvig@suse.cz>
  6596. * dwarf2cfi.c (unwind_tmp_obstack_init): New.
  6597. (unwind_tmp_obstack_free, parse_frame_info)
  6598. (update_context, cfi_read_fp, cfi_write_fp)
  6599. (cfi_frame_chain, cfi_init_extra_frame_info)
  6600. (cfi_virtual_frame_pointer): Use the above function.
  6601. * dwarf2cfi.c: Reindented (using 'indent dwarf2cfi.c').
  6602. 2002-06-11 Corinna Vinschen <vinschen@redhat.com>
  6603. * v850-tdep.c (v850_type_is_scalar): New function.
  6604. (v850_use_struct_convention): Match current gcc implementation
  6605. as close as possible.
  6606. (v850_push_arguments): Fix stack_offset handling. Don't write
  6607. struct_addr into register. This is done by v850_store_struct_return.
  6608. (v850_extract_return_value): Care for structs.
  6609. (v850_store_return_value): Ditto.
  6610. (v850_store_struct_return): Actually write address.
  6611. 2002-06-11 Michal Ludvig <mludvig@suse.cz>
  6612. * x86-64-tdep.c (x86_64_skip_prologue): Fix to work on functions
  6613. without debug information too.
  6614. 2002-06-10 Andrew Cagney <ac131313@redhat.com>
  6615. * gdbarch.sh (PRINT_FLOAT_INFO): Add frame and ui_file parameters.
  6616. Make multi-arch pure.
  6617. * gdbarch.h, gdbarch.c: Re-generate.
  6618. * arm-tdep.c (arm_print_float_info): Update.
  6619. * arch-utils.h (default_print_float_info): Update.
  6620. * arch-utils.c (default_print_float_info): Update.
  6621. * infcmd.c (float_info): Update call.
  6622. 2002-06-10 Andrew Cagney <ac131313@redhat.com>
  6623. * Makefile.in (init.c): Move the call to _initialize_gdbtypes to
  6624. the front of the initialize list.
  6625. 2002-06-10 Andrew Cagney <ac131313@redhat.com>
  6626. * infrun.c (struct inferior_status): Replace fields
  6627. selected_frame_address and selected_level with field
  6628. selected_frame_id.
  6629. (save_inferior_status): Update. Use get_frame_id.
  6630. (struct restore_selected_frame_args): Delete.
  6631. (restore_selected_frame): Update. Use frame_find_by_id.
  6632. (restore_inferior_status): Update.
  6633. * breakpoint.h (struct breakpoint): Change type of
  6634. watchpoint_frame to frame_id.
  6635. * breakpoint.c (insert_breakpoints): Use frame_find_by_id. Remove
  6636. call to get_current_frame.
  6637. (do_enable_breakpoint): Use frame_find_by_id. Remove call to
  6638. get_current_frame.
  6639. (watchpoint_check): Use frame_find_by_id.
  6640. * frame.h (record_selected_frame): Delete declaration.
  6641. * stack.c (record_selected_frame): Delete function.
  6642. * frame.h (struct frame_id): Define.
  6643. (get_frame_id): Declare.
  6644. (frame_find_by_id): Declare.
  6645. * frame.c (frame_find_by_id): New function.
  6646. (get_frame_id): New function.
  6647. 2002-06-10 Andrey Volkov <avolkov@transas.com>
  6648. * ser-e7kpc.c: Fix duplicated define and call of
  6649. _initialize_ser_e7000pc
  6650. 2002-06-09 Daniel Jacobowitz <drow@mvista.com>
  6651. * signals/signals.c (target_signal_from_host): Fix #ifdef
  6652. SIGRTMIN case.
  6653. (do_target_signal_to_host): Likewise.
  6654. 2002-06-09 Daniel Jacobowitz <drow@mvista.com>
  6655. * mips-tdep.c (mips_find_abi_section): New function.
  6656. (mips_gdbarch_init): Call it.
  6657. 2002-06-09 Mark Kettenis <kettenis@gnu.org>
  6658. * solib-svr4.c (init_fetch_link_map_offsets): Simply return
  6659. legacy_fetch_link_map_offsets. Adjust comment to reflect reality
  6660. after Andrew's 2002-06-08 gdbarch change.
  6661. 2002-06-09 Mark Kettenis <kettenis@gnu.org>
  6662. * i386-linux-nat.c (suppy_gregset): Don't supply
  6663. I386_LINUX_ORIG_EAX_REGNUM if there isn't room for it in GDB's
  6664. register cache.
  6665. (fill_gregset): Don't fetch it under the same circumstances.
  6666. 2002-06-09 Andrew Cagney <cagney@redhat.com>
  6667. * Makefile.in (callback_h): Define.
  6668. (remote_sim_h): Update path to remote-sim.h.
  6669. (remote-rdp.o): Add $(callback_h).
  6670. (remote-sim.o): Use $(callback_h).
  6671. * remote-sim.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
  6672. * remote-rdp.c: Include "gdb/callback.h".
  6673. 2002-06-09 Mark Kettenis <kettenis@gnu.org>
  6674. * osabi.h (gdb_osabi): Add GDB_OSABI_GO32 and GDB_OSABI_NETWARE.
  6675. * osabi.c (gdb_osabi_names): Add "DJGPP" and "NetWare".
  6676. 2002-06-08 Andrew Cagney <ac131313@redhat.com>
  6677. * sparcl-tdep.c: Use __CYGWIN__ instead of __CYGWIN32__.
  6678. * rdi-share/serpardr.c: Ditto.
  6679. * rdi-share/unixcomm.c: Ditto.
  6680. * rdi-share/serdrv.c: Ditto.
  6681. * rdi-share/hostchan.h: Ditto.
  6682. * rdi-share/hostchan.c: Ditto.
  6683. * rdi-share/host.h: Ditto.
  6684. * rdi-share/devsw.c: Ditto.
  6685. * objfiles.h: Change type of obj_private to void pointer.
  6686. * pa64solib.c: Update copyright. Don't include "assert.h", use
  6687. strcmp instead of STREQ, use LONGEST, do not use PTR
  6688. * somsolib.c: Ditto.
  6689. * config/djgpp/fnchange.lst: Fix problems with bfd/elf32-i386.c,
  6690. bfd/elf32-i386qnx.c, bfd/elf32-sh.c, bfd/elf32-sh64-nbsd.c,
  6691. bfd/elf64-sh64-nbsd.c bfd/elf64-sh64.c.
  6692. 2002-06-08 Andrew Cagney <ac131313@redhat.com>
  6693. * frame.c (GET_SAVED_REGISTER): Delete macro definition.
  6694. (default_get_saved_register): Delete function.
  6695. * gdbarch.sh (GET_SAVED_REGISTER): Set default to
  6696. generic_unwind_get_saved_register.
  6697. * gdbarch.h, gdbarch.c: Re-generate.
  6698. 2002-06-08 Andrew Cagney <ac131313@redhat.com>
  6699. * gdbarch.sh (FRAME_CHAIN_VALID): Set default to
  6700. generic_func_frame_chain_valid.
  6701. * gdbarch.h, gdbarch.c: Re-generate.
  6702. * blockframe.c (generic_func_frame_chain_valid): Only check
  6703. PC_IN_CALL_DUMMY when generic dummy frames. Don't worry about
  6704. passing FP to PC_IN_CALL_DUMMY.
  6705. Fix PR gdb/360.
  6706. 2002-06-08 Andrew Cagney <ac131313@redhat.com>
  6707. * gdbarch.sh (struct gdbarch_data): Add field init_p.
  6708. (register_gdbarch_data): Initialize init_p.
  6709. (gdbarch_data): Initialize data pointer using the init function.
  6710. (init_gdbarch_data): Delete function.
  6711. (gdbarch_update_p): Update.
  6712. (initialize_non_multiarch): Update.
  6713. (struct gdbarch): Add field initialized_p.
  6714. * gdbarch.h, gdbarch.c: Re-generate.
  6715. 2002-06-07 Michal Ludvig <mludvig@suse.cz>
  6716. * x86-64-linux-nat.c (x86_64_fxsave_offset): New.
  6717. (supply_fpregset, fill_fpregset): Don't call i387_*_fxsave,
  6718. better do the things actually here.
  6719. * x86-64-tdep.c (x86_64_register_name2nr): New.
  6720. (x86_64_register_name): Renamed to x86_64_register_nr2name.
  6721. (x86_64_gdbarch_init): Respect the above change.
  6722. * x86-64-tdep.h (x86_64_register_name2nr)
  6723. (x86_64_register_nr2name): Add prototypes.
  6724. * config/i386/x86-64linux.mt (TDEPFILES): Remove i387-tdep.o.
  6725. 2002-06-06 Michael Snyder <msnyder@redhat.com>
  6726. * d10v-tdep.c (d10v_push_arguments): Handle struct_return.
  6727. Delete extra braces and re-indent.
  6728. (d10v_store_return_value): Char return values
  6729. must be shifted over by one byte in R0.
  6730. (d10v_extract_return_value): Delete extra braces, re-indent.
  6731. 2002-06-06 Elena Zannoni <ezannoni@redhat.com>
  6732. * d10v-tdep.c (d10v_read_sp, d10v_read_fp): Add prototype.
  6733. (d10v_register_virtual_type): Make $fp and $sp be pointer to data.
  6734. (d10v_integer_to_address): Rewrite.
  6735. (d10v_frame_init_saved_regs): When reading fp and sp registers use
  6736. the d10v specific functions which take care of converting to the
  6737. correct space.
  6738. 2002-06-06 Elena Zannoni <ezannoni@redhat.com>
  6739. * config/djgpp/fnchange.lst: Add testsuite files altivec-abi.c,
  6740. altivec-abi.exp, altivec-regs.c, altivec-regs.exp.
  6741. 2002-06-02 Andrew Cagney <ac131313@redhat.com>
  6742. * config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xm
  6743. includes.
  6744. * config/tm-linux.h: Ditto.
  6745. * config/alpha/tm-alphalinux.h: Ditto.
  6746. * config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto.
  6747. * config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto.
  6748. * config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto.
  6749. * config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto.
  6750. * config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto.
  6751. * config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto.
  6752. * config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto.
  6753. * config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto.
  6754. * config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto.
  6755. * config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto.
  6756. * config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto.
  6757. * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto.
  6758. * config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto.
  6759. * config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto.
  6760. * config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto.
  6761. * config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto.
  6762. * config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto.
  6763. * config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto.
  6764. * config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto.
  6765. * config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto.
  6766. * config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto.
  6767. * config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto.
  6768. * config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto.
  6769. * config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto.
  6770. * config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto.
  6771. * config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto.
  6772. * config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto.
  6773. * config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto.
  6774. * config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto.
  6775. * config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto.
  6776. * config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto.
  6777. * config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto.
  6778. * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto.
  6779. * config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto.
  6780. * config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto.
  6781. * config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto.
  6782. * config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto.
  6783. 2002-05-04 Aidan Skinner <aidan@velvet.net>
  6784. * ada-exp.tab.c: New file
  6785. * ada-exp.y: New file
  6786. * ada-lang.c: New file
  6787. * ada-lang.h: New file
  6788. * ada-lex.c: New file
  6789. * ada-lex.l: New file
  6790. * ada-tasks.c: New file
  6791. * ada-typeprint.c: New file
  6792. * ada-valprint.c: New file
  6793. 2002-06-02 Jason Thorpe <thorpej@wasabisystems.com>
  6794. * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set
  6795. use_struct_convention to ppc_sysv_abi_broken_use_struct_convention.
  6796. 2002-06-02 Jason Thorpe <thorpej@wasabisystems.com>
  6797. * config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o
  6798. insetead of ppc-linux-tdep.o.
  6799. * config/rs6000/rs6000.mt (TDEPFILES): Likewise.
  6800. * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise.
  6801. 2002-06-02 Andrew Cagney <ac131313@redhat.com>
  6802. 2002-05-07 Christian Groessler <chris@groessler.org>
  6803. * z8k-tdep.c (z8k_print_register_hook): Fix display of 32 and 64
  6804. bit register contents for little endian hosts.
  6805. 2002-06-01 Andrew Cagney <ac131313@redhat.com>
  6806. * MAINTAINERS: Mention that any `HP/UX reader' can be changed by
  6807. any maintainer.
  6808. 2002-06-01 Andrew Cagney <ac131313@redhat.com>
  6809. * gdbarch.h: Regenerate.
  6810. 2002-06-01 Andrew Cagney <ac131313@redhat.com>
  6811. * MAINTAINERS: Add everyone to write-after-approval list.
  6812. 2002-06-01 Andrew Cagney <ac131313@redhat.com>
  6813. * stack.c (frame_info): Use frame_register_unwind instead of
  6814. saved_regs. Mention when the SP is on the stack or in a register.
  6815. * frame.h (frame_register_unwind_ftype): Define. Document.
  6816. (struct frame_info): Add field register_unwind and
  6817. register_unwind_cache.
  6818. (frame_register_unwind): Declare.
  6819. (generic_unwind_get_saved_register): Declare.
  6820. * frame.c (frame_register_unwind): New function.
  6821. (generic_unwind_get_saved_register): New function.
  6822. * blockframe.c (generic_call_dummy_register_unwind): New function.
  6823. (frame_saved_regs_register_unwind): New function.
  6824. (set_unwind_by_pc): New function.
  6825. (create_new_frame): New function.
  6826. (get_prev_frame): New function.
  6827. 2002-05-30 Andrew Cagney <ac131313@redhat.com>
  6828. * a29k-share/: Delete directory.
  6829. * remote-vx29k.c: Delete file.
  6830. 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com>
  6831. * config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c,
  6832. ppcnbsd-nat.c, ppcnbsd-tdep.c, sparcnbsd-nat.c, and sparcnbsd-tdep.c.
  6833. 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com>
  6834. * Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c,
  6835. sparcnbsd-nat.c, and sparcnbsd-tdep.c.
  6836. (sparc64nbsd-nat.o)
  6837. (sparcnbsd-nat.o)
  6838. (sparcnbsd-tdep.o): New dependency lists.
  6839. * NEWS: Note new UltraSPARC NetBSD native configuration.
  6840. * configure.host (sparc64-*-netbsd*): New host.
  6841. * configure.tgt (sparc-*-netbsdelf*)
  6842. (sparc-*-netbsd*): Set gdb_target to nbsd.
  6843. (sparc64-*-netbsd*): New target.
  6844. * sparc64nbsd-nat.c: New file.
  6845. * sparcnbsd-nat.c: New file.
  6846. * sparcnbsd-tdep.c: New file.
  6847. * sparcnbsd-tdep.h: New file.
  6848. * config/sparc/nbsd.mt: New file.
  6849. * config/sparc/nbsd64.mh: New file.
  6850. * config/sparc/nbsd64.mt: New file.
  6851. * config/sparc/nbsdaout.mh (NATDEPFILES): Remove corelow.o,
  6852. sparc-nat.o, and solib.o. Add sparcnbsd-nat.o.
  6853. (HOST_IPC): Remove.
  6854. * config/sparc/nbsdaout.mt: Remove.
  6855. * config/sparc/nbsdelf.mh (NATDEPFILES): Remove corelow.o,
  6856. sparc-nat.o, and solib.o. Add sparcnbsd-nat.o.
  6857. (HOST_IPC): Remove.
  6858. * config/sparc/nbsdelf.mt: Remove.
  6859. * config/sparc/nm-nbsd.h: Update copyright years. Remove all
  6860. sparc-nat.c compatiblity defines.
  6861. * config/sparc/tm-nbsd.h: Update copyright years. Include solib.h.
  6862. (GDB_MULTI_ARCH): Set to GDB_MULTI_ARCH_PARTIAL.
  6863. * config/sparc/tm-nbsd64.h: New file.
  6864. * config/sparc/tm-nbsdaout.h: Remove.
  6865. * config/sparc/xm-nbsd.h: Remove.
  6866. 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com>
  6867. * Makefile.in (sparc-tdep.o): Add osabi.h to dependency list.
  6868. * sparc-tdep.c: Include osabi.h.
  6869. (gdbarch_tdep): Add osabi member.
  6870. (_initialize_sparc_tdep): Use gdbarch_register.
  6871. (sparc_gdbarch_init): Use generic OS ABI framework.
  6872. (sparc_dump_tdep): New function.
  6873. 2002-05-30 Kevin Buettner <kevinb@redhat.com>
  6874. * corefile.c (do_captured_read_memory_integer): Return non-zero
  6875. result.
  6876. (safe_read_memory_integer): Copy result of memory read when
  6877. status is non-zero. Also, add comments.
  6878. 2002-05-20 Jason Thorpe <thorpej@wasabisystems.com>
  6879. * Makefile.in (ppc_tdep_h): Define.
  6880. (ppc-linux-nat.o)
  6881. (ppc-linux-tdep.o)
  6882. (rs6000-tdep.o): Use $(ppc_tdep_h).
  6883. (ppc-sysv-tdep.o)
  6884. (ppcnbsd-nat.o)
  6885. (ppcnbsd-tdep.o): New dependency lists.
  6886. * ppc-tdep.h: Use generic OS ABI framework.
  6887. * ppc-linux-tdep.c (_initialize_ppc_linux_tdep)
  6888. (ppc_linux_init_abi): New functions.
  6889. (ppc_sysv_abi_broken_use_struct_convention)
  6890. (ppc_sysv_abi_use_struct_convention)
  6891. (ppc_sysv_abi_push_arguments): Move to...
  6892. * ppc-sysv-tdep.c: ...here.
  6893. * ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h.
  6894. * rs6000-tdep.c (process_note_abi_tag_sections)
  6895. (get_elfosabi): Remove.
  6896. (rs6000_gdbarch_init): Use generic OS ABI framework.
  6897. (rs6000_dump_tdep): New function.
  6898. (_initialize_rs6000_tdep): Use gdbarch_register.
  6899. * config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o.
  6900. * config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o.
  6901. * config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead
  6902. of ppc-linux-tdep.o.
  6903. * config/powerpc/nbsd.mt (TDEPFILES): Likewise.
  6904. * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise.
  6905. * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise.
  6906. * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise.
  6907. * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise.
  6908. * config/powerpc/vxworks.mt (TDEPFILES): Likewise.
  6909. 2002-05-29 Jim Blandy <jimb@redhat.com>
  6910. * macroscope.c (default_macro_scope): Put `void' in empty argument
  6911. list.
  6912. 2002-05-29 Andrew Cagney <ac131313@redhat.com>
  6913. * Makefile.in (arch-utils.o): Add $(sim_regno_h).
  6914. * arch-utils.c: Include "sim-regno.h".
  6915. * gdbarch.sh: Don't include "sim-regno.h".
  6916. * gdbarch.h, gdbarch.c: Regenerate.
  6917. * sim-regno.h (legacy_register_sim_regno): Move declaration from
  6918. here.
  6919. * arch-utils.h (legacy_register_sim_regno): To here.
  6920. * remote-sim.c (legacy_register_sim_regno): Move function from
  6921. here.
  6922. * arch-utils.c (legacy_register_sim_regno): To here.
  6923. 2002-05-28 Andrew Cagney <ac131313@redhat.com>
  6924. * sim-regno.h: New file.
  6925. * Makefile.in (sim_regno_h): Define.
  6926. (d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h).
  6927. * remote-sim.c: Include "sim-regno.h" and "gdb_assert.h".
  6928. (legacy_register_sim_regno): New function.
  6929. (one2one_register_sim_regno): New function.
  6930. (gdbsim_fetch_register): Rewrite.
  6931. (gdbsim_store_register): Only store a register when
  6932. REGISTER_SIM_REGNO is valid.
  6933. * d10v-tdep.c: Include "sim-regno.h".
  6934. (d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check.
  6935. (d10v_ts3_register_sim_regno): Ditto.
  6936. * gdbarch.sh: Include "sim-regno.h".
  6937. (REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno.
  6938. * gdbarch.h, gdbarch.c: Regenerate.
  6939. * arch-utils.h (default_register_sim_regno): Delete declaration.
  6940. * arch-utils.c (default_register_sim_regno): Delete function.
  6941. 2002-05-28 Jason Thorpe <thorpej@wasabisystems.com>
  6942. * ppcnbsd-nat.c: Rewrite.
  6943. * ppcnbsd-tdep.c: New file.
  6944. * ppcnbsd-tdep.h: New file.
  6945. * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o,
  6946. solib.o, and solib-svr4.o.
  6947. * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o,
  6948. nbsd-tdep.o, and corelow.o.
  6949. 2002-05-28 Andrew Cagney <ac131313@redhat.com>
  6950. * MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use
  6951. `tr' and `sed'. Mention that `broken' targets are not expected to
  6952. build.
  6953. 2002-05-27 Michal Ludvig <mludvig@suse.cz>
  6954. * x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note.
  6955. Let PC point right after the prologue before looking up symbols.
  6956. 2002-05-27 Martin M. Hunt <hunt@redhat.com>
  6957. * i386-tdep.c (i386_register_virtual_type): Return
  6958. builtin_type_vec128i for SSE registers.
  6959. * gdbtypes.h (builtin_type_vec128i): Declare.
  6960. * gdbtypes.c (build_builtin_type_vec128i): New function.
  6961. (builtin_type_v2_double, builtin_type_v4_int64): New types.
  6962. (builtin_type_vec128i): New type for SSE2 128-bit registers.
  6963. (build_gdbtypes): Initialize new builtin vector types.
  6964. (_initialize_gdbtypes): Register new vector types with gdbarch.
  6965. 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
  6966. * MAINTAINERS: ns32k is not longer an obsolete candidate,
  6967. since it has been multi-arch'd.
  6968. * NEWS: Note that ns32k-*-* is now partial multi-arch.
  6969. Move Alpha and VAX multi-arch news entries to same section
  6970. as other multi-arch news.
  6971. 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
  6972. * ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h,
  6973. target.s, arch-utils.h, ns32k-tdep.h. Make many functions
  6974. static. Rename some register numbers to put them in ns32k-tdep
  6975. private namespace.
  6976. (ns32k_get_saved_register, ns32k_gdbarch_init_32082,
  6977. ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New
  6978. functions.
  6979. (_initialize_ns32k_tdep): Use gdbarch_register.
  6980. * ns32k-tdep.h: New file.
  6981. * ns32knbsd-tdep.c: New file.
  6982. * config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o.
  6983. * config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h".
  6984. (IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS,
  6985. REGISTER_BYTES, REGISTER_BYTE): Remove.
  6986. * config/ns32k/tm-ns32k.h: New file.
  6987. * config/ns32k/tm-umax.h: Remove.
  6988. 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
  6989. * ns32k-tdep.c (ns32k_saved_pc_after_call,
  6990. ns32k_store_struct_return, ns32k_extract_return_value,
  6991. ns32k_store_return_value, ns32k_extract_struct_value_address): New
  6992. functions.
  6993. * config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as
  6994. ns32k_saved_pc_after_call.
  6995. (STORE_STRUCT_RETURN): Define as ns32k_store_struct_return.
  6996. (EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value.
  6997. (STORE_RETURN_VALUE): Define as ns32k_store_return_value.
  6998. (EXTRACT_STRUCT_VALUE_ADDRESS): Define as
  6999. ns32k_extract_struct_value_address.
  7000. 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
  7001. * ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words,
  7002. ns32k_fix_call_dummy): New.
  7003. * config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as
  7004. ns32k_call_dummy_words.
  7005. (SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words.
  7006. (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR,
  7007. CALL_DUMMY_NARGS): Remove.
  7008. (FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy.
  7009. 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
  7010. * ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain,
  7011. ns32k_frame_saved_pc, ns32k_frame_args_address,
  7012. ns32k_frame_locals_address, ns32k_frame_init_saved_regs,
  7013. ns32k_push_dummy_frame, ns32k_pop_frame): New functions.
  7014. * config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove.
  7015. * config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan.
  7016. (BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc.
  7017. (BREAKPOINT): Remove..
  7018. (FRAME_CHAIN): Define as ns32k_frame_chain.
  7019. (FRAME_SAVED_PC): Define as ns32k_frame_saved_pc.
  7020. (FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address.
  7021. (FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address.
  7022. (FRAME_FIND_SAVED_REGS): Remove.
  7023. (FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs.
  7024. (PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame.
  7025. (POP_FRAME): Define as ns32k_pop_frame.
  7026. 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
  7027. * ns32k-tdep.c (ns32k_register_byte_32082,
  7028. ns32k_register_byte_32382, ns32k_register_raw_size,
  7029. ns32k_register_virtual_size, ns32k_register_virtual_type): New
  7030. functions.
  7031. * config/ns32k/tm-nbsd.h (REGISTER_BYTE): Define as
  7032. ns32k_register_byte_32382.
  7033. * config/ns32k/tm-umax.h: Update copyright years.
  7034. (REGISTER_BYTE): Define as ns32k_register_byte_32082.
  7035. (REGISTER_RAW_SIZE): Define as ns32k_register_raw_size.
  7036. (REGISTER_VIRTUAL_SIZE): Define as ns32k_register_virtual_size.
  7037. (REGISTER_VIRTUAL_TYPE): Define as ns32k_register_virtual_type.
  7038. (ns32k_get_enter_addr): Fix prototype.
  7039. 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
  7040. * ns32k-tdep.c: Update copyright years.
  7041. (ns32k_register_name_32082): New function.
  7042. (ns32k_register_name_32382): Ditto.
  7043. * config/ns32k/tm-nbsd.h (REGISTER_NAMES): Remove.
  7044. (REGISTER_NAME): Define as ns32k_register_name_32382.
  7045. * config/ns32k/tm-umax.h (REGISTER_NAMES): Remove.
  7046. (REGISTER_NAME): Define as ns32k_register_name_32082.
  7047. 2002-05-24 Jim Blandy <jimb@redhat.com>
  7048. * dwarf2read.c (free_line_header): Use xfree, not free.
  7049. 2002-05-24 Jason Thorpe <thorpej@wasabisystems.com>
  7050. * config/djgpp/fnchange.lst: Add alphabsd-nat.c,
  7051. alphabsd-tdep.c, mipsnbsd-nat.c, and mipsnbsd-tdep.c
  7052. 2002-05-23 Andrew Cagney <ac131313@redhat.com>
  7053. * PROBLEMS: Mention s390 and FreeBSD 4.4 build problems.
  7054. 2002-05-23 Andrew Cagney <ac131313@redhat.com>
  7055. From Ross Alexander at NEC Europe:
  7056. * config/pa/hpux11w.mh (NATDEPFILES): Add solib.o.
  7057. 2002-05-23 Michael Snyder <msnyder@redhat.com>
  7058. * cli/cli-dump.c (restore_command): Use parse_and_eval_long
  7059. for input, rather than parse_and_eval_address.
  7060. 2002-05-23 Andrew Cagney <ac131313@redhat.com>
  7061. * d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h".
  7062. * Makefile.in (sim_d10v_h): Update definition.
  7063. 2002-05-24 Andrew Cagney <cagney@redhat.com>
  7064. * d10v-tdep.c (d10v_gdbarch_init): Revert old code included in
  7065. change `2002-05-22 Michael Snyder' below.
  7066. (d10v_push_arguments): Ditto.
  7067. (d10v_extract_return_value): Ditto.
  7068. 2002-05-23 Jim Blandy <jimb@redhat.com>
  7069. * macrotab.c (check_for_redefinition): Don't complain if the new
  7070. definition is the same as the previous one. Take more arguments
  7071. to allow the comparison.
  7072. (macro_define_object, macro_define_function): Pass more arguments
  7073. to check_for_redefinition.
  7074. 2002-05-22 Michael Snyder <msnyder@redhat.com>
  7075. * d10v-tdep.c: Change a few macros to enums for ease of debugging.
  7076. (d10v_frame_chain_valid): Add PC_IN_CALL_DUMMY clause.
  7077. (d10v_frame_saved_pc): Add PC_IN_CALL_DUMMY clause.
  7078. (d10v_frame_chain): Bail immediately if PC_IN_CALL_DUMMY.
  7079. Don't bail if return_pc is PC_IN_CALL_DUMMY.
  7080. Add a temp variable to save a call (and a memory read).
  7081. (d10v_init_extra_frame_info): Get fi->pc from callee's return_pc
  7082. if possible (so that PC_IN_CALL_DUMMY will work).
  7083. 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
  7084. * MAINTAINERS: Remove status `OBSOLETE' from v850.
  7085. 2002-05-22 Michal Ludvig <mludvig@suse.cz>
  7086. * dwarf2cfi.c (frame_state_for): Added safety check for a valid
  7087. fde->cie_ptr.
  7088. (dwarf2_build_frame_info): Corrected handling of eh_frame.
  7089. (dwarf2_build_frame_info): Add offset to fde->initial_location
  7090. so that frames of shared libraries are mapped correctly.
  7091. (execute_stack_op): Change type of 'result' from ULONGEST to
  7092. CORE_ADDR.
  7093. 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com>
  7094. * config/alpha/tm-nbsd.h: Include solib.h.
  7095. 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com>
  7096. * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Don't make
  7097. assumptions about the host's byte order.
  7098. 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com>
  7099. * Makefile.in (alphanbsd-tdep.o, shnbsd-tdep.o): Add solib-svr4.h
  7100. to dependency list.
  7101. * alphanbsd-tdep.c: Include solib-svr4.h.
  7102. * shnbsd-tdep.c: Ditto.
  7103. 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com>
  7104. * Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and
  7105. nbsd-tdep.h to dependency list.
  7106. * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*,
  7107. i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*,
  7108. ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use
  7109. nbsdaout.mh and nbsdelf.mh consistently.
  7110. * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*,
  7111. ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use
  7112. nbsdaout.mt and nbsdelf.mh consistently.
  7113. * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h.
  7114. (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets
  7115. to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets.
  7116. * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move
  7117. a.out shared library stuff from here...
  7118. * config/nm-nbsdaout.h: ...to here.
  7119. * config/tm-nbsd.h: Remove.
  7120. * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove.
  7121. * config/arm/nbsd.mh: Remove.
  7122. * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add
  7123. nbsd-tdep.o.
  7124. * config/arm/nbsdaout.mh: New file.
  7125. * config/arm/nbsdelf.mh: New file.
  7126. * config/arm/nm-nbsdaout.h: New file.
  7127. * config/i386/nbsd.mh: Remove.
  7128. * config/i386/nbsd.mt: Remove.
  7129. * config/i386/nbsdaout.mh: New file.
  7130. * config/i386/nbsdaout.mt: New file.
  7131. * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h.
  7132. * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h.
  7133. * config/i386/nm-nbsd.h (REGISTER_U_ADDR,
  7134. i386_register_u_addr): Remove.
  7135. * config/i386/nm-nbsdaout.h: New file.
  7136. * config/i386/nm-nbsdelf.h: Remove.
  7137. * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h.
  7138. (USE_STRUCT_CONVENTION): Remove.
  7139. * config/i386/tm-nbsdaout.h: New file.
  7140. * config/i386/tm-nbsdelf.h: Remove.
  7141. * config/m68k/nbsd.mh: Remove.
  7142. * config/m68k/nbsd.mt: Remove.
  7143. * config/m68k/nbsdaout.mh: New file.
  7144. * config/m68k/nbsdaout.mt: New file.
  7145. * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h.
  7146. * config/m68k/nm-nbsdaout.h: New file.
  7147. * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h.
  7148. (IN_SOLIB_CALL_TRAMPOLINE): Define.
  7149. * config/ns32k/nbsd.mh: Remove.
  7150. * config/ns32k/nbsd.mt: Remove.
  7151. * config/ns32k/nbsdaout.mh: New file.
  7152. * config/ns32k/nbsdaout.mt: New file.
  7153. * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h.
  7154. * config/ns32k/nm-nbsdaout.h: New file.
  7155. * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h.
  7156. (IN_SOLIB_CALL_TRAMPOLINE): Define.
  7157. * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h.
  7158. (SVR4_SHARED_LIBS): Remove.
  7159. * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h.
  7160. * config/sparc/nbsd.mh: Remove.
  7161. * config/sparc/nbsd.mt: Remove.
  7162. * config/sparc/nbsdaout.mh: New file.
  7163. * config/sparc/nbsdaout.mt: New file.
  7164. * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h.
  7165. * config/sparc/nbsdelf.mt: New file.
  7166. * config/sparc/nm-nbsdaout.h: New file.
  7167. * config/sparc/nm-nbsdelf.h: Remove.
  7168. * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h.
  7169. * config/sparc/tm-nbsdaout.h: New file.
  7170. 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
  7171. * Makefile.in (ALLDEPFILES): Add mipsnbsd-nat.c and
  7172. mipsnbsd-tdep.c
  7173. (mipsnbsd-nat.o, mipsnbsd-tdep.o): New dependency lists.
  7174. 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
  7175. * Makefile.in (ALLDEPFILES): Add shnbsd-tdep.c and
  7176. shnbsd-nat.c.
  7177. (shnbsd-tdep.o, shnbsd-nat.o): New dependency lists.
  7178. 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
  7179. * NEWS: Note new MIPS NetBSD native configuration.
  7180. * configure.host (mips*-*-netbsd*): New host.
  7181. * configure.tgt (mips*-*-netbsd*): New target.
  7182. * mipsnbsd-nat.c: New file.
  7183. * mipsnbsd-tdep.c: New file.
  7184. * mipsnbsd-tdep.h: New file.
  7185. * config/mips/nbsd.mh: New file.
  7186. * config/mips/nbsd.mt: New file.
  7187. * config/mips/nm-nbsd.h: New file.
  7188. * config/mips/tm-nbsd.h: New file.
  7189. 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
  7190. * Makefile.in (SFILES): Add osabi.c.
  7191. (COMMON_OBS): Add osabi.o.
  7192. (osabi.o): New dependency list.
  7193. * osabi.c: New file.
  7194. * osabi.h: New file.
  7195. * Makefile.in (alpha_tdep_h): Define and use instead of
  7196. alpha-tdep.h.
  7197. * alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections,
  7198. get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi):
  7199. Remove.
  7200. (alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework.
  7201. * alpha-tdep.h: Include osabi.h.
  7202. (alpha_abi): Remove.
  7203. (gdbarch_tdep): Use generic OS ABI framework.
  7204. * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use
  7205. gdbarch_register_osabi.
  7206. * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise.
  7207. * alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise.
  7208. * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise.
  7209. * Makefile.in (sh_tdep_h): Add osabi.h.
  7210. * sh-tdep.h (sh_osabi): Remove.
  7211. (gdbarch_tdep): Use generic OS ABI framework.
  7212. * sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections,
  7213. sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove.
  7214. (sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework.
  7215. * shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi.
  7216. * Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h.
  7217. * arm-linux-tdep.c (_initialize_arm_linux_tdep): Use
  7218. gdbarch_register_osabi.
  7219. * arm-tdep.c (arm_abi_names, process_note_abi_tag_sections,
  7220. arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove.
  7221. (get_elfosabi): Rename to...
  7222. (arm_elf_osabi_sniffer): ...this. Adjust to use generic OS
  7223. ABI framework support routines.
  7224. (arm_gdbarch_init): Use generic OS ABI framework.
  7225. (arm_dump_tdep): Likewise.
  7226. (_initialize_arm_tdep): Likewise.
  7227. * arm-tdep.h: Include osabi.h.
  7228. (arm_abi): Remove.
  7229. (gdbarch_tdep): Remove arm_abi and abi_name members. Add
  7230. osabi member.
  7231. (arm_gdbarch_register_os_abi): Remove prototype.
  7232. * armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function.
  7233. (_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi.
  7234. * Makefile.in (mips-tdep.o): Add osabi.h to dependency list.
  7235. * mips-tdep.c: Include osabi.h.
  7236. (gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic
  7237. OS ABI framework.
  7238. 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
  7239. * h8300-tdep.c: Fix formatting.
  7240. 2002-05-20 Elena Zannoni <ezannoni@redhat.com>
  7241. * rs6000-tdep.c (rs6000_do_registers_info): Simplify code for
  7242. printing vector registers.
  7243. 2002-05-19 Andrew Cagney <ac131313@redhat.com>
  7244. From Fernando Nasser:
  7245. * remote.c (remote_async_open_1): Re-throw the exception when the
  7246. connection fails.
  7247. (remote_cisco_open): Ditto.
  7248. (remote_open_1): Ditto.
  7249. 2002-05-19 Andrew Cagney <ac131313@redhat.com>
  7250. * remote.c (remote_start_remote_dummy): Add uiout parameter.
  7251. (remote_start_remote): Add uiout parameter. Pass through to
  7252. remote_start_remote_dummy.
  7253. (remote_open_1): Use catch_exception instead of catch_errors.
  7254. (remote_async_open_1): Ditto.
  7255. (remote_cisco_open): Ditto.
  7256. 2002-05-19 Andrew Cagney <ac131313@redhat.com>
  7257. * remote.c (remote_start_remote): Replace PTR with void pointer.
  7258. (sigint_remote_twice_token, sigint_remote_token): Ditto. Make
  7259. static.
  7260. 2002-05-18 Andrew Cagney <ac131313@redhat.com>
  7261. * gdb_indent.sh: Allow the script to be run in the sim directory.
  7262. 2002-05-18 Mark Kettenis <kettenis@gnu.org>
  7263. * config/i386/nm-cygwin.h (NO_PTRACE_H): Remove define.
  7264. * config/i386/nm-go32.h (NO_PTRACE_H): Remove define.
  7265. * corelow.c (core_open): Only call set_gdbarch_from_file if
  7266. exec_bfd is NULL.
  7267. 2002-05-17 Andrey Volkov <avolkov@transas.com>
  7268. * h8300-tdep.c: Add support of EXR register
  7269. * config/h8300/tm-h8300.h: Ditto.
  7270. 2002-05-17 Andrey Volkov <avolkov@transas.com>
  7271. * h8300-tdep.c: Add additional CCR flags (I,UI,H,U)
  7272. 2002-05-17 Andrey Volkov <avolkov@transas.com>
  7273. * h8300-tdep.c: Change literal regnums to REGNO.
  7274. 2002-05-17 Jim Blandy <jimb@redhat.com>
  7275. * NEWS: Note addition of macro support.
  7276. Expand preprocessor macros in C expressions.
  7277. * c-lang.h: #include "macroexp.h", for macro_lookup_ftype.
  7278. (scan_macro_expansion, scanning_macro_expansion,
  7279. finished_macro_expansion): New function declarations.
  7280. (expression_macro_lookup_func, expression_macro_lookup_baton): New
  7281. variable declarations.
  7282. * parser-defs.h (expression_context_pc): New declaration.
  7283. * parse.c (expression_context_pc): New variable.
  7284. (parse_exp_1): Set expression_context_pc, as well as
  7285. expression_context_block.
  7286. * c-exp.y (yylex): If we're not already reading the result of a
  7287. macro expansion, try to macro-expand the next token. When we're
  7288. done scanning a macro expansion, switch back to the mainline text.
  7289. Commas and `if's in a macro's expansion don't terminate the input.
  7290. * c-lang.c: #include "macroscope.h" and "gdb_assert.h".
  7291. (macro_original_text, macro_expanded_text,
  7292. expression_macro_lookup_func, expression_macro_lookup_baton): New
  7293. variables.
  7294. (scan_macro_expansion, scanning_macro_expansion,
  7295. finished_macro_expansion, scan_macro_cleanup, null_macro_lookup,
  7296. c_preprocess_and_parse): New functions.
  7297. (c_language_defn, cplus_language_defn, asm_language_defn): Call
  7298. c_preprocess_and_parse, instead of c_parse.
  7299. * Makefile.in (c_lang_h): Note that this #includes macroexp.h.
  7300. (c-lang.o): Note dependency on macroscope.h and gdb_assert.h.
  7301. Fri May 17 14:26:19 2002 J"orn Rennecke <joern.rennecke@superh.com>
  7302. * sh-tdep.c (gdb_print_insn_sh64): Delete.
  7303. (gdb_print_insn_sh): Just set info->endian and use print_insn_sh.
  7304. (sh_gdbarch_init): Always use gdb_print_insn_sh.
  7305. 2002-05-17 Corinna Vinschen <vinschen@redhat.com>
  7306. * NEWS: Add section for multi-arched targets. Add v850 to that section.
  7307. 2002-05-17 Jason Thorpe <thorpej@wasabisystems.com>
  7308. * Makefile.in (sh_tdep_h): Define and use.
  7309. * config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep,
  7310. register enum): Move to...
  7311. * * sh-tdep.h: ...here.
  7312. * sh-tdep.c: Include sh-tdep.h.
  7313. * sh3-rom.c: Likewise.
  7314. * shnbsd-tdep.c: Likewise.
  7315. 2002-05-16 Michael Snyder <msnyder@redhat.com>
  7316. * arm-tdep.c: Spelling fix in comment.
  7317. 2002-05-16 Jim Blandy <jimb@redhat.com>
  7318. Add commands for manually expanding macros and showing their
  7319. definitions.
  7320. * macrocmd.c, macroscope.c, macroscope.h: New files.
  7321. * Makefile.in (SFILES): Add macrocmd.c, macroscope.c.
  7322. (macroscope_h): New variable.
  7323. (HFILES_NO_SRCDIR): Add macroscope.h.
  7324. (COMMON_OBS): Add macrocmd.o, macroscope.o.
  7325. (macroscope.o, macrocmd.o): New rules.
  7326. Teach the Dwarf 2 reader to read macro information.
  7327. * dwarf2read.c: #include "macrotab.h".
  7328. (dwarf_macinfo_buffer): New variable.
  7329. (struct dwarf2_pinfo): New members: dwarf_macinfo_buffer, and
  7330. dwarf_macinfo_size.
  7331. (DWARF_MACINFO_BUFFER, DWARF_MACINFO_SIZE): New macros.
  7332. (dwarf2_missing_macinfo_section, dwarf2_macros_too_long,
  7333. dwarf2_macros_not_terminated, dwarf2_macro_outside_file,
  7334. dwarf2_macro_unmatched_end_file, dwarf2_macro_malformed_definition,
  7335. dwarf2_macro_spaces_in_definition): New complaints.
  7336. (dwarf2_has_info): Initialize dwarf_macinfo_offset.
  7337. (dwarf2_build_psymtabs): Read the .dwarf_macinfo section.
  7338. (dwarf2_build_psymtabs_hard): Record the buffer and its size in
  7339. the partial symbol table.
  7340. (psymtab_to_symtab_1): Set the macinfo buffer and size globals
  7341. from what's recorded in the partial symbol table.
  7342. (read_file_scope): If the compilation unit has a
  7343. `DW_AT_macro_info' attribute, read its macro information.
  7344. * Makefile.in (dwarf2read.o): Depend on macrotab.h.
  7345. 2002-05-16 Daniel Jacobowitz <drow@mvista.com>
  7346. Fix PR gdb/546
  7347. * ser-tcp.c: Don't include <netinet/udp.h>.
  7348. 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
  7349. * MAINTAINERS: Update my email address.
  7350. 2002-05-16 Richard Earnshaw <rearnsha@arm.com>
  7351. * config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include generic
  7352. include file of the same name.
  7353. 2002-05-16 Corinna Vinschen <vinschen@redhat.com>
  7354. * configure.tgt: Mark v850 as multi-arched.
  7355. * config/v850/tm-v850.h: Remove file.
  7356. * config/v850/v850.mt: Eliminate TM_FILE.
  7357. 2002-05-16 Corinna Vinschen <vinschen@redhat.com>
  7358. * v850-tdep.c: Full multi-arch.
  7359. * config/v850/tm-v850.h: Eliminate or move to v850-tdep.c everything.
  7360. Define GDB_MULTI_ARCH to 2.
  7361. 2002-05-16 Pierre Muller <muller@ics.u-strasbg.fr>
  7362. * p-exp.y (current_type): New static variable.
  7363. Carries the type of the expression at the position that is parsed.
  7364. (push_current_type, pop_current_type): Two new functions. Used
  7365. to store/restore current_type in expression on specific tokens.
  7366. (search_field): New static variable. Set to one after parsing a point
  7367. as at that point only a FIELDNAME token should be searched.
  7368. (FIELDNAME): New token. After a point only a token belonging to
  7369. current_type type definition is allowed.
  7370. (all over token rules): reset and change current_type according
  7371. to rules.
  7372. (exp '[' rule): insert implicit array index field if
  7373. exp is a pascal string type.
  7374. 2002-05-16 Corinna Vinschen <vinschen@redhat.com>
  7375. * v850-tdep.c: Fix comment for v850_scan_prologue. Remove extra
  7376. frame info. Use frame_info's saved_regs instead of matching member
  7377. in extra_frame_info throughout.
  7378. (v850_frame_init_saved_regs): New function.
  7379. (v850_init_extra_frame_info): Move most functionality into
  7380. v850_frame_init_saved_regs().
  7381. * config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition.
  7382. (v850_frame_find_saved_regs): Remove declaration.
  7383. (FRAME_FIND_SAVED_REGS): Remove definition.
  7384. (v850_frame_init_saved_regs): Add declaration.
  7385. (FRAME_INIT_SAVED_REGS): Add definition.
  7386. 2002-05-16 Corinna Vinschen <vinschen@redhat.com>
  7387. * v850-tdep.c: Begin multi-arch'ing v850.
  7388. (v850_target_architecture_hook): Remove function.
  7389. (v850_gdbarch_init): New function. Add code previously in
  7390. v850_target_architecture_hook().
  7391. (_initialize_v850_tdep): Don't set target_architecture_hook.
  7392. Call register_gdbarch_init() instead.
  7393. 2002-05-16 Daniel Jacobowitz <drow@mvista.com>
  7394. * gdbtypes.h (struct cplus_struct_type): Remove args field.
  7395. * hpread.c (hpread_read_struct_type): Remove assignments to args.
  7396. (fixup_class_method_type): Likewise.
  7397. 2002-05-15 Jim Blandy <jimb@redhat.com>
  7398. Add macro structures to GDB's symbol tables. Nobody puts anything
  7399. in them yet.
  7400. * symtab.h (struct symtab): New member: `macro_table'.
  7401. * buildsym.h (pending_macros): New global variable.
  7402. * buildsym.c: #include "macrotab.h".
  7403. (buildsym_init): Initialize `pending_macros'.
  7404. (end_symtab): If we found macro information while reading a CU's
  7405. debugging info, do build a symtab structure for it. Make the
  7406. symtab point to the macro information, and clear the
  7407. `pending_macros' pointer which held it while we were reading the
  7408. debug info.
  7409. (really_free_pendings): Free any pending macro table.
  7410. * objfiles.h (struct objfile): New member: `macro_cache'.
  7411. * objfiles.c (allocate_objfile): Set allocate and free functions
  7412. for the macro cache's objstack.
  7413. (free_objfile): Empty the macro cache's obstack.
  7414. * symfile.c (reread_symbols): Empty the macro cache's obstack, and
  7415. set new allocate and free functions for it.
  7416. * solib-sunos.c (allocate_rt_common_objfile): Set allocate and
  7417. free functions for the macro cache's objstack. (Why is this
  7418. function building its own objfile?)
  7419. * symmisc.c (print_objfile_statistics): Print statistics on the
  7420. macro bcache.
  7421. * Makefile.in: Note that buildsym.o depends on macrotab.h.
  7422. 2002-05-15 Richard Earnshaw <rearnsha@arm.com>
  7423. * config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h.
  7424. (REGISTER_U_ADDR): Delete definition.
  7425. (arm_register_u_addr): Delete declaration.
  7426. 2002-05-15 Richard Earnshaw <rearnsha@arm.com>
  7427. * arm-linux-tdep.c (ARM_LINUX_JB_PC): Renamed from JB_PC.
  7428. (ARM_LINUX_JB_ELEMENT_SIZE): Likewise.
  7429. 2002-05-14 Andrew Cagney <ac131313@redhat.com>
  7430. * regcache.c (register_valid): Revise comments refering to "Not
  7431. available" and "unavailable".
  7432. * frame.c (frame_register_read): Ditto.
  7433. * findvar.c (value_of_register): Ditto.
  7434. 2002-05-15 Andrew Cagney <cagney@redhat.com>
  7435. * Makefile.in (remote_sim_h): Replace remote-sim_h.
  7436. (remote-sim.o): Update dependencies.
  7437. (d10v-tdep.o): Specify dependencies.
  7438. (sim_d10v_h): Define.
  7439. 2002-05-14 Jim Blandy <jimb@redhat.com>
  7440. * macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0.
  7441. * macrotab.c (macro_lookup_inclusion, find_definition,
  7442. new_macro_table): Same.
  7443. * macroexp.c (currently_rescanning, expand): Use `strcmp () == 0',
  7444. not `! strcmp ()'. This is a dubious improvement.
  7445. * macrotab.c (macro_lookup_inclusion, find_definition): Same.
  7446. * macrotab.c (macro_lookup_inclusion): Initialize `best_depth',
  7447. although it's not necessary, to avoid a warning.
  7448. 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
  7449. * gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE.
  7450. (TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use
  7451. TYPE_INSTANCE_FLAGS.
  7452. (struct main_type): New.
  7453. (struct type): Move most members to struct main_type. Change
  7454. cv_type and as_type to new type_chain member. Add instance_flags.
  7455. (TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros.
  7456. (TYPE_CV_TYPE, TYPE_AS_TYPE): Remove.
  7457. (finish_cv_type): Remove prototype.
  7458. * gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE.
  7459. Set TYPE_CHAIN.
  7460. (alloc_type_instance): New function.
  7461. (smash_type): New function.
  7462. (make_pointer_type, make_reference_type, make_function_type)
  7463. (smash_to_member_type, smash_to_method_type): Call smash_type.
  7464. (make_qualified_type): New function.
  7465. (make_type_with_address_space): Call make_qualified_type.
  7466. (make_cv_type): Likewise.
  7467. (finish_cv_type): Remove unnecessary function.
  7468. (replace_type): Update comment. Copy TYPE_MAIN_TYPE.
  7469. (recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS;
  7470. remove TYPE_CV_TYPE and TYPE_AS_TYPE.
  7471. * c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS.
  7472. * dwarf2read.c (read_structure_scope): Don't call finish_cv_type.
  7473. * hpread.c (hpread_read_struct_type): Likewise.
  7474. * stabsread.c (read_struct_type): Likewise.
  7475. 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
  7476. * configure.tgt: Add a catch all sh* target, for cases like
  7477. sh[2,3,4]-elf and sh-hms.
  7478. 2002-05-14 Keith Seitz <keiths@redhat.com>
  7479. * event-loop.c (create_file_handler): Don't do anything but
  7480. update data when we are given a fd which we are already
  7481. monitoring.
  7482. 2002-05-14 Michal Ludvig <mludvig@suse.cz>
  7483. * dwarf2cfi.c (context_cpy): Copy registers correctly.
  7484. (update_context): Use __func__ in warnings.
  7485. 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
  7486. * ser-tcp.c: Include <netinet/udp.h>. Rename tcp_open
  7487. and tcp_close to net_open and net_close.
  7488. (net_open): Accept "udp:" and "tcp:" specifications. Connect
  7489. using UDP if requested. Don't try to disable Nagle on UDP
  7490. sockets.
  7491. * remote.c (remote_serial_open): New function. Warn about UDP.
  7492. (remote_open_1, remote_async_open_1, remote_cisco_open): Call it.
  7493. 2002-05-13 Elena Zannoni <ezannoni@redhat.com>
  7494. * MAINTAINERS: List sh-elf as buildable with ,-Werror.
  7495. 2002-05-13 Elena Zannoni <ezannoni@redhat.com>
  7496. * configure.tgt: Remove sh-hms target.
  7497. * MAINTAINERS: Don't list sh-hms as a separate target.
  7498. 2002-05-13 Jim Blandy <jimb@redhat.com>
  7499. Add first preprocessor macro-expansion files.
  7500. * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files.
  7501. * Makefile.in (SFILES): Add macrotab.c, macroexp.c.
  7502. (splay_tree_h, macroexp_h, macrotab_h): New variable.
  7503. (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h.
  7504. (COMMON_OBS): Add macrotab.o, macroexp.o.
  7505. (macroexp.o, macrotab.o): New rules.
  7506. 2002-05-13 Andrew Cagney <ac131313@redhat.com>
  7507. * config/m88k/tm-m88k.h: Update copyright.
  7508. (m88k_target_write_pc): Declare
  7509. (TARGET_WRITE_PC): Redefine using m88k_target_write_pc.
  7510. (M88K_NNPC_REGNUM): Rename NNPC_REGNUM.
  7511. (SHIFT_INST_REGS): Update definition.
  7512. * m88k-tdep.c (m88k_target_write_pc): New function. Implement
  7513. using old definition of TARGET_WRITE_PC.
  7514. * regcache.c (generic_target_write_pc): Delete code handling
  7515. NNPC_REGNUM.
  7516. * gdbarch.sh (NNPC_REGNUM): Delete.
  7517. * gdbarch.h, gdbarch.c: Regenerate.
  7518. 2002-05-13 Richard Earnshaw <rearnsha@arm.com>
  7519. * builtin-regs.c (value_of_builtin_reg): Correctly calculate the
  7520. builtin reg number.
  7521. 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
  7522. * ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary)
  7523. (gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref)
  7524. (gen_address_of, gen_struct_ref, gen_repeat): Use type
  7525. access macros.
  7526. * c-typeprint.c (cp_type_print_method_args): Likewise.
  7527. (c_type_print_args): Likewise.
  7528. * d10v-tdep.c (d10v_push_arguments): Likewise.
  7529. (d10v_extract_return_value): Likewise.
  7530. * expprint.c (print_subexp): Likewise.
  7531. * gdbtypes.c (lookup_primitive_typename): Likewise.
  7532. (lookup_template_type, add_mangled_type, print_arg_types): Likewise.
  7533. * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB)
  7534. (TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE)
  7535. (TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS)
  7536. (TYPE_VECTOR): Likewise.
  7537. * hpread.c (hpread_read_struct_type)
  7538. (fix_static_member_physnames, fixup_class_method_type)
  7539. (hpread_type_lookup): Likewise.
  7540. * mdebugread.c (parse_symbol, parse_type): Likewise.
  7541. * p-lang.c (is_pascal_string_type): Likewise.
  7542. * valops.c (hand_function_call): Likewise.
  7543. * x86-64-tdep.c (classify_argument): Likewise.
  7544. * hpread.c (hpread_read_function_type)
  7545. (hpread_read_doc_function_type): Call replace_type.
  7546. * dstread.c (create_new_type): Delete.
  7547. (decode_dst_structure, process_dst_function): Call alloc_type.
  7548. Use type access macros.
  7549. 2002-05-12 Mark Kettenis <kettenis@gnu.org>
  7550. * i387-tdep.c (i387_supply_fxsave): Skip the SSE registers if
  7551. the're not supported by the current architecture.
  7552. (i387_fill_fxsave): Likewise.
  7553. 2002-05-12 Fred Fish <fnf@redhat.com>
  7554. * symfile.c (default_symfile_offsets): Arrange for uninitialized
  7555. sect_index_xxx members to index the first slot in section_offsets
  7556. if all of the section_offsets are zero.
  7557. 2002-05-12 Mark Kettenis <kettenis@gnu.org>
  7558. * configure.tgt (sparc-*openbsd): Remove entry accidentially
  7559. checked in with last change.
  7560. 2002-05-12 Mark Kettenis <kettenis@gnu.org>
  7561. * configure.tgt (i[3456]86-*-unixware*, i[3456]86-*-unixware2*):
  7562. Remove targets. These are canonicalized to i386-*-sysv4.2uw by
  7563. config.sub.
  7564. 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
  7565. * Makefile.in: Update dependencies.
  7566. 2002-05-11 Andrew Cagney <ac131313@redhat.com>
  7567. * language.c (local_hex_string_custom): Simplify. Do not depend
  7568. on PRINTF_HAS_LONG_LONG or CC_HAS_LONG_LONG.
  7569. * memattr.c (mem_info_command): Replace calls to
  7570. longest_local_hex_string and longest_local_hex_string_custom.
  7571. * buildsym.c (make_blockvector): Ditto.
  7572. * solib.c (info_sharedlibrary_command): Ditto.
  7573. * tracepoint.c (tracepoints_info): Ditto.
  7574. * symtab.c (print_msymbol_info): Ditto.
  7575. * language.c (local_hex_string): Delete.
  7576. (local_hex_string_custom): Delete.
  7577. (longest_local_hex_string): Rename to local_hex_string.
  7578. (longest_local_hex_string_custom): Rename to
  7579. local_hex_string_custom.
  7580. * language.h (local_hex_string): Change parameter type to LONGEST.
  7581. (local_hex_string_custom): Ditto.
  7582. (longest_local_hex_string): Delete declaration.
  7583. (longest_local_hex_string_custom): Ditto.
  7584. * solib.c: Update copyright.
  7585. * memattr.c: Update copyright.
  7586. 2002-05-11 Andrew Cagney <ac131313@redhat.com>
  7587. * arch-utils.h (legacy_register_to_value): Declare.
  7588. (legacy_value_to_register): Declare.
  7589. (legacy_convert_register_p): Declare.
  7590. * arch-utils.c (legacy_register_to_value): New function.
  7591. (legacy_value_to_register): New function.
  7592. (legacy_convert_register_p): New function.
  7593. * gdbarch.sh (REGISTER_TO_VALUE): Define.
  7594. (VALUE_TO_REGISTER): Define.
  7595. (CONVERT_REGISTER_P): Define.
  7596. * gdbarch.h, gdbarch.c: Regenerate.
  7597. * valops.c (value_assign): Use CONVERT_REGISTER_P and
  7598. VALUE_TO_REGISTER.
  7599. * findvar.c (value_from_register): Use REGISTER_TO_VALUE and
  7600. CONVERT_REGISTER_P.
  7601. 2005-05-11 Daniel Jacobowitz <drow@mvista.com>
  7602. Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  7603. * Makefile.in: Update dependencies for valops.c.
  7604. * valops.c: Include "gdb_assert.h".
  7605. (typecmp): Skip THIS parameter to methods.
  7606. (find_method_list): Remove static_memfuncp argument,
  7607. update callers. Check for stub methods.
  7608. (find_value_oload_method_list): Don't set *static_memfuncp.
  7609. (find_overload_match): Don't check for stub methods. Assert
  7610. that methods are not stubbed. Handle static methods.
  7611. (value_find_oload_method_list): Remove static_memfuncp argument.
  7612. * gdbtypes.c (check_stub_method): Do not add THIS pointer
  7613. to the argument list for static stub methods.
  7614. * value.h (value_find_oload_method_list): Update prototype.
  7615. 2002-05-11 Andrew Cagney <ac131313@redhat.com>
  7616. * arch-utils.h (generic_register_size): Declare.
  7617. (generic_register_raw_size, generic_register_virtual_size): Delete
  7618. declarations.
  7619. * arch-utils.c (generic_register_raw_size): Delete.
  7620. (generic_register_size): New function.
  7621. (generic_register_virtual_size): Delete.
  7622. * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make
  7623. default generic_register_size.
  7624. * gdbarch.h, gdbarch.c: Re-generate.
  7625. * d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for
  7626. register_virtual_size.
  7627. * x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
  7628. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  7629. 2002-05-11 Andrew Cagney <ac131313@redhat.com>
  7630. * gdbarch.sh (gdbarch_data): Add gdbarch parameter.
  7631. * gdbarch.h, gdbarch.c: Regenerate.
  7632. * gnu-v3-abi.c: Update copyright.
  7633. (vtable_address_point_offset): Update.
  7634. (gnuv3_rtti_type): Update.
  7635. (gnuv3_baseclass_offset): Update.
  7636. * solib-svr4.c (svr4_fetch_link_map_offsets): Update.
  7637. (init_fetch_link_map_offsets): Update.
  7638. * remote.c (get_remote_state): Update.
  7639. 2002-05-11 Daniel Jacobowitz <drow@mvista.com>
  7640. * TODO: Remove value_headof/value_from_vtable_info comment.
  7641. * printcmd.c (print_command_1): Don't call value_from_vtable_info.
  7642. * values.c (value_headof, value_from_vtable_info): Delete.
  7643. * value.h (value_from_vtable_info): Delete prototype.
  7644. 2002-05-11 Andrew Cagney <ac131313@redhat.com>
  7645. * Makefile.in: Replace gdb_assert.h with $(gdb_assert_h),
  7646. gdb_string.h with $(gdb_string_h) and gdb_regex.h with
  7647. $(gdb_regex_h).
  7648. (gdb_assert_h): Define.
  7649. (gdb_wait_h): Define.
  7650. (gdb_regex_h): Define.
  7651. 2002-05-11 Daniel Jacobowitz <drow@mvista.com>
  7652. From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
  7653. * linespec.c (find_methods): Handle GCC 3.x template constructors.
  7654. 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com>
  7655. * nbsd-tdep.c: Fix comment.
  7656. 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com>
  7657. * Makefile.in (ALLDEPFILES): Add nbsd-tdep.c.
  7658. (alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list.
  7659. (nbsd-tdep.o): New dependency list.
  7660. * alphanbsd-tdep.c: Don't include solib-svr4.h. Include
  7661. nbsd-tdep.h.
  7662. (alphanbsd_solib_svr4_fetch_link_map_offsets): Remove.
  7663. (alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets.
  7664. * nbsd-tdep.c: New file.
  7665. * nbsd-tdep.h: New file.
  7666. * shnbsd-tdep.c: Don't include solib-svr4.h. Include
  7667. nbsd-tdep.h.
  7668. (shnbsd_solib_svr4_fetch_link_map_offsets): Remove.
  7669. (shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets.
  7670. * config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o.
  7671. * config/sh/nbsd.mt (TDEPFILES): Ditto.
  7672. 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com>
  7673. * config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o.
  7674. * config/alpha/nbsd.mt (TDEPFILES): Add corelow.o.
  7675. * config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o.
  7676. * config/i386/nbsd.mt (TDEPFILES): Add corelow.o.
  7677. * config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o.
  7678. * config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o.
  7679. 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com>
  7680. * config/i386/nbsd.mh (NATDEPFILES): Use line continuations.
  7681. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
  7682. * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
  7683. * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
  7684. * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
  7685. * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
  7686. * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
  7687. 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com>
  7688. * i386nbsd-nat.c: Delete file. Move fetch_core_registers and
  7689. fetch_elfcore_registers to...
  7690. * i386nbsd-tdep.c: ...here.
  7691. (i386nbsd_use_struct_convention): Rename to...
  7692. (i386nbsd_aout_use_struct_convention): ...this.
  7693. (i386nbsd_supply_reg): New function.
  7694. (i386nbsd_fill_reg): New function.
  7695. (fetch_core_registers): Use i386nbsd_supply_reg.
  7696. (fetch_elfcore_registers): Likewise.
  7697. (_initialize_i386nbsd_tdep): New function.
  7698. * config/i386/nbsd.mh (NATDEPFILES): Remove i386nbsd-nat.o.
  7699. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
  7700. * config/i386/nbsdelf.mt (TDEPFILES): Add i386nbsd-tdep.o.
  7701. * config/i386/tm-nbsd.h (i386nbsd_use_struct_convention): Rename to...
  7702. (i386nbsd_aout_use_struct_convention): ...this.
  7703. 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com>
  7704. * shnbsd-nat.c (fetch_inferior_registers): Use shnbsd_supply_reg.
  7705. (store_inferior_registers): Use shnbsd_fill_reg.
  7706. * shnbsd-tdep.c (sh_nbsd_supply_registers,
  7707. sh_nbsd_supply_register): Collapse into...
  7708. (shnbsd_supply_reg): ...this.
  7709. (sh_nbsd_fill_registers, sh_nbsd_fill_register): Collapse into...
  7710. (shnbsd_fill_reg): ...this.
  7711. (sh_nbsd_solib_svr4_fetch_link_map_offsets): Rename to...
  7712. (shnbsd_solib_svr4_fetch_link_map_offsets): ...this.
  7713. (fetch_core_registers): Use shnbsd_supply_reg.
  7714. (fetch_elfcore_registers): Use shnbsd_supply_reg.
  7715. (sh_nbsd_core_fns): Rename to...
  7716. (shnbsd_core_fns): ...this.
  7717. (sh_nbsd_elfcore_fns): Rename to...
  7718. (shnbsd_elfcore_fns): ...this.
  7719. (sh_nbsd_init_abi): Rename to...
  7720. (shnbsd_init_abi): ...this.
  7721. (_initialize_sh_nbsd_tdep): Rename to...
  7722. (_initialize_shnbsd_tdep): ...this.
  7723. * shnbsd-tdep.h (sh_nbsd_supply_registers,
  7724. sh_nbsd_supply_register, sh_nbsd_fill_registers,
  7725. sh_nbsd_fill_register): Remove prototypes.
  7726. (shnbsd_supply_reg, shnbsd_fill_reg): Add prototypes.
  7727. 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com>
  7728. * Makefile.in (ALLDEPFILES): Remove i387-nat.c.
  7729. (i387-nat.o): Delete dependency list.
  7730. (go32-nat.o): Change i387-nat.h to i387-tdep.h.
  7731. (x86-64-linux-nat.o): Likewise.
  7732. * i387-nat.c: Delete file, moving contents to...
  7733. * i387-tdep.c: ...here.
  7734. * i387-nat.h: Rename...
  7735. * i387-tdep.h: ...to this.
  7736. * go32-nat.c: Include i387-tdep.h instead of i387-nat.h.
  7737. * i386-linux-nat.c: Likewise.
  7738. * i386bsd-nat.c: Likewise.
  7739. * i386gnu-nat.c: Likewise.
  7740. * i386nbsd-nat.c: Likewise.
  7741. * i386v4-nat.c: Likewise.
  7742. * x86-64-linux-nat.c: Likewise.
  7743. * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o.
  7744. * config/i386/go32.mh (NATDEPFILES): Likewise.
  7745. * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
  7746. * config/i386/i386sol2.mh (NATDEPFILES): Likewise.
  7747. * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
  7748. * config/i386/linux.mh (NATDEPFILES): Likewise.
  7749. * config/i386/nbsd.mh (NATDEPFILES): Likewise.
  7750. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
  7751. * config/i386/obsd.mh (NATDEPFILES): Likewise.
  7752. * config/i386/x86-64linux.mh (NATDEPFILES): Likewise.
  7753. 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com>
  7754. * Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c.
  7755. (alphanbsd-nat.o): Remove dependency list.
  7756. (alphanbsd-tdep.o): Add $(regcache_h) to dependency list.
  7757. * alphanbsd-nat.c: Delete. Contents moved to...
  7758. * alphanbsd-tdep.c: ...here.
  7759. (_initialize_alphanbsd_tdep): Register core functions.
  7760. * config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o.
  7761. 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com>
  7762. * Makefile.in (ALLDEPFILES): Add alphabsd-tdep.c.
  7763. (alphabsd-nat.o): Depend on alphabsd-tdep.h.
  7764. (alphanbsd-nat.o): Likewise.
  7765. (alphabsd-tdep.o): New dependency list.
  7766. * alphabsd-nat.c (supply_gregset): Use alphabsd_supply_reg.
  7767. (fill_gregset): Use alphabsd_fill_reg.
  7768. (supply_fpregset): Use alphabsd_supply_fpreg.
  7769. (fill_fpregset): Use alphabsd_fill_fpreg.
  7770. (fetch_inferior_registers): Use struct reg and struct fpreg
  7771. rather than gregset_t and fpregset_t. Use alphabsd_supply_reg
  7772. and alphabsd_supply_fpreg.
  7773. (store_inferior_registers): Use struct reg and struct fpreg
  7774. rather than gregset_t and fpregset_t. Use alphabsd_fill_reg
  7775. and alphabsd_fill_fpreg.
  7776. * alphabsd-tdep.c: New file.
  7777. * alphabsd-tdep.h: New file.
  7778. * alphanbsd-nat.c (fetch_core_registers): Use alphabsd_supply_fpreg.
  7779. (fetch_elfcore_registers): Use alphabsd_supply_reg and
  7780. alphabsd_supply_fpreg.
  7781. * config/alpha/fbsd.mt (TDEPFILES): Add alphabsd-tdep.o.
  7782. * config/alpha/nbsd.mt (TDEPFILES): Likewise.
  7783. 2002-05-11 Eric Christopher <echristo@redhat.com>
  7784. * mips-tdep.c (mips_double_register_type): Fix thinko.
  7785. (mips_single_register_type): Ditto.
  7786. * MAINTAINERS: Add self.
  7787. 2002-05-11 Mark Kettenis <kettenis@gnu.org>
  7788. * i387-nat.c (i387_supply_register, i387_fill_fsave,
  7789. i387_supply_fxsave, i387_fill_fxsave): Rewrite in order to do the
  7790. right thing on architectures with different endianness and/or
  7791. integer sizes.
  7792. 2002-05-10 Jason Thorpe <thorpej@wasabisystems.com>
  7793. From Christian Limpach <chris@Pin.LU>
  7794. * configure.in: Change sed expression which comments out
  7795. NATDEPFILES to also comment out continuation lines.
  7796. * configure: Regenerate.
  7797. 2002-05-10 Elena Zannoni <ezannoni@redhat.com>
  7798. * sh-tdep.c: Clean up code erroneously reintroduced by previous
  7799. big patch.
  7800. 2002-05-10 Elena Zannoni <ezannoni@redhat.com>
  7801. * sh-tdep.c: Include correct file.
  7802. 2002-05-10 Elena Zannoni <ezannoni@redhat.com>
  7803. New support for sh64-elf (sh5) target.
  7804. * configure.tgt: For sh64-elf target, default to sh-elf.
  7805. * config/sh/tm-sh.h (enum sh-abi): Possible ABI's.
  7806. (struct gdbarch_tdep): Add new fields for new registers and ABI
  7807. info.
  7808. * sh-tdep.c: Include elf-bfd.h, elf/sh.h, gdb/sim-sh.h.
  7809. (NUM_PSEUDO_REGS_SH_MEDIA, NUM_PSEUDO_REGS_SH_COMPACT,
  7810. MSYMBOL_IS_SPECIAL, IS_ISA32_ADDR, MAKE_ISA32_ADDR,
  7811. UNMAKE_ISA32_ADDR, IS_PTABSL_R18, IS_STS_R0, IS_STS_PR,
  7812. IS_MOV_TO_R15, IS_MOV_R14, IS_STQ_R18_R14, IS_STQ_R18_R15,
  7813. IS_STL_R18_R15, IS_STQ_R14_R15, IS_STL_R14_R15, IS_ADDIL_SP_MEDIA,
  7814. IS_ADDI_SP_MEDIA, IS_ADDL_SP_FP_MEDIA, IS_ADD_SP_FP_MEDIA,
  7815. IS_MOV_SP_FP_MEDIA, IS_MOV_R0, IS_MOVL_R0, IS_ADD_SP_R0,
  7816. IS_MOV_R14_R0, IS_MEDIA_IND_ARG_MOV, IS_MEDIA_ARG_MOV,
  7817. IS_MEDIA_MOV_TO_R14, IS_COMPACT_IND_ARG_MOV, IS_COMPACT_ARG_MOV,
  7818. IS_COMPACT_MOV_TO_R14, IS_JSR_R0, IS_NOP): New macros.
  7819. (sh_sh64_register_name, sh64_elf_make_msymbol_special,
  7820. pc_is_isa32, sh_sh64_breakpoint_from_pc, look_for_args_moves,
  7821. sh64_skip_prologue_hard_way, sh64_use_struct_convention,
  7822. gdb_print_insn_sh64, translate_insn_rn, sh64_frame_chain,
  7823. sh64_get_saved_pr, fpp_reg_base_num, is_media_pseudo,
  7824. sh64_get_gdb_regnum, sh64_media_reg_base_num,
  7825. sh64_compact_reg_base_num, translate_rn_to_arch_reg_num,
  7826. sign_extend, sh64_nofp_frame_init_saved_regs,
  7827. sh64_init_extra_frame_info, sh64_get_saved_register,
  7828. sh64_extract_struct_value_address, sh64_pop_frame,
  7829. sh64_push_arguments, sh64_extract_return_value,
  7830. sh64_store_return_value, sh64_show_media_regs,
  7831. sh64_show_compact_regs, sh64_show_regs, sh_sh64_register_byte,
  7832. sh_sh64_register_raw_size, sh_sh64_register_virtual_size,
  7833. sh_sh64_register_virtual_type,
  7834. sh_sh64_register_convert_to_virtual,
  7835. sh_sh64_register_convert_to_raw, sh64_pseudo_register_read,
  7836. sh64_register_read, sh64_pseudo_register_write,
  7837. sh64_register_write, do_fv_c_register_info, do_dr_c_register_info,
  7838. do_r_c_register_info, do_fpp_register_info, do_cr_c_register_info,
  7839. sh64_do_pseudo_register, sh_compact_do_registers_info,
  7840. sh64_do_registers_info, sh_gdbarch_init): New functions.
  7841. 2002-05-10 Elena Zannoni <ezannoni@redhat.com>
  7842. * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type.
  7843. 2002-05-10 Daniel Jacobowitz <drow@mvista.com>
  7844. * linespec.c (decode_line_1): Check for a double quote after
  7845. a filename correctly.
  7846. 2002-05-10 Jim Blandy <jimb@redhat.com>
  7847. Properly track the size of the current objfile's .debug_line section.
  7848. * dwarf2read.c (struct dwarf2_pinfo): New member: dwarf_line_size.
  7849. (DWARF_LINE_SIZE): New macro.
  7850. (dwarf2_build_psymtabs_hard): Record the line section's size in
  7851. the partial symbol table.
  7852. (psymtab_to_symtab_1): Restore dwarf_line_size from the partial
  7853. symbol table.
  7854. 2002-05-10 Petr Sorfa <petrs@caldera.com>
  7855. * ia64-tdep.c: Handle breakpoints on L instruction type
  7856. in MLX instruction bundle by moving the breakpoint to
  7857. the third slot (X instruction type) as L holds only data.
  7858. 2002-05-10 Kevin Buettner <kevinb@redhat.com>
  7859. * dbxread.c (discarding_local_symbols_complaint): New complaint.
  7860. (process_one_symbol): Complain about discarding local symbols
  7861. due to a misplaced N_LBRAC entry.
  7862. 2002-05-09 Elena Zannoni <ezannoni@redhat.com>
  7863. From Daniel Berlin <dan@cgsoftware.com>
  7864. * linespec.c (find_toplevel_char): '<' and '>' also increase and
  7865. decrease the depth we are at, in the case of templates.
  7866. 2002-05-09 Daniel Jacobowitz <drow@mvista.com>
  7867. * mips-tdep.c (mips_float_register_type): New function.
  7868. (mips_double_register_type): New function.
  7869. (mips_print_register): Use them.
  7870. (do_fp_register_row): Likewise.
  7871. 2002-05-09 Daniel Jacobowitz <drow@mvista.com>
  7872. * signals/signals.c (signals): Remove conditional compilation around
  7873. Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT.
  7874. (target_signal_from_name): Loop until TARGET_SIGNAL_LAST.
  7875. 2002-05-09 Michael Snyder <msnyder@redhat.com>
  7876. * remote-rdp.c (remote_rdp_can_run): Remove.
  7877. 2002-05-09 Tom Tromey <tromey@redhat.com>
  7878. * jv-valprint.c (java_val_print): Handle `char' as a special case
  7879. of TYPE_CODE_INT.
  7880. 2002-05-09 Michael Snyder <msnyder@redhat.com>
  7881. * arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn],
  7882. strh r(0123),[r11,#-nn], str r(0123),[r11,#-nn], as well as
  7883. strb r(0123),[sp,#nn], strh r(0123),[sp,#nn] and
  7884. str r(0123),[sp,#nn].
  7885. (arm_skip_prologue): Ditto. Also make disassembly
  7886. order-independent by placing it in a loop.
  7887. 2002-05-06 Michael Snyder <msnyder@redhat.com>
  7888. * stabsread.c (read_type): Add recognition for new attribute:
  7889. "@V;" means that an array type is actually a vector.
  7890. This is analogous to the vector flag that's been added to dwarf2.
  7891. 2002-05-09 Mark Kettenis <kettenis@gnu.org>
  7892. * i386-tdep.h (i386_abi): New enum.
  7893. (struct gdbarch_tdep): Replace os_ident member with abi.
  7894. (i386_gdbarch_register_os_abi): New prototype.
  7895. * i386-tdep.c (i386_abi_names): New array.
  7896. (process_note_abi_tag_sections): Removed.
  7897. (process_note_sections): New function.
  7898. (i386_elf_abi_from_note, i386_elf_abi): New functions.
  7899. (struct i386_abi_handler): New struct.
  7900. (i386_abi_handler_list): New variable.
  7901. (i386_gdbarch_register_os_abi): New function.
  7902. (i386_gdbarch_init): Adapt for the changes given above.
  7903. 2002-05-08 Daniel Jacobowitz <drow@mvista.com>
  7904. * gregset.h: Say "GNU/Linux".
  7905. 2002-05-08 Elena Zannoni <ezannoni@redhat.com>
  7906. * gdbtypes.c : Add new builtin type for 64 bit vectors.
  7907. (build_gdbtypes): Build builtin_type_v2_float.
  7908. (_initialize_gdbtypes): Register new builtin type.
  7909. 2002-05-08 Andrew Cagney <ac131313@redhat.com>
  7910. * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section.
  7911. (clear_gdbarch_swap): New function.
  7912. (initialize_non_multiarch): Call.
  7913. (gdbarch_update_p): Before calling init(), swap out and clear the
  7914. existing architecture.
  7915. * gdbarch.c: Regenerate.
  7916. 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com>
  7917. * config/djgpp/fnchange.lst: Add alphanbsd-nat.c and
  7918. alphanbsd-tdep.c.
  7919. 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com>
  7920. * sh-nbsd-nat.c: Rename to...
  7921. * shnbsd-nat.c: ...this.
  7922. * sh-nbsd-tdep.c: Rename to...
  7923. * shnbsd-tdep.c: ...this.
  7924. * sh-nbsd-tdep.h: Rename to...
  7925. * shnbsd-tdep.h: ...this.
  7926. * config/sh/nbsd.mh: Use shnbsd-nat.o.
  7927. * config/sh/nbsd.mt: Use shnbsd-tdep.o.
  7928. 2002-05-08 Richard Earnshaw <rearnsha@arm.com>
  7929. * remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string
  7930. concatenation for command help messages.
  7931. 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com>
  7932. * NEWS: Note new sh*-*-netbsdelf* configuration.
  7933. * configure.host: Set gdb_host_cpu to sh for all sh*.
  7934. (sh*-*-netbsdelf*): New host.
  7935. * configure.tgt: Set gdb_target_cpu to sh for all sh*.
  7936. (sh*-*-netbsdelf*): New target.
  7937. * sh-nbsd-nat.c: New file.
  7938. * sh-nbsd-tdep.c: New file.
  7939. * sh-nbsd-tdep.h: New file.
  7940. * config/sh/nbsd.mh: New file.
  7941. * config/sh/nbsd.mt: New file.
  7942. * config/sh/nm-nbsd.h: New file.
  7943. * config/sh/tm-nbsd.h: New file.
  7944. 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com>
  7945. * sh-tdep.c (sh_osabi_names): Declare.
  7946. (process_note_abi_tag_sections): New function.
  7947. (get_elfosabi): Ditto.
  7948. (sh_gdbarch_register_os_abi): Ditto.
  7949. (sh_dump_tdep): Ditto.
  7950. _initialize_sh_tdep): Use gdbarch_register to register
  7951. sh_gdbarch_init and sh_dump_tdep.
  7952. * config/sh/tm-sh.h (sh_osabi): Declare.
  7953. (gdbarch_tdep): Add sh_osabi and osabi_name members.
  7954. 2002-05-07 Andrew Cagney <ac131313@redhat.com>
  7955. * arm-tdep.c (arm_skip_prologue): Handle generic dummy frames.
  7956. (thumb_scan_prologue): Ditto.
  7957. (arm_find_callers_reg): Ditto.
  7958. (arm_frame_chain): Ditto.
  7959. (arm_init_extra_frame_info): Ditto.
  7960. (arm_frame_saved_pc): Ditto.
  7961. (arm_pop_frame): Ditto.
  7962. (arm_push_return_address): New function.
  7963. (arm_gdbarch_init): Initialize use_generic_dummy_frames,
  7964. call_dummy_location, call_dummy_breakpoint_offset_p,
  7965. call_dummy_breakpoint_offset, call_dummy_p,
  7966. call_dummy_stack_adjust_p, call_dummy_words,
  7967. sizeof_call_dummy_words, call_dummy_start_offset,
  7968. call_dummy_length, fix_call_dummy, pc_in_call_dummy,
  7969. call_dummy_address, push_return_address and push_dummy_frame for
  7970. generic dummy frames.
  7971. 2002-05-07 Jason Thorpe <thorpej@wasabisystems.com>
  7972. * sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error in
  7973. size computation for alloca.
  7974. (sh_fp_frame_init_saved_regs): Likewise.
  7975. 2002-05-07 Richard Earnshaw <rearnsha@arm.com>
  7976. * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define.
  7977. (ARM_MAX_REGISTER_VIRTUAL_SIZE): Define.
  7978. * arm-tdep.c (arm_store_return_value): Use them.
  7979. Use FP_REGISTER_RAW_SIZE when setting the FPA return value.
  7980. * remote-rdp.c (remote_rdp_fetch_register): Use
  7981. ARM_MAX_REGISTER_RAW_SIZE.
  7982. (remote_rdp_store_register): Likewise.
  7983. 2002-05-07 Michal Ludvig <mludvig@suse.cz>
  7984. * dwarf2cfi.c: Code cleanup, removed unused variables,
  7985. added default labels to switch {} statements.
  7986. * x86-64-tdep.c: Ditto.
  7987. * x86-64-linux-nat.c: Ditto.
  7988. 2002-05-07 Jason Thorpe <thorpej@wasabisystems.com>
  7989. * solib.h: Protect against multiple inclusion.
  7990. 2002-05-06 Jim Blandy <jimb@redhat.com>
  7991. Add first preprocessor macro-expansion files.
  7992. * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files.
  7993. * Makefile.in (SFILES): Add macrotab.c, macroexp.c.
  7994. (splay_tree_h, macroexp_h, macrotab_h): New variable.
  7995. (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h.
  7996. (COMMON_OBS): Add macrotab.o, macroexp.o.
  7997. (macroexp.o, macrotab.o): New rules.
  7998. Separate the job of reading the line number info statement program
  7999. header (...expialidocious) out into its own function.
  8000. * dwarf2read.c (struct line_head, struct filenames, struct
  8001. directories): Replace with...
  8002. (struct line_header): New structure, containing the full
  8003. contents of the statement program header, including the
  8004. include directory and file name tables.
  8005. (read_file_scope): If we have line number info, instead of just
  8006. calling dwarf_decode_lines to do all the work, call
  8007. dwarf_decode_line_header first to get a `struct line_header'
  8008. containing the data in the statement program header, and then
  8009. pass that to dwarf_decode_lines, which will pick up where that
  8010. left off. Be sure to clean up the `struct line_header' object.
  8011. (dwarf_decode_line_header, free_line_header, add_include_dir,
  8012. add_file_name): New functions.
  8013. (dwarf_decode_lines): Move all the code to read the statement
  8014. program header into dwarf_decode_line_header. Take the line
  8015. header it built as the first argument, instead of the offset to
  8016. the compilation unit's line number info. Use the new `struct
  8017. line_header' type instead of the old structures. No need to do
  8018. cleanups here now, since we don't allocate anything.
  8019. (dwarf2_statement_list_fits_in_line_number_section,
  8020. dwarf2_line_header_too_long): New complaints.
  8021. 2002-05-06 Elena Zannoni <ezannoni@redhat.com>
  8022. * gdbtypes.c (init_vector_type): New function.
  8023. (build_builtin_type_vec128): Simplify the representation of SIMD
  8024. registers.
  8025. (build_gdbtypes): Initialize new builtin vector types.
  8026. (_initialize_gdbtypes): Register new vector types with gdbarch.
  8027. (builtin_type_v4_float, builtin_type_v4_int32,
  8028. builtin_type_v8_int16, builtin_type_v16_int8,
  8029. builtin_type_v2_int32, builtin_type_v4_int16,
  8030. builtin_type_v8_int8): New (renamed) SIMD types.
  8031. 2002-05-06 Mark Kettenis <kettenis@gnu.org>
  8032. * i387-nat.c (i387_fill_fsave): Use regcache_collect.
  8033. (i387_fill_fxsave): Likewise.
  8034. 2002-05-05 Alexandre Oliva <aoliva@redhat.com>
  8035. * alpha-tdep.c (alpha_extract_return_value): Don't use
  8036. non-constant array size in prototype.
  8037. 2002-05-04 Andrew Cagney <ac131313@redhat.com>
  8038. From Brian Taylor <briant at model dot com>:
  8039. * ui-out.c (ui_out_field_core_addr): Use the function
  8040. longest_local_hex_string_custom'to format addresses > 32 bits
  8041. wide.
  8042. * ui-out.c (ui_out_field_core_addr): Update comment.
  8043. 2002-05-04 Andrew Cagney <ac131313@redhat.com>
  8044. * stack.c (select_and_print_frame): Make static. Delete the
  8045. parameter `level'.
  8046. (func_command): Update call.
  8047. (select_frame_command): Delete code computing the frame level.
  8048. * frame.h (select_and_print_frame): Delete declaration.
  8049. 2002-05-04 Andrew Cagney <ac131313@redhat.com>
  8050. * sparc-tdep.c (sparc_get_saved_register): Comment why
  8051. get_prev_frame call is safe.
  8052. 2002-05-04 Andrew Cagney <ac131313@redhat.com>
  8053. * frame.h (select_frame): Delete level parameter.
  8054. * stack.c (select_frame): Update. Use frame_relative_level to
  8055. obtain the frame's level.
  8056. (select_and_print_frame): Update call.
  8057. (select_frame_command): Ditto.
  8058. (up_silently_base): Ditto.
  8059. (down_silently_base): Ditto.
  8060. * ocd.c (ocd_start_remote): Ditto.
  8061. * remote-rdp.c (remote_rdp_open): Ditto.
  8062. * remote-mips.c (mips_initialize): Ditto.
  8063. (common_open): Ditto.
  8064. * remote-e7000.c (e7000_start_remote): Ditto.
  8065. * m3-nat.c (select_thread): Ditto.
  8066. * hppa-tdep.c (child_get_current_exception_event): Ditto.
  8067. (child_get_current_exception_event): Ditto.
  8068. * varobj.c (varobj_create): Ditto.
  8069. (varobj_update): Ditto.
  8070. (c_value_of_root): Ditto.
  8071. * tracepoint.c (finish_tfind_command): Ditto.
  8072. * corelow.c (core_open): Ditto.
  8073. * arch-utils.c (generic_prepare_to_proceed): Ditto.
  8074. * thread.c (info_threads_command): Ditto.
  8075. (switch_to_thread): Ditto.
  8076. * infrun.c (normal_stop): Ditto.
  8077. (restore_selected_frame): Ditto.
  8078. (restore_inferior_status): Ditto.
  8079. * breakpoint.c (insert_breakpoints): Ditto.
  8080. (watchpoint_check): Ditto.
  8081. (bpstat_stop_status): Ditto.
  8082. (do_enable_breakpoint): Ditto.
  8083. * blockframe.c (flush_cached_frames): Ditto.
  8084. (reinit_frame_cache): Ditto.
  8085. 2002-05-04 Andrew Cagney <ac131313@redhat.com>
  8086. * MAINTAINERS (Host/Native): Add Jason Thorpe as NetBSD
  8087. maintainer.
  8088. 2002-05-04 Jim Blandy <jimb@redhat.com>
  8089. * gdbtypes.c (replace_type): Doc fix.
  8090. 2002-05-04 Andrew Cagney <ac131313@redhat.com>
  8091. * valprint.c (strcat_longest): Delete commented out function.
  8092. Update copyright.
  8093. 2002-05-04 Andrew Cagney <ac131313@redhat.com>
  8094. * MAINTAINERS: Mark a29k as deleted.
  8095. * NEWS: Mention that a29k was removed. Add OBSOLETE section.
  8096. Move new configurations to the top.
  8097. * configure.tgt: Remove a29k.
  8098. * config/a29k/tm-vx29k.h: Delete.
  8099. * config/a29k/vx29k.mt: Delete.
  8100. * config/a29k/tm-a29k.h: Delete.
  8101. * config/a29k/a29k-udi.mt: Delete.
  8102. * config/a29k/a29k.mt: Delete.
  8103. * a29k-tdep.c: Delete.
  8104. * remote-udi.c: Delete.
  8105. * remote-mm.c: Delete.
  8106. * remote-eb.c: Delete.
  8107. * remote-adapt.c: Delete.
  8108. * Makefile.in: Remove obsolete code.
  8109. * config/s390/s390x.mt: Ditto.
  8110. * config/s390/s390.mt: Ditto.
  8111. * config/sparc/sparclynx.mh: Ditto.
  8112. * config/sparc/linux.mh: Ditto.
  8113. * config/pa/hppaosf.mh: Ditto.
  8114. * config/pa/hppabsd.mh: Ditto.
  8115. * config/ns32k/nbsd.mt: Ditto.
  8116. * config/mips/vr5000.mt: Ditto.
  8117. * config/m68k/sun3os4.mh: Ditto.
  8118. * config/m68k/nbsd.mt: Ditto.
  8119. * config/m68k/m68klynx.mh: Ditto.
  8120. * config/m32r/m32r.mt: Ditto.
  8121. * config/i386/x86-64linux.mt: Ditto.
  8122. * config/i386/nbsdelf.mt: Ditto.
  8123. * config/i386/nbsd.mt: Ditto.
  8124. * config/i386/i386lynx.mh: Ditto.
  8125. 2002-05-04 Andrew Cagney <ac131313@redhat.com>
  8126. * target.c (debug_print_register): New function. Handle oversize
  8127. registers.
  8128. (debug_to_fetch_registers): Call.
  8129. (debug_to_store_registers): Call.
  8130. 2002-05-03 Jim Blandy <jimb@redhat.com>
  8131. * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy.
  8132. (read_type): Doc fix.
  8133. * gdbtypes.c (replace_type): Doc fix.
  8134. * stabsread.c (multiply_defined_struct): New complaint.
  8135. (read_struct_type): If the type we were passed isn't empty, or
  8136. incomplete, don't read the new struct type into it; complain,
  8137. and return the original type unchanged. Take a new `type_code'
  8138. argument, which is the type code for the new type.
  8139. (read_type): Rather than storing the type's type code here, pass
  8140. it as an argument to read_struct_type, and let that take care of
  8141. storing it. That way, we don't overwrite the original type code,
  8142. so read_struct_type can use it to decide whether we're overwriting
  8143. something we shouldn't.
  8144. (complain_about_struct_wipeout): New function.
  8145. 2002-05-03 Andrew Cagney <ac131313@redhat.com>
  8146. * gdbarch.sh: Assert that gdbarch is non-NULL.
  8147. * gdbarch.c: Regenerate.
  8148. 2002-05-03 Jason Merrill <jason@redhat.com>
  8149. * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn
  8150. and return NULL.
  8151. 2002-05-03 Michal Ludvig <mludvig@suse.cz>
  8152. * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map),
  8153. (x86_64_dwarf2gdb_regno_map_length),
  8154. (x86_64_dwarf2_reg_to_regnum): Added.
  8155. (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum.
  8156. (x86_64_gdbarch_init): Renamed from i386_gdbarch_init.
  8157. (_initialize_x86_64_tdep): Synced with the change above.
  8158. (x86_64_skip_prologue): Reformulated message.
  8159. 2002-05-03 Pierre Muller <muller@ics.u-strasbg.fr>
  8160. * f-exp.y: Also use new prev_lexptr variable
  8161. to improve error reporting. Based on Michael Snyder
  8162. 2002-04-24 dated patch to c-exp.y.
  8163. * jv-exp.y: Likewise.
  8164. * m2-exp.y: Likewise.
  8165. 2002-05-02 Elena Zannoni <ezannoni@redhat.com>
  8166. * valops.c (value_arg_coerce): Don't coerce arrays to pointers if
  8167. we are dealing with vectors.
  8168. 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
  8169. * config/m68k/tm-nbsd.h: Obvious fix,
  8170. correct machine name.
  8171. 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
  8172. * p-typeprint.c (pascal_type_print_base): Add support
  8173. for TYPE_CODE_STRING and TYPE_CODE_BITSTRING.
  8174. 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
  8175. * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR
  8176. for fondamental pascal 'char' type.
  8177. 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
  8178. * p-lang.h (is_pascal_string_type): Declaration changed,
  8179. new sixth argument of type char ** added.
  8180. * p-lang.c (is_pascal_string_type): Implementation
  8181. changed. Args length_pos, length_size, string_pos, char_size
  8182. can now be NULL. New argument arrayname set to the field
  8183. name of the char array. Return value set to char array
  8184. field index plus one.
  8185. * p-valprint.c (pascal_val_print): Adapt to new declaration of
  8186. is_pascal_string_type function.
  8187. 2002-05-02 Andrew Cagney <cagney@redhat.com>
  8188. * gdbarch.sh (gdbarch_update_p): Revert 2002-05-02 Andrew Cagney
  8189. <cagney@redhat.com> change.
  8190. * gdbarch.c: Regenerate.
  8191. 2002-05-02 Andrew Cagney <cagney@redhat.com>
  8192. * gdbarch.sh (gdbarch_update_p): Swap out the old architecture
  8193. before probing for a new one. Detect errorenous gdbarch_init
  8194. functions.
  8195. * gdbarch.c: Regenerate.
  8196. 2002-05-01 Andrew Cagney <cagney@redhat.com>
  8197. * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h".
  8198. * config/mcore/tm-mcore.h: Ditto. Update copyright.
  8199. * config/v850/tm-v850.h: Ditto. Update copyright.
  8200. 2002-04-30 Andrew Cagney <ac131313@redhat.com>
  8201. * cris-tdep.c (cris_gdbarch_init): Use arches instead of
  8202. current_gdbarch.
  8203. 2002-04-30 Michael Snyder <msnyder@redhat.com>
  8204. * arm-tdep.c: Whitespace clean-ups.
  8205. (arm_skip_prologue): Fix thinko; two lines
  8206. should have been removed as part of 4/24 change.
  8207. 2002-04-30 Kevin Buettner <kevinb@redhat.com>
  8208. * rs6000-tdep.c: Added comment describing how fpscr register
  8209. numbers were chosen.
  8210. 2002-04-30 Michael Snyder <msnyder@redhat.com>
  8211. * gnu-nat.c (gnu_find_memory_regions): Fix merge botch.
  8212. 2002-04-29 Elena Zannoni <ezannoni@redhat.com>
  8213. * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR.
  8214. (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH.
  8215. (hpread_symfile_init, hpread_lookup_type): Substitute throughout.
  8216. 2002-04-29 Kevin Buettner <kevinb@redhat.com>
  8217. From Louis Hamilton <hamilton@redhat.com>:
  8218. * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include.
  8219. * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise.
  8220. * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(),
  8221. not bfd-private xcoff data, to determine wordsize.
  8222. * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise.
  8223. 2002-04-29 Andrew Cagney <ac131313@redhat.com>
  8224. GDB 5.2 released from 5.2 branch.
  8225. 2002-04-29 Michal Ludvig <mludvig@suse.cz>
  8226. * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning.
  8227. * x86-64-tdep.c (i386_gdbarch_init): Ditto.
  8228. (x86_64_register_info_table): Added comments with register numbers.
  8229. 2002-04-29 Elena Zannoni <ezannoni@redhat.com>
  8230. * rs6000-tdep.c (rs6000_extract_return_value,
  8231. rs6000_store_return_value): Handle returning vectors.
  8232. (rs6000_gdbarch_init): Use
  8233. ppc_sysv_abi_broken_use_struct_convention for native sysv cases.
  8234. * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention):
  8235. New function.
  8236. (ppc_sysv_abi_use_struct_convention): Deal with functions returning
  8237. vectors.
  8238. (ppc_sysv_abi_push_arguments): Handle vector parameters.
  8239. * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export.
  8240. 2002-04-24 Pierre Muller <ics.u-strasbg.fr>
  8241. * hpread.c (hpread_psymtab_to_symtab_1,
  8242. hpread_psymtab_to_symtab): Replace fprintf tab_to_s...)
  8243. with fprintf_unfiltered (gdb_stderr,...).
  8244. 2002-04-24 Pierre Muller <ics.u-strasbg.fr>
  8245. * remote-array.c (printf_monitor, write_monitor,
  8246. array_insert_breakpoint, array_remove_breakpoint ):
  8247. Replace fprintf (stderr,...
  8248. with fprintf_unfiltered (gdb_stderr,....
  8249. * remote-es.c: Likewise.
  8250. * remote-os9k.c: Likewise.
  8251. * remote-st.c: Likewise.
  8252. 2002-04-28 Andreas Schwab <schwab@suse.de>
  8253. * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add
  8254. linux-proc.o and gcore.o.
  8255. 2002-04-26 Michal Ludvig <mludvig@suse.cz>
  8256. * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging
  8257. code without frame pointers.
  8258. 2002-04-26 Andrew Cagney <ac131313@redhat.com>
  8259. * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why
  8260. ON_STACK is needed.
  8261. 2002-04-26 Ben Elliston <bje@redhat.com>
  8262. * target.c (do_xfer_memory): Correct reference to the new option
  8263. "trust-readonly-sections".
  8264. 2002-04-26 Elena Zannoni <ezannoni@redhat.com>
  8265. * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define.
  8266. * gdbtypes.c (recursive_dump_type): Output the vector flag.
  8267. * dwarf2read.c (dwarf_attr_name): Handle new attribute for
  8268. vectors.
  8269. (read_array_type): Record the fact that this array type is really a
  8270. vector (i.e. are passed in by value).
  8271. 2002-04-26 Jason Thorpe <thorpej@wasabisystems.com>
  8272. * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member.
  8273. * alpha-tdep.c (alpha_sigcontext_addr): New function.
  8274. (alpha_find_saved_regs): Use alpha_sigcontext_addr.
  8275. (alpha_gdbarch_init): Initialize tdep->sigcontext_addr.
  8276. * alpha-linux-tdep.c: Include frame.h.
  8277. (alpha_linux_sigcontext_addr): New function.
  8278. (alpha_linux_init_abi): Set tdep->sigcontext_addr to
  8279. alpha_linux_sigcontext_addr.
  8280. * alpha-osf1-tdep.c: Include gdbcore.h.
  8281. (alpha_osf1_sigcontext_addr): New function.
  8282. (alpha_osf1_init_abi): Set tdep->sigcontext_addr to
  8283. alpha_osf1_sigcontext_addr.
  8284. * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove.
  8285. * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove.
  8286. 2002-04-26 Andrew Cagney <ac131313@redhat.com>
  8287. * stack.c (selected_frame_level):
  8288. (select_frame): Do not set selected_frame_level.
  8289. * frame.h (selected_frame_level): Delete declaration.
  8290. 2002-04-26 Andrew Cagney <ac131313@redhat.com>
  8291. * rs6000-tdep.c (rs6000_gdbarch_init): Only set
  8292. convert_from_func_ptr-addr when AIX / PowerOpen.
  8293. 2002-04-25 Andrew Cagney <ac131313@redhat.com>
  8294. * valops.c (hand_function_call): Call
  8295. generic_save_call_dummy_addr.
  8296. * frame.h (generic_save_call_dummy_addr): Declare.
  8297. * blockframe.c (struct dummy_frame): Add fields call_lo and
  8298. call_hi.
  8299. (generic_find_dummy_frame): Check for PC in range call_lo to
  8300. call_hi instead of entry_point_address.
  8301. (generic_pc_in_call_dummy): Search the dummy frames for a PC in
  8302. the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK.
  8303. (generic_save_call_dummy_addr): New function.
  8304. 2002-04-24 David S. Miller <davem@redhat.com>
  8305. * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates
  8306. sparc_skip_prologue.
  8307. (sparc_skip_prologue): Kill frameless_p arg, and use line number
  8308. information to find prologue when possible.
  8309. (sparc_prologue_frameless_p): Call examine_prologue directly.
  8310. (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call.
  8311. * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed
  8312. second argument.
  8313. (SKIP_PROLOGUE): Likewise.
  8314. 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com>
  8315. * alpha-tdep.c (alpha_skip_prologue_internal): Remove
  8316. GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to
  8317. indicate that the condition it was testing is always true.
  8318. * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove.
  8319. * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto.
  8320. * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto.
  8321. 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com>
  8322. * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members.
  8323. * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize
  8324. tdep->jb_pc and tdep->jb_elt_size.
  8325. * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise.
  8326. * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise.
  8327. * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise.
  8328. * alpha-nat.c (get_longjmp_target): Remove.
  8329. (JB_ELEMENT_SIZE): Ditto.
  8330. (JB_PC): Ditto.
  8331. * alpha-tdep.c (alpha_get_longjmp_target): New function.
  8332. (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the
  8333. OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target
  8334. to alpha_get_longjmp_target.
  8335. (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size.
  8336. * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove.
  8337. * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove.
  8338. 2002-04-25 Andrew Cagney <ac131313@redhat.com>
  8339. * README: Update to GDB 5.2.
  8340. 2002-04-25 Andrew Cagney <ac131313@redhat.com>
  8341. * gdbarch.sh (LC_ALL): Set to `c'.
  8342. 2002-04-25 Theodore A. Roth <troth@verinet.com>
  8343. * avr-tdep.c: Ran through gdb_indent.sh.
  8344. 2002-04-25 Theodore A. Roth <troth@verinet.com>
  8345. * MAINTAINERS: Add myself as AVR maintainer.
  8346. * NEWS: Note new target avr.
  8347. 2002-04-25 Theodore A. Roth <troth@verinet.com>
  8348. * Makefile.in: Add support for AVR target.
  8349. * configure.tgt: Add support for AVR target.
  8350. * avr-tdep.c: New file
  8351. * config/avr/avr.mt: New file.
  8352. 2002-04-25 Theodore A. Roth <troth@verinet.com>
  8353. * MAINTAINERS: Add myself to write-after-approval.
  8354. 2002-04-24 Pierre Muller <ics.u-strasbg.fr>
  8355. * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,...
  8356. with fprintf_unfiltered (gdb_stderr,....
  8357. 2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr>
  8358. Fix PR gdb/508.
  8359. * symfile.c (add_filename_language): Fix wrong xrealloc size argument.
  8360. 2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr>
  8361. * p-exp.y: Also use new prev_lexptr variable
  8362. to improve error reporting. Based on Michael Snyder
  8363. 2002-04-24 dated patch to c-exp.y.
  8364. 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com>
  8365. * alpha-tdep.c (alpha_breakpoint_from_pc): New function.
  8366. (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to
  8367. alpha_breakpoint_from_pc. Set gdbarch_function_start_offset
  8368. to 0.
  8369. * config/alpha/tm-alpha.h: Remove forward decls of struct type
  8370. and struct value.
  8371. (FUNCTION_START_OFFSET): Remove.
  8372. (BREAKPOINT): Ditto.
  8373. 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com>
  8374. * MAINTAINERS: Reflect that multi-arch is enabled for VAX.
  8375. * NEWS: Ditto.
  8376. 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
  8377. * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function.
  8378. (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to
  8379. alpha_linux_pc_in_sigtramp.
  8380. * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function.
  8381. (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to
  8382. alpha_osf1_pc_in_sigtramp.
  8383. * alpha-tdep.c (alpha_osf_in_sigtramp): Remove.
  8384. * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function.
  8385. (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to
  8386. alphafbsd_pc_in_sigtramp.
  8387. * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function.
  8388. (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to
  8389. alphanbsd_pc_in_sigtramp.
  8390. * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove.
  8391. * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove.
  8392. 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
  8393. * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o.
  8394. 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
  8395. * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and
  8396. alphanbsd-tdep.c.
  8397. (alphanbsd-nat.o): New dependency list.
  8398. (alphanbsd-tdep.o): Ditto.
  8399. * NEWS: Note new native NetBSD/alpha configuration.
  8400. * alphanbsd-nat.c: New file.
  8401. * alphanbsd-tdep.c: Ditto.
  8402. * configure.host (alpha*-*-netbsd*): New host.
  8403. * configure.tgt (alpha*-*-netbsd*): New target.
  8404. * config/alpha/nbsd.mh: New file.
  8405. * config/alpha/nbsd.mt: Ditto.
  8406. * config/alpha/nm-nbsd.h: Ditto.
  8407. * config/alpha/tm-nbsd.h: Ditto.
  8408. 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
  8409. * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c.
  8410. (alpha-osf1-tdep.o): New dependency list.
  8411. * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset
  8412. and skip_sigtramp_frame members.
  8413. * alpha-linux-tdep.c: Include gdbcore.h.
  8414. (alpha_linux_sigtramp_offset): Change return type to LONGEST.
  8415. (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset.
  8416. * alpha-osf1-tdep.c: New file.
  8417. * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to
  8418. alpha-osf1-dep.c.
  8419. (alpha_frame_past_sigtramp_frame): New function.
  8420. (alpha_dynamic_sigtramp_offset): Ditto.
  8421. (alpha_proc_desc_is_dyn_sigtramp): Ditto.
  8422. (alpha_set_proc_desc_is_dyn_sigtramp): Ditto.
  8423. (ALPHA_PROC_SIGTRAMP_MAGIC): Define.
  8424. (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp.
  8425. (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp.
  8426. (find_proc_desc): Use alpha_dynamic_sigtramp_offset.
  8427. (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame.
  8428. (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp.
  8429. (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp.
  8430. (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset
  8431. and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code
  8432. to find_solib_trampoline_target.
  8433. * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o.
  8434. * config/alpha/tm-alpha.h: Remove inclusion of regcache.h.
  8435. (SKIP_TRAMPOLINE_CODE): Remove.
  8436. (PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
  8437. (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
  8438. (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
  8439. (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
  8440. * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove.
  8441. (PROC_SIGTRAMP_MAGIC): Ditto.
  8442. (PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
  8443. (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
  8444. (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
  8445. (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
  8446. (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
  8447. 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
  8448. * NEWS: Note that Alpha targets are now multi-arch.
  8449. 2002-04-24 Michael Snyder <msnyder@redhat.com>
  8450. * parser-defs.h (prev_lexptr): New external variable.
  8451. * parse.c (parse_exp_1): Set prev_lexptr to null before
  8452. calling the language-specific parser.
  8453. * c-exp.y (yylex): Set prev_lexptr to start of current token.
  8454. (yyerror): Use prev_lexptr in error reporting.
  8455. 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
  8456. * config/i386/tm-linux.h: Define FILL_FPXREGSET.
  8457. * gregset.h: If FILL_FPXREGSET is defined, provide
  8458. gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset.
  8459. * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET
  8460. is defined, call fill_fpxregset.
  8461. 2002-04-24 Roland McGrath <roland@frob.com>
  8462. * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here.
  8463. * i386gnu-nat.c [HAVE_SYS_PROCFS_H]
  8464. (supply_gregset, supply_fpregset): New functions.
  8465. * gnu-nat.c (gnu_find_memory_regions): New function.
  8466. (init_gnu_ops): Set `to_find_memory_regions' hook to that.
  8467. (gnu_xfer_memory): Add a cast.
  8468. 2002-04-24 Michael Snyder <msnyder@redhat.com>
  8469. * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the
  8470. loop. Add handling for "str lr, [sp, #-4]!" and for saves
  8471. of argument regs ("str r(0123), [r11, #-nn"]).
  8472. (arm_skip_prologue): Better handling for frameless functions.
  8473. Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]".
  8474. (arm_skip_prologue): Recognize str r(0123), [r11, #-nn].
  8475. Wed Apr 24 14:22:21 2002 Andrew Cagney <cagney@redhat.com>
  8476. * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor
  8477. NUM_PSEUDO_REGS can be used.
  8478. 2002-04-24 Andrew Cagney <ac131313@redhat.com>
  8479. * arch-utils.h: Update copyright.
  8480. * gdbarch.sh (PC_IN_SIGTRAMP): Add.
  8481. * gdbarch.h, gdbarch.c: Re-generate.
  8482. * inferior.h (IN_SIGTRAMP): Delete definition.
  8483. * arch-utils.c (legacy_pc_in_sigtramp): New function.
  8484. * arch-utils.h (legacy_pc_in_sigtramp): Declare.
  8485. * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP.
  8486. (mips_dump_tdep): Do not print value of IN_SIGTRAMP.
  8487. * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP.
  8488. (find_proc_framesize): Ditto.
  8489. * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto.
  8490. (alpha_init_extra_frame_info): Ditto.
  8491. * infrun.c (handle_inferior_event): Ditto.
  8492. (handle_inferior_event): Ditto.
  8493. (check_sigtramp2): Ditto.
  8494. * blockframe.c (create_new_frame): Ditto.
  8495. (get_prev_frame): Ditto.
  8496. * ppc-linux-tdep.c: Update comments.
  8497. * i386-linux-tdep.c: Update comments.
  8498. * breakpoint.c (bpstat_what): Update comment.
  8499. 2002-04-24 David S. Miller <davem@redhat.com>
  8500. * i960-tdep.c (register_in_window_p): New function.
  8501. (i960_find_saved_register): Use it instead of
  8502. REGISTER_IN_WINDOW_P.
  8503. * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete.
  8504. * symtab.h (find_stab_function_addr): Kill extern.
  8505. * minsyms.c (find_stab_function_addr): Remove from here...
  8506. * dbxread.c: ... to here, and mark it static.
  8507. 2002-04-20 David S. Miller <davem@redhat.com>
  8508. * sparc-tdep.c (sparc_pop_frame): Only need to allocate
  8509. SPARC_INTREG_SIZE * 16 bytes for reg_temp.
  8510. 2002-04-21 David S. Miller <davem@redhat.com>
  8511. * remote-vxsparc.c (vx_read_register): Fix typo, we want
  8512. REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR.
  8513. (vx_write_register): Likewise.
  8514. 2002-04-23 J. Brobecker <brobecker@gnat.com>
  8515. * source.c (is_regular_file): New function.
  8516. (openp): Check wether file to open is a regular file
  8517. to avoid opening directories.
  8518. 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
  8519. * findvar.c (extract_signed_integer): Cast printf argument
  8520. to suppress format warning.
  8521. (extract_unsigned_integer): Likewise.
  8522. * infcmd.c (registers_info): Likewise.
  8523. * top.c (get_prompt_1): Likewise.
  8524. * valops.c (value_assign): Likewise.
  8525. * valprint.c (print_decimal): Likewise.
  8526. 2002-04-22 H.J. Lu (hjl@gnu.org)
  8527. * c-exp.y (typebase): Support
  8528. [long|long long|short] [signed|unsigned] [int|]
  8529. and
  8530. signed [long|long long|short] int
  8531. 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
  8532. * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h),
  8533. and vax-tdep.h.
  8534. * vax-tdep.h: New file.
  8535. * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h.
  8536. Make several routines static.
  8537. (vax_get_saved_register): New function.
  8538. (vax_gdbarch_init): New function.
  8539. (_initialize_vax_tdep): Register vax_gdbarch_init.
  8540. * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL.
  8541. Remove macros now under the control of gdbarch.
  8542. 2002-04-22 Michael Snyder <msnyder@redhat.com>
  8543. * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn".
  8544. Some whitespace and coding standards tweaks.
  8545. 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
  8546. * vax-tdep.c: Include regcache.h.
  8547. (vax_call_dummy_words): New.
  8548. (sizeof_vax_call_dummy_words): New.
  8549. (vax_fix_call_dummy): New function.
  8550. (vax_saved_pc_after_call): Ditto.
  8551. * config/vax/tm-vax.h: Don't include regcache.h.
  8552. (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call.
  8553. (CALL_DUMMY): Remove.
  8554. (CALL_DUMMY_WORDS): Define.
  8555. (SIZEOF_CALL_DUMMY_WORDS): Define.
  8556. (FIX_CALL_DUMMY): Use vax_fix_call_dummy.
  8557. 2002-04-18 Michael Snyder <msnyder@redhat.com>
  8558. * arm-tdep.h: Change regnum defines to enums for ease of debugging.
  8559. 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
  8560. * vax-tdep.c (vax_frame_chain): New function.
  8561. (vax_push_dummy_frame): Ditto.
  8562. (vax_pop_frame): Ditto.
  8563. * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain.
  8564. (FRAMELESS_FUNCTION_INVOCATION): Use
  8565. generic_frameless_function_invocation_not.
  8566. (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame.
  8567. (POP_FRAME): Use vax_pop_frame.
  8568. 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
  8569. * vax-tdep.c (vax_store_struct_return): New function.
  8570. (vax_extract_return_value): Ditto.
  8571. (vax_store_return_value): Ditto.
  8572. (vax_extract_struct_value_address): Ditto.
  8573. * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use
  8574. vax_store_struct_return.
  8575. (EXTRACT_RETURN_VALUE): Use vax_extract_return_value.
  8576. (STORE_RETURN_VALUE): Use vax_store_return_value.
  8577. (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address.
  8578. 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
  8579. * vax-tdep.c (vax_frame_saved_pc): New function.
  8580. (vax_frame_args_address_correct): Ditto.
  8581. (vax_frame_args_address): Ditto.
  8582. (vax_frame_locals_address): Ditto.
  8583. (vax_frame_num_args): Move code to be in proximity to
  8584. other frame-related functions.
  8585. * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan.
  8586. (FRAME_SAVED_PC): Use vax_frame_saved_pc.
  8587. (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct.
  8588. (FRAME_ARGS_ADDRESS): Use vax_frame_args_address.
  8589. (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address.
  8590. 2002-04-22 H.J. Lu (hjl@gnu.org)
  8591. * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and
  8592. includedir.
  8593. 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
  8594. * vax-tdep.c (vax_frame_init_saved_regs): New function.
  8595. * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove.
  8596. (FRAME_INIT_SAVED_REGS): New macro.
  8597. 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
  8598. * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd.
  8599. 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
  8600. * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants
  8601. where needed.
  8602. (fetch_osf_core_registers): Likewise.
  8603. (supply_gregset): Likewise.
  8604. 2002-04-22 J. Brobecker <brobecker@gnat.com>
  8605. * symfile.h (get_section_index): Define.
  8606. * symfile.c (get_section_index): New function.
  8607. * mdebugread.c (SC_IS_SBSS): New macro.
  8608. (SC_IS_BSS): Return true for the scBss storage class only, as
  8609. the scSBss storage class refers to the .sbss section.
  8610. (parse_partial_symbols): Discard the symbols which associated
  8611. section does not exist.
  8612. Make sure to use the .sbss section index for symbols which
  8613. storage class is scBss, rather than using the .bss section index.
  8614. 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
  8615. * vax-tdep.c: Update copyright years.
  8616. (vax_register_name): New function.
  8617. (vax_register_byte): Ditto.
  8618. (vax_register_raw_size): Ditto.
  8619. (vax_register_virtual_size): Ditto.
  8620. (vax_register_virtual_type): Ditto.
  8621. * config/vax/tm-vax.h: Update copyright years.
  8622. (REGISTER_NAMES): Remove.
  8623. (REGISTER_NAME): Define.
  8624. (REGISTER_BYTE): Use vax_register_byte.
  8625. (REGISTER_RAW_SIZE): Use vax_register_raw_size.
  8626. (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size.
  8627. (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type.
  8628. 2002-04-21 Andrew Cagney <ac131313@redhat.com>
  8629. * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore
  8630. declaration
  8631. * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error.
  8632. 2002-04-21 David S. Miller <davem@redhat.com>
  8633. * arch-utils.c (generic_prologue_frameless_p): Kill
  8634. SKIP_PROLOGUE_FRAMELESS_P code.
  8635. * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete
  8636. references.
  8637. (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New.
  8638. * arc-tdep.c (arc_prologue_frameless_p): Implement.
  8639. * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete
  8640. references.
  8641. (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New.
  8642. * sparc-tdep.c (sparc_prologue_frameless_p): Implement.
  8643. (sparc_gdbarch_init): Pass it to
  8644. set_gdbarch_prologue_frameless_p.
  8645. 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
  8646. * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c.
  8647. (alphabsd-nat.o): New dependency list.
  8648. 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
  8649. * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and
  8650. alphafbsd-tdep.c.
  8651. (alpha-linux-tdep.o): New dependency list.
  8652. (alphafbsd-tdep.o): Likewise.
  8653. 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
  8654. * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset
  8655. to here...
  8656. * alpha-tdep.c: ...from here.
  8657. * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o.
  8658. 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
  8659. * config/alpha/tm-alpha.h: Move alpha_software_single_step
  8660. prototype from here...
  8661. * alpha-tdep.h: ...to here.
  8662. 2002-04-21 Andrew Cagney <ac131313@redhat.com>
  8663. * frame.h (selected_frame_level): Document as deprecated.
  8664. (frame_relative_level): Declare.
  8665. * stack.c (frame_relative_level): New function.
  8666. (selected_frame_level): Document as deprecated.
  8667. (select_frame): Do not set the selected_frame_level.
  8668. * stack.c (frame_info, record_selected_frame): Update.
  8669. (frame_command, current_frame_command): Update.
  8670. (up_silently_base, up_command, down_silently_base): Update.
  8671. (down_command): Update.
  8672. * inflow.c (kill_command): Update.
  8673. * tracepoint.c (finish_tfind_command): Update.
  8674. * corelow.c (core_open): Update.
  8675. * thread.c (info_threads_command): Update.
  8676. (do_captured_thread_select): Update.
  8677. * infcmd.c (finish_command): Update.
  8678. * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update.
  8679. 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
  8680. * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove.
  8681. 2002-04-21 Andrew Cagney <ac131313@redhat.com>
  8682. * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return
  8683. type const.
  8684. 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
  8685. * alphafbsd-tdep.c: Update copyright years. Include
  8686. alpha-tdep.h.
  8687. (alphafbsd_use_struct_convention): Make static.
  8688. (alphafbsd_init_abi): New function.
  8689. (_initialize_alphafbsd_tdep): New function.
  8690. * config/alpha/tm-fbsd.h: Update copyright years.
  8691. (USE_STRUCT_CONVENTION): Remove.
  8692. 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
  8693. * alpha-tdep.c (alpha_abi_handler): New structure to describe
  8694. an Alpha ABI variant.
  8695. (alpha_abi_handler_list): Declare.
  8696. (alpha_gdbarch_register_os_abi): New function.
  8697. (alpha_gdbarch_init): Give registered ABI variant handlers a
  8698. chance to tweak the gdbarch once we have set up defaults.
  8699. * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi.
  8700. 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
  8701. * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double
  8702. to standard_coerce_float_to_double.
  8703. * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove.
  8704. 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
  8705. * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member.
  8706. * alpha-tdep.c (heuristic_proc_start): Use vm_min_address
  8707. from gdbarch_tdep rather than a constant.
  8708. (alpha_gdbarch_init): Initialize tdep->vm_min_address to
  8709. the default text address for all Alpha Unix ABIs.
  8710. (alpha_dump_tdep): Report the value of tdep->vm_min_address.
  8711. * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete.
  8712. 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
  8713. * alpha-tdep.h: New file. Includes several Alpha target constants
  8714. taken from...
  8715. * config/alpha/tm-alpha.h: ...here. Remove macros that we now
  8716. let gdbarch deal with.
  8717. (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL.
  8718. * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd
  8719. to dependency list.
  8720. * alpha-nat.c: Include alpha-tdep.h. Update for adjusted
  8721. Alpha target register names.
  8722. * alphabsd-nat.c: Likewise.
  8723. * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted
  8724. Alpha target register names. Make serveral routines static.
  8725. (alpha_get_saved_register): New function.
  8726. (alpha_abi_names): New.
  8727. (process_note_abi_tag_sections): New function.
  8728. (get_elfosabi): New function.
  8729. (alpha_gdbarch_init): New function.
  8730. (alpha_dump_tdep): New function.
  8731. (_initialize_alpha_tdep): Register alpha_gdbarch_init.
  8732. 2002-04-21 Andrew Cagney <ac131313@redhat.com>
  8733. * frame.c (find_saved_register): Delete #ifdef
  8734. HAVE_REGISTER_WINDOWS code.
  8735. * config/sparc/tm-sparc.h: Update comments.
  8736. * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro.
  8737. 2002-04-21 Andrew Cagney <ac131313@redhat.com>
  8738. * i960-tdep.c (i960_find_saved_register): New function.
  8739. (i960_get_saved_register): New function.
  8740. * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define.
  8741. (i960_get_saved_register): Declare.
  8742. * config/i960/tm-i960.h, i960-tdep.c: Update copyright.
  8743. 2002-04-20 David S. Miller <davem@redhat.com>
  8744. * sparc-nat.c (store-inferior_registers): Fix ambiguous else.
  8745. 2002-04-20 Andrew Cagney <ac131313@redhat.com>
  8746. * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs
  8747. instead of NUM_PSEUDO_REGS.
  8748. 2002-04-20 David S. Miller <davem@redhat.com>
  8749. * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to
  8750. GDB_MULTI_ARCH_PARTIAL
  8751. * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not
  8752. define, let tm-sp64.h do it.
  8753. 2002-04-20 Jason Thorpe <thorpej@wasabisystems.com>
  8754. * frame.c (find_saved_register): Avoid a NULL pointer
  8755. dereference and actually walk the frame list.
  8756. 2002-04-20 Andrew Cagney <ac131313@redhat.com>
  8757. * gdbarch.sh (gdbarch_update_p): Keep the list of architectures
  8758. sorted in most most-recent-used order. Document.
  8759. * gdbarch.h, gdbarch.c: Regenerate.
  8760. 2002-04-19 Andrew Cagney <ac131313@redhat.com>
  8761. * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame
  8762. instead of ->prev.
  8763. * z8k-tdep.c (z8k_frame_chain): Do not use ->prev.
  8764. * s390-tdep.c (s390_frame_chain): Do not use ->prev.
  8765. * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain()
  8766. instead of ->prev.
  8767. 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
  8768. Fix PR gdb/471.
  8769. * gdbtypes.c (init_simd_type): Rewrite using new functions.
  8770. (build_builtin_type_vec128): Ditto.
  8771. (append_composite_type_field): Fix calculation of type length in
  8772. union case.
  8773. 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il>
  8774. * config/djgpp/README: Update.
  8775. * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a
  8776. compiler warnings.
  8777. 2002-04-19 Jason Thorpe <thorpej@wasabisystems.com>
  8778. * alpha-tdep.c (setup_arbitrary_frame): Rename...
  8779. (alpha_setup_arbitrary_frame): ...to this.
  8780. * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update
  8781. for alpha_setup_arbitrary_frame.
  8782. 2002-04-18 Andrew Cagney <cagney@redhat.com>
  8783. * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.
  8784. * gdbarch.h, gdbarch.c: Regenerate.
  8785. * defs.h (breakpoint_from_pc_fn): Delete type definition.
  8786. * target.h (memory_breakpoint_from_pc): Update declaration.
  8787. * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto.
  8788. * arch-utils.c (legacy_breakpoint_from_pc): Update return type.
  8789. * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto.
  8790. * mem-break.c (memory_breakpoint_from_pc): Ditto.
  8791. * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto.
  8792. * s390-tdep.c (s390_breakpoint_from_pc): Ditto
  8793. * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto.
  8794. * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto.
  8795. * mips-tdep.c (mips_breakpoint_from_pc): Ditto.
  8796. * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto.
  8797. * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto.
  8798. * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto.
  8799. * arch-utils.c (legacy_breakpoint_from_pc): Ditto..
  8800. * mem-break.c (default_memory_insert_breakpoint): Make `bp' a
  8801. const pointer.
  8802. * monitor.c (monitor_insert_breakpoint): Ditto.
  8803. * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'.
  8804. * config/mcore/tm-mcore.h: Update copyright.
  8805. * mem-break.c: Ditto.
  8806. * xstormy16-tdep.c: Ditto.
  8807. 2002-04-18 Pierre Muller <muller@ics.u-strasbg.fr>
  8808. * p-exp.y: Add precedence rule for '^' token.
  8809. This removes the shift/reduce conflicts.
  8810. Remove the comment concerning these shift/reduce conflicts.
  8811. 2002-04-18 Elena Zannoni <ezannoni@redhat.com>
  8812. * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro.
  8813. (registers_powerpc_nofp): New register set for processors
  8814. without floating point unit.
  8815. 2002-04-18 David S. Miller <davem@redhat.com>
  8816. * MAINTAINERS: Add myself to write-after-approval.
  8817. 2002-04-17 Michael Snyder <msnyder@redhat.com>
  8818. * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm.
  8819. 2002-04-17 Andrew Cagney <ac131313@redhat.com>
  8820. * rs6000-tdep.c (frame_initial_stack_address): Use
  8821. frame_register_read to read the alloca_reg.
  8822. 2002-04-17 Andrew Cagney <ac131313@redhat.com>
  8823. * frame.c (find_saved_register): Find saved registers in the next
  8824. not prev frame.
  8825. Fix PR gdb/365.
  8826. 2002-04-17 Andrew Cagney <ac131313@redhat.com>
  8827. * gdbarch.sh (LANG): Set to ``c''.
  8828. 2002-04-15 Andrew Cagney <ac131313@redhat.com>
  8829. * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems.
  8830. 2002-04-15 Andrew Cagney <ac131313@redhat.com>
  8831. * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h".
  8832. Update copyright.
  8833. * hpread.c (hpread_get_lntt): Add declaration.
  8834. Also fix PR gdb/391.
  8835. 2002-04-14 Andrew Cagney <ac131313@redhat.com>
  8836. * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6.
  8837. * aclocal.m4, configure: Re-generate.
  8838. Fix PR gdb/391.
  8839. 2002-04-14 Elena Zannoni <ezannoni@redhat.com>
  8840. * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN
  8841. instead of tm_print_insn.
  8842. 2002-04-14 Elena Zannoni <ezannoni@redhat.com>
  8843. * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.
  8844. 2002-04-14 Andrew Cagney <ac131313@redhat.com>
  8845. * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.
  8846. * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro.
  8847. (get_prev_frame): Do not call FRAME_CHAIN_COMBINE.
  8848. 2002-04-12 Don Howard <dhoward@redhat.com>
  8849. * cli/cli-cmds.c (init_cli_cmds): Add new user settable value:
  8850. max_user_call_depth.
  8851. (init_cmd_lists): Initialize the new value;
  8852. * cli/cli-script.c (execute_user_command): Limit the call depth of
  8853. user defined commands. This avoids a core-dump when user commands
  8854. are infinitly recursive.
  8855. 2002-04-12 Kevin Buettner <kevinb@redhat.com>
  8856. * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''.
  8857. * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset''
  8858. from tdep struct instead of DEFAULT_LR_SAVE.
  8859. (rs6000_gdbarch_init): Initialize ``lr_frame_offset''.
  8860. * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete.
  8861. * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete.
  8862. 2002-04-12 Michael Snyder <msnyder@redhat.com>
  8863. * Remote.c: Spelling fix.
  8864. * gcore.c (default_derive_heap_segment): Use bfd_section_name.
  8865. If no symbol found for "sbrk", try "_sbrk".
  8866. (make_output_phdrs): Use bfd_section_name.
  8867. (gcore_copy_callback): Use bfd_section_name.
  8868. * eval.c: Indentation fix-ups.
  8869. * d10v-tdep.c (d10v_make_iaddr): Make it idempotent,
  8870. in case it gets applied to an address that is already
  8871. in the instruction space.
  8872. * cli/cli-decode.c (help_list): Allow long lines to wrap.
  8873. * symfile.c: Fix indentation, long lines.
  8874. * source.c: White space fix-up.
  8875. 2002-04-12 Andrew Cagney <cagney@redhat.com>
  8876. * defs.h (read_relative_register_raw_bytes): Delete declaration.
  8877. * frame.c (frame_register_read): New function. Return non-zero on
  8878. success.
  8879. (read_relative_register_raw_bytes_for_frame): Delete.
  8880. (read_relative_register_raw_bytes): Delete.
  8881. * frame.h (frame_register_read): Declare.
  8882. * d30v-tdep.c: Update Copyright. Use frame_register_read.
  8883. * sh-tdep.c: Ditto.
  8884. * infcmd.c (do_registers_info): Ditto.
  8885. * hppa-tdep.c: Ditto.
  8886. * rs6000-tdep.c: Ditto.
  8887. * h8500-tdep.c: Ditto.
  8888. * mips-tdep.c: Ditto.
  8889. * h8300-tdep.c: Ditto.
  8890. * z8k-tdep.c: Ditto.
  8891. 2002-04-12 Kevin Buettner <kevinb@redhat.com>
  8892. From Jimi X <jimix@watson.ibm.com>:
  8893. * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for
  8894. 64-bit SysV ABI.
  8895. 2002-04-12 Kevin Buettner <kevinb@redhat.com>
  8896. From Jimi X <jimix@watson.ibm.com>:
  8897. * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from
  8898. bfd info.
  8899. 2002-04-12 Kevin Buettner <kevinb@redhat.com>
  8900. From Jimi X <jimix@watson.ibm.com>:
  8901. * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define
  8902. register sets for these processor variants.
  8903. 2002-04-11 Daniel Jacobowitz <drow@mvista.com>
  8904. * regformats/reg-ppc.dat: Support FPSCR.
  8905. 2002-04-11 Kevin Buettner <kevinb@redhat.com>
  8906. * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''.
  8907. * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
  8908. Add fpscr as an invalid/unfetchable register.
  8909. * ppc-linux-nat.c (ppc_register_u_addr, store_register)
  8910. (fetch_ppc_registers, store_ppc_registers, supply_fpregset)
  8911. (fill_fpregset): Add support for register fpscr.
  8912. (fetch_ppc_registers, store_ppc_registers, supply_gregset)
  8913. (fill_gregset): Account for the fact that register ``mq'' might
  8914. not exist.
  8915. * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr.
  8916. (registers_power): Add fpscr to register set at slot 71.
  8917. (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't
  8918. exist on most PPC architectures. Initialize ppc_fpscr_regnum.
  8919. 2002-04-11 Michael Snyder <msnyder@redhat.com>
  8920. * configure.in: Autoconfiscate _SYSCALL32 define for solaris.
  8921. * configure: Regenerate.
  8922. * config.in: Regenerate.
  8923. * acconfig.h: Add define for _SYSCALL32.
  8924. * core-sol2.c: Remove #define _SYSCALL32.
  8925. * solib-legacy.c: Remove #define _SYSCALL32.
  8926. 2002-04-10 Andrew Cagney <ac131313@redhat.com>
  8927. * stack.c (select_frame): Cleanup internal error message, do not
  8928. use %p.
  8929. 2002-04-10 Andrew Cagney <ac131313@redhat.com>
  8930. * stack.c (select_frame): Check that selected_frame and the
  8931. specified level are as expected.
  8932. * blockframe.c (get_prev_frame): Set the `level' from next_frame.
  8933. Update copyright.
  8934. * frame.h (struct frame_info): Add field `level'. Update
  8935. copyright.
  8936. Work-in-progress PR gdb/464.
  8937. 2002-04-10 Andrew Cagney <ac131313@redhat.com>
  8938. * maint.c (maint_print_section_info): Rename print_section_info.
  8939. (print_bfd_section_info, print_objfile_section_info): Update.
  8940. * inferior.h (struct gdbarch): Add opaque declaration.
  8941. * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh.
  8942. * gdbarch.h: Regenerate.
  8943. 2002-04-10 Michal Ludvig <mludvig@suse.cz>
  8944. * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete.
  8945. (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h.
  8946. (kernel_u_size): Added.
  8947. * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete.
  8948. (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h.
  8949. 2002-04-04 Jim Ingham <jingham@apple.com>
  8950. * valarith.c (find_size_for_pointer_math): New function, either returns
  8951. the size for a pointer's target, returns 1 for void *, or errors for
  8952. incomplete types.
  8953. (value_add, value_sub): use find_size_for_pointer_math.
  8954. 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
  8955. * linux-low.c (linux_look_up_symbols): New hook.
  8956. (linux_target_ops): Add linux_look_up_symbols.
  8957. * remote-utils.c (decode_address): New function.
  8958. (look_up_one_symbol): New function.
  8959. * server.c (handle_query): Call target look_up_symbols hook.
  8960. * server.h (look_up_one_symbol): Add prototype.
  8961. * target.h (struct target_ops): Add look_up_symbols hook.
  8962. 2002-04-09 Andrew Cagney <ac131313@redhat.com>
  8963. * frame.c (read_relative_register_raw_bytes_for_frame): Do not
  8964. override FP_REGNUM with frame->fp. Update copyright.
  8965. * parse.c (num_std_regs, std_regs): Delete.
  8966. (target_map_name_to_register): Do not search std_regs. Update
  8967. function description.
  8968. * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete
  8969. declarations. Update copyright.
  8970. Fix PR gdb/251.
  8971. 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
  8972. * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer
  8973. after the last symbol in a block.
  8974. 2002-04-09 Pierre Muller <muller@ics.u-strasbg.fr>
  8975. * p-exp.y (yylex): Handle also the fact that is_a_field_of_this
  8976. is non zero as a found symbol.
  8977. 2002-04-08 Andrew Cagney <ac131313@redhat.com>
  8978. * findvar.c: Include "builtin-regs.h".
  8979. (value_of_register): Call value_of_builtin_reg when applicable.
  8980. * parse.c: Include "builtin-regs.h" and "gdb_assert.h".
  8981. (target_map_name_to_register): Call
  8982. builtin_reg_map_name_to_regnum.
  8983. * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c.
  8984. (COMMON_OBS): Add builtin-regs.o and std-regs.o.
  8985. (builtin_regs_h): Define.
  8986. (builtin-regs.o): New target.
  8987. (findvar.o): Add $(builtin_regs_h).
  8988. * builtin-regs.c, builtin-regs.h: New files.
  8989. * std-regs.c: New file.
  8990. Partial fix for PR gdb/251.
  8991. 2002-04-08 Kevin Buettner <kevinb@redhat.com>
  8992. * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn;
  8993. it's no longer required.
  8994. 2002-04-08 Andrew Cagney <ac131313@redhat.com>
  8995. * Makefile.in (gdbtk-wrapper.o): Add missing dependencies.
  8996. 2002-04-08 Kevin Buettner <kevinb@redhat.com>
  8997. From Jimi X <jimix@watson.ibm.com>:
  8998. * rs6000-tdep.c (rs6000_software_single_step): Use
  8999. rs6000_breakpoint_from_pc() to fetch breakpoint instruction
  9000. and size. Use target_insert_breakpoint() and
  9001. target_remove_breakpoint() to insert and remove breakpoints
  9002. instead of explicit memory reads and writes.
  9003. 2002-04-08 Kevin Buettner <kevinb@redhat.com>
  9004. * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
  9005. * rs6000-tdep.c (rs6000_push_arguments): Eliminate
  9006. ELF_OBJECT_FORMAT ifdef.
  9007. 2002-04-08 Kevin Buettner <kevinb@redhat.com>
  9008. From Jimi X <jimix@watson.ibm.com>:
  9009. * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn().
  9010. 2002-04-08 Kevin Buettner <kevinb@redhat.com>
  9011. From Jimi X <jimix@watson.ibm.com>:
  9012. * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro
  9013. definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET.
  9014. 2002-04-07 Mark Kettenis <kettenis@gnu.org>
  9015. * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions):
  9016. s/asprintf/xasprintf/.
  9017. (fbsd_make_corefile_notes): s/strdup/xstrdup/.
  9018. 2002-04-07 Andrew Cagney <ac131313@redhat.com>
  9019. I believe Jeff Law denies responsability for this one:
  9020. * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork.
  9021. * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork.
  9022. * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork.
  9023. Work-around for PR gdb/366.
  9024. 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
  9025. * remote-e7000.c (write_small, e7000_read_inferior_memory,
  9026. e7000_read_inferior_memory_large, e7000_insert_breakpoint,
  9027. e7000_remove_breakpoint): Use paddr_nz() to print addresses.
  9028. 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
  9029. * sh-tdep.c (sh_fp_frame_init_saved_regs,
  9030. sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
  9031. information.
  9032. 2002-04-07 Andrew Cagney <ac131313@redhat.com>
  9033. * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
  9034. maintainer.
  9035. 2002-04-07 Andrew Cagney <ac131313@redhat.com>
  9036. * README (Reporting Bugs in GDB): Document the bug web page as the
  9037. prefered way of submitting bugs.
  9038. Fix PR gdb/402.
  9039. 2002-04-06 Andrew Cagney <ac131313@redhat.com>
  9040. * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
  9041. -1. Update comment.
  9042. * gdbarch.h, gdbarch.c: Re-generate.
  9043. 2002-04-07 Andreas Schwab <schwab@suse.de>
  9044. * m68klinux-nat.c (fill_fpregset): Properly pass address of
  9045. buffer to regcache_collect.
  9046. 2002-04-06 Andrew Cagney <ac131313@redhat.com>
  9047. * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
  9048. * gdbarch.c, gdbarch.h: Re-generate.
  9049. 2002-04-06 Andrew Cagney <ac131313@redhat.com>
  9050. * symtab.c (lookup_symtab): Remove ``const'' from ``rp''
  9051. declaration. Fix -Werror.
  9052. 2002-04-05 Daniel Jacobowitz <drow@mvista.com>
  9053. * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap.
  9054. * gdbarch.c: Regenerate.
  9055. 2002-04-05 Michael Snyder <msnyder@redhat.com>
  9056. * breakpoint.c (clear_command): Rewrite middle section to
  9057. combine two loops with identical control conditions.
  9058. Add a cleanup to eliminate a memory leak.
  9059. * cli/cli-dump.c (restore_section_callback): Use paddr_nz.
  9060. 2002-04-05 H.J. Lu (hjl@gnu.org)
  9061. * solib-svr4.c (bkpt_names): Add "__start".
  9062. 2002-04-04 Andrew Cagney <ac131313@redhat.com>
  9063. * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
  9064. as test for 64 bit target.
  9065. 2002-04-05 Andrew Cagney <ac131313@redhat.com>
  9066. * h8500-tdep.c (h8500_write_fp): Delete function.
  9067. * dwarf2cfi.c (cfi_write_fp): Document as not used.
  9068. * mips-tdep.c (mips_gdbarch_init): Do not set write_fp.
  9069. * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp.
  9070. * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp.
  9071. * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp.
  9072. * s390-tdep.c (s390_gdbarch_init): Do not set write_fp.
  9073. (s390_write_fp):
  9074. * sh-tdep.c (sh_gdbarch_init): Do not set write_fp.
  9075. * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp.
  9076. * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp.
  9077. (d10v_write_fp): Delete function.
  9078. * inferior.h (write_fp, generic_target_write_fp): Delete
  9079. declarations.
  9080. * regcache.c (generic_target_write_fp): Delete function.
  9081. (write_fp): Delete function.
  9082. * gdbarch.sh (TARGET_WRITE_FP): Delete.
  9083. * gdbarch.h, gdbarch.c: Regenerate.
  9084. * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro.
  9085. * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro.
  9086. (sparc64_write_fp): Delete declaration.
  9087. * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro.
  9088. (h8500_write_fp): Delete declaration.
  9089. 2002-04-04 Andrew Cagney <ac131313@redhat.com>
  9090. * sparc-tdep.c (sparc64_write_fp): Delete.
  9091. (sparc_push_dummy_frame): Replace write_fp call with code to store
  9092. the FP directly.
  9093. (sparc_gdbarch_init): Do not initialize write_fp.
  9094. 2002-04-05 Kevin Buettner <kevinb@redhat.com>
  9095. * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
  9096. clause.
  9097. 2002-03-29 Jim Blandy <jimb@redhat.com>
  9098. * stack.c (get_selected_block): Add new argument `addr_in_block',
  9099. used to return the exact code address we used to select the block,
  9100. not just the block.
  9101. * blockframe.c (get_frame_block, get_current_block): Same.
  9102. * frame.h (get_frame_block, get_current_block,
  9103. get_selected_block): Update declarations.
  9104. * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c,
  9105. linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed.
  9106. 2002-04-05 Michael Snyder <msnyder@redhat.com>
  9107. * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in
  9108. warning message.
  9109. 2002-04-05 J. Brobecker <brobecker@gnat.com>
  9110. * utils.c (xfullpath): New function.
  9111. * defs.h (xfullpath): Add declaration.
  9112. * source.c (openp): Use xfullpath in place of gdb_realpath to
  9113. avoid resolving the basename part of filenames when the
  9114. associated file is a symbolic link. This fixes a potential
  9115. inconsistency between the filenames known to GDB and the
  9116. filenames it prints in the annotations.
  9117. * symtab.c (lookup_symtab): Use the new xfullpath function, in order
  9118. to be able to match a filename with either the real filename, or
  9119. the name of any symbolic link to this file.
  9120. (lookup_partial_symtab): Ditto.
  9121. 2002-04-04 Michael Snyder <msnyder@redhat.com>
  9122. * breakpoint.c: Add support for hardware breakpoints in overlays.
  9123. (overlay_events_enabled): New state variable.
  9124. (insert_breakpoints): Use overlay_events_enabled to decide
  9125. whether to attempt to set a breakpoint at the overlay load addr.
  9126. Handle bp_hardware_breakpoint as well as bp_breakpoint.
  9127. (remove_breakpoint): Use overlay_events_enabled to decide
  9128. whether breakpoints need to be removed from overlay load addr.
  9129. Handle bp_hardware_breakpoint as well as bp_breakpoint.
  9130. (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays.
  9131. (create_overlay_event_breakpoint, enable_overlay_breakpoints,
  9132. disable_overlay_breakpoints): Update overlay_events_enabled.
  9133. 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
  9134. * dwarf2read.c (struct function_range): New.
  9135. (cu_first_fn, cu_last_fn, cu_cached_fn): New.
  9136. (check_cu_functions): New.
  9137. (read_file_scope): Initialize global function lists.
  9138. Call dwarf_decode_line after processing children.
  9139. (read_func_scope): Add to global function list.
  9140. (dwarf_decode_lines): Call check_cu_functions everywhere
  9141. record_line is called. Call record_line with a linenumber
  9142. of 0 to mark sequence ends.
  9143. 2002-04-04 Michal Ludvig <mludvig@suse.cz>
  9144. * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI
  9145. change sync with glibc.
  9146. 2002-04-03 Jim Blandy <jimb@redhat.com>
  9147. * configure.in: Call AC_C_INLINE.
  9148. * configure: Regenerated.
  9149. 2002-04-01 Daniel Jacobowitz <drow@mvista.com>
  9150. * rs6000-tdep.c: Change #include of "bfd/libcoff.h"
  9151. and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
  9152. 2002-03-31 Mark Kettenis <kettenis@gnu.org>
  9153. * NEWS: Mention gcore support on FreeBSD/i386.
  9154. * fbsd-proc.c: New file.
  9155. * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define.
  9156. * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.
  9157. * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
  9158. while statement.
  9159. 2002-03-29 Jim Blandy <jimb@redhat.com>
  9160. * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
  9161. unescaped newlines in string literals, but newer ones don't. So
  9162. escape them.
  9163. 2002-03-26 Michael Snyder <msnyder@redhat.com>
  9164. Andrew Cagney <cagney@redhat.com>
  9165. * cli/cli-dump.c: New file. Dump memory to file,
  9166. restore file to memory.
  9167. * cli/cli-dump.h: New file.
  9168. * Makefile.in: Add rules, dependencies for cli-dump.o.
  9169. * NEWS: Mention new commands.
  9170. 2002-03-28 Michael Snyder <msnyder@redhat.com>
  9171. * symfile.c (symbol_file_add): Move test for null symbols to later.
  9172. 2002-03-27 Andrew Cagney <ac131313@redhat.com>
  9173. From veksler at il.ibm.com:
  9174. * utils.c (gdb_realpath): If canonicalize_file_name fails, return
  9175. the xstrduped original path.
  9176. Fix PR gdb/417.
  9177. 2002-03-27 Michael Snyder <msnyder@redhat.com>
  9178. * breakpoint.c (_initialize_breakpoint): Clean up help string.
  9179. * infcmd.c (_initialize_infcmd): Ditto.
  9180. * language.c (_initialize_language): Ditto.
  9181. * symfile.c (_initialize_symfile): Ditto.
  9182. * top.c (_init_main): Ditto.
  9183. * cli/cli-cmds.c (init_cli_cmds): Ditto.
  9184. 2002-03-27 Elena Zannoni <ezannoni@redhat.com>
  9185. * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec
  9186. vector registers handling.
  9187. (skip_prologue): Handle new AltiVec instructions. Fill in new
  9188. fields of frame data.
  9189. (frame_get_saved_regs): Fill in information for AltiVec registers.
  9190. 2002-03-27 Jim Blandy <jimb@redhat.com>
  9191. * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
  9192. a function; leave this macro here to invoke that function.
  9193. (symbol_init_mangled_name): Declaration for that function.
  9194. * symtab.c (symbol_init_mangled_name): New function.
  9195. 2002-03-27 Andrew Cagney <ac131313@redhat.com>
  9196. * valarith.c: Replace strerror with safe_strerror.
  9197. * tracepoint.c: Ditto.
  9198. * lin-lwp.c: Ditto.
  9199. * go32-nat.c: Ditto.
  9200. * inflow.c: Ditto.
  9201. * gnu-nat.c: Ditto.
  9202. 2002-03-27 Andreas Schwab <schwab@suse.de>
  9203. * event-top.c (command_line_handler): Remove useless if.
  9204. 2002-03-27 Andreas Jaeger <aj@suse.de>
  9205. * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
  9206. comment.
  9207. 2002-03-27 Michal Ludvig <mludvig@suse.cz>
  9208. * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
  9209. (x86_64_num_regs, x86_64_num_gregs): Added extern variables.
  9210. * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS.
  9211. (x86_64_linux_dr_get_status, supply_gregset),
  9212. (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs.
  9213. * x86-64-tdep.c (x86_64_register_raw_size_table): Delete.
  9214. (x86_64_register_info_table): Add.
  9215. (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add.
  9216. (x86_64_register_raw_size, x86_64_register_virtual_type),
  9217. (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new
  9218. general x86_64_register_info_table.
  9219. (i386_gdbarch_init): gdbarch_register_bytes is now set
  9220. dynamicaly during initialization.
  9221. * regformats/reg-x86-64.dat: Synced with changes to registers above.
  9222. * gdbserver/linux-x86-64-low.c: Ditto.
  9223. 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
  9224. * gdbserver/server.c (main): Call target_signal_to_host_p
  9225. and target_signal_to_host on signals received from the remote.
  9226. * gdbserver/remote-utils.c (prepare_resume_reply): Call
  9227. target_signal_from_host on signals sent to the remote.
  9228. * gdbserver/server.h: Add prototypes. Include "gdb/signals.h".
  9229. * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}.
  9230. 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
  9231. * signals/signals.c: Include "server.h" in gdbserver build.
  9232. (target_signal_from_name): Don't use STREQ.
  9233. (_initialize_signals): Likewise. Don't include function in
  9234. gdbserver build.
  9235. 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
  9236. * signals.c: Moved to...
  9237. * signals/signals.c: Here.
  9238. * Makefile (signals.o): Update.
  9239. 2002-03-26 Jeff Law (law@redhat.com)
  9240. * somread.c (som_symtab_read): Remove some commented out code and
  9241. updated related comments. Do not set the minimal symbol table to
  9242. mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
  9243. in a dynamic executable.
  9244. * hppa-tdep.c (find_proc_framesize): Sanely handle the case
  9245. where we are unable to find the minimal symbol for the given
  9246. PC value.
  9247. 2002-03-25 Jeff Law (law@redhat.com)
  9248. * linux-proc.c (read_mapping): Scan up to end of line for filename.
  9249. 2002-03-25 Michal Ludvig <mludvig@suse.cz>
  9250. * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
  9251. 2002-03-23 Andrew Cagney <ac131313@redhat.com>
  9252. * command.h: Update copyright.
  9253. (struct cmd_list_element): Replace definition with opaque
  9254. declaration.
  9255. (enum cmd_types): Document that it will eventually be moved to
  9256. cli/cli-decode.h
  9257. (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
  9258. (MALLOCED_REPLACEMENT): Delete macro.
  9259. * Makefile.in (cli_decode_h): Add $(command_h).
  9260. (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
  9261. * top.c: Include "cli/cli-decode.h".
  9262. * completer.c: Include "cli/cli-decode.h".
  9263. * maint.c: Include "cli/cli-decode.h".
  9264. * cli/cli-decode.h: Include "command.h".
  9265. (enum command_class): Delete.
  9266. (enum cmd_types): Comment out.
  9267. (enum cmd_auto_boolean): Delete.
  9268. (enum var_types): Delete.
  9269. 2002-03-23 Andrew Cagney <ac131313@redhat.com>
  9270. * cli/cli-decode.c: Include "gdb_assert.h".
  9271. (add_set_or_show_cmd): New static function.
  9272. (add_set_cmd): Rewrite. Use add_set_or_show_cmd.
  9273. (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy
  9274. all fields, such as func, from the set command.
  9275. 2002-03-23 Andrew Cagney <ac131313@redhat.com>
  9276. * MAINTAINERS (sh-elf): Change warning flag to -w.
  9277. 2002-03-23 Andrew Cagney <cagney@redhat.com>
  9278. * defs.h (error): Add printf format attribute.
  9279. * thread-db.c (thread_from_lwp): Fix error format string.
  9280. * stack.c (parse_frame_specification): Ditto.
  9281. * cli/cli-decode.c (undef_cmd_error): Ditto.
  9282. * scm-lang.c (scm_lookup_name): Ditto.
  9283. * tracepoint.c (trace_error): Ditto.
  9284. * remote-utils.c (usage): Ditto.
  9285. * remote.c (compare_sections_command): Ditto.
  9286. Fix PR gdb/328.
  9287. 2002-03-22 Andrew Cagney <ac131313@redhat.com>
  9288. * gdbtypes.c (append_composite_type_field): New function.
  9289. (init_composite_type): New function.
  9290. * gdbtypes.h (append_composite_type_field): Declare.
  9291. (init_composite_type): Ditto.
  9292. 2002-03-22 Elena Zannoni <ezannoni@redhat.com>
  9293. * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
  9294. function.
  9295. * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
  9296. * rs6000-tdep.c (rs6000_gdbarch_init): Use different
  9297. structure returning convention for SYSV ABI case, but not
  9298. for GNU/Linux, FreeBSD, or NetBSD.
  9299. 2002-03-22 Daniel Jacobowitz <drow@mvista.com>
  9300. * symtab.h (lookup_block_symbol): Add mangled_name argument
  9301. to prototype.
  9302. * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
  9303. with new mangled_name argument.
  9304. * linespec.c (decode_line_1): Likewise.
  9305. * valops (value_of_this): Likewise.
  9306. * symtab.c (lookup_transparent_type): Likewise.
  9307. (lookup_symbol_aux): Likewise. Accept new mangled_name argument.
  9308. (lookup_symbol): If we are given a mangled name, pass it down
  9309. to lookup_symbol_aux.
  9310. (lookup_block_symbol): If we are given a mangled name to check
  9311. against, only return symbols which match it.
  9312. 2002-03-22 Christopher Faylor <cgf@redhat.com>
  9313. * win32-nat.c (child_create_inferior): Check for proper shell to use
  9314. here, in case the user changes it on the fly.
  9315. (_initialize_inftarg): Remove shell path considerations.
  9316. 2002-03-21 Elena Zannoni <ezannoni@redhat.com>
  9317. * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
  9318. for gdbarch_max_register_raw_size and max_register_virtual_size.
  9319. Adjust copyright year.
  9320. 2002-03-21 Daniel Jacobowitz <drow@mvista.com>
  9321. * dbxread.c (process_one_symbol): Extend the first N_SLINE
  9322. in a function to cover the entire beginning of the function
  9323. as well if it does not already.
  9324. 2002-03-21 Tom Rix <trix@redhat.com>
  9325. * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32.
  9326. (rs6000_ptrace64): Renamed from ptrace64.
  9327. 2002-03-20 Martin M. Hunt <hunt@redhat.com>
  9328. * gdbserver/remote-utils.c (remote_open): Don't call
  9329. getprotobyname, we're all using TCP here so just use
  9330. IPPROTO_TCP.
  9331. * gdbserver/gdbreplay.c (remote_open): Ditto.
  9332. 2002-03-20 Martin M. Hunt <hunt@redhat.com>
  9333. * regcache.c (_initialize_regcache): No need to call
  9334. build_regcache() at this time; it gets called whenever
  9335. the gdbarch changes.
  9336. 2002-03-20 David O'Brien <obrien@FreeBSD.org>
  9337. * sparc-nat.c: Include sys/param.h where possible.
  9338. 2002-03-20 Daniel Jacobowitz <drow@mvista.com>
  9339. Fix PR gdb/422.
  9340. * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
  9341. FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
  9342. * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
  9343. complex types.
  9344. * stabsread.c (rs6000_builtin_type): Likewise.
  9345. (read_sun_floating_type): Likewise.
  9346. 2002-03-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  9347. * stabsread.c (read_member_functions): Remove skip code for duplicate
  9348. constructor/destructor methods. Use standard parsing for these
  9349. methods and just do not chain them to the list of methods after
  9350. parsing.
  9351. 2002-03-19 Alexandre Oliva <aoliva@redhat.com>
  9352. * coffread.c: Remove redundant static declarations. Replace
  9353. occurrences of `PTR' with `void *'.
  9354. * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
  9355. * top.h (quit_cover): Likewise.
  9356. * defs.h (catch_errors): Likewise.
  9357. 2002-03-18 Andrew Cagney <ac131313@redhat.com>
  9358. * defs.h (XMALLOC): Define.
  9359. * gdb-events.sh (XMALLOC): Delete macro.
  9360. * gdb-events.c, gdb-events.h: Regenerate.
  9361. * gdbarch.sh (XMALLOC): Delete macro.
  9362. * gdbarch.c: Regenerate.
  9363. * serial.c (XMALLOC): Delete macro.
  9364. * ui-file.c (XMALLOC): Ditto.
  9365. * ser-unix.h (XMALLOC): Ditto.
  9366. * sh-tdep.c (XMALLOC): Ditto.
  9367. * ui-out.c (XMALLOC): Ditto.
  9368. * utils.c (XMALLOC): Ditto.
  9369. * i386-tdep.c (XMALLOC): Ditto.
  9370. * gdb-events.c (XMALLOC): Ditto.
  9371. * d10v-tdep.c (XMALLOC): Ditto.
  9372. * cli-out.c (XMALLOC): Ditto.
  9373. * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
  9374. * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
  9375. * ui-file.c, ui-out.c: Ditto.
  9376. 2002-03-18 Andrew Cagney <ac131313@redhat.com>
  9377. * command.h (struct cmd_list_element): Add field context.
  9378. (set_cmd_context, get_cmd_context): Declare.
  9379. * cli/cli-decode.h: Ditto.
  9380. * cli/cli-decode.c (get_cmd_context): New function.
  9381. (set_cmd_context): New function.
  9382. (add_cmd): Initialize context.
  9383. Part of fixing PR gdb/145 and PR gdb/146.
  9384. 2002-03-17 Andrew Cagney <ac131313@redhat.com>
  9385. * cli/cli-decode.c (cmd_type): New function.
  9386. * command.h (cmd_type): Declare.
  9387. * infrun.c (set_schedlock_func): Call function cmd_type.
  9388. * kod.c (kod_set_os): Call cmd_type.
  9389. * cris-tdep.c (cris_version_update): Use function cmd_type.
  9390. (cris_mode_update, cris_abi_update): Ditto.
  9391. * command.h: (execute_cmd_post_hook): Declare.
  9392. (execute_cmd_pre_hook): Declare.
  9393. * cli/cli-script.c (clear_hook_in_cleanup): New function.
  9394. (execute_cmd_post_hook, execute_cmd_pre_hook): New
  9395. functions. Execute pre/post hook while ensuring that afterwords
  9396. hook_in is cleared.
  9397. * top.c (execute_command): Use execute_cmd_post_hook, and
  9398. execute_cmd_pre_hook to execute pre/post commands.
  9399. * infrun.c (normal_stop): Pass stop_command and not pre_hook to
  9400. hook_stop_stub.
  9401. (hook_stop_stub): Call execute_cmd_pre_hook.
  9402. 2002-03-17 Andrew Cagney <ac131313@redhat.com>
  9403. * kod.c (kod_set_os): Revert previous change. Is called by ``info
  9404. set'' and this leads to a core dump. Move xstrdup of
  9405. operating_system to after check that it is not NULL.
  9406. 2002-03-17 Andrew Cagney <ac131313@redhat.com>
  9407. * kod.c (kod_set_os): Remove unnecessary check that
  9408. ``command->type'' is set_cmd.
  9409. * valprint.c (set_input_radix): Use input_radix.
  9410. (set_output_radix): Use output_radix.
  9411. (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
  9412. isn't reverted.
  9413. 2002-03-16 Andrew Cagney <ac131313@redhat.com>
  9414. * value.h (struct value): Delete field ``substring_addr''. Change
  9415. aligner fields to force_doublest_align, force_longest_align,
  9416. force_core_addr_align and force_pointer_aligh.
  9417. * value.h (struct value): Fix typo in above change.
  9418. 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  9419. * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
  9420. to fix internal_error from ``maintenance print architecture''.
  9421. 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  9422. * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
  9423. for gcc versions after gcc-2.8.1.
  9424. 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  9425. * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
  9426. for method resolution. Restore adjustment of ``this'' pointer after
  9427. calling value_struct_elt, which was accidentally removed during the
  9428. HP merge.
  9429. 2002-03-15 Andrew Cagney <ac131313@redhat.com>
  9430. * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
  9431. value_of_register.
  9432. * findvar.c (value_of_register): Add ``frame'' parameter. Pass to
  9433. get_saved_register.
  9434. * value.h (value_of_register): Update.
  9435. 2002-03-14 Richard Henderson <rth@redhat.com>
  9436. * configure.in: Detect declaration for canonicalize_file_name.
  9437. * utils.c (canonicalize_file_name): Declare, if needed.
  9438. (gdb_realpath): Prefer realpath if available and usable.
  9439. * config.in, configure: Rebuild.
  9440. 2002-03-14 Richard Henderson <rth@redhat.com>
  9441. * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
  9442. a constant array bound.
  9443. * MAINTAINERS: Add myself to write-after-approval.
  9444. 2002-03-14 Michael Snyder <msnyder@redhat.com>
  9445. * symfile.c (syms_from_objfile): Return immediately if no syms.
  9446. (symbol_file_add): Return immediately if no syms.
  9447. (find_sym_fns): Return immediately if no syms.
  9448. 2002-03-13 Michal Ludvig <mludvig@suse.cz>
  9449. * gdbserver/remote-util.c (remote_open): Print remote-side's
  9450. IP address when remote debugging over the network.
  9451. 2002-03-12 David O'Brien <obrien@FreeBSD.org>
  9452. * config/sparc/fbsd.mh: Fix copyright.
  9453. * config/sparc/fbsd.mt: Likewise.
  9454. 2002-03-11 Richard Earnshaw <rearnsha@arm.com>
  9455. * MAINTAINERS: Fix typo in name of gdb warnings option.
  9456. (x86-64): Fix formating so that this can be parsed by awk.
  9457. 2002-03-10 Daniel Jacobowitz <drow@mvista.com>
  9458. * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
  9459. * defs.h: Include "gdb/signals.h".
  9460. (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.
  9461. 2002-03-10 Michal Ludvig <mludvig@suse.cz>
  9462. * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
  9463. * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
  9464. from x86-64-tdep.h
  9465. 2002-03-10 Daniel Jacobowitz <drow@mvista.com>
  9466. Don Howard <dhoward@redhat.com>
  9467. * mips-tdep.c (ST0_FR): Define.
  9468. (mips2_fp_compat): New function, temporarily disabled.
  9469. (mips_read_fp_register_single): New function.
  9470. (mips_read_fp_register_double): New function.
  9471. (mips_print_register): Use them.
  9472. (do_fp_register_row): Likewise.
  9473. 2002-03-09 Andrew Cagney <ac131313@redhat.com>
  9474. * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
  9475. approval''.
  9476. 2002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  9477. * stabsread.c (read_member_functions): Fix is_stub test for
  9478. static member functions, improve comment.
  9479. 2002-03-07 Richard Earnshaw <rearnsha@arm.com>
  9480. * remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
  9481. (mywrite, mywritec, mypause, myreadc, mygets): Likewise.
  9482. (_initialize_remote_rdi): Use add_set_boolean_cmd to register
  9483. commands that set boolean values.
  9484. (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
  9485. (arm_rdi_resume): Always initialize PC.
  9486. (arm_rdi_open): Don't use rslt as a boolean.
  9487. (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
  9488. (arm_rdi_fetch_registers, arm_rdi_store_registers)
  9489. (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
  9490. (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
  9491. 2002-03-06 Alexandre Oliva <aoliva@redhat.com>
  9492. * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
  9493. * configure: Rebuilt.
  9494. 2002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  9495. * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
  9496. (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
  9497. 2002-03-06 Andrew Cagney <ac131313@redhat.com>
  9498. * cli/cli-decode.c (set_cmd_completer): New function.
  9499. * command.h (set_cmd_completer): Declare.
  9500. * cli/cli-decode.h (set_cmd_completer): Ditto.
  9501. * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
  9502. * cli/cli-cmds.c (init_cli_cmds): Ditto.
  9503. * win32-nat.c (_initialize_inftarg): Ditto.
  9504. * remote-rdi.c (_initialize_remote_rdi): Ditto.
  9505. * proc-api.c (_initialize_proc_api): Ditto.
  9506. * hppa-tdep.c (_initialize_hppa_tdep): Ditto.
  9507. * source.c (_initialize_source): Ditto.
  9508. * exec.c (_initialize_exec): Ditto.
  9509. * solib.c (_initialize_solib): Ditto.
  9510. * top.c (init_main): Ditto.
  9511. * tracepoint.c (_initialize_tracepoint): Ditto.
  9512. * symfile.c (_initialize_symfile): Ditto.
  9513. * printcmd.c (_initialize_printcmd): Ditto.
  9514. * infcmd.c (_initialize_infcmd): Ditto.
  9515. * corefile.c (_initialize_core): Ditto.
  9516. 2002-03-05 Andrew Cagney <ac131313@redhat.com>
  9517. * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
  9518. 2002-03-05 Andrew Cagney <ac131313@redhat.com>
  9519. * MAINTAINERS: Fix Mac OS X and Objective-C/C++.
  9520. 2002-03-05 Andrew Cagney <ac131313@redhat.com>
  9521. * NEWS: Update headings, 5.2 has branched.
  9522. 2002-03-04 Daniel Jacobowitz <drow@mvista.com>
  9523. * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
  9524. (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
  9525. (register_addr, REGISTER_RAW_SIZE): Likewise.
  9526. (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
  9527. * gdbserver/linux-x86-64-low.c: Remove extra #endif.
  9528. 2002-03-03 Michal Ludvig <mludvig@suse.cz>
  9529. * MAINTAINERS (x86-64): Add myself.
  9530. * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
  9531. changed value_ptr -> struct value *
  9532. 2002-03-01 David O'Brien <obrien@FreeBSD.org>
  9533. * configure.host (sparc64-*-freebsd): Add.
  9534. * configure.tgt: Likewise.
  9535. * config/sparc/fbsd.mh: New file.
  9536. * config/sparc/fbsd.mt: Likewise.
  9537. * config/sparc/nm-fbsd.h: Likewise.
  9538. * config/sparc/tm-fbsd.h: Likewise.
  9539. 2002-03-01 Daniel Jacobowitz <drow@mvista.com>
  9540. * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
  9541. regformats/reg-s390x.dat.
  9542. 2002-03-01 Andrew Cagney <ac131313@redhat.com>
  9543. * utils.c: Add FIXME explaining true/false problem.
  9544. 2002-02-28 Andrew Cagney <ac131313@redhat.com>
  9545. * MAINTAINERS (Past Maintainers): Add J.T. Conklin.
  9546. 2002-02-28 Michael Chastain <mec@shout.net>
  9547. * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .
  9548. 2002-02-28 Daniel Jacobowitz <drow@mvista.com>
  9549. * gdbserver/linux-s390-low.c: New file.
  9550. * regformats/reg-s390.dat: New file.
  9551. * regformats/reg-s390x.dat: New file.
  9552. * gdbserver/configure.srv: Add S/390.
  9553. * gdbserver/Makefile.in: Add S/390.
  9554. * configure.tgt: Enable gdbserver for S/390.
  9555. 2002-02-28 Eli Zaretskii <eliz@is.elta.co.il>
  9556. * go32-nat.c (_initialize_go32_nat): Don't use periods in the
  9557. first line of the doc string for "info dos", except at the end of
  9558. the sentence, since the short help stops at the first period.
  9559. 2002-02-28 Jason Merrill <jason@redhat.com>
  9560. * dwarf2read.c (dwarf_cfi_name): Add new codes.
  9561. 2002-02-27 Fred Fish <fnf@redhat.com>
  9562. * blockframe.c (generic_fix_call_dummy): Fix obvious typo in
  9563. comment (dumy -> dummy).
  9564. 2002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  9565. * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
  9566. 2002-02-27 Rodney Brown <rbrown64@csc.com.au>
  9567. * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
  9568. 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
  9569. * gdbserver/acconfig.h: New file.
  9570. * gdbserver/i387-fp.c: New file.
  9571. * gdbserver/i387-fp.h: New file.
  9572. * gdbserver/linux-x86-64.c: New file.
  9573. * regformats/reg-x86-64.dat: New file.
  9574. * configure.tgt: Add x86_64-*-linux* gdbserver support.
  9575. * gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
  9576. * gdbserver/configure.in: Add support for regsets.
  9577. * gdbserver/config.in: Regenerate.
  9578. * gdbserver/configure: Regenerate.
  9579. * gdbserver/Makefile.in: Likewise. Add $(linux_low_h).
  9580. * gdbserver/linux-low.h: New file.
  9581. * gdbserver/linux-low.c: Include "linux-low.h". Add support
  9582. for regsets.
  9583. * gdbserver/linux-arm-low.c: Include "linux-low.h".
  9584. * gdbserver/linux-ia64-low.c: Include "linux-low.h".
  9585. * gdbserver/linux-m68k-low.c: Include "linux-low.h".
  9586. * gdbserver/linux-mips-low.c: Include "linux-low.h".
  9587. * gdbserver/linux-ppc-low.c: Include "linux-low.h".
  9588. * gdbserver/linux-sh-low.c: Include "linux-low.h".
  9589. * gdbserver/linux-i386-low.c: Include "linux-low.h". Include
  9590. "i387-fp.h". Add PTRACE_GETREGS and friends.
  9591. * gdbserver/regcache.c (supply_register): New function.
  9592. (supply_register_by_name): New function.
  9593. (collect_register): New function.
  9594. (collect_register_by_name): New function.
  9595. 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
  9596. * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
  9597. (config.status): Add configure.srv dependency.
  9598. (server_h): Add config.h dependency.
  9599. 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
  9600. * regformats/reg-i386-linux.dat: New file, with $orig_eax.
  9601. * gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
  9602. * gdbserver/configure.srv: Change i386-*-linux* to use
  9603. reg-i386-linux.o.
  9604. 2002-02-26 Andrew Cagney <ac131313@redhat.com>
  9605. * x86-64-tdep.c: Re-indent. Update copyright date.
  9606. 2002-02-26 Andrew Cagney <ac131313@redhat.com>
  9607. From Michal Ludvig <mludvig@suse.cz>:
  9608. * x86-64-tdep.c (value.h): Delete.
  9609. (gdb_assert.h): Include.
  9610. (x86_64_register_convert_to_virtual,
  9611. x86_64_register_convert_to_raw ): Add check which lets only
  9612. floating-point values to be converted.
  9613. (value_push): Delete.
  9614. (x86_64_push_arguments): Order of arguments pushed on stack fixed.
  9615. (i386_gdbarch_init): Number of register_bytes fixed.
  9616. 2002-02-26 Andrew Cagney <ac131313@redhat.com>
  9617. * MAINTAINERS: Add x86-64 target.
  9618. 2002-02-26 Andrew Cagney <ac131313@redhat.com>
  9619. * memattr.c (mem_command): Eliminate ``true'' and ``false''.
  9620. * osfsolib.c (solib_map_sections): Ditto.
  9621. * irix5-nat.c (solib_map_sections): Ditto.
  9622. * corelow.c (gdb_check_format): Ditto.
  9623. * symfile.c (symfile_bfd_open): Ditto.
  9624. * solib.c (solib_map_sections): Ditto.
  9625. Fix PR gdb/354.
  9626. 2002-02-26 Andrew Cagney <ac131313@redhat.com>
  9627. * remote.c (_initialize_remote): By default, disable ``e'' and
  9628. ``E'' step out-of-range packets.
  9629. 2002-02-26 Andreas Schwab <schwab@suse.de>
  9630. * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
  9631. m68k_linux_frame_saved_pc.
  9632. (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
  9633. in_sigtramp.
  9634. (SIGCONTEXT_PC_OFFSET): Remove.
  9635. * m68klinux-nat.c (m68k_linux_frame_saved_pc,
  9636. m68k_linux_sigtramp_saved_pc): New functions.
  9637. (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
  9638. (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
  9639. (UCONTEXT_PC_OFFSET): Define.
  9640. (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
  9641. non-RT and RT signal trampolines.
  9642. 2002-02-26 Richard Earnshaw <rearnsha@arm.com>
  9643. * config/arm/tm-embed.h (TARGET_UPAGES): Delete.
  9644. (TARGET_NBPG, STACK_END_ADDR): Delete
  9645. (VARIABLES_INSIDE_BLOCK): Delete.
  9646. 2002-02-25 Andrew Cagney <ac131313@redhat.com>
  9647. * utils.c (perror_with_name): Make string parameter constant.
  9648. (print_sys_errmsg): Ditto.
  9649. (query): Ditto.
  9650. * defs.h (perror_with_name): Update.
  9651. (print_sys_errmsg): Update.
  9652. (query): Update.
  9653. 2002-02-25 Daniel Jacobowitz <drow@mvista.com>
  9654. From Eliot Dresselhaus <eliot@ayrnetworks.com>:
  9655. * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
  9656. 2002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  9657. * rs6000-nat.c (set_host_arch): Do not switch to a new architecture
  9658. if it already matches the current architecture from the exec file.
  9659. Include arch-utils.h for gdbarch_info_init prototype.
  9660. * Makefile.in (rs6000-nat.o): Update dependencies.
  9661. 2002-02-25 Eli Zaretskii <eliz@is.elta.co.il>
  9662. * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the
  9663. list of exported variables.
  9664. 2002-02-24 Daniel Jacobowitz <drow@mvista.com>
  9665. * gdbserver/configure.srv: New file.
  9666. * gdbserver/configure.in: Use configure.srv instead
  9667. of the host/target makefile fragments. Set GDBSERVER_DEPFILES
  9668. from it.
  9669. * gdbserver/configure: Regenerated.
  9670. * gdbserver/terminal.h: New file.
  9671. * gdbserver/Makefile.in: Update for configure changes. Remove
  9672. more unneeded include paths.
  9673. 2002-02-24 Andrew Cagney <ac131313@redhat.com>
  9674. From wiz at danbala:
  9675. * config/sparc/tm-sp64.h: Fix grammar and typos.
  9676. Fix PR gdb/287.
  9677. 2002-02-24 Andrew Cagney <ac131313@redhat.com>
  9678. * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
  9679. with either ``GNU/Linux'' or ``Linux kernel''. Update copyright.
  9680. * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto.
  9681. * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto.
  9682. * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto.
  9683. * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto.
  9684. * s390-tdep.c: Ditto.
  9685. * config/nm-linux.h, config/alpha/nm-linux.h: Ditto.
  9686. * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h:
  9687. * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto.
  9688. * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto.
  9689. * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto.
  9690. * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto.
  9691. * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto.
  9692. * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto.
  9693. * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto.
  9694. * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto.
  9695. Fix PR gdb/378.
  9696. 2002-02-23 Andrew Cagney <ac131313@redhat.com>
  9697. * lin-thread.c: Delete file.
  9698. * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer
  9699. to gdb_proc_service.h.
  9700. * configure: Re-generate.
  9701. * ocd.c (ocd_open): Do not try to open the "ocd" device.
  9702. * serial.c (serial_open): Delete check for "ocd".
  9703. Fix PR gdb/349.
  9704. * Makefile.in (linux-thread.o): Delete target.
  9705. * linux-thread.c: Delete file.
  9706. * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
  9707. renamed SH files to be consistent.
  9708. * symtab.c (sort_search_symbols): Use xfree.
  9709. 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
  9710. * arm-linux-tdep.c (arm_linux_init_abi): Register
  9711. IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
  9712. * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
  9713. definition with undef, since we don't want the sysvr4 definition.
  9714. (SKIP_TRAMPOLINE_CODE): Likewise.
  9715. 2002-02-23 Andrew Cagney <ac131313@redhat.com>
  9716. From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
  9717. * configure.in: (AC_CHECK_FUNCS) Added test for
  9718. canonicalize_file_name Regenerated.
  9719. * config.in, configure: Regenerated.
  9720. * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
  9721. defined use canonicalize_file_name.
  9722. 2002-02-23 Michael Chastain <mec@shout.net>
  9723. * MAINTAINERS: Remove Michael Chastain from "paper trail" list.
  9724. 2002-02-23 Andrew Cagney <ac131313@redhat.com>
  9725. * README: Remove references to cygnus.com.
  9726. * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar
  9727. dot com'' form. Remove references to cygnus.com and sourceware.
  9728. 2002-02-23 Paul Eggert <eggert@twinsun.com>
  9729. * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
  9730. 1003.1-2001 no longer allows "head -1".
  9731. * Makefile.in (version.c): Likewise.
  9732. * CONTRIBUTE: Change "diff -c3" to "diff -c", which is
  9733. equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
  9734. 2002-02-23 Andrew Cagney <ac131313@redhat.com>
  9735. * cli/cli-decode.c (cmd_cfunc_eq): New function.
  9736. * command.h (cmd_cfunc_eq): Declare.
  9737. * cli/cli-decode.h (cmd_cfunc_eq): Ditto.
  9738. * cli/cli-cmds.h (is_complete_command): Change parameter to a
  9739. ``struct cmd_list_element *''.
  9740. * cli/cli-cmds.c (is_complete_command): Update. Use
  9741. cmd_cfunc_eq.
  9742. * top.c (execute_command): Pass the command to
  9743. is_complete_command.
  9744. * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
  9745. 2002-02-23 Andrew Cagney <ac131313@redhat.com>
  9746. From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
  9747. * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
  9748. architecture defines.
  9749. * s390-tdep.c (s390_gdbarch_init): Likewise.
  9750. 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
  9751. * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
  9752. (arm_linux_push_arguments): Likewise.
  9753. (arm_linux_init_abi): Register them. Also register linux-specific
  9754. call_dummy_words.
  9755. (find_minsym_and_objfile): Use strcmp, not STREQ.
  9756. * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
  9757. (arm_linux_call_dummy_words): Delete declaration.
  9758. (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
  9759. (arm_linux_extract_return_value, arm_linux_push_arguments): Delete
  9760. declarations.
  9761. (LOWEST_PC): Delete.
  9762. 2002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  9763. * maint.c (print_section_info): Do not prepend `0x' to filepos
  9764. output, it will be handled by local_hex_string_custom.
  9765. 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
  9766. * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
  9767. (store_newfpe_double, store_newfpe_extended, store_fpregister)
  9768. (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
  9769. 2002-02-22 Jim Blandy <jimb@redhat.com>
  9770. Indicate that the bcache functions don't change the strings
  9771. they're passed.
  9772. * bcache.h (bcache, hash): Add `const' keywords to declarations.
  9773. * bcache.c (bcache, hash): Add `const' keywords to definitions.
  9774. 2002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
  9775. * win32-nat.c (child_create_inferior): Fix create flags setting bug.
  9776. 2002-02-21 Christopher Faylor <cgf@redhat.com>
  9777. * win32-nat.c (register_loaded_dll): Just use raw name when we can't
  9778. find the complete path to a loaded DLL.
  9779. 2002-02-21 Fred Fish <fnf@redhat.com>
  9780. * dbxread.c (process_one_symbol): When finding an N_FUN symbol
  9781. that marks the end of the range of a function, enter a line number
  9782. entry that has a line number of zero and a PC offset that matches
  9783. the end of the function. This starts a range of PC's for which no
  9784. line number information is known.
  9785. * symtab.c (find_pc_sect_line): If our best fit is in a range of
  9786. PC's for which no line number info is found (line number is zero)
  9787. then we didn't find any valid line information.
  9788. * symtab.h: Document use of zero line number entry.
  9789. 2002-02-21 Elena Zannoni <ezannoni@redhat.com>
  9790. * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
  9791. (have_ptrace_getvrregs): Define for run time checks.
  9792. (gdb_vrregset_t): New type for Altivec register handling.
  9793. (fetch_register, store_register): Fetch/store altivec register
  9794. when needed.
  9795. (fetch_altivec_register, store_altivec_register): New functions.
  9796. (supply_vrregset, fill_vrregset): New functions.
  9797. (fetch_altivec_registers, store_altivec_registers): New functions.
  9798. (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
  9799. registers as well.
  9800. 2002-02-21 Jiri Smid <smid@suse.cz>
  9801. * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
  9802. 2002-02-21 Richard Earnshaw <rearnsha@arm.com>
  9803. * Makefile.in (armnbsd-nat.o): Update dependencies.
  9804. * armnbsd-nat.c (supply_gregset): New function. Common code to
  9805. supply the integer register set.
  9806. (supply_fparegset): New function. Similar for FPA registers.
  9807. (fetch_regs, fetch_fp_regs): Use them.
  9808. (fetch_core_registers): Likewise.
  9809. (fetch_elfcore_registers): New function.
  9810. (arm_netbsd_elfcore_fns): New core-file type specification.
  9811. (_initialize_arm_netbsd_nat): Register it.
  9812. 2002-02-21 Richard Earnshaw <rearnsha@arm.com>
  9813. * armnbsd-nat.c: Include gdbcore.h.
  9814. (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
  9815. (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
  9816. 'void' to declaration, to shut up ARI.
  9817. (fetch_core_registers): Make static. Rewrite using supply_register.
  9818. (arm_netbsd_core_fns): New core-file type specification.
  9819. (_initialize_arm_netbsd_nat): New function.
  9820. 2002-02-21 Christopher Faylor <cgf@redhat.com>
  9821. * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
  9822. value.
  9823. 2002-02-20 Christopher Faylor <cgf@redhat.com>
  9824. * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile
  9825. fails.
  9826. 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
  9827. * jv-exp.y (parse_number): Change type of implicit longs
  9828. to builtin_type_uint64.
  9829. 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
  9830. * gdbserver/linux-low.c (mywait): Change argument to waitpid
  9831. to be an integer instead of a `union wait'.
  9832. 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
  9833. * mips-linux-nat.c: Call the operating system GNU/Linux.
  9834. * mips-linux-tdep.c: Likewise.
  9835. * mips-tdep.c: Likewise.
  9836. 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
  9837. Fix PR gdb/265.
  9838. * jv-exp.y (parse_number): Handle 64-bit integers.
  9839. 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
  9840. * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
  9841. AC_STDC_HEADERS to AC_HEADER_STDC.
  9842. * gdbserver/configure: Regenerated.
  9843. 2002-02-20 Richard Earnshaw <rearnsha@arm.com>
  9844. * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
  9845. is defined.
  9846. * sparc-tdep.c (get_longjmp_target): Likewise.
  9847. 2002-02-20 Richard Earnshaw <rearnsha@arm.com>
  9848. * News: Add news about ARM and Multi-arch. Mention the new target
  9849. arm*-*-netbsd*.
  9850. 2002-02-19 Jim Blandy <jimb@redhat.com>
  9851. * stabsread.c (error_type_complaint): Improve error message.
  9852. 2002-02-19 Daniel Jacobowitz <drow@mvista.com>
  9853. * gdbserver/README: Update documentation.
  9854. * gdbserver/configure.in: Update configury to match documentation.
  9855. * gdbserver/Makefile.in: Likewise.
  9856. * gdbserver/configure: Regenerated.
  9857. * gdbserver/aclocal.m4: New file, generated by aclocal.
  9858. * gdbserver/config.in: New file, generated by autoheader.
  9859. 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
  9860. * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
  9861. armnbsd-nat.c.
  9862. 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
  9863. * arm-tdep.h (enum arm_float_model): New enum.
  9864. (struct gdbarch_tdep): Add fp_model.
  9865. * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
  9866. up floating-point conversions until we know the floating-point model
  9867. in use by the inferior. Don't complain about being unable to
  9868. determine the ABI of the inferior when we don't have one.
  9869. (arm_extract_return_value): Support different floating-point models.
  9870. (arm_store_return_value): Likewise.
  9871. * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
  9872. ARM_FLOAT_SOFT.
  9873. (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
  9874. 2002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  9875. * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
  9876. of ``current_gdbarch''.
  9877. 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
  9878. * armnbsd-nat.c : ANSIfy all function declarations.
  9879. (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
  9880. (fetch_inferior_registers): Re-implement in terms of above.
  9881. (store_register, store_regs, store_fp_register, store_fp_regs): New.
  9882. (store_inferior_registers): Re-implement in terms of above.
  9883. 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
  9884. * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
  9885. kernel.
  9886. * arm-linux-tdep.c: Likewise.
  9887. * config/arm/tm-linux.h: Likewise.
  9888. 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
  9889. * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
  9890. * config/arm/nbsd.mt (TM_FILE): Delete.
  9891. * config/arm/tm-nbsd.h: Delete.
  9892. 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
  9893. * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
  9894. Initialize CALL_DUMMY_LENGTH.
  9895. 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
  9896. * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
  9897. function.
  9898. (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
  9899. * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
  9900. defines one thing and that is incorrect for this port.
  9901. (IN_SOLIB_CALL_TRAMPOLINE): Delete.
  9902. 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
  9903. * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
  9904. 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
  9905. * win32-nat.c (display_selector): New function. Displays information
  9906. about the information returned by GetThreadSelectorEntry API function.
  9907. (display_selectors): New function. Displays the infomation of
  9908. the selector given as argument, or of CS, DS ans FS selectors
  9909. if no argument is given.
  9910. ( _initialize_inftarg): Add "w32" as info prefix command.
  9911. Add "info w32 selector" as command calling display_selectors.
  9912. 2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
  9913. * i386-tdep.c (get_longjmp_target): Fix compilation failure
  9914. by setting dummy values to JB_PC and JB_ELEMENT_SIZE
  9915. if not defined.
  9916. 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
  9917. * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
  9918. 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
  9919. * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
  9920. (arm_fix_call_dummy): Call it.
  9921. (arm_call_dummy_breakpoint_offset): Delete.
  9922. (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
  9923. * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
  9924. 2002-02-18 Andrew Cagney <ac131313@redhat.com>
  9925. * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
  9926. Default to func_frame_chain_valid.
  9927. * gdbarch.h, gdbarch.c: Re-generate.
  9928. * frame.h (FRAME_CHAIN_VALID): Delete definition.
  9929. 2002-02-18 Elena Zannoni <ezannoni@redhat.com>
  9930. * ppc-linux-nat.c: Update copyright.
  9931. (fetch_register, store_register): Add tid parameter, don't compute
  9932. tid here.
  9933. (fetch_ppc_registers, store_ppc_registers): Add tid
  9934. parameter. Pass it along to callees.
  9935. (fetch_inferior_registers, store_inferior_registers): Compute tid
  9936. here, and pass it to calleed functions.
  9937. (fill_gregset, supply_fpregset): Clean up formatting.
  9938. 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
  9939. * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
  9940. * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
  9941. 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
  9942. * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
  9943. * gdbarch.c gdbarch.h: Regenerate.
  9944. * breakpoint.c (create_longjmp_breakpoint): Always compile this
  9945. function.
  9946. (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
  9947. * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
  9948. (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
  9949. * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
  9950. * arm-tdep.c (arm_get_longjmp_target): New function.
  9951. (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
  9952. this to a positive value register arm_get_longjmp_target as the
  9953. longjmp handler.
  9954. * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
  9955. (arm_linux_init_abi): Set up longjmp description in tdep.
  9956. * armnbsd-nat.c (get_longjmp_target): Delete.
  9957. * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
  9958. description in tdep.
  9959. * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
  9960. (get_longjmp_target): Delete declaration.
  9961. (GET_LONGJMP_TARGET): Delete.
  9962. * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
  9963. (GET_LONGJMP_TARGET): Delete.
  9964. 2002-02-17 Kevin Buettner <kevinb@redhat.com>
  9965. From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
  9966. * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
  9967. of ``current_gdbarch''.
  9968. 2002-02-17 Tom Tromey <tromey@redhat.com>
  9969. * cli/cli-cmds.c (compare_strings): New function.
  9970. (complete_command): Only print each unique item once.
  9971. * completer.h (complete_line): Declare.
  9972. * completer.c (complete_line): New function.
  9973. (line_completion_function): Use it.
  9974. 2002-02-16 Andrew Cagney <ac131313@redhat.com>
  9975. * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
  9976. * gdbarch.h, gdbarch.c: Re-generate.
  9977. 2002-02-16 Daniel Jacobowitz <drow@mvista.com>
  9978. * valarith.c (value_x_unop): Fix decrement; support post-decrement.
  9979. 2002-02-16 Daniel Jacobowitz <drow@mvista.com>
  9980. From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
  9981. * valops.c (value_arg_coerce): Don't take the address of a reference
  9982. to convert an argument to a reference.
  9983. 2002-02-15 Christopher Faylor <cgf@redhat.com>
  9984. * win32-nat.c (get_image_name): New function.
  9985. (handle_load_dll): Use get_image_name function.
  9986. (get_child_debug_event): Avoid registering debug events until possibly
  9987. execed process is started.
  9988. (child_create_inferior): Allow invocation via shell so that command
  9989. line redirection, etc. works ok.
  9990. (_initialize_inftarg): Add new command: "set shell" to control whether
  9991. a shell is used to start a process.
  9992. 2002-02-15 Daniel Jacobowitz <drow@mvista.com>
  9993. * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
  9994. instead of find_register_by_number.
  9995. (cannot_store_register): Likewise.
  9996. 2002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
  9997. * dwarf2read.c: Replace fprintf (stderr, ...) by
  9998. fprintf_unfiltered (gdb_stderr, ...).
  9999. 2002-02-15 Daniel Jacobowitz <drow@mvista.com>
  10000. * gdbserver/gdbserver.1: Document --attach.
  10001. 2002-02-15 Richard Earnshaw <rearnsha@arm.com>
  10002. * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
  10003. descriptions.
  10004. * arm-tdep.c (arm_default_arm_le_breakpoint)
  10005. (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
  10006. (arm_default_thumb_be_breakpoint): New. Initialize them from
  10007. traditional breakpoint defines.
  10008. (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
  10009. (arm_gdbarch_init): Initialize new breakpoint variables.
  10010. * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
  10011. (arm_linux_init_abi): Initialize linux-specific breakpoint.
  10012. * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
  10013. (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
  10014. code out to ...
  10015. (arm_netbsd_init_abi_common): ... here; new function.
  10016. * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
  10017. (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
  10018. * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
  10019. * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
  10020. 2002-02-15 Richard Earnshaw <rearnsha@arm.com>
  10021. * arm-tdep.h (enum arm_abi): New enum.
  10022. (struct gdbarch_tdep): New structure.
  10023. (LOWEST_PC): Provide a default.
  10024. (arm_gdbarch_register_os_abi): Declare new function.
  10025. * arm-tdep.c (arm_abi_names): New array.
  10026. (process_note_abi_tag_sections): New function.
  10027. (get_elfosabi): New function.
  10028. (arm_gdbarch_register_os_abi): New function.
  10029. (arm_gdbarch_init): Try to determine the ABI of the inferior. If
  10030. support for that ABI has been built in, then call the appropriate
  10031. configuration routine. Use gdbarch_num_regs() to get the number
  10032. of registers.
  10033. (arm_dump_tdep): New function.
  10034. (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
  10035. place-holder functions.
  10036. (_initialize_arm_tdep): Register them.
  10037. * config/arm/tm-arm.h (LOWEST_PC): Delete.
  10038. * armnbsd-tdep.c: New file.
  10039. * Makefile.in (armnbsd-tdep.o): Add dependencies.
  10040. * config/arm/nbsd.mt (TDEPFILES): Add it.
  10041. * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
  10042. * armnbsd-nat.c: Include regcache.h.
  10043. * Makefile.in (armnbsd-nat.o): Update dependency list.
  10044. * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
  10045. 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
  10046. * gdbserver/Makefile.in: Fix typos in target rules.
  10047. 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
  10048. Fix part of PR gdb/267.
  10049. * linespec.c (find_methods): Handle constructors specially for now.
  10050. 2002-02-14 Corinna Vinschen <vinschen@redhat.com>
  10051. * arm-tdep.c (arm_push_arguments): Eliminate special float type
  10052. handling.
  10053. * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
  10054. standard_coerce_float_to_double().
  10055. 2002-02-14 Christopher Faylor <cgf@redhat.com>
  10056. * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
  10057. GDBINIT_FILENAME.
  10058. 2002-02-14 Elena Zannoni <ezannoni@redhat.com>
  10059. * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
  10060. find_variant_by_name, because it confuses the multiarch
  10061. framework. Return NULL if there isn't an architecture with the
  10062. user supplied name, instead of forcing a different one without
  10063. recording the change with the multiarch machinery.
  10064. (find_variant_by_name): Delete.
  10065. 2002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  10066. * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
  10067. i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
  10068. 2002-02-13 Martin M. Hunt <hunt@redhat.com>
  10069. * stack.c (print_frame_info_base): When calling
  10070. print_frame_info_listing_hook, set current_source_symtab.
  10071. 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
  10072. * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
  10073. and remove unused $(INCLUDE_DIR).
  10074. Add regcache.c to OBS.
  10075. Add generated register protocol files to clean target.
  10076. Update dependencies for new objects, obsolete old target code.
  10077. * gdbserver/linux-low.c: Remove all platform-specific code to
  10078. new files. Remove various dead code. Update to use regcache
  10079. functionality.
  10080. * gdbserver/remote-utils.c (fromhex): Add return statement
  10081. to quiet warning.
  10082. (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
  10083. constant.
  10084. (input_interrupt): Add integer parameter to match prototype
  10085. of a signal handler.
  10086. (outreg): Use register_data ().
  10087. (prepare_resume_reply): Use gdbserver_expedite_regs.
  10088. * gdbserver/server.c (main): Dynamically allocate own_buf because
  10089. PBUFSIZ is no longer constant. Use registers_to_string () and
  10090. registers_from_string ().
  10091. * gdbserver/server.h: No longer include "defs.h". Add prototypes
  10092. for error (), fatal (), and warning (). Update definition of
  10093. PBUFSIZ to use regcache functionality. Add include guard.
  10094. * gdbserver/utils.c (fatal): Add missing ``const''.
  10095. (warning): New function.
  10096. * regformats/regdat.sh: Include "regcache.h" in generated files.
  10097. Provide init_registers () function.
  10098. * regformats/regdef.h: Add prototype for set_register_cache ().
  10099. Add include guard.
  10100. * gdbserver/linux-arm-low.c: New file.
  10101. * gdbserver/linux-i386-low.c: New file.
  10102. * gdbserver/linux-ia64-low.c: New file.
  10103. * gdbserver/linux-m68k-low.c: New file.
  10104. * gdbserver/linux-mips-low.c: New file.
  10105. * gdbserver/linux-ppc-low.c: New file.
  10106. * gdbserver/linux-sh-low.c: New file.
  10107. * gdbserver/regcache.c: New file.
  10108. * gdbserver/regcache.h: New file.
  10109. * gdbserver/low-linux.c: Removed obsolete file.
  10110. 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
  10111. * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
  10112. * config/i386/linux.mt: Likewise.
  10113. * config/ia64/linux.mt: Likewise.
  10114. * config/m68k/linux.mh: Likewise.
  10115. * config/powerpc/linux.mh: Likewise.
  10116. * config/mips/linux.mt: Likewise.
  10117. * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
  10118. * config/i386/i386lynx.mh: Mark gdbserver variables
  10119. as (currently) obsolete for this target.
  10120. * config/i386/nbsd.mt: Likewise.
  10121. * config/i386/nbsdelf.mt: Likewise.
  10122. * config/m32r/m32r.mt: Likewise.
  10123. * config/m68k/m68klynx.mh: Likewise.
  10124. * config/m68k/nbsd.mt: Likewise.
  10125. * config/m68k/sun3os4.mh: Likewise.
  10126. * config/mips/vr5000.mt: Likewise.
  10127. * config/ns32k/nbsd.mt: Likewise.
  10128. * config/pa/hppabsd.mh: Likewise.
  10129. * config/pa/hppaosf.mh: Likewise.
  10130. * config/powerpc/nbsd.mt: Likewise.
  10131. * config/rs6000/rs6000lynx.mh: Likewise.
  10132. * config/s390/s390.mt: Likewise.
  10133. * config/s390/s390x.mt: Likewise.
  10134. * config/sparc/sparclynx.mh: Likewise.
  10135. * config/sparc/sun4os4.mh: Likewise.
  10136. * config/i386/x86-64linux.mt: Likewise.
  10137. * config/sparc/linux.mh: Likewise.
  10138. 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
  10139. * configure.tgt: Configure gdbserver only for known working
  10140. targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
  10141. * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
  10142. SUBDIRS if it is configured. Update comment for ${nativefile}.
  10143. * configure: Regenerated.
  10144. 2002-02-13 Michael Snyder <msnyder@redhat.com>
  10145. * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES.
  10146. * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
  10147. (default_gcore_mach): Just return 0, work around a problem in bfd.
  10148. (default_gcore_target): OK to return NULL if exec_bfd is null.
  10149. (make_mem_sec): Use a cast, avoid a warning.
  10150. * procfs.c (find_memory_regions_callback): Use a cast instead of
  10151. calling host_pointer_to_address (which complains if
  10152. sizeof (host pointer) != sizeof (target pointer)).
  10153. (procfs_make_note_section): Avoid overflow in psargs string.
  10154. * procfs.c (procfs_make_note_section): Make the default
  10155. implementation return an error.
  10156. 2002-02-13 Rodney Brown <rbrown64@csc.com.au>
  10157. * procfs.c (procfs_make_note_section): Provide a default definition
  10158. (for alpha-dec-osf4.0f). Fix typos.
  10159. 2002-02-13 Elena Zannoni <ezannoni@redhat.com>
  10160. * linux-proc.c: Add include of regcache.h.
  10161. * Makefile.in (linux-proc.o): Add dependency on regcache.h.
  10162. 2002-02-13 Andrew Cagney <ac131313@redhat.com>
  10163. From 2002-01-18 Greg McGary <greg@mcgary.org>:
  10164. * memattr.c (create_mem_region): Disallow useless empty region.
  10165. Regions are half-open intervals, so allow [A..B) [B..C) as
  10166. non-overlapping.
  10167. 2002-02-13 Michael Chastain <mec@shout.net>
  10168. * defs.h: Kill CONST_PTR.
  10169. * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
  10170. * c-lang.c (c_builtin_types): Likewise.
  10171. * ch-lang.c (ch_builtin_types): Likewise.
  10172. * f-lang.c (f_builtin_types): Likewise.
  10173. * language.c (unknown_builtin_types): Likewise.
  10174. * m2-lang.c (m2_builtin_types): Likewise.
  10175. * p-lang.c (pascal_builtin_types): Likewise.
  10176. * scm-lang.c (c_builtin_types): Likewise.
  10177. 2002-02-13 Keith Seitz <keiths@redhat.com>
  10178. * arm-tdep.h (arm_get_next_pc): Add declaration.
  10179. 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
  10180. * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
  10181. with other related struct-returning functions.
  10182. (arm_extract_struct_value_address): New function.
  10183. (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
  10184. initialize float_format, double_format and long_double_format as
  10185. appropriate to the endianness of the target.
  10186. * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
  10187. (arm_use_struct_convention): Delete declaration.
  10188. (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
  10189. 2002-02-13 Keith Seitz <keiths@redhat.com>
  10190. * defs.h (core_addr_to_string_nz): New function.
  10191. 2002-02-13 Mark Kettenis <kettenis@gnu.org>
  10192. Apply missing bits of 2002-01-15 patch.
  10193. * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
  10194. (fill_fpregset): Use i387_fill_fsave.
  10195. 2002-02-12 Keith Seitz <keiths@redhat.com>
  10196. * utils.c (core_addr_to_string): Use phex instead of phex_nz.
  10197. (core_addr_to_string_nz): New function.
  10198. 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
  10199. * arm-linux-nat.c: Really include arm-tdep.h.
  10200. * config/arm/tm-linux.h (struct type, struct value): Declare.
  10201. 2002-02-11 Michael Snyder <msnyder@redhat.com>
  10202. * procfs.c: Include elf-bfd.h (for elfcore_write functions).
  10203. (gcore section): Ifdef for Solaris and Unixware only.
  10204. (procfs_do_thread_registers): Unixware needs one lwpstatus
  10205. per thread (not one prstatus or pstatus).
  10206. (procfs_make_note_section): Iterate only over kernel threads (lwps),
  10207. not over all gdb threads. For unixware, call elfcore_write_pstatus
  10208. once before iterating over threads.
  10209. 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
  10210. * arm-tdep.h: New file.
  10211. * arm-tdep.c: Include arm-tdep.h.
  10212. (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
  10213. (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
  10214. (arm_print_float_info, arm_register_type, convert_to_extended)
  10215. (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
  10216. (arm_extract_return_value, arm_register_name): Make static.
  10217. (arm_software_single_step): Similarly. Fix types in declaration.
  10218. (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
  10219. (arm_store_return_value, arm_store_struct_return): New functions.
  10220. (arm_gdbarch_init): Register the above functions. Also register
  10221. call_dummy_start_offset, sizeof_call_dummy_words,
  10222. function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
  10223. sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
  10224. max_register_virtual_size, register_size. Set up
  10225. prologue_cache.saved_regs here, rather than ...
  10226. (_initialize_arm_tdep): ... here.
  10227. * config/arm/tm-arm.h (struct type, struct value): Delete forward
  10228. declarations.
  10229. (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
  10230. (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
  10231. (arm_print_float_info, arm_register_type, convert_to_extended)
  10232. (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
  10233. (arm_extract_return_value, arm_register_name): Delete declarations.
  10234. (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
  10235. (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
  10236. (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
  10237. (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
  10238. (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
  10239. (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
  10240. (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
  10241. (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
  10242. (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
  10243. (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
  10244. (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
  10245. (arm_get_next_pc): No-longer static -- these are needed by the RDI
  10246. interface.
  10247. * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
  10248. * remote-rdi.c remote-rdp.c: Likewise.
  10249. * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
  10250. (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
  10251. * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
  10252. definition.
  10253. * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
  10254. (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
  10255. (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
  10256. from non-ARM_ prefixed definitions.
  10257. * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
  10258. all uses of above.
  10259. * remote-rdi.c remote-rdp.c: Likewise.
  10260. * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
  10261. 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
  10262. * arm-tdep.c (arm_frameless_function_invocation)
  10263. (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
  10264. (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
  10265. (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
  10266. (arm_pop_frame, arm_get_next_pc): Make static.
  10267. (arm_gdbarch_init): Register above in gdbarch structure.
  10268. (arm_read_fp): Renamed from arm_target_read_fp.
  10269. (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
  10270. * config/arm/tm-arm.h (arm_frameless_function_invocation)
  10271. (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
  10272. (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
  10273. (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
  10274. (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
  10275. (arm_pc_is_thumb_dummy): Delete declarations.
  10276. (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
  10277. (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
  10278. (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
  10279. (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
  10280. 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
  10281. * symtab.c (compare_search_syms): New function.
  10282. (sort_search_symbols): New function.
  10283. (search_symbols): Sort symbols after searching rather than
  10284. before.
  10285. 2002-02-10 Andrew Cagney <ac131313@redhat.com>
  10286. * NEWS: Linux -> GNU/Linux.
  10287. 2002-02-10 Andrew Cagney <ac131313@redhat.com>
  10288. * gdbarch.sh: For for level one methods, disallow a definition
  10289. when partially multi-arched. Add comments explaining rationale.
  10290. * gdbarch.h: Re-generate.
  10291. 2002-02-10 Andrew Cagney <ac131313@redhat.com>
  10292. * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
  10293. multi-arch partial.
  10294. 2002-02-10 Andrew Cagney <ac131313@redhat.com>
  10295. * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
  10296. field. Use diff -u.
  10297. * gdbarch.c: Re-generate.
  10298. 2002-02-10 Andrew Cagney <ac131313@redhat.com>
  10299. * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
  10300. * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
  10301. partial.
  10302. 2002-02-10 Andrew Cagney <ac131313@redhat.com>
  10303. * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
  10304. multi-arch partial.
  10305. (PUSH_ARGUMENTS): Switch to using predefault.
  10306. * gdbarch.c: Regenerate.
  10307. 2002-02-10 Andrew Cagney <ac131313@redhat.com>
  10308. * valops.c (PUSH_ARGUMENTS): Delete definition.
  10309. * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
  10310. partial. Default to default_push_arguments.
  10311. * gdbarch.h, gdbarch.c: Regenerate.
  10312. 2002-02-09 Andrew Cagney <ac131313@redhat.com>
  10313. * defs.h (throw_exception): Rename return_to_top_level. Update
  10314. comments.
  10315. * utils.c (error_stream, internal_verror, quit): Ditto.
  10316. * top.c (throw_exception, catcher): Ditto.
  10317. * sparclet-rom.c (sparclet_load): Ditto.
  10318. * remote.c (interrupt_query, minitelnet): Ditto.
  10319. * remote-sds.c (interrupt_query): Ditto.
  10320. * remote-mips.c (mips_error, mips_kill): Ditto.
  10321. * ocd.c (interrupt_query): Ditto.
  10322. * monitor.c (monitor_interrupt_query): Ditto.
  10323. * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
  10324. * target.h: Update comment.
  10325. * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
  10326. 2002-02-09 Andrew Cagney <ac131313@redhat.com>
  10327. * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
  10328. default_double_format.
  10329. * gdbarch.h, gdbarch.c: Re-generate.
  10330. * findvar.c (floatformat_unknown): Delete variable definition.
  10331. * doublest.h (floatformat_unknown): Delete variable declaration.
  10332. 2002-02-09 Jim Blandy <jimb@redhat.com>
  10333. * stabsread.c (read_type): Add code to parse Sun's syntax for
  10334. prototyped function types.
  10335. 2002-02-09 Andrew Cagney <ac131313@redhat.com>
  10336. * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
  10337. (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
  10338. 2002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  10339. * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
  10340. _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
  10341. now _initialize_xcoffsolib gets called again and overrides the
  10342. commands from solib.c in a native configuration.
  10343. 2002-02-09 Mark Kettenis <kettenis@gnu.org>
  10344. * doublest.c (store_typed_floating): Don't try to return a value.
  10345. Fixes PR gdb/290.
  10346. 2002-02-08 Jim Blandy <jimb@redhat.com>
  10347. * c-typeprint.c (c_type_print_varspec_suffix): If a function type
  10348. is prototyped and has no arguments, print its argument list as
  10349. `(void)'.
  10350. 2002-02-08 Chris Demetriou <cgd@broadcom.com>
  10351. * MAINTAINERS (write-after-approval): Add myself.
  10352. (paper-trail): I've escaped!
  10353. 2002-02-08 Christopher Faylor <cgf@redhat.com>
  10354. * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
  10355. changes.
  10356. (_initialize_check_for_gdb_ini): Ditto.
  10357. 2002-02-08 Martin M. Hunt <hunt@redhat.com>
  10358. * win32-nat.c (cygwin_pid_to_str): Fix typo.
  10359. xaprintf -> xasprintf.
  10360. 2002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
  10361. * win32-nat.c: Remove use of printf and sprintf functions.
  10362. 2002-02-08 Richard Earnshaw <rearnsha@arm.com>
  10363. * arm-tdep.c (arm_frame_chain_valid): Make static.
  10364. (arm_push_arguments): Likewise.
  10365. (arm_gdbarch_init): New function.
  10366. (_initialize_arm_tdep): Call it.
  10367. * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
  10368. (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
  10369. (FRAME_CHAIN_VALID): Delete.
  10370. (arm_frame_chain_valid): Delete declaration.
  10371. (PUSH_ARGUMENTS): Delete.
  10372. (arm_push_arguments): Delete declaration.
  10373. (CALL_DUMMY_P): Delete.
  10374. 2002-02-08 Andrew Cagney <ac131313@redhat.com>
  10375. Corinna Vinschen <vinschen@redhat.com>
  10376. * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
  10377. on builtin float types.
  10378. 2002-02-08 Daniel Jacobowitz <drow@mvista.com>
  10379. * utils.c: Include <curses.h> before "bfd.h".
  10380. * tui/tui-hooks.c: Likewise.
  10381. * tui/tui.c: Likewise.
  10382. * tui/tuiCommand.c: Likewise.
  10383. * tui/tuiData.c: Likewise.
  10384. * tui/tuiDataWin.c: Likewise.
  10385. * tui/tuiDisassem.c: Likewise.
  10386. * tui/tuiGeneralWin.c: Likewise.
  10387. * tui/tuiIO.c: Likewise.
  10388. * tui/tuiLayout.c: Likewise.
  10389. * tui/tuiRegs.c: Likewise.
  10390. * tui/tuiSource.c: Likewise.
  10391. * tui/tuiSourceWin.c: Likewise.
  10392. * tui/tuiStack.c: Likewise.
  10393. * tui/tuiWin.c: Likewise.
  10394. 2002-02-07 Elena Zannoni <ezannoni@redhat.com>
  10395. * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
  10396. to include space for pseudoregs as well. Update loops accordingly.
  10397. (sh_fp_frame_init_saved_regs): Ditto.
  10398. (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
  10399. 2002-02-07 Andrew Cagney <ac131313@redhat.com>
  10400. * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
  10401. Add Richard Earnshaw to Arm maintainers.
  10402. 2002-02-07 Andrew Cagney <ac131313@redhat.com>
  10403. * defs.h (warning_begin): Delete declaration.
  10404. * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
  10405. Delete macro.
  10406. 2002-02-07 Michael Snyder <msnyder@redhat.com>
  10407. * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
  10408. Logic bug, remove misplaced else.
  10409. 2002-02-07 Klee Dienes <klee@apple.com>
  10410. * fork-inferior.c (fork_inferior): Add '!' to the list of
  10411. characters that need to be quoted when building a string for the
  10412. shell. Quote '!' specifically with a backslash, since CSH chokes
  10413. when trying to evaluate "str!str".
  10414. 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
  10415. * rdi-share/host.h: Only provide a typedef for bool if it is not
  10416. defined.
  10417. 2002-02-04 Michael Snyder <msnyder@redhat.com>
  10418. * breakpoint.h (enum bptype): Add new overlay event bp type.
  10419. (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
  10420. * breakpoint.c (create_internal_breakpoint): New function.
  10421. (internal_breakpoint_number): Moved into create_internal_breakpoint.
  10422. (create_longjmp_breakpoint): Use create_internal_breakpoint.
  10423. (create_thread_event_breakpoint): Ditto.
  10424. (create_solib_event_breakpoint): Ditto.
  10425. (create_overlay_event_breakpoint): New function.
  10426. (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
  10427. (update_breakpoints_after_exec): Delete and re-initialize
  10428. overlay event breakpoints after an exec. Add FIXME comment
  10429. about longjmp breakpoint.
  10430. (print_it_typical): Ignore overlay event breakpoints.
  10431. (print_one_breakpoint): Ditto.
  10432. (mention): Ditto.
  10433. (bpstat_what): Do not stop for overlay event breakpoints.
  10434. (delete_breakpoint): Don't delete overlay event breakpoints.
  10435. (breakpoint_re_set_one): Delete the overlay event breakpoint.
  10436. (breakpoint_re_set): Re-create overlay event breakpoint.
  10437. * symfile.c (overlay_auto_command): Enable overlay breakpoints.
  10438. (overlay_manual_command): Disable overlay breakpoints.
  10439. (overlay_off_command): Disable overlay breakpoints.
  10440. 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
  10441. * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
  10442. (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
  10443. to here from config/tm-arm.h.
  10444. (coff_sym_is_thumb): Make static.
  10445. (arm_elf_make_msymbol_special): New function.
  10446. (arm_coff_make_msymbol_special): New function.
  10447. * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
  10448. (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
  10449. (coff_sym_is_thumb): Delete declaration.
  10450. (arm_elf_make_msymbol_special): Declare.
  10451. (arm_coff_make_msymbol_special): Declare.
  10452. (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
  10453. (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
  10454. 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
  10455. * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
  10456. 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
  10457. * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
  10458. * gdbarch.c gdbarch.h: Regenerate.
  10459. * arch-utils.c (default_print_float_info): New function.
  10460. * arch-utils.h (default_print_float_info): Prototype it.
  10461. * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
  10462. * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
  10463. * config/arm/tm-arm.h (FLOAT_INFO): Delete.
  10464. (PRINT_FLOAT_INFO): Define.
  10465. 2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
  10466. * win32-nat.c (_initialize_check_for_gdb_ini):
  10467. Add typecast to sprintf argument to suppress a warning.
  10468. 2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
  10469. * win32-nat.c (last_sig): Changed type of variable to target_signal,
  10470. to allow easier handling of pass state.
  10471. (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
  10472. that gives exception name and address.
  10473. (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
  10474. and set last_sig value to ourstatus->value.sig. Some missing
  10475. exceptions added.
  10476. (child_continue): Correctly report continue_status.
  10477. (get_child_debug_event,do_initial_child_stuff): Set last_sig to
  10478. TARGET_SIGNAL_0 (new default value).
  10479. (child_resume): consider sig argument passed to decide if
  10480. the exception should be passed to debuggee or not.
  10481. 2002-02-05 Michael Snyder <msnyder@redhat.com>
  10482. * regcache.c (fetch_register): Call target_fetch_register
  10483. only if we don't call FETCH_PSEUDO_REGISTER.
  10484. (store_register): Call target_store_register only if we
  10485. don't call STORE_PSEUDO_REGISTER.
  10486. 2002-02-05 Elena Zannoni <ezannoni@redhat.com>
  10487. * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
  10488. ELF_MAKE_MSYMBOL_SPECIAL.
  10489. * gdbarch.c, gdbarch.h: Regenerate.
  10490. * arch-utils.c (default_make_msymbol_special): New function.
  10491. * arch-utils.h (default_make_msymbol_special): Export.
  10492. * elfread.c (elf_symtab_read): Compile use of
  10493. ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
  10494. multiarched.
  10495. * coffread.c (coff_symtab_read): Ditto, for
  10496. COFF_MAKE_MSYMBOL_SPECIAL.
  10497. 2002-02-05 Jim Blandy <jimb@redhat.com>
  10498. * solib-svr4.c (svr4_truncate_ptr): New function.
  10499. (svr4_relocate_section_addresses): Do the address arithmetic with
  10500. the appropriate truncation for target addresses, even when
  10501. CORE_ADDR is larger than a target address.
  10502. 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
  10503. * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
  10504. to (int *).
  10505. 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
  10506. * gdbserver/linux-low.c (kill_inferior): Remove commented out
  10507. code.
  10508. 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
  10509. * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
  10510. 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
  10511. * gdbserver/linux-low.c: Remove unused include files.
  10512. 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
  10513. * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
  10514. (read_inferior_memory): Use it.
  10515. (write_inferior_memory): Likewise.
  10516. 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
  10517. * gdbserver/linux-low.c (create_inferior): Call strerror instead of
  10518. grubbing through sys_errlist.
  10519. 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
  10520. * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
  10521. 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
  10522. * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
  10523. 2002-02-04 Andrew Cagney <ac131313@redhat.com>
  10524. * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
  10525. (do_sfunc, set_cmd_sfunc): New functions.
  10526. * command.h (struct cmd_list_element): Add field func.
  10527. * cli/cli-decode.h (struct cmd_list_element): Ditto.
  10528. * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
  10529. * cli/cli-decode.h: Ditto.
  10530. * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
  10531. (help_all, help_cmd_list): Ditto.
  10532. (find_cmd, complete_on_cmdlist): Ditto.
  10533. * top.c (execute_command): Ditto.
  10534. * cli/cli-setshow.c (do_setshow_command): Call func instead of
  10535. function.sfunc.
  10536. * infcmd.c (notice_args_read): Fix function signature.
  10537. * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
  10538. * cli/cli-decode.c (add_set_cmd): Ditto.
  10539. * utils.c (initialize_utils): Ditto.
  10540. * maint.c (_initialize_maint_cmds): Ditto.
  10541. * infrun.c (_initialize_infrun): Ditto.
  10542. * demangle.c (_initialize_demangler): Ditto.
  10543. * remote.c (add_packet_config_cmd): Ditto.
  10544. * mips-tdep.c (_initialize_mips_tdep): Ditto.
  10545. * cris-tdep.c (_initialize_cris_tdep): Ditto.
  10546. * proc-api.c (_initialize_proc_api): Ditto.
  10547. * kod.c (_initialize_kod): Ditto.
  10548. * valprint.c (_initialize_valprint): Ditto.
  10549. * top.c (init_main): Ditto.
  10550. * infcmd.c (_initialize_infcmd): Ditto.
  10551. * corefile.c (_initialize_core): Ditto.
  10552. * arm-tdep.c (_initialize_arm_tdep): Ditto.
  10553. * arch-utils.c (initialize_current_architecture): Ditto.
  10554. (_initialize_gdbarch_utils): Ditto.
  10555. * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
  10556. * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
  10557. * wince.c (_initialize_inftarg): Ditto.
  10558. * symfile.c (_initialize_symfile): Ditto.
  10559. * mips-tdep.c (_initialize_mips_tdep): Ditto.
  10560. * language.c (_initialize_language): Ditto.
  10561. * arc-tdep.c (_initialize_arc_tdep): Ditto.
  10562. 2002-02-04 Michael Snyder <msnyder@redhat.com>
  10563. * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
  10564. 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
  10565. * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
  10566. Add rules for building the register data files.
  10567. 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
  10568. * regformats/regdat.sh: Add braces to the definition of
  10569. expedite_regs_${arch}.
  10570. 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
  10571. * regformats/regdef.h (struct reg): Add comment describing the
  10572. requirements for offset and size fields.
  10573. 2002-02-04 Andreas Schwab <schwab@suse.de>
  10574. * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
  10575. * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
  10576. 2002-02-04 Richard Earnshaw <rearnsha@arm.com>
  10577. * gdbarch.sh (copyright): Update years in generated header.
  10578. (SMASH_TEXT_ADDRESS): Add rule.
  10579. * gdbarch.h, gdbarch.c: Re-generate.
  10580. * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
  10581. * dbxread.c: Likewise.
  10582. * dwarfread.c: Likewise.
  10583. * elfread.c: Likewise.
  10584. * somread.c: Likewise.
  10585. * arm-tdep.c (arm_smash_text_address): New function.
  10586. * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
  10587. 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
  10588. Add support for hardware watchpoints on win32 native.
  10589. * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
  10590. CONTEXT_DEBUG_REGISTERS.
  10591. (dr variable): New variable. Static array containing a local copy
  10592. of debug registers.
  10593. (debug_registers_changed): New variable. Reflects when debug registers
  10594. are changed and need to be written to inferior.
  10595. (debug_registers_used): New variable. Reflects when any debug register
  10596. was set, used when new threads are created.
  10597. (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
  10598. i386-nat code.
  10599. (thread_rec): Set dr array if id is the thread of current_event .
  10600. (child_continue, child_resume): Change the debug registers for all
  10601. threads if debug_registers_changed.
  10602. (child_add_thread): Change the debug registers if debug_registers_used.
  10603. * config/i386/cygwin.mh: Add use of i386-nat.o file.
  10604. Link nm.h to new nm-cygwin.h file.
  10605. + config/i386/nm-cygwin.h: New file. Contains the macros used for use
  10606. of hardware registers.
  10607. 2002-02-03 Andrew Cagney <ac131313@redhat.com>
  10608. * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
  10609. Restore behavour broken by 2002-01-20 Andrew Cagney
  10610. <ac131313@redhat.com> IEEE_FLOAT removal.
  10611. 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
  10612. * c-valprint.c (c_val_print): Pass a proper valaddr to
  10613. cp_print_class_method.
  10614. * valops.c (search_struct_method): If there is only one method
  10615. and args is NULL, return that method.
  10616. 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
  10617. * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
  10618. accessing tag_name directly.
  10619. 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
  10620. * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
  10621. of accessing tag_name directly.
  10622. 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
  10623. PR gdb/280
  10624. * gdbtypes.c (replace_type): New function.
  10625. * gdbtypes.h (replace_type): Add prototype.
  10626. * stabsread.c (read_type): Use replace_type.
  10627. 2002-02-03 Richard Earnshaw <rearnsha@arm.com>
  10628. * Makefile.in (memattr.o): Add missing dependencies rule.
  10629. 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  10630. * breakpoint.c (break_at_finish_command): Really export.
  10631. (break_at_finish_at_depth_command): Ditto.
  10632. (tbreak_at_finish_command): Ditto.
  10633. * hppa-tdep.c: Include completer.h.
  10634. * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
  10635. (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
  10636. 2002-02-01 Andrew Cagney <ac131313@redhat.com>
  10637. * utils.c (do_write): New function.
  10638. (error_stream): Rewrite combining the code from error_begin and
  10639. verror.
  10640. (verror): Rewrite using error_stream.
  10641. (error_begin): Delete function.
  10642. 2002-02-01 Andrew Cagney <ac131313@redhat.com>
  10643. * utils.c (error_begin): Make static.
  10644. * defs.h (error_begin): Delete declaration.
  10645. * linespec.c (cplusplus_error): Replace cplusplus_hint.
  10646. (decode_line_1): Use cplusplus_error instead of error_begin,
  10647. cplusplus_hint and return_to_top_level.
  10648. * coffread.c (coff_symfile_read): Use error instead of error_begin
  10649. and return_to_top_level.
  10650. * infrun.c (default_skip_permanent_breakpoint): Ditto.
  10651. 2002-02-01 Andrew Cagney <ac131313@redhat.com>
  10652. * language.h (type_error, range_error): Make string parameter
  10653. constant.
  10654. * language.c (warning_pre_print): Delete extern declaration.
  10655. * dwarfread.c (warning_pre_print): Ditto.
  10656. * language.c (type_error, range_error): Rewrite to use verror and
  10657. vwarning instead of warning_begin.
  10658. 2002-02-01 Michael Snyder <msnyder@redhat.com>
  10659. * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
  10660. (set_ignore_count): Move misplaced comment back where it belongs.
  10661. 2002-02-01 Andrew Cagney <ac131313@redhat.com>
  10662. * command.h (NO_FUNCTION): Delete macro.
  10663. * cli/cli-decode.h (NO_FUNCTION): Ditto.
  10664. * top.c (execute_command): Replace NO_FUNCTION with NULL.
  10665. * tracepoint.c (_initialize_tracepoint): Ditto.
  10666. * cli/cli-decode.c (add_set_cmd): Ditto.
  10667. * cli/cli-cmds.c (init_cli_cmds): Ditto.
  10668. 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
  10669. * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
  10670. Update ``this'' pointer when calling virtual functions.
  10671. 2002-02-01 Michael Snyder <msnyder@redhat.com>
  10672. * breakpoint.c (create_temp_exception_breakpoint): Delete.
  10673. * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
  10674. 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
  10675. * regformats/reg-arm.dat: New file.
  10676. * regformats/reg-i386.dat: New file.
  10677. * regformats/reg-ia64.dat: New file.
  10678. * regformats/reg-m68k.dat: New file.
  10679. * regformats/reg-mips.dat: New file.
  10680. * regformats/reg-ppc.dat: New file.
  10681. * regformats/reg-sh.dat: New file.
  10682. * regformats/regdef.h: New file.
  10683. * regformats/regdat.sh: New file.
  10684. 2002-02-01 Richard Earnshaw <reanrsha@arm.com>
  10685. * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
  10686. (arm_frame_args_address, arm_frame_locals_address): New functions.
  10687. (arm_frame_num_args): New function.
  10688. * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
  10689. (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
  10690. (FRMA_NUM_ARGS): Call arm_frame_num_args.
  10691. 2002-01-31 Michael Snyder <msnyder@redhat.com>
  10692. * breakpoint.c (break_at_finish_command): Export.
  10693. (break_at_finish_at_depth_command): Export.
  10694. (tbreak_at_finish_command): Export.
  10695. (_initialize_breakpoint): Delete "xbreak" and "txbreak" commands.
  10696. * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
  10697. "txbreak" commands, which are HPPA specific.
  10698. * printcmd.c (disassemble_command): Remove an ancient
  10699. artifact of an old merge.
  10700. * symfile.h (enum overlay_debugging_state):
  10701. Define enum constant values for overlay mode.
  10702. * symfile.c (overlay_debugging): Use enums instead of literals.
  10703. (overlay_is_mapped, overlay_auto_command,
  10704. overlay_manual_command): Ditto.
  10705. * breakpoint.c (insert_breakpoints, remove_breakpoint,
  10706. breakpoint_here_p, breakpoint_inserted_here_p,
  10707. breakpoint_thread_match, bpstat_stop_status,
  10708. describe_other_breakpoints, check_duplicates, clear_command):
  10709. Coding standard fixes.
  10710. * target.c (target_xfer_memory): Add spaces, coding standard.
  10711. (do_xfer_memory): Add missing line to trust-readonly
  10712. code: check bfd SEC_READONLY flag for section.
  10713. 2002-01-31 Andrew Cagney <ac131313@redhat.com>
  10714. * PROBLEMS: Fix typo, 5.1->5.1.1.
  10715. 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
  10716. * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
  10717. data symbols, since we search based on textlow and texthigh.
  10718. (find_pc_sect_symtab): Likewise.
  10719. 2002-01-30 Andrew Cagney <ac131313@redhat.com>
  10720. * defs.h (vwarning): Declare.
  10721. * utils.c (vwarning): New function.
  10722. (warning): Call vwarning.
  10723. (warning_begin): Delete function.
  10724. * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
  10725. the warning message.
  10726. * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
  10727. warning_begin.
  10728. 2002-01-30 Michael Snyder <msnyder@redhat.com>
  10729. * NEWS: Mention "set trust-readonly-sections" command.
  10730. Mention generate-core-file command.
  10731. 2002-01-15 Michael Snyder <msnyder@redhat.com>
  10732. * target.c: New command, "set trust-readonly-sections on".
  10733. (do_xfer_memory): Honor the suggestion to trust readonly sections
  10734. by reading them from the object file instead of from the target.
  10735. (initialize_targets): Register command "set trust-readonly-sections".
  10736. 2002-01-29 Andrew Cagney <ac131313@redhat.com>
  10737. * parse.c (target_map_name_to_register): Simplify, search regs and
  10738. pseudo-regs using a single loop.
  10739. 2002-01-30 Andrew Cagney <ac131313@redhat.com>
  10740. * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
  10741. 2002-01-15 Rodney Brown <rbrown64@csc.com.au>
  10742. * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
  10743. * config/i386/i386v42mp.mh: Add i387-nat.o .
  10744. * i386v4-nat.c: Include i387-nat.h.
  10745. (supply_fpregset): Use i387_supply_fsave.
  10746. (fill_fpregset): Use i387_fill_fsave.
  10747. 2002-01-30 Richard Earnshaw <rearnsha@arm.com>
  10748. * arm-tdep.c (arm_call_dummy_words): Define.
  10749. * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
  10750. * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
  10751. (CALL_DUMMY_WORDS): Define.
  10752. (arm_call_dummy_words): Declare.
  10753. * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
  10754. (arm_linux_call_dummy_words): Declare.
  10755. 2002-01-30 Andreas Schwab <schwab@suse.de>
  10756. * m68klinux-nat.c: Fix last change to use regcache_collect
  10757. instead of referencing registers[] directly.
  10758. 2002-01-29 Andrew Cagney <ac131313@redhat.com>
  10759. * parse.c (target_map_name_to_register): Delete code wrapped in
  10760. #ifdef REGISTER_NAME_ALIAS_HOOK.
  10761. 2002-01-28 Michael Snyder <msnyder@redhat.com>
  10762. * regcache.c (legacy_read_register_gen): Need to be able to
  10763. read pseudo-register as well as real register.
  10764. (legacy_write_register_gen): Ditto.
  10765. 2002-01-28 Andrew Cagney <ac131313@redhat.com>
  10766. * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
  10767. * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
  10768. * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
  10769. * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
  10770. * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
  10771. * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
  10772. * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
  10773. * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
  10774. * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
  10775. * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
  10776. * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
  10777. * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
  10778. * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
  10779. * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
  10780. * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
  10781. * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
  10782. * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
  10783. * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
  10784. * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
  10785. * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
  10786. 2002-01-28 Andrew Cagney <ac131313@redhat.com>
  10787. * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
  10788. (target_byte_order): Initialize to BFD_ENDIAN_BIG.
  10789. (initialize_current_architecture): Update target_byte_order using
  10790. information from BFD.
  10791. * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
  10792. * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
  10793. 2002-01-28 Andrew Cagney <ac131313@redhat.com>
  10794. * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
  10795. * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
  10796. * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
  10797. #ifdef INVALID_FLOAT.
  10798. * infcmd.c (do_registers_info): Ditto.
  10799. * values.c (unpack_double): Ditto. Add comment.
  10800. * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
  10801. already commented out.
  10802. 2002-01-26 Andreas Schwab <schwab@suse.de>
  10803. * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
  10804. * m68klinux-nat.c: Update ptrace interface for fetching/storing
  10805. registers and add support for PTRACE_GETREGS.
  10806. 2002-01-24 Andrew Cagney <ac131313@redhat.com>
  10807. GDB 5.1.1 released from 5.1 branch.
  10808. * NEWS: Add 5.1.1 news.
  10809. * README: Sync with 5.1 branch.
  10810. 2002-01-23 Fred Fish <fnf@redhat.com>
  10811. * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
  10812. stabstring on initial malloc. Reallocing will copy it for us,
  10813. if necessary.
  10814. 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
  10815. * Makefile.in (hpread_h): Delete.
  10816. (HFILES_NO_SRCDIR): Remove hpread.h.
  10817. (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
  10818. (hpread.o): Update dependencies.
  10819. (hp-psymtab-read.o, hp-symtab-read.o): Remove.
  10820. * hp-psymtab-read.c: Remove file.
  10821. * hp-symtab-read.c: Remove file.
  10822. * hpread.h: Remove file.
  10823. * hpread.c: Merge all contents of hp-psymtab-read.c,
  10824. hp-symtab-read.c and hpread.h into this file, as it was prior to
  10825. January 1999.
  10826. * config/pa/hpux11w.mh, config/pa/hpux11.mh,
  10827. config/pa/hpux1020.mh, config/pa/hppaosf.mh,
  10828. config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
  10829. Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
  10830. 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
  10831. * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
  10832. fill_gregset): Call gdbarch_tdep() just once, assign result to
  10833. variable and use that, instead of calling the function several
  10834. times.
  10835. 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
  10836. * configure.host: Accept sparcv9 as alias for sparc64.
  10837. * configure.tgt: Likewise.
  10838. 2002-01-22 Kevin Buettner <kevinb@redhat.com>
  10839. * solib-aix5.c (build_so_list_from_mapfile)
  10840. (aix5_relocate_main_executable): Fix xcalloc() calls so order of
  10841. arguments is not reversed.
  10842. * solib-sunos.c (sunos_relocate_main_executable): Likewise.
  10843. * solib-svr4.c (svr4_relocate_main_executable): Likewise.
  10844. 2002-01-22 Elena Zannoni <ezannoni@redhat.com>
  10845. * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
  10846. modified version of obsolete sh_fetch_pseudo_register.
  10847. (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
  10848. (sh4_register_read): New function.
  10849. (sh_pseudo_register_write): New function. Renamed and modified
  10850. version of obsolete sh_store_pseudo_register.
  10851. (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
  10852. (sh4_register_write): New function.
  10853. (sh_gdbarch_init): Remove setting of gdbarch function
  10854. fetch_pseudo_register and store_pseudo_register. Remove setting of
  10855. register_convert_to_raw, register_convert_to_virtual,
  10856. register_convertible.
  10857. (sh_sh4_register_convertible): Delete. No longer needed. All is
  10858. taken care by architecture specific functions
  10859. register_read/register_write.
  10860. (sh_sh4_register_convert_to_virtual): Make static.
  10861. (sh_sh4_register_convert_to_raw): Ditto.
  10862. 2002-01-22 Andrew Cagney <ac131313@redhat.com>
  10863. * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
  10864. (floatformat_is_nan, floatformat_mantissa): Ditto.
  10865. * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
  10866. for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
  10867. builtin_type_ieee_double_little,
  10868. builtin_type_ieee_double_littlebyte_bigword,
  10869. builtin_type_m68881_ext, builtin_type_i960_ext,
  10870. builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
  10871. builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
  10872. builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
  10873. builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
  10874. 2002-01-22 Corinna Vinschen <vinschen@redhat.com>
  10875. * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
  10876. parameter. Set frameless flag if it exists and depended of
  10877. whether the scanned function is frameless or not.
  10878. (xstormy16_skip_prologue): If function is frameless, return
  10879. result of xstormy16_scan_prologue().
  10880. (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
  10881. call.
  10882. 2002-01-21 Elena Zannoni <ezannoni@redhat.com>
  10883. * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
  10884. sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
  10885. sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
  10886. sh_sh4_register_byte, sh_sh4_register_raw_size,
  10887. sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
  10888. sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
  10889. sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
  10890. sh_store_pseudo_register, sh_do_pseudo_register): Call
  10891. gdbarch_tdep() just once, assign result to variable and use that,
  10892. instead of calling the function several times.
  10893. 2002-01-20 Mark Kettenis <kettenis@gnu.org>
  10894. * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
  10895. macros instead of LAST_FPU_CTRL_REGNUM.
  10896. (store_register): Likewise.
  10897. 2002-01-21 Jim Blandy <jimb@redhat.com>
  10898. * infcmd.c (run_command): Check that the `exec' target layer's BFD
  10899. is up-to-date before running the program, not just when a program
  10900. exits.
  10901. 2002-01-21 Fred Fish <fnf@redhat.com>
  10902. * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
  10903. when we have found all instructions we are looking for.
  10904. 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
  10905. * arm-tdep.c (arm_register_name): New function.
  10906. (arm_registers_names): Make static.
  10907. * config/arm/tm-arm.h (arm_register_names): Delete declaration.
  10908. (arm_register_name): Declare.
  10909. (REGISTER_NAME): Use it.
  10910. 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
  10911. Kevin Buettner <kevinb@redhat.com>
  10912. Convert arm targets to new FRAME interface.
  10913. * arm-tdep.c (struct frame_extra_info): Remove fsr.
  10914. (arm_frame_find_save_regs): Delete.
  10915. (arm_frame_init_saved_regs): New.
  10916. (arm_init_extra_frame_info): Alloacte saved_regs as required.
  10917. Allocate extra_info as required. Convert all uses of fsr.regs
  10918. to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
  10919. to use extra_info.
  10920. (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
  10921. (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
  10922. (check_prologue_cache, save_prologue_cache): Likewise.
  10923. (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
  10924. * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
  10925. (FRAME_FIND_SAVED_REGS): Delete.
  10926. (arm_frame_find_saved_regs): Delete prototype.
  10927. (arm_frame_init_saved_regs): New prototype.
  10928. (FRAME_INIT_SAVED_REGS): Define.
  10929. 2002-01-20 Andrew Cagney <ac131313@redhat.com>
  10930. * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
  10931. 2002-01-20 Andrew Cagney <ac131313@redhat.com>
  10932. From Jeff Law <law@redhat.com>:
  10933. * infttrace.c: Include <sys/pstat.h>.
  10934. (child_pid_to_exec_file): Revamp. Use pstat call to get the
  10935. exec file if the ttrace equivalent fails.
  10936. 2002-01-20 Andrew Cagney <ac131313@redhat.com>
  10937. * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
  10938. (closeLogFile): Ditto.
  10939. 2002-01-20 Michael Chastain <mec@shout.net>
  10940. * top.c (print_gdb_version): Bump copyright year to 2002.
  10941. 2002-01-20 Andrew Cagney <ac131313@redhat.com>
  10942. * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
  10943. Zannoni and Eli Zaretskii.
  10944. 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
  10945. * buildsym.c: Update copyright years.
  10946. * c-typeprint.c: Likewise.
  10947. * dwarf2read.c: Likewise.
  10948. * f-typeprint.c: Likewise.
  10949. * gdbtypes.c: Likewise.
  10950. * gdbtypes.h: Likewise.
  10951. * hp-symtab-read.c: Likewise.
  10952. * hpread.c: Likewise.
  10953. * mdebugread.c: Likewise.
  10954. * p-typeprint.c: Likewise.
  10955. 2002-01-20 Andrew Cagney <ac131313@redhat.com>
  10956. * remote-sim.c (gdbsim_open): Simplify code testing the macro
  10957. TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
  10958. byte-order selectable.
  10959. * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
  10960. * arch-utils.c: Ditto.
  10961. (set_endian): Ditto.
  10962. (set_endian_from_file): Ditto.
  10963. * gdbserver/low-sim.c (create_inferior): Ditto.
  10964. * gdbarch.sh: Ditto.
  10965. * gdbarch.h: Re-generate.
  10966. * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
  10967. * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
  10968. * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
  10969. * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
  10970. * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
  10971. * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
  10972. * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
  10973. * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
  10974. macro definition.
  10975. * config/mips/tm-wince.h: Remove #undef of macro
  10976. TARGET_BYTE_ORDER_SELECTABLE.
  10977. * config/sh/tm-wince.h: Ditto.
  10978. 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
  10979. * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
  10980. member function fields. Add accessor macro
  10981. TYPE_FN_FIELD_ARTIFICIAL.
  10982. * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
  10983. * c-typeprint.c (c_type_print_base): Skip artificial member
  10984. functions.
  10985. 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
  10986. * f-typeprint.c: Delete unused function f_type_print_args.
  10987. * p-typeprint.c: Delete unused function pascal_type_print_args.
  10988. 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
  10989. * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
  10990. comment. Add ``artificial'' to ``union field_location''.
  10991. * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
  10992. * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
  10993. * mdebugread.c (parse_symbol): Likewise.
  10994. * stabsread.c (define_symbol): Likewise.
  10995. * hp-symtab-read.c (hpread_function_type): Likewise, instead of
  10996. initializing TYPE_FIELD_BITPOS to n (obsolete).
  10997. (hpread_doc_function_type): Likewise.
  10998. * hpread.c (hpread_function_type): Likewise.
  10999. 2002-01-20 Andrew Cagney <ac131313@redhat.com>
  11000. * configure.in (host_makefile_frag): Only require a host makefile
  11001. fragment when a native build.
  11002. * configure: Re-generate.
  11003. 2002-01-20 Andrew Cagney <ac131313@redhat.com>
  11004. * doublest.h (floatformat_from_type): Declare.
  11005. * doublest.c (floatformat_from_type): New function.
  11006. (convert_typed_floating): Use.
  11007. * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
  11008. call to function floatformat_from_type.
  11009. * gdbarch.sh (IEEE_FLOAT): Delete.
  11010. * gdbarch.h, gdbarch.c: Re-generate.
  11011. * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
  11012. * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
  11013. * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
  11014. * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
  11015. * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
  11016. * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
  11017. * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
  11018. * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
  11019. * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
  11020. * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
  11021. * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
  11022. * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
  11023. * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
  11024. * x86-64-tdep.c (i386_gdbarch_init): Ditto.
  11025. * sparc-tdep.c (sparc_gdbarch_init): Ditto.
  11026. * sh-tdep.c (sh_gdbarch_init): Ditto.
  11027. * mips-tdep.c (mips_gdbarch_init): Ditto.
  11028. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  11029. * cris-tdep.c (cris_gdbarch_init): Ditto.
  11030. 2002-01-20 Jiri Smid <smid@suse.cz>
  11031. * configure.host, configure.tgt: Support x86-64.
  11032. * NEWS: Note new target x86-64.
  11033. * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
  11034. * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
  11035. * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
  11036. * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
  11037. x86-64-linux-nat.o): Fix dependencies.
  11038. 2002-01-19 Andrew Cagney <ac131313@redhat.com>
  11039. * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
  11040. * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
  11041. * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
  11042. * config/sparc/xm-sun4os4.h: Delete file.
  11043. * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
  11044. 2002-01-19 Andrew Cagney <ac131313@redhat.com>
  11045. * config/sparc/sparclynx.mh (XM_FILE): Delete.
  11046. * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
  11047. * config/m68k/m68klynx.mh (XM_FILE): Delete.
  11048. * config/i386/i386lynx.mh (XM_FILE): Delete.
  11049. * config/rs6000/xm-rs6000ly.h: Delete file.
  11050. * config/sparc/xm-sparclynx.h: Delete file.
  11051. * config/m68k/xm-m68klynx.h: Delete file.
  11052. * config/i386/xm-i386lynx.h: Delete file.
  11053. * config/xm-lynx.h: Delete file.
  11054. * config/djgpp/fnchange.lst: Update.
  11055. 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
  11056. * alpha-tdep.c (alpha_register_byte): New function.
  11057. (alpha_register_raw_size): Ditto.
  11058. (alpha_register_virtual_size): Ditto.
  11059. (alpha_skip_prologue_internal): Renamed from
  11060. alpha_skip_prologue.
  11061. (alpha_skip_prologue): New version that calls
  11062. alpha_skip_prologue_internal.
  11063. (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
  11064. * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
  11065. second argument from alpha_skip_prologue.
  11066. (REGISTER_BYTE): Use alpha_register_byte.
  11067. (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
  11068. (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
  11069. (FRAMELESS_FUNCTION_INVOCATION): Use
  11070. generic_frameless_function_invocation_not.
  11071. (FRAME_NUM_ARGS): Use frame_num_args_unknown.
  11072. (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
  11073. 2002-01-19 Andrew Cagney <ac131313@redhat.com>
  11074. * config/mips/xm-news-mips.h: Delete file.
  11075. * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
  11076. * config/m88k/xm-m88k.h: Delete file.
  11077. * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
  11078. * config/m88k/xm-delta88v4.h: Ditto.
  11079. * config/m88k/xm-delta88.h: Ditto.
  11080. * config/alpha/xm-fbsd.h: Delete file.
  11081. * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
  11082. * config/sparc/xm-sparc.h: Delete file.
  11083. * Makefile.in (xm-sun4os4.h): Delete dependency.
  11084. * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
  11085. * config/sparc/xm-sun4os4.h: Ditto.
  11086. * config/sparc/xm-linux.h: Ditto.
  11087. * config/i386/xm-windows.h: Delete file.
  11088. 2002-01-19 Andrew Cagney <ac131313@redhat.com>
  11089. * utils.c: Include <sys/param.h> for MAXPATHLEN.
  11090. (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
  11091. 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
  11092. * alpha-tdep.c (alpha_call_dummy_words): New.
  11093. * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
  11094. (CALL_DUMMY_P): Define.
  11095. (CALL_DUMMY_WORDS): Define.
  11096. (SIZEOF_CALL_DUMMY_WORDS): Define.
  11097. 2002-01-19 Per Bothner <per@bothner.com>
  11098. * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
  11099. isn't NULL, which can happen with some gcj-3.x-produced code.
  11100. 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
  11101. * alpha-tdep.c (alpha_register_virtual_type): New function.
  11102. (alpha_init_frame_pc_first): Ditto.
  11103. (alpha_fix_call_dummy): Ditto.
  11104. (alpha_store_struct_return): Ditto.
  11105. (alpha_extract_struct_value_address): Ditto.
  11106. * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
  11107. alpha_register_virtual_type.
  11108. (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
  11109. (EXTRACT_STRUCT_VALUE_ADDRESS): Use
  11110. alpha_extract_struct_value_address.
  11111. (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
  11112. (INIT_FRAME_PC): Use init_frame_pc_noop.
  11113. (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
  11114. 2002-01-19 Mark Kettenis <kettenis@gnu.org>
  11115. * i386gnu-nat.c: Include "i386-tdep.h".
  11116. (fetch_fpregs): Simplify code dealing with uninitialized floating
  11117. point states such that it doesn't require FP7_REGNUM.
  11118. 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
  11119. * alpha-tdep.c (frame_extra_info): New.
  11120. (alpha_find_saved_regs): Make static. Use
  11121. frame->extra_info.
  11122. (alpha_frame_init_saved_regs): New function.
  11123. (alpha_frame_saved_pc): Use frame->extra_info.
  11124. (temp_saved_regs): Don't declare as struct frame_saved_regs.
  11125. (heuristic_proc_desc): Adjust for temp_saved_regs changes.
  11126. (init_extra_frame_info): Rename to...
  11127. (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
  11128. (alpha_print_extra_frame_info): New function.
  11129. (alpha_frame_locals_address): Ditto.
  11130. (alpha_frame_args_address): Ditto.
  11131. (alpha_pop_frame): Use frame->extra_info.
  11132. * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
  11133. alpha_frame_args_address.
  11134. (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
  11135. (alpha_find_saved_regs): Remove prototype.
  11136. (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
  11137. (EXTRA_FRAME_INFO): Remove.
  11138. (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
  11139. (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
  11140. 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
  11141. * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
  11142. (alpha_cannot_fetch_register): Ditto.
  11143. (alpha_cannot_store_register): Ditto.
  11144. (alpha_register_convertible): Ditto.
  11145. (alpha_use_struct_convention): Ditto.
  11146. * config/alpha/tm-alpha.h: Update copyright years.
  11147. (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
  11148. (INNER_THAN): Use core_addr_lessthan.
  11149. (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
  11150. (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
  11151. (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
  11152. (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
  11153. (FRAME_CHAIN): Remove unnecessary cast.
  11154. 2002-01-18 Andrew Cagney <ac131313@redhat.com>
  11155. * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
  11156. obsolete.
  11157. 2002-01-18 Andrew Cagney <ac131313@redhat.com>
  11158. * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
  11159. * monitor.c, remote-array.c, remote-bug.c: Ditto.
  11160. * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
  11161. * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
  11162. * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
  11163. * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
  11164. * x86-64-linux-nat.c: Ditto.
  11165. 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
  11166. * alpha-tdep.c (alpha_register_name): New function.
  11167. * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
  11168. (REGISTER_NAME): Define.
  11169. 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
  11170. * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
  11171. 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
  11172. * alpha-tdep.c: Update copyright years.
  11173. (alpha_next_pc): New function.
  11174. (alpha_software_single_step): Ditto.
  11175. * config/alpha/tm-alpha.h: Add prototype for
  11176. alpha_software_single_step.
  11177. 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
  11178. * alphabsd-nat.c: Update copyright years.
  11179. (fill_gregset): Use regcache_collect.
  11180. (fill_fpregset): Likewise.
  11181. (fetch_inferior_registers): Only fetch integer registers
  11182. if requested to do so.
  11183. (store_inferior_registers): Only store integer registers
  11184. if requested to do so.
  11185. 2002-01-17 Andrew Cagney <ac131313@redhat.com>
  11186. * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
  11187. * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
  11188. * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
  11189. * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
  11190. * config/alpha/fbsd.mh (XDEPFILES): Delete.
  11191. * config/arm/linux.mh (XDEPFILES): Delete.
  11192. * config/arm/nbsd.mh (XDEPFILES): Delete.
  11193. * config/i386/i386dgux.mh (XDEPFILES): Delete.
  11194. * config/i386/i386sol2.mh (XDEPFILES): Delete.
  11195. * config/i386/i386m3.mh (XDEPFILES): Delete.
  11196. (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
  11197. * config/i386/i386gnu.mh (XDEPFILES): Delete.
  11198. * config/i386/fbsd.mh (XDEPFILES): Delete.
  11199. * config/i386/i386bsd.mh (XDEPFILES): Delete.
  11200. * config/i386/i386sco5.mh (XDEPFILES): Delete.
  11201. * config/i386/i386v4.mh (XDEPFILES): Delete.
  11202. * config/i386/i386v42mp.mh (XDEPFILES): Delete.
  11203. * config/i386/i386sco4.mh (XDEPFILES): Delete.
  11204. * config/i386/i386aix.mh (XDEPFILES): Delete.
  11205. * config/i386/go32.mh (XDEPFILES): Delete.
  11206. * config/i386/cygwin.mh (XDEPFILES): Delete.
  11207. * config/i386/i386lynx.mh (XDEPFILES): Delete.
  11208. * config/i386/i386mach.mh (XDEPFILES): Delete.
  11209. * config/i386/i386v32.mh (XDEPFILES): Delete.
  11210. * config/i386/linux.mh (XDEPFILES): Delete.
  11211. * config/i386/nbsdelf.mh (XDEPFILES): Delete.
  11212. * config/i386/ncr3000.mh (XDEPFILES): Delete.
  11213. * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
  11214. * config/i386/i386sco.mh (XDEPFILES): Delete.
  11215. * config/i386/i386v.mh (XDEPFILES): Delete.
  11216. * config/i386/nbsd.mh (XDEPFILES): Delete.
  11217. * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
  11218. * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
  11219. * config/i386/symmetry.mh (XDEPFILES): Delete.
  11220. * config/i386/obsd.mh (XDEPFILES): Delete.
  11221. * config/i386/x86-64linux.mh (XDEPFILES): Delete.
  11222. * config/ia64/linux.mh (XDEPFILES): Delete.
  11223. * config/ia64/aix.mh (XDEPFILES): Delete.
  11224. * config/m68k/apollo68b.mh (XDEPFILES): Delete.
  11225. * config/m68k/dpx2.mh (XDEPFILES): Delete.
  11226. * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
  11227. * config/m68k/apollo68v.mh (XDEPFILES): Delete.
  11228. * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
  11229. * config/m68k/linux.mh (XDEPFILES): Delete.
  11230. * config/m68k/m68klynx.mh (XDEPFILES): Delete.
  11231. * config/m68k/m68kv4.mh (XDEPFILES): Delete.
  11232. * config/m68k/nbsd.mh (XDEPFILES): Delete.
  11233. * config/m68k/sun2os3.mh (XDEPFILES): Delete.
  11234. * config/m68k/sun2os4.mh (XDEPFILES): Delete.
  11235. * config/m68k/sun3os3.mh (XDEPFILES): Delete.
  11236. * config/m68k/sun3os4.mh (XDEPFILES): Delete.
  11237. * config/m88k/delta88.mh (XDEPFILES): Delete.
  11238. * config/m88k/delta88v4.mh (XDEPFILES): Delete.
  11239. * config/m88k/m88k.mh (XDEPFILES): Delete.
  11240. * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
  11241. * config/mips/linux.mh (XDEPFILES): Delete.
  11242. * config/mips/irix6.mh (XDEPFILES): Delete.
  11243. * config/mips/irix5.mh (XDEPFILES): Delete.
  11244. * config/mips/irix4.mh (XDEPFILES): Delete.
  11245. * config/mips/irix3.mh (XDEPFILES): Delete.
  11246. * config/mips/decstation.mh (XDEPFILES): Delete.
  11247. * config/mips/mipsm3.mh (XDEPFILES): Delete.
  11248. (NATDEPFILES): Move core-aout.o to here.
  11249. * config/ns32k/nbsd.mh (XDEPFILES): Delete.
  11250. * config/pa/hpux1020.mh (XDEPFILES): Delete.
  11251. * config/pa/hppabsd.mh (XDEPFILES): Delete.
  11252. * config/pa/hppahpux.mh (XDEPFILES): Delete.
  11253. * config/pa/hpux11w.mh (XDEPFILES): Delete.
  11254. * config/pa/hppaosf.mh (XDEPFILES): Delete.
  11255. * config/pa/hpux11.mh (XDEPFILES): Delete.
  11256. * config/powerpc/aix.mh (XDEPFILES): Delete.
  11257. * config/powerpc/nbsd.mh (XDEPFILES): Delete.
  11258. * config/powerpc/linux.mh (XDEPFILES): Delete.
  11259. * config/romp/rtbsd.mh: Rename XDEPFILES.
  11260. * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
  11261. * config/rs6000/aix4.mh (XDEPFILES): Delete.
  11262. * config/rs6000/rs6000.mh (XDEPFILES): Delete.
  11263. * config/s390/s390.mh (XDEPFILES): Delete.
  11264. * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
  11265. * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
  11266. * config/sparc/sun4os4.mh (XDEPFILES): Delete.
  11267. * config/sparc/sparclynx.mh (XDEPFILES): Delete.
  11268. * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
  11269. * config/sparc/nbsd.mh (XDEPFILES): Delete.
  11270. * config/sparc/linux.mh (XDEPFILES): Delete.
  11271. * config/vax/vaxult.mh (XDEPFILES): Delete.
  11272. * config/vax/vaxult2.mh (XDEPFILES): Delete.
  11273. * Makefile.in (DEPFILES): Remove XDEPFILES.
  11274. 2002-01-17 Andrew Cagney <ac131313@redhat.com>
  11275. * utils.c (internal_verror): Fix comments, default is yes not no.
  11276. Update queries to match. Default to quit and dump core.
  11277. 2002-01-17 Andrew Cagney <ac131313@redhat.com>
  11278. * breakpoint.c: Update assuming #if UI_OUT is always true. Update
  11279. copyright.
  11280. * defs.h, event-top.c, gdbcmd.h: Ditto.
  11281. * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
  11282. * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
  11283. * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
  11284. * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
  11285. * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
  11286. * mi/mi-main.c:Ditto.
  11287. * stack.c, symfile.c: Update copyright.
  11288. 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
  11289. * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
  11290. gdbserver/low-nbsd.c, gdbserver/low-sim.c,
  11291. gdbserver/low-sparc.c, gdbserver/low-sun3.c,
  11292. gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
  11293. 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
  11294. * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
  11295. * gdbserver/low-lynx.c (myattach): Likewise.
  11296. * gdbserver/low-nbsd.c (myattach): Likewise.
  11297. * gdbserver/low-sim.c (myattach): Likewise.
  11298. * gdbserver/low-sparc.c (myattach): Likewise.
  11299. * gdbserver/low-sun3.c (myattach): Likewise.
  11300. * gdbserver/low-linux.c (myattach): New function.
  11301. * gdbserver/server.c (attach_inferior): New function.
  11302. (main): Handle "--attach".
  11303. 2002-01-16 Andrew Cagney <ac131313@redhat.com>
  11304. * MAINTAINERS (language support): Daniel Jacobwitz is C++
  11305. maintainer.
  11306. 2002-01-15 Daniel Jacobowitz <drow@mvista.com>
  11307. * c-typeprint.c (is_type_conversion_operator): Add additional
  11308. check for non-conversion operators.
  11309. 2002-01-15 Michael Snyder <msnyder@redhat.com>
  11310. * linux-proc.c: Add "info proc" command, a la procfs.c.
  11311. (read_mapping): New function, abstract and re-use code.
  11312. (linux_find_memory_regions): Use new func read_mapping.
  11313. (linux_info_proc_cmd): New function, implement "info proc".
  11314. (_initialize_linux_proc): Add new command "info proc".
  11315. 2002-01-15 Michael Snyder <msnyder@redhat.com>
  11316. * symfile.c (generic_load): Use bfd_map_over_sections method
  11317. instead of manipulating bfd structure members directly.
  11318. (add_section_size_callback): New function, bfd sections callback
  11319. used by generic_load.
  11320. (load_sections_callback): New function, bfd sections callback
  11321. used by generic_load.
  11322. 2002-01-15 Elena Zannoni <ezannoni@redhat.com>
  11323. [Based on work by Jim Blandy]
  11324. * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
  11325. (builtin_type_vec128): Export.
  11326. * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
  11327. types.
  11328. (builtin_type_vec128): New builtin type for 128 bit vector
  11329. registers.
  11330. (build_gdbtypes): Initialize builtin_type_v16qi and
  11331. builtin_type_v8hi. Create the vec128 register builtin type
  11332. structure.
  11333. (build_builtin_type_vec128): New function.
  11334. (_initialize_gdbtypes): Register builtin_type_v16qi and
  11335. builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
  11336. * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
  11337. AltiVec register to new builtin type.
  11338. 2002-01-15 Daniel Jacobowitz <drow@mvista.com>
  11339. * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
  11340. to make_cv_type.
  11341. 2002-01-14 Andrew Cagney <ac131313@redhat.com>
  11342. * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
  11343. CLEAN_UP_REGISTER_VALUE.
  11344. * regcache.c (supply_register): Update only call.
  11345. 2002-01-14 Andrew Cagney <ac131313@redhat.com>
  11346. * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
  11347. a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
  11348. a29k-*-vxworks* targets as obsolete.
  11349. 2002-01-14 Michael Snyder <msnyder@redhat.com>
  11350. * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
  11351. until we can resolve portability issues.
  11352. * gregset.h: Remove references to fpxregs.
  11353. * gcore.c (gcore_command): Initialize note_sec to NULL.
  11354. 2002-01-13 Andrew Cagney <ac131313@redhat.com>
  11355. * signals.c (target_signal_to_name): Rewrite. Only use
  11356. signals[].name when in bounds and non-NULL.
  11357. 2002-01-13 Andrew Cagney <ac131313@redhat.com>
  11358. From Petr Ledvina <ledvinap@kae.zcu.cz>:
  11359. * signals.c (target_signal_to_name): Verify that SIG is within the
  11360. bounds of the signals array.
  11361. 2002-01-13 Andrew Cagney <ac131313@redhat.com>
  11362. * MAINTAINERS: Remove arm-coff and arm-pe from target list.
  11363. 2002-01-13 Keith Seitz <keiths@redhat.com>
  11364. * stack.c (print_frame_info_base): Print the frame's pc
  11365. only if when print_frame_info_listing_hook is not defined.
  11366. 2002-01-13 Keith Seitz <keiths@redhat.com>
  11367. * varobj.c (varobj_set_value): Make sure that there were no
  11368. errors evaluating the object before attempting to set its
  11369. value.
  11370. value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
  11371. so this offset adjustment is no longer necessary.
  11372. (create_child): Don't set the error flag if the child is
  11373. a CPLUS_FAKE_CHILD.
  11374. (value_of_child): If value_fetch_lazy fails, return NULL
  11375. so that callers will be notified that an error occurred.
  11376. (c_value_of_variable): Delay check of variable's validity
  11377. until later. We actually want all structs and unions to have
  11378. the value "{...}".
  11379. Do not return "???" for variables which could not be evaluated.
  11380. This error condition must be returned to the caller so that it
  11381. can get the error condition from gdb.
  11382. (cplus_name_of_child): Adjust index for vptr before figuring
  11383. out the name of the child.
  11384. (cplus_value_of_child): If a child's (real) parent is not valid,
  11385. don't even bother trying to give a value for it. Just return
  11386. an error. Change all instances in this function.
  11387. (cplus_type_of_child): If our parent is one of the "fake"
  11388. parents, we need to get at the type of the real parent, and
  11389. derive the child's true type using this information.
  11390. 2002-01-13 Andrew Cagney <ac131313@redhat.com>
  11391. From 2002-01-09 John Marshall <johnm@falch.net>:
  11392. * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
  11393. sources.redhat.com, and tweak some related URLs which had
  11394. suffered from linkrot.
  11395. 2002-01-13 Andrew Cagney <ac131313@redhat.com>
  11396. From Jeff law:
  11397. * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
  11398. structures passed in registers.
  11399. 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
  11400. * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
  11401. white space which prevented compilation. Reported by DSK
  11402. <dsk@student.unsw.edu.au>.
  11403. 2002-01-11 Michael Snyder <msnyder@redhat.com>
  11404. * symfile.c (build_section_addr_info_from_section_tab):
  11405. Use bfd access method instead of manipulating bfd directly.
  11406. (syms_from_objfile): Ditto.
  11407. (simple_overlay_update_1): Ditto.
  11408. (simple_overlay_update): Ditto.
  11409. (generic_load): Ditto.
  11410. (overlay_unmapped_address): FIXME comment, bfd access methods.
  11411. (sections_overlap): FIXME comment, bfd access methods.
  11412. (pc_in_mapped_range): FIXME comment, bfd access methods.
  11413. (pc_in_unmapped_range): FIXME comment, bfd access methods.
  11414. (section_is_mapped): FIXME comment, bfd access methods.
  11415. (section_is_overlay): FIXME comment, bfd access methods.
  11416. * symfile.c (generic_load): Whitespace and long line cleanups.
  11417. Remove duplicate variable, change several local variables to
  11418. more appropriate data types.
  11419. (print_transfer_performance): Use %lu instead of %ld for ulongs.
  11420. 2002-01-12 Andrew Cagney <ac131313@redhat.com>
  11421. From Peter Schauer:
  11422. * language.c (longest_local_hex_string_custom): Use phex_nz to
  11423. convert NUM to a hex string.
  11424. 2002-01-12 Elena Zannoni <ezannoni@redhat.com>
  11425. * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
  11426. the function.
  11427. Update Copyright year.
  11428. 2002-01-12 Andrew Cagney <ac131313@redhat.com>
  11429. * language.c (longest_raw_hex_string): Delete unused function.
  11430. 2002-01-11 Petr Sorfa <petrs@caldera.com>
  11431. * MAINTAINERS (write-after-approval): Add myself.
  11432. * dwarf2read.c (read_tag_string_type): Handling of
  11433. DW_AT_byte_size.
  11434. (read_tag_string_type): FORTRAN fix to prevent propagation of
  11435. first string size.
  11436. (set_cu_language): Handling of DW_LANG_Fortran95
  11437. 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
  11438. * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
  11439. GETPID(inferior_ptid).
  11440. (store_inferior_registers): Likewise.
  11441. 2002-01-10 Jason Merrill <jason@redhat.com>
  11442. * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
  11443. Fix DW_OP_minus.
  11444. 2002-01-10 Andrew Cagney <ac131313@redhat.com>
  11445. * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
  11446. and bfd/elf32-sh-nbsd.c.
  11447. 2002-01-10 Michael Snyder <msnyder@redhat.com>
  11448. * NEWS: Mention --pid and corefile/proc-id behavior change.
  11449. * Makefile.in: Add rules for gcore.o and linux-proc.o.
  11450. * gcore.c: Include cli/cli-decode.h instead of command.h.
  11451. * main.c (captured_main): Add new command line option "--pid".
  11452. If the second command line argument (following the symbol-file)
  11453. begins with a digit, try to attach to it before trying to open
  11454. it as a corefile.
  11455. (print_gdb_help): Document the "--pid" argument.
  11456. 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
  11457. * completer.c (command_completer): New function.
  11458. * completer.h <command_completer>: Add prototype.
  11459. * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
  11460. completer for the "help" command.
  11461. 2002-01-09 Jason Merrill <jason@redhat.com>
  11462. * c-typeprint.c (is_type_conversion_operator): Fix thinko.
  11463. 2002-01-09 Michael Snyder <msnyder@redhat.com>
  11464. * i386-linux-nat.c (fill_fpxregset): Make global.
  11465. (store_fpxregset): Ditto.
  11466. * gregset.h (gdb_fpxregset_t): Define.
  11467. (supply_fpxregset): Prototype.
  11468. (fill_fpxregset): Prototype.
  11469. * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
  11470. 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
  11471. * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
  11472. * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
  11473. * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
  11474. 2002-01-09 Andrew Cagney <ac131313@redhat.com>
  11475. * MAINTAINERS: Update target maintainer rules so that any
  11476. Maintainer can approve a tested patch for a maintenance-only
  11477. target.
  11478. 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
  11479. * MAINTAINERS (write-after-approval): Add myself.
  11480. * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
  11481. IN_SIGTRAMP.
  11482. 2002-01-08 Michael Snyder <msnyder@redhat.com>
  11483. * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
  11484. real name of the executable, rather than the /proc name.
  11485. 2002-01-03 Michael Snyder <msnyder@redhat.com>
  11486. Implement a "generate-core-file" command in gdb, save target state.
  11487. * gcore.c: New file. Implement new command 'generate-core-file'.
  11488. Save a corefile image of the current state of the inferior.
  11489. * linux-proc.c: Add linux-specific code for saving corefiles.
  11490. * target.h (struct target_ops): Add new target vectors for saving
  11491. corefiles; to_find_memory_regions and to_make_corefile_notes.
  11492. (target_find_memory_regions): New macro.
  11493. (target_make_corefile_notes): New macro.
  11494. * target.c (update_current_target): Inherit new target methods.
  11495. (dummy_find_memory_regions): New place-holder method.
  11496. (dummy_make_corefile_notes): New place-holder method.
  11497. (init_dummy_target): Initialize new dummy target vectors.
  11498. * exec.c (exec_set_find_memory_regions): New function.
  11499. Allow the exec_ops vector for memory regions to be taken over.
  11500. (exec_make_note_section): New function, target vector method.
  11501. * defs.h (exec_set_find_memory_regions): Export prototype.
  11502. * procfs.c (proc_find_memory_regions): New function, corefile method.
  11503. (procfs_make_note_section): New function, corefile method.
  11504. (init_procfs_ops): Set new target vector pointers.
  11505. (find_memory_regions_callback): New function.
  11506. (procfs_do_thread_registers): New function.
  11507. (procfs_corefile_thread_callback): New function.
  11508. * sol-thread.c (sol_find_memory_regions): New function.
  11509. (sol_make_note_section): New function.
  11510. (init_sol_thread_ops): Initialize new target vectors.
  11511. * inftarg.c (inftarg_set_find_memory_regions): New function.
  11512. Allow to_find_memory_regions vector to be taken over.
  11513. (inftarg_set_make_corefile_notes): New function.
  11514. Allow to_make_corefile_notes vector to be taken over.
  11515. * thread-db.c (thread_db_new_objfile): Don't activate thread-db
  11516. interface layer if not target_has_execution (may be a corefile).
  11517. * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
  11518. * config/sparc/sun4sol2.mh: Ditto.
  11519. * config/alpha/alpha-linux.mh: Ditto.
  11520. * config/arm/linux.mh: Ditto.
  11521. * config/i386/x86-64linux.mh: Ditto.
  11522. * config/ia64/linux.mh: Ditto.
  11523. * config/m68k/linux.mh: Ditto.
  11524. * config/mips/linux.mh: Ditto.
  11525. * config/powerpc/linux.mh: Ditto.
  11526. * config/sparc/linux.mh: Ditto.
  11527. 2002-01-07 Michael Snyder <msnyder@redhat.com>
  11528. * arm-linux-nat.c: Remove references to regcache.c internal data
  11529. (registers[] and register_valid[]).
  11530. 2002-01-07 Michael Snyder <msnyder@redhat.com>
  11531. * linux-proc.c: New file. Implement child_pid_to_exec_file,
  11532. so that attaching to a pid will automatically read the process's
  11533. symbol file and shlibs.
  11534. * Makefile.in: Add rule for linux-proc.o.
  11535. * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
  11536. * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
  11537. * config/arm/linux.mh: Ditto.
  11538. * config/i386/linux.mh: Ditto.
  11539. * config/i386/x86-64linux.mh: Ditto.
  11540. * config/ia64/linux.mh: Ditto.
  11541. * config/m68k/linux.mh: Ditto.
  11542. * config/mips/linux.mh: Ditto.
  11543. * config/powerpc/linux.mh: Ditto.
  11544. * config/sparc/linux.mh: Ditto.
  11545. 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
  11546. * win32-nat.c: Add i386-tdep.h dependency.
  11547. 2002-01-07 Michael Snyder <msnyder@redhat.com>
  11548. * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
  11549. instead of bfd_get_arch_size. Don't bail out just because
  11550. there's no exec_bfd.
  11551. * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
  11552. * p-valprint.c (pascal_object_print_value): Ditto.
  11553. * somread.c (som_symtab_read): Ditto.
  11554. * symfile.c (simple_free_overlay_region_table): Ditto.
  11555. * valops.c (value_assign): Ditto.
  11556. * tracepoint.c (tracepoint_save_command): From Klee Dienes --
  11557. use tilde_expand and strerror for opening save-tracepoints file.
  11558. * thread-db.c (thread_db_new_objfile): Indendation fix.
  11559. * infptrace.c (GDB_MAX_ALLOCA): New define.
  11560. (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
  11561. size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
  11562. can be overridden with whatever value is appropriate to the host).
  11563. * infttrace.c (child_xfer_memory): Add FIXME warning about use of
  11564. alloca to allocate potentially large buffer.
  11565. * rs6000-nat.c (child_xfer_memory): Ditto.
  11566. * symm-nat.c (child_xfer_memory): Ditto.
  11567. * x86-64-linux-nat.c (child_xfer_memory): Ditto.
  11568. 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
  11569. From Nick Clifton <nickc@redhat.com>
  11570. * d10v-tdep.c: Set STACK_START to 0x200bffe.
  11571. 2002-01-07 Michael Snyder <msnyder@redhat.com>
  11572. * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
  11573. Don't use exec_bfd if it's NULL.
  11574. 2002-01-06 Mark Kettenis <kettenis@gnu.org>
  11575. * valops.c (value_arg_coerce): Fix formatting.
  11576. 2002-01-06 Andrew Cagney <ac131313@redhat.com>
  11577. * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
  11578. * gnu-nat.c: Ditto.
  11579. 2002-01-06 Andrew Cagney <ac131313@redhat.com>
  11580. * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
  11581. arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
  11582. i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
  11583. ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
  11584. z8k-coff have not been multi-arched. Update z8k-coff build
  11585. status.
  11586. 2002-01-06 Andrew Cagney <ac131313@redhat.com>
  11587. * MAINTAINERS: Mark a29k target as obsolete.
  11588. * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
  11589. (remote-mm.o, remote-udi.o): Obsolete. Remove references in
  11590. comments.
  11591. * NEWS: Note that a29k targets are obsolete.
  11592. * a29k-tdep.c: Mark as obsolete.
  11593. * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
  11594. a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
  11595. a29k-*-vxworks* targets as obsolete.
  11596. * remote-adapt.c: Obsolete.
  11597. * remote-eb.c: Obsolete.
  11598. * remote-mm.c: Obsolete.
  11599. * remote-udi.c: Obsolete.
  11600. * config/a29k/a29k-udi.mt: Obsolete.
  11601. * config/a29k/a29k.mt: Obsolete.
  11602. * config/a29k/tm-a29k.h: Obsolete.
  11603. * config/a29k/tm-vx29k.h: Obsolete.
  11604. * config/a29k/vx29k.mt: Obsolete.
  11605. 2002-01-05 Andrew Cagney <ac131313@redhat.com>
  11606. * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
  11607. with BFD_ENDIAN_BIG.
  11608. 2002-01-05 Andrew Cagney <ac131313@redhat.com>
  11609. * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
  11610. * configure, config.in: Re-generate.
  11611. * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
  11612. * defs.h: Do not include <endian.h>.
  11613. 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
  11614. * acconfig.h (HAVE_PT_GETXMMREGS): New.
  11615. * config.in: Regenerate.
  11616. * configure.in: Update copyright years.
  11617. Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
  11618. * configure: Regenerate.
  11619. * i386bsd-nat.c: Update copyright years.
  11620. (fill_gregset): Use regcache_collect.
  11621. (fetch_inferior_registers): Only fetch integer registers
  11622. if requested to do so. Add support for XMM registers
  11623. using PT_GETXMMREGS.
  11624. (store_inferior_registers): Only store integer registers
  11625. if requested to do so. Add support for XMM registers
  11626. using PT_SETXMMREGS.
  11627. * i386nbsd-nat.c (fetch_inferior_registers): Remove.
  11628. (store_inferior_registers): Remove.
  11629. (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
  11630. (fetch_elfcore_registers): New function.
  11631. (i386nbsd_elfcore_fns): New.
  11632. (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
  11633. * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
  11634. i386bsd-nat.o.
  11635. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
  11636. * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
  11637. * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
  11638. * config/i386/tm-nbsd.h: Update copyright years.
  11639. (HAVE_SSE_REGS): Define.
  11640. (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
  11641. (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
  11642. (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
  11643. (SIGCONTEXT_PC_OFFSET): Remove.
  11644. (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
  11645. 2002-01-05 Andrew Cagney <ac131313@redhat.com>
  11646. * configure.tgt: Remove powerpc-*-macos* target.
  11647. * config/m68k/xm-mpw.h: Delete file.
  11648. * config/xm-mpw.h: Delete file.
  11649. * ser-mac.c: Delete file.
  11650. * mpw-make.sed: Delete file.
  11651. * mpw-config.in: Delete file.
  11652. * mac-xdep.c: Delete file.
  11653. * mac-gdb.r: Delete file.
  11654. * mac-defs.h: Delete file.
  11655. * mac-nat.c: Delete file.
  11656. * config/powerpc/macos.mh: Delete file.
  11657. * config/powerpc/macos.mt: Delete file.
  11658. * config/powerpc/nm-macos.h: Delete file.
  11659. * config/powerpc/tm-macos.h: Delete file.
  11660. * source.c (openp, open_source_file): Remove obsolete code.
  11661. * top.c (gdb_readline): Ditto.
  11662. * utils.c (query): Ditto.
  11663. * event-top.c (display_gdb_prompt): Ditto.
  11664. * Makefile.in (ser-mac.o): Delete obsolete target.
  11665. * NEWS: Update.
  11666. 2002-01-04 Andrew Cagney <ac131313@redhat.com>
  11667. * defs.h (BIG_ENDIAN): Delete macro definition.
  11668. * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
  11669. coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
  11670. findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
  11671. printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
  11672. remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
  11673. stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
  11674. config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
  11675. config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
  11676. config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
  11677. config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
  11678. config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
  11679. config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
  11680. mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
  11681. * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
  11682. * gdbarch.c: Re-generate.
  11683. 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
  11684. * thread-db.c (thread_db_new_objfile): Do not enable thread_db
  11685. for core files.
  11686. 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
  11687. * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
  11688. 2002-01-04 Andrew Cagney <ac131313@redhat.com>
  11689. * value.h (value_ptr): Delete typedef.
  11690. 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
  11691. * i386nbsd-nat.c: Update copyright years.
  11692. Include i386-tdep.h.
  11693. 2002-01-04 Elena Zannoni <ezannoni@redhat.com>
  11694. * stabsread.c: Update copyright years.
  11695. From Debashis Mahata <debashis.mahata@wipro.com>:
  11696. (read_struct_fields): Deal with Sun C compiler erroneous stab
  11697. output for structs and unions.
  11698. Fix PR gdb/269.
  11699. 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
  11700. * p-valprint.c: Include "cp-abi.h" for baseclass_offset
  11701. prototype.
  11702. 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
  11703. * cp-abi.c: Fix whitespace.
  11704. (baseclass_offset): New wrapper function.
  11705. * cp-abi.h (baseclass_offset): Add prototype.
  11706. (struct cp_abi_ops): Add baseclass_offset pointer.
  11707. * valops.c (vb_match): Move to...
  11708. * gnu-v2-abi.c (vb_match): here.
  11709. * valops.c (baseclass_offset): Move to...
  11710. * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
  11711. * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
  11712. * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
  11713. * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
  11714. * hpacc-abi.c (init_hpacc_ops): Likewise.
  11715. 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
  11716. * valops.c (find_overload_match): Accept obj as a
  11717. reference parameter. Update it before returning.
  11718. * value.h (find_overload_match): Update prototype.
  11719. * eval.c (evaluate_subexp_standard): Pass object to
  11720. find_overload_match by reference.
  11721. 2002-01-03 Andrew Cagney <ac131313@redhat.com>
  11722. * valarith.c: Replace value_ptr with struct value pointer. Remove
  11723. register attribute from value declarations.
  11724. * valops.c: Ditto.
  11725. * value.h: Ditto.
  11726. * scm-lang.c (scm_lookup_name): Ditto.
  11727. 2002-01-03 Michael Snyder <msnyder@redhat.com>
  11728. Abstract the functionality of iterating over mapped memory
  11729. regions into a general purpose iterator function.
  11730. * procfs.c (iterate_over_mappings): New function, general purpose
  11731. iterator for memory sections.
  11732. (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
  11733. (solib_mappings_callback): New function, callback for above.
  11734. (info_proc_mappings): Reimpliment using iterate_over_mappings.
  11735. (info_mappings_callback): New function, callback for above.
  11736. * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
  11737. 2002-01-01 Mark Kettenis <kettenis@gnu.org>
  11738. * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
  11739. * i386-tdep.c: Include "elf-bfd.h".
  11740. (process_note_abi_tag_sections): New function.
  11741. (i386_gdbarch_init): Add code to recognize various OS/ABI
  11742. combinations.
  11743. * maint.c (_initialize_maint_cmds): Add missing \ in
  11744. string-literal.
  11745. For older changes see ChangeLog-2001
  11746. Local Variables:
  11747. mode: change-log
  11748. left-margin: 8
  11749. fill-column: 74
  11750. version-control: never
  11751. End: