ChangeLog-2007 414 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623
  1. 2007-12-31 Daniel Jacobowitz <dan@codesourcery.com>
  2. * remote.c (unpack_nibble): Use fromhex.
  3. * symtab.c (find_line_common): Always set exact_match.
  4. 2007-12-31 Daniel Jacobowitz <dan@codesourcery.com>
  5. * hppa-linux-nat.c: Use hppa-linux-offsets.h.
  6. * hppa-linux-offsets.h: New file.
  7. 2007-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
  8. * configure.tgt (*-*-mingw32ce*): Set gdb_osabi to
  9. GDB_OSABI_WINCE.
  10. (*-*-mingw* | *-*-cygwin*): Set gdb_osabi to GDB_OSABI_CYGWIN.
  11. 2007-12-29 Nick Hudson <nick.hudson@dsl.pipex.com>
  12. * i386nbsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h"
  13. (sigtramp_retcode, i386nbsd_sigtramp_offset, i386nbsd_sigtramp_p):
  14. Remove
  15. (i386nbsd_mc_reg_offset): New array.
  16. (i386nbsd_sigtramp_cache_init): New function.
  17. (i386nbsd_sigtramp_sc16, i386nbsd_sigtramp_sc2, i386nbsd_sigtramp_si2)
  18. (i386nbsd_sigtramp_si31, i386nbsd_sigtramp_si4): New signal trampoline
  19. frame descriptions.
  20. (i386nbsd_init_abi): Override ABI sigcontext defaults and register
  21. new signal frame unwinders
  22. * Makefile.in (i386nbsd-tdep.o): Update dependencies.
  23. * tramp-frame.h (struct tramp_frame): Allow for 48 instructions
  24. 2007-12-29 Joel Brobecker <brobecker@adacore.com>
  25. * ada-lang.c (_initialize_ada_language): Attach executable_changed
  26. observer.
  27. 2007-12-28 Joel Brobecker <brobecker@adacore.com>
  28. * ada-lang.c (ada_evaluate_subexp): Break two large expressions
  29. using temporary variables.
  30. 2007-12-27 Joel Brobecker <brobecker@adacore.com>
  31. * ada-lang.c (ada_value_cast): New function, extracted out from
  32. the code in ada_evaluate_subexp, case UNOP_CAST. The code handling
  33. the obscure case has been removed as we think that it is actually
  34. unnecessary.
  35. (ada_evaluate_subexp): Add type case when evaluating an OP_DOUBLE
  36. or an OP_LONG with a non-null expect_type. Replace extracted-out
  37. code with call to new ada_value_cast function.
  38. 2007-12-27 Paul Hilfinger <hilfinger@adacore.com>
  39. * ada-lang.c (ada_evaluate_subexp): Add cases for BINOP_LOGICAL_AND,
  40. BINOP_LOGICAL_OR, UNOP_LOGICAL_NOT, BINOP_BITWISE_IOR,
  41. BINOP_BITWISE_XOR, BINOP_BITWISE_AND.
  42. * language.c (lang_bool_type): Add Ada case.
  43. 2007-12-26 Joel Brobecker <brobecker@adacore.com>
  44. * dwarf2read.c (read_base_type): Fix obvious &&/|| confusion.
  45. 2007-12-26 Luis Machado <luisgpm@br.ibm.com>
  46. * dwarf2-frame.c (execute_cfa_program): Call dwarf2_restore_rule
  47. function to handle required actions for the DW_CFA_restore and
  48. DW_CFA_restore_extended instructions.
  49. (dwarf2_restore_rule): New function.
  50. 2007-12-24 Joel Brobecker <brobecker@adacore.com>
  51. * ada-lang.c (ada_is_character_type): Add recognition of type
  52. "Wide_Wide_Character".
  53. 2007-12-24 Joel Brobecker <brobecker@adacore.com>
  54. * dwarf2read.c (read_base_type): Set code to TYPE_CODE_CHAR
  55. for char and unsigned char types of Ada compilation units.
  56. * ada-lang.c (ada_is_character_type): Always return true if
  57. the type code is TYPE_CODE_CHAR.
  58. 2007-12-23 Joel Brobecker <brobecker@adacore.com>
  59. * infrun.c (handle_inferior_event): Remove code that made us
  60. stop when stepping into the last line of the current function.
  61. 2007-12-22 Pierre Muller <muller@ics.u-strasbg.fr>
  62. * win32-nat.c: Fix PR gdb/2388.
  63. (do_win32_fetch_inferior_registers): Do not overwrite debug register
  64. array dr if debug_registers_changed variable is set.
  65. 2007-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
  66. * dwarf2read.c (scan_partial_symbols partial_die_parent_scope)
  67. (add_partial_symbol, pdi_needs_namespace, process_die)
  68. (is_type_tag_for_partial, load_partial_dies, new_symbol)
  69. (read_type_die, determine_prefix): Extend the current code of
  70. `DW_TAG_class_type' also for `DW_TAG_interface_type'.
  71. 2007-12-21 Paul N. Hilfinger <hilfinger@adacore.com>
  72. * ada-lang.h (ada_renaming_category): New enumerated type.
  73. (ada_lookup_encoded_symbol): Declare.
  74. (ada_parse_renaming): Declare.
  75. (ada_renaming_type,ada_is_object_renaming)
  76. (ada_simple_renamed_entity): Delete declarations.
  77. * ada-lang.c (ada_parse_renaming): New function to concentrate
  78. extraction of information from renaming symbols.
  79. (parse_old_style_renaming): New function to concentrate
  80. extraction of old-style (purely type-based) renaming information.
  81. (renaming_is_visible): Rename to...
  82. (old_renaming_is_invisible): Rename and change sense of
  83. renaming_is_visible.
  84. (remove_out_of_scope_renamings): Rename to...
  85. (remove_irrelevant_renamings): Renames remove_out_of_scope_renamings
  86. and augments with additional logic to handle cases where the same
  87. object renaming is encoded both as a reference variable and an
  88. encoded renaming.
  89. (ada_renaming_type,ada_is_object_renaming)
  90. (ada_simple_renamed_entity): Delete definitions.
  91. (ada_lookup_encoded_symbol): New function factored out of
  92. ada_lookup_symbol.
  93. (ada_lookup_symbol): Reimplement to call ada_lookup_encoded_symbol.
  94. (wild_match): Don't reject perfect match of prefix.
  95. (ada_find_renaming_symbol): Factor old-style renaming logic into
  96. find_old_style_renaming_symbol.
  97. (find_old_style_renaming_symbol): New name for content of old
  98. ada_find_renaming_symbol.
  99. (ada_prefer_type): Reimplement not to use ada_renaming_type.
  100. * ada-exp.y (write_object_renaming): Change interface. Reimplement
  101. to use new arguments and ada_parse_renaming.
  102. Correct blocks used to find array index.
  103. (write_var_or_type): Reimplement to use ada_parse_renaming.
  104. 2007-12-21 Denis Pilat <denis.pilat@st.com>
  105. * tui/tui-data.h (MAX_LOCATOR_ELEMENT_LEN): Defined to a bigger
  106. value or to PATH_MAX when possible.
  107. 2007-12-20 Joel Brobecker <brobecker@adacore.com>
  108. * rs6000-tdep.h: Remove defs.h #include.
  109. * Makefile.in (rs6000_tdep_h): Update dependencies.
  110. 2007-12-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
  111. * gdbtypes.c (gdbtypes_post_init): Change names of decimal float types
  112. to conform to C extension for decimal float.
  113. * c-lang.c (enum c_primitive_types): Add entries for Decimal Floating
  114. Point types.
  115. (enum cplus_primitive_types): Likewise.
  116. (c_language_arch_info): Add Decimal Floating Point builtin types to
  117. the primitive_type_vector.
  118. (cplus_language_arch_info): Likewise.
  119. 2007-12-20 David Ung <davidu@mips.com>
  120. Maciej W. Rozycki <macro@mips.com>
  121. * mips-tdep.c (mips_n32n64_push_dummy_call): Sign-extend
  122. integers and 32-bit pointers as required by the ABI.
  123. 2007-12-20 Joel Brobecker <brobecker@adacore.com>
  124. * symtab.h: Remove "defs.h" #include.
  125. * Makefile.in (symtab_h): Update dependencies.
  126. 2007-12-19 Joel Brobecker <brobecker@adacore.com>
  127. * symtab.h: #include "defs.h".
  128. (enum language): Remove opaque declaration.
  129. * Makefile.in (symtab_h): Update dependencies.
  130. 2007-12-19 Joel Brobecker <brobecker@adacore.com>
  131. * language.h (enum exp_opcode): Remove commented out forward
  132. declaration.
  133. (op_error): Delete declaration.
  134. 2007-12-19 Joel Brobecker <brobecker@adacore.com>
  135. * infrun.c (handle_inferior_event): Fix spelling in comment.
  136. 2007-12-18 Daniel Jacobowitz <dan@codesourcery.com>
  137. * minsyms.c (lookup_minimal_symbol): Also check the separate
  138. debug objfile.
  139. (lookup_minimal_symbol_text): Likewise.
  140. (lookup_minimal_symbol_solib_trampoline): Likewise.
  141. * symtab.c (lookup_global_symbol_from_objfile): Likewise.
  142. 2007-12-18 Vladimir Prus <vladimir@codesourcery.com>
  143. * mi/mi-main.c (mi_cmd_list_features): Announce
  144. the 'pending-breakpoints' feature.
  145. 2007-12-17 Jim Blandy <jimb@codesourcery.com>
  146. * dwarf2read.c (dwarf2_add_field): Correctly scale all byte
  147. offsets obtained from DW_AT_data_member_location before recording
  148. them in FIELD_BITPOS (*fp).
  149. * dwarf2read.c (attr_form_is_section_offset): Doc fixes.
  150. 2007-12-17 Nigel Stephens <nigel@mips.com>
  151. Maciej W. Rozycki <macro@mips.com>
  152. * utils.c (string_to_core_addr): If the executable format
  153. indicates that addresses should be sign-extended and there are
  154. only 8 hex digits in the address, then do so.
  155. * Makefile.in (utils.o): Depend on $(gdbcore_h).
  156. 2007-12-17 Chris Dearman <chris@mips.com>
  157. * symfile.c (init_filename_language_table): Recognise .sx as
  158. an assembler file.
  159. 2007-12-17 Joel Brobecker <brobecker@adacore.com>
  160. * language.h (enum exp_opcode): Comment out this declaration,
  161. undoing the previous change.
  162. 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
  163. * breakpoint.c: (watch_command_1): Parse additional optional
  164. "thread" parameter to the watchpoint command and set the
  165. "thread" member of the breakpoint struct.
  166. 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
  167. * breakpoint.c (bpstat_stop_status): Check an additional
  168. condition before evaluating an expression value.
  169. 2007-12-17 Joel Brobecker <brobecker@adacore.com>
  170. * language.h (enum exp_opcode): Add forward declaration.
  171. (language_string_char_type, language_lookup_primitive_type_by_name):
  172. Move declaration past declaration of language_defn.
  173. 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
  174. Joseph Myers <joseph@codesourcery.com>
  175. * configure.ac: Check for *-*-solaris2.1[[0-9]]* instead of
  176. *-*-solaris2.1[[0-9]].
  177. * configure: Regenerate.
  178. * procfs.c (proc_set_current_signal): If redelivering a signal,
  179. reuse the current siginfo if possible.
  180. 2007-12-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  181. * f-typeprint.c (print_equivalent_f77_float_type): Remove function.
  182. (f_type_print_base): Output the type names directly for real and
  183. complex types.
  184. 2007-12-16 Vladimir Prus <vladimir@codesourcery.com>
  185. * breakpoint.c (bpstat_have_active_hw_watchpoints):
  186. Remove
  187. (bpstat_stop_status): Remove unused variable
  188. real_breakpoint.
  189. * breakpoint.h (bpstat_have_active_hw_watchpoints):
  190. Remove prototype.
  191. 2007-12-16 Vladimir Prus <vladimir@codesourcery.com>
  192. * target.h (target_pid_or_tid_to_str): Remove.
  193. * infrun.c (handle_inferior_event):
  194. Use target_pid_to_str instead of
  195. target_pid_or_tid_to_str.
  196. (normal_stop): Likewise.
  197. 2007-12-16 Jan Kratochvil <jan.kratochvil@redhat.com>
  198. * dwarf2read.c (dwarf_attr_name): Rename `DW_AT_stride_size' to its
  199. DWARF3 equivalent `DW_AT_bit_stride'.
  200. Rename `DW_AT_stride' to its DWARF3 equivalent `DW_AT_byte_stride'.
  201. 2007-12-16 Joel Brobecker <brobecker@adacore.com>
  202. * mi/mi-main.c: Remove code that was commented out in 1999.
  203. 2007-12-16 Joel Brobecker <brobecker@adacore.com>
  204. * expression.h (parse_expression_in_context): Delete prototype.
  205. * parse.c (parse_expression_in_context): Delete.
  206. 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
  207. Add support for pending breakpoints in MI.
  208. * gdb.h (gdb_breakpoint): Add parameter pending.
  209. * breakpoint.c (gdb_breakpoint): Add parameter pending.
  210. * mi/mi-cmd-break.c (mi_break_insert): Change
  211. comment to refer to manual. Add support for
  212. the -f flag, for pending breakpoint.
  213. 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
  214. * breakpoint.c (break_command_really): New, copied
  215. from break_command_1. New parameters COND_STRING, THREAD
  216. PARSE_CONDITITION_AND_THREAD and PENDING_BREAK_SUPPORT.
  217. The previous FLAG parameter split into TEMPFLAG and
  218. HARDWAREFLAG.
  219. When PARSE_CONDITION_AND_THREAD is not set, duplicate
  220. the passed condition string.
  221. (struct captured_breakpoint_args): Remove
  222. (do_captured_breakpoint): Remove.
  223. (break_command_1): Relay to break_command_really.
  224. (gdb_breakpoint): Relay to break_command_really.
  225. 2007-12-13 Michael Snyder <msnyder@specifix.com>
  226. * mips-linux-tdep.c (mips64_fill_gregset): Remove unused variable.
  227. 2007-12-13 Jim Blandy <jimb@codesourcery.com>
  228. * dwarf2read.c (attr_form_is_constant): New function.
  229. (dwarf2_add_field): Use it and attr_form_is_section_offset to
  230. recognize DW_AT_data_member_location attributes. Use
  231. dwarf2_get_attr_constant_value when the attribute is a constant.
  232. * dwarf2read.c (attr_form_is_section_offset): New function.
  233. (dwarf_add_member_fn, read_common_block, read_partial_die)
  234. (dwarf2_symbol_mark_computed): Use it, instead of writing it out.
  235. 2007-12-12 Jim Blandy <jimb@codesourcery.com>
  236. Remove unused support for target-based exception catching.
  237. * target.h (struct target_ops): Delete
  238. to_enable_exception_callback and to_get_current_exception_event
  239. members.
  240. (target_enable_exception_callback)
  241. (target_get_current_exception_event): Delete macros.
  242. * target.c (update_current_target): Remove code to inherit and
  243. default those members.
  244. (debug_to_enable_exception_callback)
  245. (debug_to_get_current_exception_event): Delete functions.
  246. (setup_target_debug): Don't install those methods.
  247. * inf-child.c (inf_child_enable_exception_callback)
  248. (inf_child_get_current_exception_event): Delete dummy functions.
  249. (inf_child_target): Don't install them in the target vector.
  250. * breakpoint.h (enum bptype): Delete bp_catch_catch,
  251. bp_catch_throw.
  252. * breakpoint.c (cover_target_enable_exception_callback)
  253. (ep_is_exception_catchpoint, create_exception_catchpoint): Delete
  254. functions.
  255. (insert_bp_location, update_breakpoints_after_exec)
  256. (remove_breakpoint, ep_is_catchpoint, print_it_typical)
  257. (bpstat_stop_status, bpstat_what)
  258. (bpstat_get_triggered_catchpoints, print_one_breakpoint_location)
  259. (user_settable_breakpoint, allocate_bp_location)
  260. (disable_watchpoints_before_interactive_call_start)
  261. (enable_watchpoints_after_interactive_call_stop, mention)
  262. (delete_breakpoint, breakpoint_re_set_one, disable_command)
  263. (enable_command): Remove exception catchpoint cases.
  264. (catch_exception_command_1): Don't try target-based exception
  265. handling.
  266. * stack.c (catch_info): Call print_frame_label_vars
  267. unconditionally.
  268. 2007-12-12 Nigel Stephens <nigel@mips.com>
  269. Maciej W. Rozycki <macro@mips.com>
  270. * remote-mips.c (mips_load): Use regcache_set_valid_p() instead
  271. of setting deprecated_register_valid array directly.
  272. 2007-12-07 Maciej W. Rozycki <macro@mips.com>
  273. * mips-tdep.c (extended_offset): Fix a comment.
  274. 2007-12-07 Maciej W. Rozycki <macro@mips.com>
  275. * target.c (update_current_target): Inherit to_log_command.
  276. * target.h (struct target_ops). Add to_log_command.
  277. (target_log_command): New macro.
  278. * top.c (execute_command): Call target_log_command() rather than
  279. serial_log_command().
  280. * monitor.c (init_base_monitor_ops): Initialize to_log_command.
  281. * remote-m32r-sdi.c (init_m32r_ops): Likewise.
  282. * remote-mips.c (_initialize_remote_mips): Likewise.
  283. * remote.c (init_remote_ops): Likewise.
  284. 2007-12-06 Daniel Jacobowitz <dan@codesourcery.com>
  285. * infrun.c (init_wait_for_inferior): Reset target_last_wait_ptid.
  286. (handle_inferior_event): Clear stop_stack_dummy earlier.
  287. 2007-12-06 Jim Blandy <jimb@codesourcery.com>
  288. * addrmap.c (addrmap_splay_tree_remove): New function.
  289. (addrmap_mutable_set_empty): Use it.
  290. * addrmap.c, addrmap.h: Update to GPLv3.
  291. * addrmap.c (struct addrmap): Make the referenced function table
  292. const.
  293. (addrmap_fixed_funcs, addrmap_mutable_funcs): Declare const.
  294. Don't use designated initializers.
  295. * addrmap.c (addrmap_fixed_create_fixed, addrmap_mutable_find)
  296. (addrmap_mutable_relocate): Use internal_error, not abort.
  297. * NEWS: Mention support for non-contiguous lexical blocks and
  298. function bodies.
  299. 2007-12-06 Markus Deuling <deuling@de.ibm.com>
  300. * gdbarch.sh (stab_reg_to_regnum, dwarf_reg_to_regnum)
  301. ( dwarf2_reg_to_regnum, sdb_reg_to_regnum, ecoff_reg_to_regnum): Add
  302. gdbarch as parameter.
  303. * gdbarch.{c,h}: Regenerate.
  304. * xtensa-tdep.c (xtensa_reg_to_regnum): Add gdbarch as parameter.
  305. Replace current_gdbarch by gdbarch.
  306. * s390-tdep.c (s390_dwarf_reg_to_regnum): Likewise.
  307. * rs6000-tdep.c (rs6000_stab_reg_to_regnum)
  308. (rs6000_dwarf2_reg_to_regnum): Likewise.
  309. * mips-tdep.c (mips_stab_reg_to_regnum)
  310. (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise.
  311. * mep-tdep.c (mep_debug_reg_to_regnum): Likewise.
  312. * m32c-tdep.c (m32c_debug_info_reg_to_regnum): Likewise.
  313. * i386-tdep.c (i386_dbx_reg_to_regnum)
  314. (i386_svr4_reg_to_regnum): Likewise
  315. * h8300-tdep.c (h8300s_dbg_reg_to_regnum)
  316. (h8300_dbg_reg_to_regnum): Likewise.
  317. * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Likewise.
  318. * arch-utils.c (no_op_reg_to_regnum): Likewise.
  319. * arch-utils.h (no_op_reg_to_regnum): Likewise.
  320. * arm-tdep.c (arm_dwarf_reg_to_regnum): Likewise.
  321. * cris-tdep.c (cris_dwarf2_reg_to_regnum): Likewise.
  322. * hppa-tdep.c (hppa64_dwarf_reg_to_regnum): Likewise.
  323. * ia64-tdep.c (ia64_dwarf_reg_to_regnum): Likewise.
  324. * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
  325. 2007-12-06 Vladimir Prus <vladimir@codesourcery.com>
  326. Localize infrun use of remove_breakpoints.
  327. * infrun.c (handle_inferior_event): Remove
  328. calls to remove_breakpoints, except where needed to
  329. communicate change of breakpoint locations to inferior.
  330. (keep_going): If steppping over breakpoint, remove
  331. breakpoints.
  332. 2007-12-06 Vladimir Prus <vladimir@codesourcery.com>
  333. Clarify infrun variable naming.
  334. * infrun.c (trap_expected): Rename
  335. to stepping_over_breakpoint. Document.
  336. (stepping_past_breakpoint): Remove.
  337. (stepping_past_breakpoint_ptdi): Renamed
  338. to deferred_step_ptid.
  339. (struct execution_control_state): Rename
  340. the another_trap field to stepping_over_breakpoint.
  341. (struct inferior_status): Rename the trap_expected
  342. field to stepping_over_breakpoint.
  343. (clear_proceed_status, proceed)
  344. (init_execution_control_state, context_switch)
  345. (handle_inferior_event, currently_stepping)
  346. (keep_going, save_inferior_status)
  347. (restore_inferior_status, prepare_to_proceed): Adjust.
  348. * gdbthread.h (struct thread_info): Rename the
  349. trap_expected field to stepping_over_breakpoint.
  350. * thread.c (load_infrun_state, save_infrun_state):
  351. Adjust.
  352. 2007-12-06 Pierre Muller <muller@ics.u-strasbg.fr>
  353. * win32-nat.c: Allow compilation if CORE_ADDR is 8 byte long.
  354. Add "gdb_stdint.h" dependency required for uintptr_t type use.
  355. (handle_output_debug_string): Use uintptr_t typecast.
  356. (handle_exception): Ditto.
  357. (win32_xfer_memory): Ditto.
  358. * Makefile.in (win32-nat.o): Add dependency to gdb_stdint header.
  359. 2007-12-04 Jim Blandy <jimb@codesourcery.com>
  360. Support lexical blocks and function bodies that occupy
  361. non-contiguous address ranges.
  362. * addrmap.c, addrmap.h: New files.
  363. * block.h (struct addrmap): New forward declaration.
  364. (struct blockvector): New member, 'map'.
  365. (BLOCKVECTOR_MAP): New accessor macro.
  366. * block.c: #include "addrmap.h"
  367. (blockvector_for_pc_sect): If the blockvector we've found has
  368. an address map, use it instead of searching the blocks.
  369. * buildsym.c: #include "addrmap.h"
  370. (pending_addrmap_obstack, pending_addrmap_interesting): New static
  371. variables.
  372. (really_free_pendings): If we have a pending addrmap, free it too.
  373. (record_block_range): New function.
  374. (make_blockvector): If we have an interesting pending addrmap,
  375. record it in the new blockvector.
  376. (start_symtab, buildsym_init): Assert that there is no pending
  377. addrmap now; we should have cleaned up any addrmaps we'd built
  378. previously.
  379. (end_symtab): If there is a pending addrmap left over that didn't
  380. get included in the blockvector, free it.
  381. * buildsym.h (struct addrmap): New forward declaration.
  382. (record_block_range): New prototype.
  383. * objfiles.c: #include "addrmap.h".
  384. (objfile_relocate): Relocate the blockvector's address map, if
  385. present.
  386. * dwarf2read.c (dwarf2_record_block_ranges): New function.
  387. (read_func_scope, read_lexical_block_scope): Call it.
  388. * Makefile.in (SFILES): Add addrmap.c.
  389. (addrmap_h): New header dependency variable.
  390. (COMMON_OBS): Add addrmap.o.
  391. (addrmap.o): New rule.l
  392. (block.o, objfiles.o, buildsym.o): Depend on $(addrmap_h).
  393. * block.c (blockvector_for_pc, blockvector_for_pc_sect): Return a
  394. pointer to the block, not its index in the blockvector.
  395. (block_for_pc_sect): Use the returned block, instead of looking it
  396. up ourselves.
  397. * block.h (blockvector_for_pc, blockvector_for_pc_sect): Update
  398. declarations.
  399. * breakpoint.c (resolve_sal_pc): Use returned block, instead of
  400. looking it up ourselves.
  401. * stack.c (print_frame_label_vars): Disable function, which
  402. depends on the block's index.
  403. * buildsym.c (finish_block): Return the block we've built.
  404. * buildsym.h (finish_block): Update prototype.
  405. * defs.h (CORE_ADDR_MAX): New constant.
  406. 2007-12-04 Ulrich Weigand <uweigand@de.ibm.com>
  407. * coffread.c (decode_type): Use builtin_type_int32 instead
  408. of FT_INTEGER fundamental type for array range index type.
  409. (decode_base_type): Use builtin types of current_gdbarch
  410. instead of fundamental types.
  411. * dwarf2read.c (struct dwarf2_cu): Remove ftypes member.
  412. (read_file_scope): Do not initialize ftypes member.
  413. (dwarf_base_type, dwarf2_fundamental_types): Remove functions.
  414. (read_array_type): Use builtin_type_int32 instead of FT_INTEGER
  415. fundamental type for array range index type.
  416. (read_tag_string_type): Likewise for string range index type.
  417. Also, do not overwrite FT_CHAR type with new string type.
  418. (read_base_type): If DW_AT_name is missing, create unnamed type
  419. with given properties instead of looking for a fundamental type.
  420. Create new types as TYPE_TARGET_TYPE for DW_ATE_address and
  421. DW_ATE_complex_float types.
  422. (read_subrange_type): Create new type to represent missing
  423. DW_AT_type instead of looking for a fundamental type.
  424. (die_type): Use builtin type to represent "void" instead of
  425. looking for a fundamental type.
  426. * stabsread.c (define_symbol): Use builtin types to represent
  427. 'r' and 'i' floating-point and integer constants.
  428. * gdbtypes.c (lookup_fundamental_type): Remove.
  429. * gdbtypes.h (lookup_fundamental_type): Remove prototype.
  430. (FT_VOID, FT_BOOLEAN, FT_CHAR, FT_SIGNED_CHAR, FT_UNSIGNED_CHAR,
  431. FT_SHORT, FT_SIGNED_SHORT, FT_UNSIGNED_SHORT, FT_INTEGER,
  432. FT_SIGNED_INTEGER, FT_UNSIGNED_INTEGER, FT_LONG, FT_SIGNED_LONG,
  433. FT_UNSIGNED_LONG, FT_LONG_LONG, FT_SIGNED_LONG_LONG,
  434. FT_UNSIGNED_LONG_LONG, FT_FLOAT, FT_DBL_PREC_FLOAT, FT_EXT_PREC_FLOAT,
  435. FT_COMPLEX, FT_DBL_PREC_COMPLEX, FT_EXT_PREC_COMPLEX, FT_STRING,
  436. FT_FIXED_DECIMAL, FT_FLOAT_DECIMAL, FT_BYTE, FT_UNSIGNED_BYTE,
  437. FT_TEMPLATE_ARG, FT_DECFLOAT, FT_DBL_PREC_DECFLOAT,
  438. FT_EXT_PREC_DECFLOAT, FT_NUM_MEMBERS): Remove macros.
  439. * objfiles.c (struct objfile): Remove fundamental_types member.
  440. * symfile.c (reread_symbols): Do not clear fundamental_types.
  441. * language.h (struct language_defn): Remove la_fund_type member.
  442. (create_fundamental_type): Remove.
  443. * language.c (unk_lang_create_fundamental_type): Remove.
  444. (unknown_language_defn, auto_language_defn,
  445. local_language_defn): Adapt initializer.
  446. * ada-lang.c (ada_create_fundamental_type): Remove.
  447. (ada_language_defn): Adapt initializer.
  448. * c-lang.h (c_create_fundamental_type): Remove prototype.
  449. * c-lang.c (c_create_fundamental_type): Remove.
  450. (c_language_defn, cplus_language_defn, asm_language_defn,
  451. minimal_language_defn): Adapt initializer.
  452. * f-lang.c (f_create_fundamental_type): Remove.
  453. (f_language_defn): Adapt initializer.
  454. * jv-lang.c (java_create_fundamental_type): Remove.
  455. (java_language_defn): Adapt initializer.
  456. * m2-lang.c (m2_create_fundamental_type): Remove.
  457. (m2_language_defn): Adapt initializer.
  458. * objc-lang.c (objc_create_fundamental_type): Remove.
  459. (objc_language_defn): Adapt initializer.
  460. * p-lang.h (pascal_create_fundamental_type): Remove prototype.
  461. * p-lang.c (pascal_create_fundamental_type): Remove.
  462. (pascal_language_defn): Adapt initializer.
  463. * scm-lang.c (scm_language_defn): Adapt initializer.
  464. 2007-12-04 Maciej W. Rozycki <macro@mips.com>
  465. * features/mips-cpu.xml: Specify "regnum" for "r0" explicitly.
  466. * features/mips64-cpu.xml: Likewise.
  467. * features/mips-fpu.xml: Specify "regnum" for "f0" explicitly.
  468. * features/mips64-fpu.xml: Likewise.
  469. * features/mips-linux.c: Regenerate.
  470. * features/mips64-linux.c: Regenerate.
  471. 2007-12-04 Maciej W. Rozycki <macro@mips.com>
  472. * target.h (target_find_new_threads): Fix definition.
  473. 2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr>
  474. * win32-nat.c (win32_resume): Set the trace bit
  475. in the thread identified by inferior_ptid.
  476. 2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr>
  477. * win32-nat.c (open_process_used): New static variable.
  478. (win32_init_thread_list): Remove call to CloseHandle for thread.
  479. (win32_delete_thread): Ditto.
  480. (fake_create_process): Set open_process_used if OpenProcess call is
  481. successful.
  482. (get_win32_debug_event): Do not close process handle.
  483. (do_initial_win32_stuff): Set open_process_used to zero.
  484. (win32_mourn_inferior): Call CloseHandle for current_process_handle if
  485. open_process_used is set.
  486. (win32_kill_inferior): Do not close process and main_thread handles.
  487. 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
  488. * remote.c (remote_cmdlist): New variable.
  489. (PACKET_vFile_open, PACKET_vFile_pread, PACKET_vFile_pwrite)
  490. (PACKET_vFile_close, PACKET_vFile_unlink): New constants.
  491. (remote_buffer_add_string, remote_buffer_add_bytes)
  492. (remote_buffer_add_int, remote_hostio_parse_result)
  493. (remote_hostio_send_command, remote_hostio_open, remote_hostio_pwrite)
  494. (remote_hostio_pread, remote_hostio_close, remote_hostio_unlink)
  495. (remote_fileio_errno_to_host, remote_hostio_error, fclose_cleanup)
  496. (remote_hostio_close_cleanup, remote_file_put, remote_file_get)
  497. (remote_file_delete, remote_put_command, remote_get_command)
  498. (remote_delete_command, remote_command): New functions.
  499. (_initialize_remote): Register new packets and commands.
  500. * Makefile.in (gdb_fileio_h): New variable.
  501. (remote.o): Update.
  502. (SUBDIR_MI_OBS): Add mi-cmd-target.o.
  503. (SUBDIR_MI_SRCS): Add mi/mi-cmd-target.c.
  504. (mi-cmd-target.o): New rule.
  505. * mi/mi-cmd-target.c: New file.
  506. * mi/mi-cmds.c (mi_cmds): Add target-file-delete, target-file-get,
  507. and target-file-put.
  508. * mi/mi-cmds.h (mi_cmd_target_file_get, mi_cmd_target_file_put)
  509. (mi_cmd_target_file_delete): Declare.
  510. * remote.h (remote_file_put, remote_file_get, remote_file_delete):
  511. Declare.
  512. * NEWS: Describe new file transfer support.
  513. 2007-11-30 Vladimir Prus <vladimir@codesourcery.com>
  514. * infrun.c (handle_inferior_event): Don't
  515. ignore beakpoints if trap_expected is set.
  516. 2007-11-30 Vladimir Prus <vladimir@codesourcery.com>
  517. Make insert_breakpoints return void.
  518. * breakpoint.h (insert_breakpoints): Change
  519. return type to void.
  520. * breakpoint.c (insert_breakpoints): Change
  521. return type to void. Rename local return_val
  522. variable to error.
  523. * infrun.c (keep_going): Instead of checking
  524. return value from insert_breakpoints, catch exception.
  525. 2007-11-29 Vladimir Prus <vladimir@codesourcery.com>
  526. Stop infrun from tracking breakpoint insertion status.
  527. The checks of breakpoints_inserted before calling
  528. remove_breakpoints are removed, as remove_breakpoint
  529. won't touch uninserted breakpoints. In a number of places,
  530. we're interested if a breakpoint is inserted at particular
  531. PC, and we now use breakpoint_inserted_here_p. In a few
  532. places, insert_breakpoints can be called unconditionally,
  533. since it won't try to insert already inserted breakpoint.
  534. * breakpoint.h (regular_breakpoint_inserted_here_p): New
  535. declaration.
  536. * breakpoint.c (regular_breakpoint_inserted_here_p): New.
  537. (breakpoint_inserted_here_p): Use
  538. regular_breakpoint_inserted_here_p.
  539. * infrun.c (breakpoints_inserted): Remove.
  540. (resume): Don't check for breakpoints_inserted before
  541. remove_hw_watchpoints. Use breakpoint_inserted_here_p.
  542. (proceed, init_wait_for_inferior): Don't set breakpoints_inserted.
  543. (handle_inferior_event): Don't use breakpoints_inserted.
  544. Use breakpoints_meant_to_be_inserted and
  545. breakpoints_inserted_here_p.
  546. (insert_step_resume_breakpoint_at_sal, keep_going): Use
  547. breakpoints_meant_to_be_inserted. Don't set breakpoints_inserted.
  548. (normal_stop): Don't check for breakpoints_inserted. Don't
  549. set breakpoints_inserted.
  550. (keep_going): Don't check for breakpoints_inserted.
  551. (insert_step_resume_breakpoint_at_sal): Don't insert
  552. breakpoints
  553. 2007-11-28 Jim Blandy <jimb@codesourcery.com>
  554. * breakpoint.c (watch_command_1): When the watchpoint isn't local
  555. to any frame, initialize watchpoint_frame using null_frame_id, not
  556. a memset.
  557. 2007-11-28 Vladimir Prus <vladimir@codesourcery.com>
  558. * infrun.c (resume): Set right thread even if
  559. stepping over breakpoint using software single step.
  560. 2007-11-28 Nick Roberts <nickrob@snap.net.nz>
  561. * mi/mi-cmd-var.c (print_varobj): Revert change from 2007-08-31.
  562. (mi_print_value_p): Guard against type = NULL.
  563. 2007-11-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
  564. * dfp.c (decimal_from_string): Remove superfluous newline from
  565. error string.
  566. (decimal_to_string): Likewise.
  567. * printcmd.c (printf_command): Change string buffer to use
  568. MAX_DECIMAL_STRING constant.
  569. * value.c (value_from_decfloat): Likewise.
  570. 2007-11-27 Ulrich Weigand <uweigand@de.ibm.com>
  571. * Makefile.in (ALL_TARGET_OBS): Remove object files that require
  572. 64-bit CORE_ADDR and BFD support, move them to ...
  573. (ALL_64_TARGET_OBS): ... this new variable.
  574. * configure.ac: Check for --enable-64-bit-bfd option. Only add
  575. 64-bit targets with --enable-targets=all if BFD supports 64-bit.
  576. * configure: Regenerate.
  577. * i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Do not claim
  578. all elf32-i386 executables, only cygwin core files.
  579. 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
  580. * dwarf2read.c (dwarf2_get_pc_bounds): Moved the `DW_AT_ranges' parsing
  581. code with its variables OBJFILE, CU_HEADER and OBFD into ...
  582. (dwarf2_ranges_read): ... a new function.
  583. (read_partial_die): Implemented the parsing of `DW_AT_ranges'.
  584. 2007-11-24 Pedro Alves <pedro_alves@portugalmail.pt>
  585. * win32-nat.c (DR6_CLEAR_VALUE): New define.
  586. (thread_info_struct): Rename suspend_count to suspended, to be
  587. used as a flag.
  588. (thread_rec): Only suspend the thread if it wasn't suspended by
  589. gdb before. Warn if suspending failed.
  590. (win32_add_thread): Set Dr6 to DR6_CLEAR_VALUE.
  591. (win32_continue): Set Dr6 to DR6_CLEAR_VALUE. Update usage of the
  592. `suspended' flag. Do ContinueDebugEvent after resuming the
  593. suspended threads, not before. Set threads' contexts before
  594. resuming them, not after.
  595. (win32_resume): Set Dr6 to DR6_CLEAR_VALUE.
  596. 2007-11-23 Vladimir Prus <vladimir@codesourcery.com>
  597. * breakpoint.c (insert_breakpoints)
  598. (insert_bp_location): Remove stale comments.
  599. 2007-11-23 Maciej W. Rozycki <macro@mips.com>
  600. * mips-linux-tdep.h: Fix some formatting.
  601. 2007-11-21 Markus Deuling <deuling@de.ibm.com>
  602. * stack.c (print_args_stub): Use get_frame_arch to get at the current
  603. architecture and replace current_gdbarch.
  604. (frame_info): Likewise.
  605. 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
  606. * varobj.c (c_variable_editable, cplus_variable_editable)
  607. (java_variable_editable, variable_editable): Delete.
  608. (varobj_editable_p): Replace above functions with one language
  609. independent function. Check for an lvalue.
  610. (varobj_get_attributes, varobj_set_value): Use varobj_editable_p.
  611. (struct language_specific): Delete variable_editable field.
  612. * mi-cmd-var.c (mi_cmd_var_assign): Simplify.
  613. * varobj.h: Add extern for varobj_editable_p.
  614. 2007-11-20 Vladimir Prus <vladimir@codesourcery.com>
  615. Remove unused breakpoint fields.
  616. * breakpoint.h (struct breakpoint): Remove
  617. from_tty and flag fields.
  618. * breakpoint.c (break_command_1): Don't set
  619. from_tty and flag field set of breakpoint.
  620. (create_ada_exception_breakpoint): Don't set
  621. the from_tty field.
  622. 2007-11-20 David Ung <davidu@mips.com>
  623. Maciej W. Rozycki <macro@mips.com>
  624. * mips-tdep.c (mips16_scan_prologue): Handle the MIPS16e SAVE
  625. instruction.
  626. 2007-11-20 Vladimir Prus <vladimir@codesourcery.com>
  627. * infrun.c (resume): Clarify logic that
  628. decides if a single thread must be resumed. Add
  629. comments.
  630. 2007-11-20 Vladimir Prus <vladimir@codesourcery.com>
  631. * breakpoint.c (disable_breakpoints_in_unloaded_shlib):
  632. Make static.
  633. 2007-11-19 Markus Deuling <deuling@de.ibm.com>
  634. * gdbarch.sh (register_sim_regno): Add gdbarch as parameter.
  635. * gdbarch.{c,h}: Regenerate.
  636. * arch-utils.h (legacy_register_sim_regno): Add gdbarch as parameter.
  637. * score-tdep.c (score_register_sim_regno): Likewise.
  638. * sim-regno.h (one2one_register_sim_regno): Likewise.
  639. * arch-utils.c (legacy_register_sim_regno): Add gdbarch as parameter.
  640. Replace current_gdbarch by gdbarch.
  641. * sh-tdep.c (sh_sh2a_register_sim_regno)
  642. (sh_dsp_register_sim_regno): Likewise.
  643. * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
  644. * mips-tdep.c (mips_register_sim_regno): Likewise.
  645. * m32c-tdep.c (m32c_register_sim_regno): Likewise.
  646. * frv-tdep.c (frv_register_sim_regno): Likewise.
  647. * arm-tdep.c (arm_register_sim_regno): Likewise.
  648. * remote-sim.c (one2one_register_sim_regno): Likewise.
  649. 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
  650. * configure.ac (--enable-targets): New configure option.
  651. Collect gdb_target_obs of multiple targets into TARGET_OBS.
  652. Call configure.tgt multiple times, using $targ as operand.
  653. * configure.tgt: Operate on $targ instead of $target.
  654. * configure: Regenerate.
  655. * Makefile.in (ALL_TARGET_OBS): Define.
  656. * NEWS: Mention --enable-targets option.
  657. 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
  658. * mips-tdep.c (show_mipsfpu_command): Do not crash if called when
  659. current architecture is not MIPS.
  660. 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
  661. * cli/cli-setshow.c (do_setshow_command): Use dynamically sized buffer
  662. to construct error message if no argument was supplied.
  663. 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
  664. * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Remove.
  665. (i386nbsd_aout_regset_from_core_section): Likewise.
  666. (i386nbsd_aout_init_abi): Likewise.
  667. (_initialize_i386nbsd_tdep): Do not register i386nbsd_aout_init_abi.
  668. * vaxnbsd-tdep.c (vaxnbsd_aout_init_abi): Remove.
  669. (_initialize_vaxnbsd_tdep): Do not register vaxnbsd_aout_init_abi.
  670. 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
  671. * amd64fsdb-tdep.c (amd64fbsd_sigtramp_start_addr): Use ULL suffix.
  672. (amd64fbsd_sigtramp_end_addr): Likewise.
  673. * iq2000-tdep.c (iq2000_pointer_to_address): Fix argument type.
  674. (iq2000_address_to_pointer): Likewise.
  675. (iq2000_frame_prev_register): Likewise.
  676. (iq2000_extract_return_value): Use regcache_cooked_read_unsigned
  677. instead of regcache_cooked_read into CORE_ADDR variable.
  678. (iq2000_return_value): Fix argument types.
  679. * m32r-rom.c (m32r_load_section): Fix printf argument type.
  680. (m32r_load): Likewise.
  681. * m68kbsd-tdep.c: Include "gdbtypes.h".
  682. * Makefile.in: Update dependencies.
  683. * mn10300-tdep.c (mn10300_frame_unwind_cache): Fix aliasing violation.
  684. * nto-tdep.c (LM_ADDR): Do not refer to no-longer-existing
  685. lmo->l_addr_size element.
  686. * remote-m32r-sdi.c (m32r_xfer_memory): Use paddr to print address.
  687. (m32r_insert_breakpoint): Likewise.
  688. (m32r_remove_breakpoint): Likewise.
  689. (m32r_insert_watchpoint): Likewise.
  690. (m32r_remove_watchpoint): Likewise.
  691. (m32r_load): Fix printf argument type.
  692. * xtensa-tdep.c (xtensa_regset_from_core_section): Fix printf
  693. argument type.
  694. (xtensa_frame_this_id): Do not cast pointers to "int" for output.
  695. (xtensa_frame_prev_register): Likewise.
  696. (xtensa_push_dummy_call): Likewise.
  697. 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
  698. * config/alpha/alpha-linux.mt: Remove file.
  699. * config/alpha/alpha.mt: Remove file.
  700. * config/alpha/alpha-osf1.mt: Remove file.
  701. * config/alpha/fbsd.mt: Remove file.
  702. * config/alpha/nbsd.mt: Remove file.
  703. * config/alpha/obsd.mt: Remove file.
  704. * config/arm/embed.mt: Remove file.
  705. * config/arm/linux.mt: Remove file.
  706. * config/arm/nbsd.mt: Remove file.
  707. * config/arm/obsd.mt: Remove file.
  708. * config/arm/wince.mt: Remove file.
  709. * config/avr/avr.mt: Remove file.
  710. * config/cris/cris.mt: Remove file.
  711. * config/frv/frv.mt: Remove file.
  712. * config/h8300/h8300.mt: Remove file.
  713. * config/i386/cygwin.mt: Remove file.
  714. * config/i386/fbsd64.mt: Remove file.
  715. * config/i386/fbsd.mt: Remove file.
  716. * config/i386/i386gnu.mt: Remove file.
  717. * config/i386/i386.mt: Remove file.
  718. * config/i386/i386sol2.mt: Remove file.
  719. * config/i386/linux64.mt: Remove file.
  720. * config/i386/linux.mt: Remove file.
  721. * config/i386/mingw.mt: Remove file.
  722. * config/i386/nbsd64.mt: Remove file.
  723. * config/i386/nbsd.mt: Remove file.
  724. * config/i386/nto.mt: Remove file.
  725. * config/i386/obsd64.mt: Remove file.
  726. * config/i386/obsd.mt: Remove file.
  727. * config/i386/sol2-64.mt: Remove file.
  728. * config/ia64/ia64.mt: Remove file.
  729. * config/ia64/linux.mt: Remove file.
  730. * config/iq2000/iq2000.mt: Remove file.
  731. * config/m32c/m32c.mt: Remove file.
  732. * config/m32r/linux.mt: Remove file.
  733. * config/m32r/m32r.mt: Remove file.
  734. * config/m68hc11/m68hc11.mt: Remove file.
  735. * config/m68k/linux.mt: Remove file.
  736. * config/m68k/monitor.mt: Remove file.
  737. * config/m68k/nbsd.mt: Remove file.
  738. * config/m68k/obsd.mt: Remove file.
  739. * config/m88k/obsd.mt: Remove file.
  740. * config/mep/mep.mt: Remove file.
  741. * config/mips/embed.mt: Remove file.
  742. * config/mips/irix5.mt: Remove file.
  743. * config/mips/irix6.mt: Remove file.
  744. * config/mips/linux.mt: Remove file.
  745. * config/mips/nbsd.mt: Remove file.
  746. * config/mips/obsd64.mt: Remove file.
  747. * config/mn10300/linux.mt: Remove file.
  748. * config/mn10300/mn10300.mt: Remove file.
  749. * config/mt/mt.mt: Remove file.
  750. * config/pa/hppahpux.mt: Remove file.
  751. * config/pa/hppa.mt: Remove file.
  752. * config/pa/linux.mt: Remove file.
  753. * config/pa/obsd.mt: Remove file.
  754. * config/powerpc/aix.mt: Remove file.
  755. * config/powerpc/linux.mt: Remove file.
  756. * config/powerpc/nbsd.mt: Remove file.
  757. * config/powerpc/obsd.mt: Remove file.
  758. * config/powerpc/ppc-eabi.mt: Remove file.
  759. * config/s390/s390.mt: Remove file.
  760. * config/score/embed.mt: Remove file.
  761. * config/sh/embed.mt: Remove file.
  762. * config/sh/linux.mt: Remove file.
  763. * config/sh/nbsd.mt: Remove file.
  764. * config/sh/obsd.mt: Remove file.
  765. * config/sh/sh64.mt: Remove file.
  766. * config/sparc/embed.mt: Remove file.
  767. * config/sparc/fbsd.mt: Remove file.
  768. * config/sparc/linux64.mt: Remove file.
  769. * config/sparc/linux.mt: Remove file.
  770. * config/sparc/nbsd64.mt: Remove file.
  771. * config/sparc/nbsd.mt: Remove file.
  772. * config/sparc/obsd64.mt: Remove file.
  773. * config/sparc/obsd.mt: Remove file.
  774. * config/sparc/sol2-64.mt: Remove file.
  775. * config/sparc/sol2.mt: Remove file.
  776. * config/sparc/sparc64.mt: Remove file.
  777. * config/sparc/sparc.mt: Remove file.
  778. * config/spu/spu.mt: Remove file.
  779. * config/v850/v850.mt: Remove file.
  780. * config/vax/nbsd.mt: Remove file.
  781. * config/vax/obsd.mt: Remove file.
  782. * config/vax/vax.mt: Remove file.
  783. * config/xstormy16/xstormy16.mt: Remove file.
  784. * config/xtensa/xtensa.mt: Remove file.
  785. * configure.tgt (gdb_target_cpu): Remove. Do not set anywhere.
  786. (gdb_target): Likewise.
  787. (gdb_target_obs): Document. Set for every target to contents
  788. of TDEPFILES in former .mt makefile fragment.
  789. * configure.ac (TARGET_OBS): Define.
  790. (target_makefile_frag, gdb_target_cpu): Do not define.
  791. * configure: Regenerate.
  792. * Makefile.in (MT_FLAGS): Remove.
  793. (GLOBAL_CFLAGS): Update.
  794. (TARGET_OBS): Substitute from configure.
  795. (DEPFILES): Remove TDEPFILES, add TARGET_OBS.
  796. (@target_makefile_frag@): Remove.
  797. 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
  798. * config/arm/embed.mt (SIM_OBS, SIM): Remove.
  799. * config/avr/avr.mt (SIM_OBS, SIM): Remove.
  800. * config/frv/frv.mt (SIM_OBS, SIM): Remove.
  801. * config/h8300/h8300.mt (SIM_OBS, SIM): Remove.
  802. * config/iq2000/iq2000.mt (SIM_OBS, SIM): Remove.
  803. * config/m32c/m32c.mt (SIM_OBS, SIM): Remove.
  804. * config/m32r/linux.mt (SIM_OBS, SIM): Remove.
  805. * config/m32r/m32r.mt (SIM_OBS, SIM): Remove.
  806. * config/m68hc11/m68hc11.mt (SIM_OBS, SIM): Remove.
  807. * config/mips/embed.mt (SIM_OBS, SIM): Remove.
  808. * config/mips/linux.mt (SIM_OBS, SIM): Remove.
  809. * config/mips/nbsd.mt (SIM_OBS, SIM): Remove.
  810. * config/mn10300/mn10300.mt (SIM_OBS, SIM): Remove.
  811. * config/powerpc/linux.mt (SIM_OBS, SIM): Remove.
  812. * config/powerpc/nbsd.mt (SIM_OBS, SIM): Remove.
  813. * config/powerpc/ppc-sim.mt: Remove file.
  814. * config/sh/embed.mt (SIM_OBS, SIM): Remove.
  815. * config/sh/linux.mt (SIM_OBS, SIM): Remove.
  816. * config/sh/nbsd.mt (SIM_OBS, SIM): Remove.
  817. * config/sh/sh64.mt (SIM_OBS, SIM): Remove.
  818. * config/sparc/embed.mt (SIM_OBS, SIM): Remove.
  819. * config/v850/v850.mt (SIM_OBS, SIM): Remove.
  820. * config/xstormy16/xstormy16.mt (SIM_OBS, SIM): Remove.
  821. * configure.tgt (gdb_sim): Document variable.
  822. (arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*): Set it.
  823. (avr-*-*): Likewise.
  824. (frv-*-*): Likewise.
  825. (h8300-*-*): Likewise.
  826. (iq2000-*-*): Likewise.
  827. (m32c-*-*): Likewise.
  828. (m32r*-*-linux*): Likewise.
  829. (m32r*-*-*): Likewise.
  830. (m68hc11*-*-*|m6811*-*-*): Likewise.
  831. (mips*-*-*): Likewise.
  832. (mips*-*-linux*): Likewise.
  833. (mips*-*-netbsd* | mips*-*-knetbsd*-gnu): Likewise.
  834. (mn10300-*-*): Likewise.
  835. (powerpc-*-linux* | powerpc64-*-linux*): Likewise.
  836. (powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu): Likewise.
  837. (powerpc*-*-*): Use ppc-eabi target. Conditionally set gdb_sim.
  838. (sh*): Set gdb_sim.
  839. (sh-*-linux*): Likewise.
  840. (sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu): Likewise.
  841. (sh64-*-elf*): Likewise.
  842. (sparc-*-rtems*): Likewise.
  843. (v850*-*-elf): Likewise.
  844. (xstormy16-*-*): Likewise.
  845. * configure.ac (IGNORE_SIM, IGNORE_SIM_OBS): Do not set.
  846. (SIM, SIM_OBS): Set depending on ${ignore_sim} and ${gdb_sim}.
  847. * configure: Regenerate.
  848. * Makefile.in (SIM, SIM_OBS): Substitute from configure.
  849. (@IGNORE_SIM@, @IGNORE_SIM_OBS@): Remove.
  850. 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
  851. * configure.tgt (gdb_osabi, build_gdbserver): Comment variables.
  852. (arm*-*-*): Do not set obsolete build_rdi_share variable.
  853. (*-*-freebsd* | *-*-kfreebsd*-gnu): Remove generic case, replace by ...
  854. (alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
  855. (i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
  856. (sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu): ... specific cases.
  857. (x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu): Re-sort.
  858. (xscale-*-*): Merge into arm*-*-* case.
  859. (fido-*-elf*): Merge into m68*-*-elf* case.
  860. (m68*-*-aout*, m68*-*-coff*, m68*-*-elf*, m68*-*-rtems*,
  861. m68*-*-uclinux*): Merge cases.
  862. (powerpc-*-linux*, powerpc64-*-linux*): Merge cases.
  863. (sh-*-coff*, sh-*-elf*): Merge into sh* case.
  864. 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
  865. * configure.tgt: Reformat main case statement.
  866. 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
  867. * configure.ac (hostfile, targetfile): Remove.
  868. (GDB_XM_FILE, GDB_TM_FILE): Do not define.
  869. (xm_h, tm_h): Likewise.
  870. (DEPRECATED_TM_FILE, XM_FILE): Do not substitute into Makefile.
  871. * configure, config.in: Regenerate.
  872. * Makefile.in (xm_h, tm_h): Remove. Update dependencies.
  873. (TAGS): Do not consider DEPRECATED_TM_FILE or XM_FILE.
  874. (clean, local-maintainer-clean): Do not remove xm.h or tm.h.
  875. * defs.h: Do not include "xm.h" or "tm.h".
  876. * gdbarch.sh (verify_gdbarch): Do not dump GDB_XM_FILE or GDB_TM_FILE.
  877. * gdbarch.c: Regenerate.
  878. * config/score/embed.mt: Remove obsolete comment.
  879. 2007-11-16 Markus Deuling <deuling@de.ibm.com>
  880. * gdbarch.sh (cannot_fetch_register, cannot_store_register): Add gdbarch
  881. as parameter.
  882. * gdbarch.{c,h}: Regenerate.
  883. * alpha-tdep.c (alpha_cannot_fetch_register)
  884. (alpha_cannot_store_register): Add gdbarch as parameter. Replace
  885. current_gdbarch by gdbarch.
  886. * cris-tdep.c (cris_cannot_fetch_register, cris_cannot_store_register)
  887. (crisv32_cannot_fetch_register)
  888. (crisv32_cannot_store_register): Likewise.
  889. * arch-utils.c (cannot_register_not): Likewise.
  890. * arch-utils.h (cannot_register_not): Likewise.
  891. * hppa-tdep.c (hppa32_cannot_store_register)
  892. (hppa32_cannot_store_register, hppa64_cannot_store_register)
  893. (hppa64_cannot_fetch_register): Likewise.
  894. * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register)
  895. (mipsnbsd_cannot_store_register): Likewise.
  896. 2007-11-16 Markus Deuling <deuling@de.ibm.com>
  897. * m32r-rom.c (m32r_supply_register): Use get_regcache_arch to get at
  898. the current architecture by regcache.
  899. * ppcnbsd-nat.c (ppcnbsd_supply_pcb): Likewise.
  900. * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register)
  901. (fetch_register, supply_vrregset, fetch_ppc_registers)
  902. (store_altivec_register, store_spe_register, store_register)
  903. (fill_vrregset, store_ppc_registers): Likewise.
  904. * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise.
  905. * win32-nat.c (do_win32_fetch_inferior_registers)
  906. (do_win32_store_inferior_registers): Likewise.
  907. * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
  908. * remote-m32r-sdi.c (m32r_fetch_registers)
  909. (m32r_store_registers): Likewise.
  910. * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise.
  911. * trad-frame.c (trad_frame_alloc_saved_regs): Replace current_gdbarch by
  912. gdbarch.
  913. * user-regs.c (user_reg_map_name_to_regnum): Likewise.
  914. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
  915. (do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call)
  916. (ppc64_sysv_abi_return_value): Likewise.
  917. * m32c-tdep.c (m32c_register_reggroup_p): Likewise.
  918. * m2-lang.c (build_m2_types): Likewise.
  919. * ppc-linux-tdep.c (ppc_linux_sigtramp_cache
  920. * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise.
  921. * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise.
  922. * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): Likewise.
  923. * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Use get_frame_arch to
  924. get at the current architecture by frame_info.
  925. * gcore.c (derive_stack_segment): Likewise.
  926. * shnbsd-nat.c (GETREGS_SUPPLIES): Add gdbarch parameter.
  927. (shnbsd_fetch_inferior_registers, shnbsd_store_inferior_registers): Add
  928. gdbarch to GETREGS_SUPPLIES call.
  929. 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
  930. * elfread.c (ST_REGULAR, ST_DYNAMIC, ST_SYNTHETIC): New defines.
  931. (elf_symtab_read): Rename DYNAMIC argument to TYPE. Do not access
  932. ELF-private symbol data when processing synthetic symbols. Use
  933. udata.p to get at size of ppc64 synthetic 'dot' symbols.
  934. (elf_symfile_read): Pass TYPE argument to elf_symtab_read.
  935. 2007-11-15 Doug Evans <dje@google.com>
  936. * buildsym.h (subfiles): Move ...
  937. * buildsym.c (subfiles): ... to here and make static.
  938. * symmisc.c (maintenance_info_symtabs): Print linetable info.
  939. 2007-11-15 Markus Deuling <deuling@de.ibm.com>
  940. * mipsnbsd-tdep.h (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove
  941. 2007-11-15 Markus Deuling <deuling@de.ibm.com>
  942. * arm-tdep.c (arm_prologue_this_id): Replace LOWEST_PC by its
  943. expression and use get_frame_arch to replace current_gdbarch by frame's
  944. architecture.
  945. * arm-tdep.h (LOWEST_PC): Remove
  946. 2007-11-15 Vladimir Prus <vladimir@codesourcery.com>
  947. Apply const qualifier to some users of bp_location.
  948. * breakpoint.h (struct bpstats): Make
  949. the breakpoint_at field point at const bp_location.
  950. * breakpoint.c (bpstat_alloc): Accept const
  951. bp_location.
  952. (breakpoint_here_p, breakpoint_inserted_here_p)
  953. (software_breakpoint_inserted_here_p)
  954. (breakpoint_thread_match, bpstat_stop_status)
  955. (read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use
  956. const bp_location for iteration.
  957. (print_it_typical, print_bp_stop_message): Use
  958. const bp_location variable.
  959. 2007-11-15 Vladimir Prus <vladimir@codesourcery.com>
  960. Make mark_breakpoints_out static.
  961. * breakpoint.h (mark_breakpoints_out): Remove
  962. declaration.
  963. * breakpoint.c (mark_breakpoints_out): Make static.
  964. 2007-11-15 Vladimir Prus <vladimir@codesourcery.com>
  965. Prevent clear_command from directly modifying breakpoint list.
  966. * Makefile.in (breakpoint_h): Update dependency.
  967. * breakpoint.c (clear_command): Do not remove
  968. breakpoints from breakpoint_chain. Collect breakpoints
  969. to delete in a vector.
  970. * breakpoint.h (breakpoint_p): New typedef for pointer to
  971. breakpoint. Register vector of breakpoint_p.
  972. 2007-11-15 Vladimir Prus <vladimir@codesourcery.com>
  973. Remove 'run_cleanup'.
  974. * defs.h (do_run_cleanups, make_run_cleanup): Remove
  975. declarations.
  976. * infcmd.c (run_command_1): Call clear_solib instead
  977. of do_run_cleanups.
  978. * jv-lang.c (java_rerun_cleanup): Remove, for lack of
  979. any use.
  980. * solib.c (solib_cleanup_queued, do_clear_solib): Remove.
  981. (update_solib_lib): Don't setup run cleanup.
  982. (no_shared_libraries): Call clear_solib, not do_clear_solib.
  983. * utils.c (run_cleanup_chain, make_run_cleanup)
  984. (do_run_cleanups): Remove.
  985. 2007-11-15 Vladimir Prus <vladimir@codesourcery.com>
  986. Remove CLEAR_SOLIB use.
  987. * corelow.c (core_close): Don't check for CLEAR_SOLIB.
  988. * infcmd.c (attach_command): Likewise.
  989. 2007-11-14 Doug Evans <dje@google.com>
  990. * buildsym.c (start_subfile,start_symtab): Doc fixes.
  991. 2007-11-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
  992. * tui/tui-data.c (tui_prev_win): Guard against NULL.
  993. 2007-11-12 Markus Deuling <deuling@de.ibm.com>
  994. * gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. Remove
  995. obsolete comment.
  996. (verify_gdbarch, gdbarch_dump): Likewise.
  997. (do_read): Update comment.
  998. (addr_bit, bfd_arch_info, target_desc, long_long_bit, floatformat)
  999. (ptr_bit, name_of_malloc): Replace current_gdbarch by gdbarch.
  1000. * gdbarch.{c,h}: Regenerate.
  1001. 2007-11-12 Markus Deuling <deuling@de.ibm.com>
  1002. * xtensa-tdep.c (ARG_1ST): Replace ARGS_FIRST_REG by its expression.
  1003. (ARGS_FIRST_REG): Remove.
  1004. (areg_numer): New function.
  1005. (xtensa_pseudo_register_read, xtensa_frame_prev_register)
  1006. (xtensa_extract_return_value, xtensa_store_return_value)
  1007. (xtensa_frame_cache): Replace AREG_NUMBER by areg_number.
  1008. (AREG_NUMBER): Remove.
  1009. (XTENSA_IS_ENTRY, ARG_NOF, ARG_1ST): Add gdbarch as parameter.
  1010. (xtensa_frame_cache): Update use of XTENSA_IS_ENTRY.
  1011. (xtensa_push_dummy_call): Update use of ARG_NOF.
  1012. (extract_call_winsize): Add gdbarch as parameter. Replace
  1013. current_gdbarch by gdbarch.
  1014. (xtensa_extract_return_value, xtensa_store_return_value): Update call
  1015. of extract_call_winsize.
  1016. 2007-11-10 Joel Brobecker <brobecker@adacore.com>
  1017. * NEWS: Add entry for new set/show print frame-args command.
  1018. 2007-11-09 Kevin Buettner <kevinb@redhat.com>
  1019. * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add missing
  1020. register number to map. Adjust warning check and error/warning
  1021. return value code to match expectations of this function's callers.
  1022. 2007-11-09 Joel Brobecker <brobecker@adacore.com>
  1023. * stack.c (print_this_frame_argument_p): Handle arguments passed
  1024. by reference properly.
  1025. 2007-11-09 Joel Brobecker <brobecker@adacore.com>
  1026. * stack.c (print_frame_arguments_choices): New static global.
  1027. (print_frame_arguments): Likewise.
  1028. (print_this_frame_argument_p): New function.
  1029. (print_frame_args): Print the argument value only when appropriate.
  1030. (_initialize_task): Add new "set/show print frame-arguments" command.
  1031. 2007-11-09 Luis Machado <luisgpm@br.ibm.com>
  1032. * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Move
  1033. saved_dabr_value assignment to the correct position.
  1034. 2007-11-09 Markus Deuling <deuling@de.ibm.com>
  1035. * arch-utils.c (generic_convert_register_p): Add gdbarch as parameter.
  1036. * arch-utils.h (generic_convert_register_p): Likewise.
  1037. 2007-11-09 Markus Deuling <deuling@de.ibm.com>
  1038. * gdbarch.sh (convert_register_p): Add gdbarch as parameter.
  1039. * ia64-tdep.c (ia64_convert_register_p): Likewise.
  1040. * i387-tdep.c (i387_convert_register_p): Likewise.
  1041. * i387-tdep.h (i387_convert_register_p): Likewise.
  1042. * alpha-tdep.c (alpha_convert_register_p): Likewise.
  1043. * gdbarch.{c,h}: Regenerate.
  1044. * rs6000-tdep.c (rs6000_convert_register_p): Add gdbarch as parameter.
  1045. Replace current_gdbarch by gdbarch.
  1046. * mips-tdep.c (mips_convert_register_p): Likewise.
  1047. * m68k-tdep.c (m68k_convert_register_p): Likewise.
  1048. * i386-tdep.c (i386_convert_register_p): Likewise.
  1049. 2007-11-08 Aleksandar Ristovski <aristovski@qnx.com>
  1050. * gdb_string.h: Include <strings.h>.
  1051. 2007-11-08 Vladimir Prus <vladimir@codesourcery.com>
  1052. * breakpoint.c (break_command_1): Remove
  1053. pending_bp parameter.
  1054. (create_breakpoint): Likewise.
  1055. (create_breakpoints): Likewise. Adjust call to
  1056. create_breakpoint.
  1057. (break_command_1): Likewise. Adjust call to
  1058. create_breakpoints.
  1059. (do_captured_breakpoint): Adjust call to
  1060. create_breakpoints.
  1061. (break_command, tbreak_command, hbreak_command)
  1062. (stopin_command, stopat_command): Adjust call
  1063. to break_command_1.
  1064. 2007-11-07 Joseph Myers <joseph@codesourcery.com>
  1065. Daniel Jacobowitz <dan@codesourcery.com>
  1066. * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Right-align
  1067. struct values smaller than one doubleword; left-align those
  1068. larger. Pass structs containing a single floating-point value in
  1069. registers.
  1070. 2007-11-07 Joseph Myers <joseph@codesourcery.com>
  1071. Daniel Jacobowitz <dan@codesourcery.com>
  1072. * gdbtypes.c (floatformats_ibm_long_double): New.
  1073. * gdbtypes.h (floatformats_ibm_long_double): Declare.
  1074. * ia64-tdep.c (floatformat_ia64_ext): Update for addition of
  1075. split_half field.
  1076. * mips-tdep.c (n32n64_floatformat_always_valid,
  1077. floatformat_n32n64_long_double_big, floatformats_n32n64_long):
  1078. Remove.
  1079. (mips_gdbarch_init): Use floatformats_ibm_long_double instead of
  1080. floatformats_n32n64_long.
  1081. * ppc-linux-tdep.c (ppc_linux_init_abi): Use 128-bit IBM long
  1082. double.
  1083. * doublest.c (convert_floatformat_to_doublest,
  1084. convert_doublest_to_floatformat): Handle split floating-point
  1085. formats.
  1086. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle IBM long
  1087. double arguments.
  1088. (ppc64_sysv_abi_push_dummy_call): Likewise.
  1089. (do_ppc_sysv_return_value): Handle IBM long double return.
  1090. 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
  1091. Fix crash when a variable object being deleted
  1092. has any of its children deleted previously.
  1093. * varobj.c (delete_variable_1): Don't recurse
  1094. into deleted children.
  1095. 2007-11-07 Markus Deuling <deuling@de.ibm.com>
  1096. * gdbarch.sh (legacy_virtual_frame_pointer): Add gdbarch parameter.
  1097. * gdbarch.{c,h}: Regenerate.
  1098. * arch-utils.c (legacy_virtual_frame_pointer): Add gdbarch parameter.
  1099. Replace current_gdbarch by gdbarch.
  1100. * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
  1101. * mips-tdep.c (mips_virtual_frame_pointer): Likewise.
  1102. * spu-tdep.c (spu_virtual_frame_pointer): Likewise.
  1103. 2007-11-07 Markus Deuling <deuling@de.ibm.com>
  1104. * shnbsd-tdep.c (shnbsd_supply_gregset, shnbsd_collect_gregset): Use
  1105. get_regcache_arch to get at the current architecture by regcache.
  1106. * xstormy16-tdep.c (xstormy16_frame_prev_register): Use get_frame_arch
  1107. to get at the current architecture by frame_info.
  1108. * fbsd-nat.c (fbsd_make_corefile_notes): Use get_regcache_arch to get
  1109. at the current architecture by regcache.
  1110. * gnu-v3-abi.c (gnuv3_skip_trampoline): Use get_frame_arch to get at
  1111. the current architecture by frame_info.
  1112. (build_gdb_vtable_type): Replace current_gdbarch by gdbarch.
  1113. * aix-thread.c (special_register_p): Add gdbarch as parameter.
  1114. (fetch_regs_kernel_thread, store_regs_kernel_thread): Add gdbarch to
  1115. caller of special_register_p.
  1116. 2007-11-07 Markus Deuling <deuling@de.ibm.com>
  1117. * infcall.c (call_function_by_hand): Use get_frame_arch to get at the
  1118. current architecture by frame_info.
  1119. 2007-11-07 Markus Deuling <deuling@de.ibm.com>
  1120. * xtensa-tdep.h (SIZEOF_GREGSET, XTENSA_ELF_NGREG) Remove.
  1121. 2007-11-07 Markus Deuling <deuling@de.ibm.com>
  1122. * s390-nat.c (supply_gregset, fill_gregset): Use get_regcache_arch to
  1123. get at the current architecture by regcache.
  1124. (SUBOFF): Add gdbarch to macro definition.
  1125. 2007-11-07 Markus Deuling <deuling@de.ibm.com>
  1126. * gdbarch.sh (breakpoint_from_pc): Add gdbarch parameter.
  1127. * gdbarch.{c,h}: Regenerate.
  1128. * xtensa-tdep.c (xtensa_breakpoint_from_pc): Add gdbarch parameter.
  1129. Replace current_gdbarch by gdbarch.
  1130. * sh-tdep.c (sh_breakpoint_from_pc): Likewise.
  1131. * sh64-tdep.c (sh64_breakpoint_from_pc): Likewise.
  1132. * score-tdep.c (score_breakpoint_from_pc): Likewise.
  1133. * mips-tdep.c (mips_breakpoint_from_pc): Likewise.
  1134. * m32r-tdep.c (m32r_breakpoint_from_pc): Likewise.
  1135. * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise.
  1136. * arm-tdep.c (arm_breakpoint_from_pc): Likewise.
  1137. * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Add gdbarch
  1138. parameter.
  1139. * vax-tdep.c (vax_breakpoint_from_pc): Likewise.
  1140. * v850-tdep.c (v850_breakpoint_from_pc): Likewise.
  1141. * spu-tdep.c (spu_breakpoint_from_pc): Likewise.
  1142. * sparc-tdep.c (sparc_breakpoint_from_pc): Likewise.
  1143. * s390-tdep.c (s390_breakpoint_from_pc): Likewise.
  1144. * mn10300-tdep.c (mn10300_breakpoint_from_pc): Likewise.
  1145. * mt-tdep.c (mt_breakpoint_from_pc): Likewise.
  1146. * mep-tdep.c (mep_breakpoint_from_pc): Likewise.
  1147. * m88k-tdep.c (m88k_breakpoint_from_pc): Likewise.
  1148. * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Likewise.
  1149. * m32c-tdep.c (m32c_breakpoint_from_pc): Likewise.
  1150. * ia64-tdep.c (ia64_breakpoint_from_pc): Likewise.
  1151. * i386-tdep.c (i386_breakpoint_from_pc): Likewise.
  1152. * hppa-tdep.c (hppa_breakpoint_from_pc): Likewise.
  1153. * h8300-tdep.c (h8300_breakpoint_from_pc): Likewise.
  1154. * frv-tdep.c (frv_breakpoint_from_pc): Likewise.
  1155. * cris-tdep.c (cris_breakpoint_from_pc): Likewise.
  1156. * avr-tdep.c (avr_breakpoint_from_pc): Likewise.
  1157. * alpha-tdep.c (alpha_breakpoint_from_pc): Likewise.
  1158. * m68k-tdep.c (m68k_local_breakpoint_from_pc): Likewise.
  1159. * rs6000-tdep.c (rs6000_breakpoint_from_pc): Add gdbarch parameter.
  1160. Replace current_gdbarch by gdbarch.
  1161. (rs6000_software_single_step): Use get_frame_arch to get at the
  1162. current architecture by frame_info. Add gdbarch to
  1163. rs6000_breakpoint_from_pc call.
  1164. 2007-11-07 Markus Deuling <deuling@de.ibm.com>
  1165. * frv-tdep.c (frv_register_name, frv_check_watch_resources): Replace
  1166. macro CURRENT_VARIANT by its expression.
  1167. (CURRENT_VARIANT): Remove.
  1168. (frv_check_watch_resources): Add gdbarch parameter.
  1169. 2007-11-07 Markus Deuling <deuling@de.ibm.com>
  1170. * MAINTAINERS (Write After Approval): Add self.
  1171. 2007-11-05 Ulrich Weigand <uweigand@de.ibm.com>
  1172. * features/rs6000/power-core.xml: Use uint32 as register type.
  1173. * features/rs6000/power64-core.xml: Use uint64/uint32 as register type.
  1174. * features/rs6000/powerpc-32.c: Regenerate.
  1175. * features/rs6000/powerpc-403.c: Regenerate.
  1176. * features/rs6000/powerpc-403gc.c: Regenerate.
  1177. * features/rs6000/powerpc-505.c: Regenerate.
  1178. * features/rs6000/powerpc-602.c: Regenerate.
  1179. * features/rs6000/powerpc-603.c: Regenerate.
  1180. * features/rs6000/powerpc-604.c: Regenerate.
  1181. * features/rs6000/powerpc-64.c: Regenerate.
  1182. * features/rs6000/powerpc-7400.c: Regenerate.
  1183. * features/rs6000/powerpc-750.c: Regenerate.
  1184. * features/rs6000/powerpc-860.c: Regenerate.
  1185. * features/rs6000/powerpc-e500.c: Regenerate.
  1186. 2007-11-05 Joel Brobecker <brobecker@adacore.com>
  1187. * breakpoint.c (set_raw_breakpoint_without_location): Make static.
  1188. 2007-11-05 Joel Brobecker <brobecker@adacore.com>
  1189. * breakpoint.h (create_solib_load_event_breakpoint)
  1190. (create_solib_unload_event_breakpoint)
  1191. (create_fork_event_catchpoint, create_vfork_event_catchpoint)
  1192. (create_exec_event_catchpoint): Delete declaration.
  1193. * breakpoint.c (create_solib_load_event_breakpoint)
  1194. (solib_load_unload_1, create_solib_unload_event_breakpoint): Delete.
  1195. (create_fork_event_catchpoint, create_vfork_event_catchpoint)
  1196. (create_exec_event_catchpoint): Make static.
  1197. 2007-11-05 Joel Brobecker <brobecker@adacore.com>
  1198. * breakpoint.h (set_breakpoint_sal): Remove declaration.
  1199. * breakpoint.c (set_breakpoint_sal): Delete.
  1200. 2007-11-05 Joel Brobecker <brobecker@adacore.com>
  1201. * buildsym.c (finish_block): Remove "#if 1"/"#endif" brackets.
  1202. (make_blockvector): Likewise. Remove FIXME comment.
  1203. 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
  1204. * printcmd.c: (printf_command): Add support for new DFP
  1205. modifiers %H, %D and %DD.
  1206. * configure.ac: Add check for DECFLOAT printf support.
  1207. * configure: Regenerated.
  1208. 2007-11-02 Ulrich Weigand <uweigand@de.ibm.com>
  1209. * gdbtypes.h (struct cplus_struct_type): Remove runtime_ptr member.
  1210. (TYPE_RUNTIME_PTR, TYPE_VTABLE, TYPE_HAS_VTABLE,
  1211. TYPE_PRIMARY_BASE, TYPE_VIRTUAL_BASE_LIST): Remove macros.
  1212. (HP_ACC_VFUNC_START, HP_ACC_VBASE_START, HP_ACC_TYPEINFO_OFFSET,
  1213. HP_ACC_TOP_OFFSET_OFFSET): Likewise.
  1214. (has_vtable, primary_base_class, virtual_base_list_length,
  1215. virtual_base_list_length_skip_primaries, virtual_base_index,
  1216. virtual_base_index_skip_primaries, class_index_in_primary_list,
  1217. count_virtual_fns): Remove prototypes.
  1218. * gdbtypes.c (has_vtable, primary_base_class, current_vbase_list,
  1219. virtual_base_list_aux, virtual_base_list, virtual_base_list_length,
  1220. virtual_base_list_length_skip_primaries, virtual_base_index,
  1221. virtual_base_index_skip_primaries, class_index_in_primary_list,
  1222. count_virtual_fns): Remove.
  1223. * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Remove.
  1224. (hpacc_vtbl_ptr_name, hpacc_vtbl_ptr_type_name): Remove.
  1225. (cp_print_value_fields): Remove support for HP aCC vtables.
  1226. (cp_print_value): Likewise.
  1227. * c-typeprint.c (c_type_print_base): Likewise.
  1228. * value.h (find_rt_vbase_offset): Remove prototype.
  1229. * valops.c (find_rt_vbase_offset): Remove.
  1230. (search_struct_method): Remove support for HP aCC vtables.
  1231. (find_method_list): Likewise.
  1232. 2007-11-02 Ulrich Weigand <uweigand@de.ibm.com>
  1233. * language.h (struct language_defn): Remove la_builtin_type_vector
  1234. and string_char_type members.
  1235. * language.c (language_string_char_type): No longer consult
  1236. la->string_char_type.
  1237. (language_lookup_primitive_type_by_name): No longer consult
  1238. current_language->la_builtin_type_vector.
  1239. * language.c (unknown_language_defn, auto_language_defn,
  1240. local_language_defn): Adapt initializer.
  1241. * ada-lang.c (ada_language_defn): Likewise.
  1242. * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn,
  1243. minimal_language_defn): Likewise.
  1244. * f-lang.c (f_language_defn): Likewise.
  1245. * jv-lang.c (java_language_defn): Likewise.
  1246. * m2-lang.c (m2_language_defn): Likewise.
  1247. * objc-lang.c (objc_language_defn): Likewise.
  1248. * p-lang.c (pascal_language_defn): Likewise.
  1249. * scm-lang.c (scm_language_defn): Likewise.
  1250. 2007-11-02 Markus Deuling <deuling@de.ibm.com>
  1251. * frame.c (frame_id_inner): Add gdbarch parameter. Replace
  1252. current_gdbarch by gdbarch.
  1253. (frame_find_by_id, get_prev_frame_1): Use get_frame_arch to get at the
  1254. current architecture by frame_info.
  1255. * frame.h (frame_id_inner): Add gdbarch parameter.
  1256. * stack.c (return_command): Use get_frame_arch to get at the current
  1257. architecture by frame_info. Update call of frame_id_inner.
  1258. * infrun.c (handle_inferior_event): Likewise.
  1259. * dummy-frame.c (dummy_frame_push): Use get_regcache_arch to get at the
  1260. current architecture by regcache. Update call of frame_id_inner.
  1261. 2007-11-02 Markus Deuling <deuling@de.ibm.com>
  1262. * gdbarch.sh (register_name): Add gdbarch parameter.
  1263. * gdbarch.{c,h}: Regenerate.
  1264. * target-descriptions.c (tdesc_register_name): Add gdbarch parameter.
  1265. (tdesc_register_name): Replace current_gdbarch by gdbarch.
  1266. * target-descriptions.h (tdesc_register_name): Add gdbarch parameter.
  1267. * xstormy16-tdep.c (xstormy16_register_name): Add gdbarch parameter.
  1268. * vax-tdep.c (vax_register_name): Add gdbarch parameter.
  1269. * spu-tdep.c (spu_register_name): Add gdbarch parameter.
  1270. * s390-tdep.c (s390_register_name): Add gdbarch parameter.
  1271. * mt-tdep.c (mt_register_name): Add gdbarch parameter.
  1272. (mt_registers_info): Replace current_gdbarch by gdbarch.
  1273. (mt_register_reggroup_p): Add gdbarch to mt_register_name call.
  1274. * mips-tdep.c (mips_register_name): Add gdbarch parameter. Replace
  1275. current_gdbarch by gdbarch.
  1276. (mips_register_name): Add gdbarch to tdesc_register_name call.
  1277. * mep-tdep.c (mep_register_name): Add gdbarch parameter. Replace
  1278. current_gdbarch by gdbarch.
  1279. (mep_register_reggroup_p): Add gdbarch to mep_register_name call.
  1280. * m32c-tdep.c (m32c_register_name): Add gdbarch parameter. Replace
  1281. current_gdbarch by gdbarch.
  1282. * m88k-tdep.c (m88k_register_name): Add gdbarch parameter.
  1283. * m68k-tdep.c (m68k_register_name): Add gdbarch parameter.
  1284. * m32r-tdep.c (m32r_register_name): Add gdbarch parameter.
  1285. (m32r_frame_unwind_cache): Use get_frame_arch to get at the current
  1286. architecture by frame_info.
  1287. * iq2000-tdep.c (iq2000_register_name): Add gdbarch parameter.
  1288. * ia64-tdep.c (ia64_register_name): Add gdbarch parameter.
  1289. * hppa-tdep.c (hppa32_register_name, hppa64_register_name): Add gdbarch
  1290. parameter.
  1291. * h8300-tdep.c (h8300_register_name, h8300s_register_name)
  1292. (h8300sx_register_name): Add gdbarch parameter.
  1293. * cris-tdep.c (cris_register_name, crisv32_register_name): Add
  1294. gdbarch parameter. Replace current_gdbarch by gdbarch.
  1295. (cris_gdbarch_init): Replace current_gdbarch by gdbarch (comment).
  1296. * avr-tdep.c (avr_register_name): Add gdbarch parameter.
  1297. * arm-tdep.c (arm_register_name): Add gdbarch paramete
  1298. * amd64-tdep.c (amd64_register_name): Add gdbarch parameter. Update
  1299. caller.
  1300. * amd64-tdep.h (amd64_register_name): Add gdbarch parameter.
  1301. * amd64-linux-tdep.c (amd64_linux_register_name): Add gdbarch parameter.
  1302. * alpha-tdep.c (alpha_register_name): Add gdbarch parameter.
  1303. (alpha_cannot_fetch_register, alpha_cannot_store_register): Update call
  1304. of alpha_register_name.
  1305. * frv-tdep.c (frv_register_name): Add gdbarch parameter.
  1306. * i386-tdep.c (i386_register_name): Add gdbarch parameter. Replace
  1307. current_gdbarch by gdbarch.
  1308. (i386_register_type): Replace ?current_gdbarch by gdbarch.
  1309. * i386-tdep.h (i386_register_name): Add gdbarch parameter.
  1310. * i386-linux-tdep.c (i386_linux_register_name): Add gdbarch parameter.
  1311. * m68hc11-tdep.c (m68hc11_register_name): Add gdbarch parameter.
  1312. (m68hc11_register_reggroup_p): Add gdbarch to call of
  1313. m68hc11_register_name.
  1314. * mn10300-tdep.c (mn10300_generic_register_name, am33_register_name)
  1315. (am33_2_register_name): Add gdbarch parameter.
  1316. (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
  1317. architecture by frame_info.
  1318. (mn10300_dump_tdep): Replace current_gdbarch by gdbarch.
  1319. * rs6000-tdep.c (rs6000_register_name): Add gdbarch parameter. Replace
  1320. current_gdbarch by gdbarch.
  1321. * score-tdep.c (score_register_name): Add gdbarch parameter.
  1322. (score_return_value, score_push_dummy_call): Replace current_gdbarch
  1323. by gdbarch.
  1324. * sh64-tdep.c (sh64_register_name): Add gdbarch parameter.
  1325. (sh64_compact_reg_base_num, sh64_register_convert_to_virtual)
  1326. (sh64_register_convert_to_raw, sh64_fv_reg_base_num)
  1327. (sh64_dr_reg_base_num, sh64_fpp_reg_base_num): Add gdbarch parameter
  1328. and update caller. Replace current_gdbarch by gdbarch.
  1329. (sh64_extract_return_value, sh64_store_return_value): Use
  1330. get_regcache_arch to get at the current architecture by regcache.
  1331. * sh-tdep.c (sh_sh_register_name, sh_sh3_register_name)
  1332. (sh_sh3e_register_name, sh_sh2e_register_name, sh_sh2a_register_name)
  1333. (sh_sh2a_nofpu_register_name, sh_sh_dsp_register_name)
  1334. (sh_sh3_dsp_register_name, sh_sh4_register_name)
  1335. (sh_sh4_nofpu_register_name, sh_sh4al_dsp_register_name): Add gdbarch
  1336. parameter.
  1337. (fv_reg_base_num, dr_reg_base_num, sh_justify_value_in_reg)
  1338. (sh_next_flt_argreg): Add gdbarch parameter and update caller. Replace
  1339. current_gdbarch by gdbarch.
  1340. (sh_extract_return_value_fpu, sh_store_return_value_fpu): Use
  1341. get_regcache_arch to get at the current architecture by regcache.
  1342. * sparc-tdep.c (sparc32_register_name): Add gdbarch parameter.
  1343. * sparc64-tdep.c (sparc64_register_name): Add gdbarch parameter.
  1344. * v850-tdep.c (v850_register_name, v850e_register_name): Add gdbarch
  1345. parameter.
  1346. (v850_unwind_sp, v850_unwind_pc): Replace current_gdbarch by gdbarch.
  1347. * xtensa-tdep.c (xtensa_register_name): Add gdbarch parameter. Replace
  1348. current_gdbarch by gdbarch.
  1349. (xtensa_pseudo_register_read, xtensa_pseudo_register_write)
  1350. (xtensa_frame_prev_register): Add gdbarch parameter to
  1351. xtensa_register_name call.
  1352. 2007-10-31 Ulrich Weigand <uweigand@de.ibm.com>
  1353. * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Fall back to
  1354. find_solib_trampoline_target if PC is not in .plt section.
  1355. 2007-10-31 Ulrich Weigand <uweigand@de.ibm.com>
  1356. * elfread.c (elf_symtab_read): When constructing a solib trampoline
  1357. minimal symbol from an undefined dynamic symbol, use proper section.
  1358. 2007-10-31 Markus Deuling <deuling@de.ibm.com>
  1359. * arm-linux-nat.c (fetch_register, fetch_regs): Use get_regcache_arch
  1360. to get at the current architecture by regcache.
  1361. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1362. * libunwind-frame.c (libunwind_frame_sniffer)
  1363. libunwind_frame_prev_register, libunwind_sigtramp_frame_sniffer)
  1364. (libunwind_frame_cache): Use get_frame_arch to get at the current
  1365. architecture by frame_info.
  1366. (libunwind_get_reg_special): Replace current_gdbarch by gdbarch.
  1367. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1368. * iq2000-tdep.c (iq2000_frame_prev_register): Use get_frame_arch to get
  1369. at the current architecture by frame_info.
  1370. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1371. * inf-child.c (inf_child_fetch_inferior_registers): Use
  1372. get_regcache_arch to get at the current architecture by regcache.
  1373. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1374. * inf-ptrace.c (inf_ptrace_fetch_registers)
  1375. (inf_ptrace_fetch_register, inf_ptrace_store_register)
  1376. (inf_ptrace_store_registers): Use get_regcache_arch to get at the
  1377. current architecture by regcache.
  1378. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1379. * hpux-thread.c (hpux_thread_fetch_registers)
  1380. (hpux_thread_store_registers): Use get_regcache_arch to get at the
  1381. current architecture by regcache.
  1382. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1383. * hppa-tdep.c (hppa_frame_cache): Use get_frame_arch to get at the
  1384. current architecture by frame_info.
  1385. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1386. * go32-nat.c (fetch_register, go32_fetch_registers, store_register)
  1387. (go32_store_registers): Use get_regcache_arch to get at the current
  1388. architecture by regcache.
  1389. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1390. * gdbtypes.c (gdbtypes_post_init): Replace current_gdbarch by gdbarch.
  1391. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1392. * frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch
  1393. to get at the current architecture by frame_info.
  1394. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1395. * f-lang.c (build_fortran_types): Replace current_gdbarch by gdbarch.
  1396. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1397. * core-regset.c (fetch_core_registers): Use get_regcache_arch to get at
  1398. the current architecture by regcache.
  1399. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1400. * corelow.c (get_core_registers): Use get_regcache_arch to get at the
  1401. current architecture by regcache.
  1402. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1403. * bsd-uthread.c (bsd_uthread_fetch_registers)
  1404. (bsd_uthread_store_registers): Use get_regcache_arch to get at the
  1405. current architecture by regcache.
  1406. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1407. * avr-tdep.c (avr_frame_unwind_cache, avr_frame_prev_register): Use
  1408. get_frame_arch to get at the current architecture by frame_info.
  1409. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1410. * arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.
  1411. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1412. * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
  1413. (store_regs): Use get_regcache_arch to get at the current architecture
  1414. by regcache.
  1415. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1416. * arm-linux-tdep.c (arm_linux_supply_gregset): Use get_regcache_arch
  1417. to get at the current architecture by regcache.
  1418. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1419. * alphabsd-nat.c (alphabsd_fetch_inferior_registers)
  1420. (alphabsd_store_inferior_registers): Use get_regcache_arch to get at
  1421. the current architecture by regcache.
  1422. 2007-10-30 Markus Deuling <deuling@de.ibm.com>
  1423. * ada-lang.c (ada_language_arch_info): Replace current_gdbarch by
  1424. gdbarch.
  1425. 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
  1426. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Check the selected
  1427. soft float and vector ABIs. Support the generic vector ABI for
  1428. AltiVec types.
  1429. (do_ppc_sysv_return_value): Likewise. Correct argument types and
  1430. casts.
  1431. (ppc64_sysv_abi_push_dummy_call): Assert that floating point is
  1432. supported.
  1433. * ppc-tdep.h (enum powerpc_vector_abi): New.
  1434. (struct gdbarch_tdep): Add soft_float and vector_abi.
  1435. * rs6000-tdep.c (setpowerpccmdlist, showpowerpccmdlist)
  1436. (powerpc_soft_float_global, powerpc_vector_strings)
  1437. (powerpc_vector_abi_global, powerpc_vector_abi_string): New.
  1438. (rs6000_gdbarch_init): Check for soft-float and vector ABI markings.
  1439. (set_powerpc_command, show_powerpc_command, powerpc_set_soft_float)
  1440. (powerpc_set_vector_abi): New.
  1441. (_initialize_rs6000_tdep): Register "set powerpc" and "show powerpc"
  1442. commands.
  1443. * Makefile.in (elf_ppc_h): New.
  1444. (rs6000-tdep.o): Update.
  1445. 2007-10-29 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  1446. * ppc-linux-tdep.c (ppc32_linux_reg_offsets): Corrected
  1447. swapped offsets and VRSAVE offset.
  1448. (ppc64_linux_reg_offsets): Corrected swapped offsets.
  1449. (ppc32_linux_vrregset): Added.
  1450. (ppc_linux_regset_from_core_section): Added support for
  1451. .reg-ppc-vmx section.
  1452. * ppc-tdep.h (ppc_altivec_support_p): Declare.
  1453. (ppc_supply_vrregset): Declare.
  1454. (ppc_collect_vrregset): Declare.
  1455. * rs6000-tdep.c (ppc_altivec_support_p): Added.
  1456. (ppc_supply_vrregset): Added.
  1457. (ppc_collect_vrregset): Added.
  1458. * corelow.c (get_core_registers): Added support for
  1459. .reg-ppc-vmx section.
  1460. 2007-10-29 Joel Brobecker <brobecker@adacore.com>
  1461. GDB 6.7.1 released.
  1462. 2007-10-26 Jim Blandy <jimb@codesourcery.com>
  1463. * ax-gdb.h (expr_to_address_and_size): Delete declaration for
  1464. deleted function.
  1465. * tracepoint.c (tracepoint_operation): Report the deletion event
  1466. after we have unlinked the tracepoint from the list, and use the
  1467. proper tracepoint number.
  1468. * ax-gdb.c (expr_to_agent): Delete unused function.
  1469. (expr_to_address_and_size): Delete #if 0'd function.
  1470. * ax-gdb.h (expr_to_agent): Delete declaration.
  1471. * ax-gdb.c (gen_cast): Remove redundant assignment to
  1472. value->type. Doc fix.
  1473. * ax-general.c (gen_traced_pop, gen_int_literal)
  1474. (gen_usual_arithmetic): Check for typedefs.
  1475. 2007-10-26 Joel Brobecker <brobecker@adacore.com>
  1476. * parse.c (prefixify_expression): Minor reformatting.
  1477. 2007-10-25 Daniel Jacobowitz <dan@codesourcery.com>
  1478. * version.in: Use dot instead of dash.
  1479. 2007-10-25 Daniel Jacobowitz <dan@codesourcery.com>
  1480. * linux-thread-db.c (check_for_thread_db): Only print if info_verbose.
  1481. 2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt>
  1482. * memory-map.c (parse_memory_map): Don't use an empty struct
  1483. initializer.
  1484. 2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt>
  1485. * signals/signals.c (signals): Update pointer to enum
  1486. target_signal declaration.
  1487. 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
  1488. Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  1489. Jim Blandy <jimb@codesourcery.com>
  1490. * dwarf2read.c (read_partial_die): check the value
  1491. of DW_AT_calling_convention in Fortran programs.
  1492. 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
  1493. Thiago Jung Bauermann <bauerman@br.ibm.com>
  1494. * c-exp.y (YYSTYPE): Add typed_val_decfloat for decimal
  1495. floating point in YYSTYPE union.
  1496. (DECFLOAT) Add token and expression element handling code.
  1497. (parse_number): Parse DFP constants, which end with suffix 'df',
  1498. 'dd' or 'dl'. Return DECFLOAT.
  1499. * eval.c (evaluate_subexp_standard): Call value_from_decfloat to
  1500. handle OP_DECFLOAT.
  1501. * expression.h (enum exp_opcode): Add an opcode (OP_DECFLOAT)
  1502. for DFP constants.
  1503. (union exp_element): Add decfloatconst to represent DFP
  1504. elements, which is 16 bytes by default.
  1505. * parse.c (write_exp_elt_decfloatcst): New function to write a
  1506. decimal float const into the expression.
  1507. (operator_length_standard): Set operator length for OP_DECFLOAT
  1508. to 4.
  1509. * parser-defs.h (write_exp_elt_decfloatcst): Prototype.
  1510. * valarith.c (value_neg): Add code to handle the negation
  1511. operation of DFP values.
  1512. * value.c (value_from_decfloat): New function to get the value
  1513. from a decimal floating point.
  1514. * value.h (value_from_decfloat): Prototype.
  1515. 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
  1516. Thiago Jung Bauermann <bauerman@br.ibm.com>
  1517. * c-lang.c (c_create_fundamental_type): Create fundamental
  1518. types for DFP.
  1519. * c-typeprint.c (c_type_print_varspec_prefix): Add
  1520. TYPE_CODE_DECFLOAT to no prefix needed case.
  1521. (c_type_print_varspec_suffix): Add TYPE_CODE_DECFLOAT to no
  1522. suffix needed case.
  1523. * c-valprint.c (c_val_print): Call print_decimal_floating to
  1524. print DFP values.
  1525. * dwarf2read.c (read_base_type): Read DW_ATE_decimal_float
  1526. attribute code and return TYPE_CODE_DECFLOAT.
  1527. (dwarf_base_type): Set dwarf2_fundamental_type for DFP values.
  1528. * gdbtypes.c (gdbtypes_post_init): Initialize builtin_decfloat,
  1529. builtin_decdouble and builtin_declong.
  1530. * gdbtypes.h (enum type_code): Add TYPE_CODE_DECFLOAT as a
  1531. type code for DFP.
  1532. (FT_DECFLOAT, FT_DBL_PREC_DECFLOAT, FT_EXT_PREC_DECFLOAT): New
  1533. types, for decimal floating point.
  1534. (FT_NUM_MEMBERS): Increment, new types added.
  1535. (struct builtin_type): Add builtin_decfloat, builtin_decdouble
  1536. and builtin_declong.
  1537. * valprint.c (print_decimal_floating): New function to print DFP
  1538. values.
  1539. * value.h (print_decimal_floating): Prototype.
  1540. 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
  1541. Thiago Jung Bauermann <bauerman@br.ibm.com>
  1542. * Makefile.in (LIBDECNUMBER_DIR, LIBDECNUMBER, LIBDECNUMBER_SRC
  1543. LIBDECNUMBER_CFLAGS): New macros for libdecnumber.
  1544. (INTERNAL_CFLAGS_BASE): Add LIBDECNUMBER_CFLAGS in.
  1545. (INSTALLED_LIBS): Add -ldecnumber in.
  1546. (CLIBS): Add LIBDECNUMBER in.
  1547. (decimal128_h, decimal64_h, decimal32_h): New macros for decimal
  1548. headers.
  1549. (dfp_h): New macros for decimal floating point.
  1550. (dfp.o): New target.
  1551. (COMMON_OBS): Add dfp.o in.
  1552. (c-exp.o): Add dfp_h as dependency.
  1553. (valprint.o): Add dfp_h as dependency.
  1554. (value.o): Add dfp_h as dependency.
  1555. * dfp.h: New header file for decimal floating point support in
  1556. GDB.
  1557. * dfp.c: New source file for decimal floating point support in
  1558. GDB. Implement decimal_from_string and decimal_to_string based
  1559. on libdecnumber API.
  1560. * configure.ac: Add AC_C_BIGENDIAN test.
  1561. * config.in, configure: Regenerate.
  1562. 2007-10-25 David Ung <davidu@mips.com>
  1563. Maciej W. Rozycki <macro@mips.com>
  1564. PR exp/1926
  1565. * infcmd.c (registers_info): Check for a user register before
  1566. calling target's gdbarch_print_registers_info(). If found to be
  1567. so, extract the implicit value of user register and call
  1568. print_scalar_formatted().
  1569. * Makefile.in: (infcmd.o): Add $(user_regs_h).
  1570. 2007-10-25 Joel Brobecker <brobecker@adacore.com>
  1571. * NEWS: Document status of hppa64-hpux support.
  1572. 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
  1573. * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets): Call
  1574. set_solib_ops to install SVR4 operations.
  1575. (_initialize_svr4_solib): Do not set current_target_so_ops.
  1576. * config/i386/i386gnu.mh (NATDEPFILES): Move solib.o, solib-svr4.o ...
  1577. * config/i386/i386gnu.mt (TDEPFILES): ... to here.
  1578. 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
  1579. * solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove.
  1580. (solib_svr4_init): Initialize fetch_link_map_offsets to NULL.
  1581. * solib-svr4.h (legacy_svr4_fetch_link_map_offsets_hook): Remove.
  1582. * solib-legacy.c: Remove file.
  1583. * config/alpha/alpha-linux.mt (TDEPFILES): Remove solib-legacy.o.
  1584. * config/arm/linux.mt (TDEPFILES): Likewise.
  1585. * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
  1586. * config/ia64/linux.mt (TDEPFILES): Likewise.
  1587. * config/m32r/linux.mt (TDEPFILES): Likewise.
  1588. * config/powerpc/linux.mt (TDEPFILES): Likewise.
  1589. * config/s390/s390.mt (TDEPFILES): Likewise.
  1590. * alpha-linux-tdep.c (alpha_linux_init_abi): Call
  1591. set_solib_svr4_fetch_link_map_offsets.
  1592. * i386gnu-tdep.c (i386gnu_init_abi): Likewise.
  1593. * ia64-linux-tdep.c (ia64_linux_init_abi): Likewise.
  1594. * i386gnu-tdep.c: Include "solib-svr4.h".
  1595. * Makefile.in: Update dependencies.
  1596. 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
  1597. * i386-nto-tdep.c: Include "solib.h".
  1598. (i386nto_init_abi): Use set_solib_ops instead of overwriting
  1599. current_target_so_ops members.
  1600. * solist.h (TARGET_SO_RELOCATE_SECTION_ADDRESSES): Remove.
  1601. (TARGET_SO_FIND_AND_OPEN_SOLIB): Remove.
  1602. (TARGET_SO_IN_DYNSYM_RESOLVE_CODE): Remove.
  1603. * Makefile.in: Update dependencies.
  1604. 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
  1605. * arm-wince-tdep.c: Include "solib.h" and "solib-target.h".
  1606. (arm_wince_init_abi): Call set_solib_ops.
  1607. * i386-cygwin-tdep.c: Include "solib.h" and "solib-target.h".
  1608. (i386_cygwin_init_abi): Call set_solib_ops.
  1609. * solib-target.c: Include "solib-target.h".
  1610. (solib_target_so_ops): Make global.
  1611. (_initialize_solib_target): Do not set current_target_so_ops.
  1612. * solib-target.h: New file.
  1613. * Makefile.in: Update dependencies.
  1614. 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
  1615. * mips-irix-tdep.c: Include "gdb_string.h", "solib.h", "solib-irix.h".
  1616. (mips_irix_init_abi): Call set_solib_ops.
  1617. * solib-irix.c: Include "solib.h" and "solib-irix.h".
  1618. (irix_so_ops): Make global.
  1619. (_initialize_irix_solib): Do not set current_target_so_ops.
  1620. * solib-irix.h: New file.
  1621. * Makefile.in: Update dependencies.
  1622. 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
  1623. * configure.tgt: Remove hppa*64*-*-hpux11* special case.
  1624. * config/pa/hppa64.mt: Delete file.
  1625. * config/pa/hppahpux.mt (MT_CFLAGS): Remove.
  1626. (TDEPFILES): Move somread.o to ...
  1627. * config/pa/hpux.mh (NATDEPFILES): ... here.
  1628. * configure.ac: Add check for elf_hp.h header.
  1629. Search libdl and libxpdl for dlgetmodinfo.
  1630. * config.in, configure: Regenerate.
  1631. * solib-pa64.c: Conditionalize compilation on #ifdef HAVE_ELF_HP_H
  1632. instead of #ifndef PA_SOM_ONLY. Include "solib.h".
  1633. (pa64_solib_select): Take gdbarch instead of tdep argument. Call
  1634. set_solib_ops instead of modifying current_target_so_ops.
  1635. * solib-pa64.h (pa64_solib_select): Update prototype.
  1636. * solib-som.c: Remove include of "som.h". Include "solib.h".
  1637. (som_solib_select): Take gdbarch instead of tdep argument. Call
  1638. set_solib_ops instead of modifying current_target_so_ops.
  1639. * solib-som.h (som_solib_select): Update prototype.
  1640. * hppa-hpux-tdep.c (hppa_hpux_som_init_abi): Pass gdbarch instead
  1641. of tdep to som_solib_select call.
  1642. (hppa_hpux_elf_init_abi): Pass gdbarch instead of tdep to
  1643. pa64_solib_select call.
  1644. * Makefile.in: Update dependencies.
  1645. 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
  1646. * frv-tdep.c: Include "solib.h".
  1647. (frv_gdbarch_init): Call set_solib_ops.
  1648. * frv-tdep.h (struct target_so_ops): Add forward reference.
  1649. (frv_so_ops): Add extern declaration.
  1650. * solib-frv.c (frv_so_ops): Make global.
  1651. (_initialize_frv_solib): Do not set current_target_so_ops.
  1652. * Makefile.in: Update dependencies.
  1653. 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
  1654. * solib.c (solib_global_lookup): Use solib_ops instead of global
  1655. current_target_so_ops.
  1656. 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
  1657. * config/frv/frv.mt (DEPRECATED_TM_FILE): Remove.
  1658. * config/frv-tm-frv.h: Delete file.
  1659. 2007-10-24 Daniel Jacobowitz <dan@codesourcery.com>
  1660. * NEWS: Mention gdbserver support for non-libthread_db operation.
  1661. 2007-10-24 Daniel Jacobowitz <dan@codesourcery.com>
  1662. * amd64-tdep.c (amd64_convert_register_p): Delete.
  1663. (amd64_init_abi): Use i387_convert_register_p.
  1664. * alpha-tdep.c (alpha_convert_register_p): Return zero for
  1665. eight byte types.
  1666. (alpha_register_to_value, alpha_value_to_register): Do not handle
  1667. eight byte types.
  1668. * i386-tdep.c (i386_convert_register_p): Use i387_convert_register_p.
  1669. * i387-tdep.c (i387_convert_register_p): New.
  1670. (i387_register_to_value, i387_value_to_register): Update comments.
  1671. * i387-tdep.h (i387_convert_register_p): Declare.
  1672. * ia64-tdep.c (ia64_convert_register_p): Return zero for
  1673. builtin_type_ia64_ext.
  1674. (ia64_gdbarch_init): Do not initialize builtin_type_ia64_ext here.
  1675. (_initialize_ia64_tdep): Initialize builtin_type_ia64_ext here.
  1676. * m68k-tdep.c (m68k_convert_register_p): Return zero for
  1677. builtin_type_m68881_ext.
  1678. (m68k_register_to_value, m68k_value_to_register): Update comments.
  1679. 2007-10-24 Nathan Sidwell <nathan@codesourcery.com>
  1680. * target-memory.c (claim_memory): Propagate baton for split memory
  1681. requests.
  1682. 2007-10-24 Pedro Alves <pedro_alves@portugalmail.pt>
  1683. PR gdb/2341
  1684. * sol-thread.c (sol_thread_fetch_registers): Work around gcc 3.4
  1685. alias warning bug.
  1686. 2007-10-24 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  1687. * symtab.c (find_line_symtab): scan through psymtabs
  1688. when exact_match is zero.
  1689. 2007-10-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
  1690. * mips-tdep.c (LL_OPCODE, LLD_OPCODE, SC_OPCODE, SCD_OPCODE): Define.
  1691. (deal_with_atomic_sequence): New.
  1692. (mips_software_single_step): Use it.
  1693. 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
  1694. PR gdb/2336
  1695. * configure.ac: Modify $LIBINTL before the BFD check.
  1696. * configure: Regenerated.
  1697. 2007-10-23 Joel Brobecker <brobecker@adacore.com>
  1698. * buildsym.c (free_pending_blocks): Remove commented-out code.
  1699. (make_blockvector): Likewise. Re-use free_pending_blocks.
  1700. (end_symtab): Remove commented-out code.
  1701. 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
  1702. * top.c (command_loop): Fix output for shrinkage.
  1703. 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
  1704. * cp-name-parser.y (exp1): Add & ( var ) as a reference expression.
  1705. (exp): Remove and document function-like casts.
  1706. 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
  1707. * cp-support.c: Include "safe-ctype.h".
  1708. (cp_already_canonical): New function.
  1709. (cp_canonicalize_string): Use it. Return NULL for already canonical
  1710. strings.
  1711. (mangled_name_to_comp): Update call to cp_demangled_name_to_comp.
  1712. (cp_func_name, remove_params): Likewise.
  1713. (cp_find_first_component_aux): Use ISSPACE.
  1714. * cp-support.h (cp_demangled_name_to_comp): Correct comment. Remove
  1715. MEMORY_P argument.
  1716. * cp-name-parser.y (ALLOC_CHUNK): Define.
  1717. (struct demangle_info): Add PREV and NEXT. Increase the size of
  1718. COMPS.
  1719. (d_grab): Convert to a function.
  1720. (allocate_info): Rewrite.
  1721. (cp_demangled_name_to_comp): Remove MEMORY argument. Do not use
  1722. strlen. Update call to allocate_info. Do not free it on failure.
  1723. (main): Update calls to cp_demangled_name_to_comp.
  1724. * Makefile.in (cp-support.o): Update.
  1725. 2007-10-22 Markus Deuling <deuling@de.ibm.com>
  1726. * std-regs.c (value_of_builtin_frame_fp_reg)
  1727. value_of_builtin_frame_pc_reg, value_of_builtin_frame_sp_reg)
  1728. value_of_builtin_frame_ps_reg): Use get_frame_arch to get at the
  1729. current architecture by frame_info.
  1730. 2007-10-22 Markus Deuling <deuling@de.ibm.com>
  1731. * reggroups.c (default_register_reggroup_p): Replace current_gdbarch
  1732. by gdbarch.
  1733. 2007-10-22 Markus Deuling <deuling@de.ibm.com>
  1734. * infcmd.c (default_print_registers_info, print_return_value)
  1735. (print_vector_info, print_float_info): Replace current_gdbarch by
  1736. gdbarch.
  1737. (registers_info): Use get_frame_arch to get at the current
  1738. architecture by frame_info.
  1739. 2007-10-22 Markus Deuling <deuling@de.ibm.com>
  1740. * i387-tdep.c (i387_collect_fsave, i387_collect_fxsave): Use
  1741. get_regcache_arch to get at the current architecture by regcache.
  1742. 2007-10-22 Markus Deuling <deuling@de.ibm.com>
  1743. * target.c (debug_print_register): Use get_regcache_arch to get at the
  1744. current architecture by regcache.
  1745. 2007-10-21 Daniel Jacobowitz <dan@codesourcery.com>
  1746. * dwarf2read.c (read_file_scope): Add a comment.
  1747. (dwarf2_add_field, dwarf2_add_member_fn, read_structure_type)
  1748. (read_enumeration_type, process_enumeration_scope, read_array_type)
  1749. (read_typedef, read_base_type, read_subrange_type)
  1750. (read_unspecified_type): Use dwarf2_name.
  1751. 2007-10-21 Daniel Jacobowitz <dan@codesourcery.com>
  1752. * coffread.c (coff_symfile_finish): Call dwarf2_free_objfile.
  1753. * dwarf2read.c (dwarf2_free_objfile): New.
  1754. * elfread.c (elf_symfile_finish): Call dwarf2_free_objfile.
  1755. * symfile.h (dwarf2_free_objfile): Declare.
  1756. 2007-10-21 Joel Brobecker <brobecker@adacore.com>
  1757. * hppa-hpux-nat.c (hppa_hpux_store_register): Add missing semi-colon.
  1758. 2007-10-21 Luis Machado <luisgpm@br.ibm.com>
  1759. * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): New function.
  1760. * (rs6000_gdbarch_init): Install ppc_dwarf2_frame_init_reg as
  1761. default dwarf2_frame_set_init_reg function.
  1762. 2007-10-21 Pedro Alves <pedro_alves@portugalmail.pt>
  1763. * NEWS: Mention native MinGW configuration.
  1764. 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com>
  1765. * gdbarch.sh: Remove "macro" column of input table. Remove handling
  1766. of "macro" column throughout the file. Remove (empty) "macro" entry
  1767. of all gdbarch functions.
  1768. 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com>
  1769. * gdbarch.sh (sofun_address_maybe_missing): New gdbarch variable.
  1770. * gdbarch.c, gdbarch.h: Regenerate.
  1771. * dbxread.c (find_stab_function_addr): Define unconditionally.
  1772. (read_dbx_symtab): Use gdbarch_sofun_address_maybe_missing
  1773. instead of SOFUN_ADDRESS_MAYBE_MISSING.
  1774. (end_psymtab): Likewise.
  1775. (process_one_symbol): Likewise.
  1776. * mdebugread.c (parse_partial_symbols): Likewise.
  1777. * symtab.h (struct minimal_symbol): Always define "filename" member.
  1778. * elfread.c (elf_symtab_read): Use msym->filename unconditionally.
  1779. * minsyms.c (lookup_minimal_symbol): Likewise.
  1780. * symmisc.c (dump_msymbols): Likewise.
  1781. * config/i386/i386sol2.mt (DEPRECATED_TM_FILE): Remove.
  1782. * config/i386/linux.mt (DEPRECATED_TM_FILE): Remove.
  1783. * config/i386/tm-i386sol2.h: Remove file.
  1784. * config/i386/tm-linux.h: Remove file.
  1785. * i386-linux-tdep.c (i386_linux_init_abi): Add call to
  1786. set_gdbarch_sofun_address_maybe_missing.
  1787. * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
  1788. * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Remove.
  1789. * config/powerpc/nbsd.mt (DEPRECATED_TM_FILE): Remove.
  1790. * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Remove.
  1791. * config/powerpc/ppc-eabi.mt (DEPRECATED_TM_FILE): Remove.
  1792. * config/powerpc/ppc-sim.mt (DEPRECATED_TM_FILE): Remove.
  1793. * config/powerpc/tm-ppc-eabi.h: Remove file.
  1794. * rs6000-tdep.c (rs6000_gdbarch_init): Add call to
  1795. set_gdbarch_sofun_address_maybe_missing.
  1796. * config/sparc/sol2-64.mt (DEPRECATED_TM_FILE): Remove.
  1797. * config/sparc/sol2.mt (DEPRECATED_TM_FILE): Remove.
  1798. * config/sparc/tm-sol2.h: Remove file.
  1799. * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Add call to
  1800. set_gdbarch_sofun_address_maybe_missing.
  1801. * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise.
  1802. 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com>
  1803. * gdbarch.sh (static_transform_name): New gdbarch callback.
  1804. * gdbarch.c, gdbarch.h: Regenerate.
  1805. * dbxread.c (read_dbx_symtab): Use gdbarch_static_transform_name
  1806. instead of STATIC_TRANSFORM_NAME.
  1807. * mdebugread.c (parse_partial_symbols): Likewise.
  1808. * stabsread.c (define_symbol): Likewise.
  1809. * xcoffread.c (scan_xcoff_symtab): Likewise.
  1810. * config/i368/tm-i386sol2.h (STATIC_TRANSFORM_NAME): Remove.
  1811. (IS_STATIC_TRANSFORM_NAME): Remove.
  1812. * i386-tdep.c (sunpro_static_transform_name): Remove, move to ...
  1813. * i386-sol2-tdep.c (i386_sol2_static_transform_name): ... here.
  1814. (i386_sol2_init_abi): Install it.
  1815. * config/sparc/tm-sol2.h (STATIC_TRANSFORM_NAME): Remove.
  1816. (IS_STATIC_TRANSFORM_NAME): Remove.
  1817. * sparc-tdep.c (sparc_stabs_unglobalize_name): Remove, move to ...
  1818. * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): ... here.
  1819. (sparc32_sol2_init_abi): Install it.
  1820. * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise.
  1821. * sparc-tdep.h (sparc_sol2_static_transform_name): Add prototype.
  1822. 2007-10-18 Daniel Jacobowitz <dan@codesourcery.com>
  1823. * mips-tdep.c (mips_xfer_register): Take a gdbarch argument.
  1824. (mips_n32n64_return_value, mips_o32_return_value)
  1825. (mips_o64_return_value): Update calls to mips_xfer_register.
  1826. 2007-10-17 Daniel Jacobowitz <dan@codesourcery.com>
  1827. * frame.c (frame_unwind_unsigned_register): Delete.
  1828. (frame_sp_unwind): Use frame_unwind_register_unsigned instead.
  1829. * frame.h (frame_unwind_unsigned_register): Delete prototype.
  1830. * alpha-linux-tdep.c, alpha-mdebug-tdep.c, alpha-tdep.c,
  1831. avr-tdep.c, cris-tdep.c, frv-tdep.c, m68hc11-tdep.c, mn10300-tdep.c,
  1832. mt-tdep.c: Replace frame_unwind_unsigned_register with
  1833. frame_unwind_register_unsigned.
  1834. 2007-10-16 Pedro Alves <pedro_alves@portugalmail.pt>
  1835. * config/i386/mingw.mh, config/i386/mingw.mt: New files.
  1836. * configure.tgt (i[34567]86-*-mingw32*): Set gdb_target = mingw.
  1837. * win32-nat.c: Only include cygwin.h on Cygwin host. Don't
  1838. include procfs.h.
  1839. (cygwin_load_start, cygwin_load_end, cygwin_exceptions): Disable
  1840. if not building on Cygwin.
  1841. (win32_make_so, handle_output_debug_string, handle_exception)
  1842. (do_initial_win32_stuff): Wrap Cygwin specific code in __CYGWIN__.
  1843. (win32_attach): Only fallback to Cygwin pids if building on
  1844. Cygwin.
  1845. (win32_pid_to_exec_file): Disable Cygwin specific code, if not
  1846. building on Cygwin.
  1847. (win32_create_inferior): Disable starting the inferior through a
  1848. shell, environment var processing and tty handling if not building
  1849. on Cygwin.
  1850. (cygwin_pid_to_str): Rename to ...
  1851. (win32_pid_to_str): ... this.
  1852. (init_win32_ops): Update use of win32_pid_to_str. Disable "shell"
  1853. and "cygwin-exceptions" commands if not building on Cygwin.
  1854. 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
  1855. * m2-valprint.c (m2_print_array_contents): New function.
  1856. (m2_print_unbounded_array): New function.
  1857. (m2_print_array_contents): New function.
  1858. * m2-typeprint.c (m2_unbounded_array): New function.
  1859. (m2_is_unbounded_array): New function.
  1860. (m2_print_type): Test for unbounded array when walking
  1861. across structs.
  1862. * m2-lang.h: Added extern m2_is_unbounded_array.
  1863. * m2-lang.c (evaluate_subexp_modula2): New function.
  1864. (exp_descriptor_modula2): New structure.
  1865. (m2_language_defn): Use exp_descriptor_modula2.
  1866. * m2-exp.y: Added TSIZE and binary subscript.
  1867. 2007-10-16 Daniel Jacobowitz <dan@codesourcery.com>
  1868. * mi/mi-main.c (captured_mi_execute_command): Clear mi_error_message
  1869. after freeing it.
  1870. 2007-10-16 Kevin Buettner <kevinb@redhat.com>
  1871. * m32r-tdep.c (decode_prologue): Sign extend offset for
  1872. "addi sp, xx" case.
  1873. (m32r_frame_unwind_cache): Likewise.
  1874. 2007-10-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
  1875. * rs6000-tdep.c (skip_prologue): Restore comment with
  1876. function description to its proper place.
  1877. 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
  1878. * NEWS: Mention gdbserver PowerPC improvements.
  1879. 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
  1880. * features/Makefile (WHICH): Add PowerPC register definitions.
  1881. (rs6000/powerpc-32-expedite, rs6000/powerpc-e500-expedite)
  1882. (rs6000/powerpc-64-expedite): New macros.
  1883. ($(outdir)/%.dat): Handle subdirectories.
  1884. * regformats/rs6000/powerpc-32.dat, regformats/rs6000/powerpc-64.dat,
  1885. regformats/rs6000/powerpc-e500.dat: New generated files.
  1886. 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
  1887. * ppc-linux-nat.c (ppc_linux_read_description): New.
  1888. (_initialize_ppc_linux_nat): Set to_read_description.
  1889. * ppc-tdep.h (tdesc_powerpc_e500): Declare.
  1890. 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
  1891. * NEWS: Document target described register support for PowerPC.
  1892. * ppc-tdep.h: Remove ppc_spr constants.
  1893. (struct gdbarch_tdep): Remove regs, ppc_sr0_regnum, and
  1894. ppc_builtin_type_vec128 members.
  1895. (PPC_R0_REGNUM, PPC_F0_REGNUM, PPC_PC_REGNUM, PPC_MSR_REGNUM)
  1896. (PPC_CR_REGNUM, PPC_LR_REGNUM, PPC_CTR_REGNUM, PPC_XER_REGNUM)
  1897. (PPC_FPSCR_REGNUM, PPC_MQ_REGNUM, PPC_SPE_UPPER_GP0_REGNUM)
  1898. (PPC_SPE_ACC_REGNUM, PPC_SPE_FSCR_REGNUM, PPC_VR0_REGNUM)
  1899. (PPC_VSCR_REGNUM, PPC_VRSAVE_REGNUM, PPC_NUM_REGS): New constants.
  1900. * rs6000-tdep.c: Include preparsed descriptions.
  1901. (init_sim_regno_table): Do not iterate over pseudo registers.
  1902. Look up segment registers by name. Use sim_spr_register_name
  1903. for SPRs.
  1904. (rs6000_register_sim_regno): Call init_sim_regno_table here.
  1905. (rs6000_builtin_type_vec128): Delete.
  1906. (rs6000_register_name): Only handle SPE pseudo registers and upper
  1907. halves. Call tdesc_register_name for everything else.
  1908. (rs6000_register_type): Delete. Replace with...
  1909. (rs6000_pseudo_register_type): ...this new function. Only handle
  1910. SPE pseudo registers.
  1911. (rs6000_register_reggroup_p): Delete. Replace with...
  1912. (rs6000_pseudo_register_reggroup_p): ...this new function. Only
  1913. handle SPE pseudo registers.
  1914. (rs6000_convert_register_p): Use ppc_fp0_regnum instead of
  1915. "struct reg".
  1916. (rs6000_register_to_value, rs6000_value_to_register): Remove check
  1917. of reg->fpr.
  1918. (e500_register_reggroup_p): Delete.
  1919. (STR, R, R4, R8, R16, F, P8, R32, R64, R0, A4, S, S4, SN4, S64)
  1920. (COMMON_UISA_REGS, PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS)
  1921. (PPC_SEGMENT_REGS, PPC_OEA_SPRS, PPC_ALTIVEC_REGS, PPC_SPE_GP_REGS)
  1922. (PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): Delete macros.
  1923. (registers_powerpc, registers_403, registers_403GC, registers_505)
  1924. (registers_860, registers_601, registers_602, registers_603)
  1925. (registers_604, registers_750, registers_7400, registers_e500): Delete
  1926. variables.
  1927. (struct variant): Delete nregs, npregs, num_tot_regs, and regs. Add
  1928. tdesc.
  1929. (tot_num_registers, num_registers, num_pseudo_registers): Delete.
  1930. (variants): Delete outdated comment. Use standard target descriptions
  1931. instead of "struct reg" arrays.
  1932. (init_variants): Delete.
  1933. (rs6000_gdbarch_init): Do not guess word size from the BFD
  1934. architecture if we have a target description. Select a variant
  1935. before creating a new architecture. Use the variant's target
  1936. description if the target did not define a register layout.
  1937. Validate target-supplied registers. Reject mismatches. Use
  1938. fixed register numbers and new constants instead of magic
  1939. numbers. Call set_gdbarch_ps_regnum. Call tdesc_use_registers.
  1940. (_initialize_rs6000_tdep): Initialize the preparsed target
  1941. descriptions.
  1942. * target-descriptions.c (tdesc_predefined_types): Add int128 and
  1943. uint128.
  1944. (tdesc_find_register_early): New function.
  1945. (tdesc_numbered_register): Use it.
  1946. (tdesc_register_size): New function.
  1947. (tdesc_use_registers): Take a target_desc argument. Do not use
  1948. gdbarch_target_desc.
  1949. * target-descriptions.h (tdesc_use_registers): Update prototype
  1950. and comment.
  1951. (tdesc_register_size): New prototype.
  1952. * Makefile.in (powerpc_32_c, powerpc_403_c, powerpc_403gc_c)
  1953. (powerpc_505_c, powerpc_601_c, powerpc_602_c, powerpc_603_c)
  1954. (powerpc_604_c, powerpc_64_c, powerpc_7400_c, powerpc_750_c)
  1955. (powerpc_860_c, powerpc_e500_c, rs6000_c): New macros.
  1956. (rs6000-tdep.o): Update.
  1957. * arm-tdep.c (arm_gdbarch_init): Update call to tdesc_use_registers.
  1958. * m68k-tdep.c (m68k_gdbarch_init): Likewise.
  1959. * mips-tdep.c (mips_gdbarch_init): Likewise.
  1960. 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
  1961. * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
  1962. features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
  1963. features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
  1964. features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
  1965. features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
  1966. features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
  1967. features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: New
  1968. generated files.
  1969. 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
  1970. * features/rs6000/power-altivec.xml, features/rs6000/power-core.xml,
  1971. features/rs6000/power-fpu.xml, features/rs6000/power-oea.xml,
  1972. features/rs6000/power-spe.xml, features/rs6000/power64-core.xml: New
  1973. feature descriptions for standard PowerPC register sets.
  1974. * features/rs6000/powerpc-32.xml, features/rs6000/powerpc-403.xml,
  1975. features/rs6000/powerpc-403gc.xml, features/rs6000/powerpc-505.xml,
  1976. features/rs6000/powerpc-601.xml, features/rs6000/powerpc-602.xml,
  1977. features/rs6000/powerpc-603.xml, features/rs6000/powerpc-604.xml,
  1978. features/rs6000/powerpc-64.xml, features/rs6000/powerpc-7400.xml,
  1979. features/rs6000/powerpc-750.xml, features/rs6000/powerpc-860.xml,
  1980. features/rs6000/powerpc-e500.xml, features/rs6000/rs6000.xml: New
  1981. target descriptions for PowerPC processors.
  1982. 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
  1983. * target-descriptions.c (tdesc_predefined_types): New.
  1984. (tdesc_named_type): Use it.
  1985. (tdesc_type_id, maint_print_c_tdesc_cmd): New functions.
  1986. (_intialize_target_descriptions): Register "maint print c-tdesc".
  1987. * features/Makefile (XMLTOC, CFILES, GDB): New macros.
  1988. (cfiles, %.c): New rules.
  1989. * features/arm-with-iwmmxt.c, features/mips-linux.c,
  1990. features/mips64-linux.c: New generated files.
  1991. * arm-linux-nat.c: Include preparsed description instead of
  1992. "xml-support.h".
  1993. (super_xfer_partial, arm_linux_xfer_partial): Remove.
  1994. (arm_linux_read_description): New function.
  1995. (_initialize_arm_linux_nat): Set to_read_description instead of
  1996. to_xfer_partial. Initialize preparsed description.
  1997. * config/arm/linux.mh (TDEP_XML): Delete.
  1998. * mips-linux-nat.c: Include preparsed descriptions instead of
  1999. "xml-support.h".
  2000. (super_xfer_partial, mips_linux_xfer_partial): Remove.
  2001. (mips_linux_read_description): New function.
  2002. (_initialize_mips_linux_nat): Set to_read_description instead of
  2003. to_xfer_partial. Initialize preparsed description.
  2004. * config/mips/linux.mh (TDEP_XML): Delete.
  2005. * Makefile.in (XMLFILES): Remove $(TDEP_XML).
  2006. (features_headers, arm_with_iwmmxt_c, mips_linux_c)
  2007. (mips64_linux_c): New macros.
  2008. (arm-linux-nat.o, mips-linux-nat.o): Update.
  2009. 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
  2010. * cp-abi.c (set_cp_abi_as_auto_default): ARI fix:
  2011. Replace xasprintf by xstrprintf.
  2012. symfile-mem.c (add_vsyscall_page): Ditto.
  2013. 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
  2014. * ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter,
  2015. replacing use of global current_gdbarch.
  2016. (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
  2017. (ia64_linux_fetch_register, ia64_linux_store_register): Update callers.
  2018. * ia64-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Remove macro.
  2019. (ia64_sigtramp_frame_init_saved_regs): Add next_frame parameter,
  2020. replace uses of SIGCONTEXT_REGISTER_ADDRESS.
  2021. (ia64_sigtramp_frame_cache): Update caller.
  2022. 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
  2023. * gdbarch.sh (deprecated_use_struct_convention): Remove.
  2024. (extract_return_value, store_return_value): Remove.
  2025. (return_value): Remove default implementation.
  2026. * gdbarch.c, gdbarch.h: Regenerate.
  2027. * stack.c (return_command): Remove compatibility hack.
  2028. * arch-utils.c (legacy_return_value): Remove.
  2029. * arch-utils.h (legacy_return_value): Likewise.
  2030. * arch-utils.c (always_use_struct_convention): Remove.
  2031. * arch-utils.h (always_use_struct_convention): Likewise.
  2032. * value.c (generic_use_struct_convention): Remove.
  2033. * defs.h (generic_use_struct_convention): Likewise.
  2034. 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
  2035. * avr-tdep.c (avr_return_value): New function.
  2036. (avr_gdbarch_init): Call set_gdbarch_return_value instead of
  2037. set_gdbarch_extract_return_value.
  2038. * fvr-tdep.c (frv_return_value): New function.
  2039. (frv_gdbarch_init): Call set_gdbarch_return_value instead of
  2040. set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
  2041. and set_gdbarch_deprecated_use_struct_convention.
  2042. * ia64-tdep.c (ia64_use_struct_convention): Make static.
  2043. Add check for structure, union, or array types.
  2044. (ia64_extract_return_value): Make static.
  2045. (ia64_store_return_value): Make static. Support multi-word values.
  2046. (ia64_return_value): New function.
  2047. (ia64_gdbarch_init): Call set_gdbarch_return_value instead of
  2048. set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
  2049. and set_gdbarch_deprecated_use_struct_convention.
  2050. 2007-10-12 Joel Brobecker <brobecker@adacore.com>
  2051. * solib-target.c (solib_target_parse_libraries)
  2052. [HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type.
  2053. 2007-10-12 Jim Blandy <jimb@codesourcery.com>
  2054. * serial.h (struct serial_ops): Document read_prim to return zero
  2055. at EOF.
  2056. * ser-base.c (do_ser_base_readchar): Return SERIAL_EOF when
  2057. read_prim returns zero, not SERIAL_TIMEOUT.
  2058. 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
  2059. * alpha-mdebug-tdep.c: Include "gdb_string.h".
  2060. (find_proc_desc): Add fix-up code for setjmp procedure descriptor.
  2061. * mdebugread.c (parse_procedure): Remove setjmp fix-up code.
  2062. * Makefile.in (alpha-mdebug-tdep.o): Update dependencies.
  2063. * config/alpha/alpha.mt (DEPRECATED_TM_FILE): Remove.
  2064. * config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Remove.
  2065. * config/alpha/alpha-osf1.mt (DEPRECATED_TM_FILE): Remove.
  2066. * config/alpha/fbsd.mt (DEPRECATED_TM_FILE): Remove.
  2067. * config/alpha/tm-alpha.h: Remove file.
  2068. 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
  2069. * breakpoint.c (breakpoint_sals_to_pc): Do not check for
  2070. DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE.
  2071. * config/pa/tm-hppa.h: Delete file.
  2072. * config/pa/hppa64.mt: Do not set DEPRECATED_TM_FILE.
  2073. * config/pa/hppahpux.mt: Likewise.
  2074. * config/pa/hppa.mt: Likewise.
  2075. * config/pa/linux.mt: Likewise.
  2076. * hppa-tdep.c (hppa_pc_requires_run_before_use): Delete.
  2077. 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
  2078. * config/arm/nm-nbsdaout.h: Remove file.
  2079. * config/nm-nbsdaout.h: Likewise.
  2080. * config/nm-nbsd.h: Likewise.
  2081. 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
  2082. * block.h (struct block): Remove "gcc_compile_flag" member.
  2083. (BLOCK_GCC_COMPILED): Remove.
  2084. * block.c (allocate_block): Do not clear BLOCK_GCC_COMPILED.
  2085. * buildsym.c (finish_block): Do not set it.
  2086. * symmisc.c (dump_symtab_1): Do not dump it.
  2087. * value.h (using_struct_return): Remove "gcc_p" argument.
  2088. * value.c (using_struct_return): Likewise.
  2089. * eval.c (evaluate_subexp_standard): Adapt callers.
  2090. * infcall.c (call_function_by_hand): Likewise.
  2091. * stack.c (return_command): Likewise.
  2092. * sparc-tdep.c (sparc32_push_dummy_code): Likewise.
  2093. * gdbarch.sh (push_dummy_code): Remove "using_gcc" parameter.
  2094. * gdbarch.c, gdbarch.h: Regenerate.
  2095. * cris-tdep.c (cris_push_dummy_code): Adapt prototype.
  2096. * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Likewise.
  2097. * sparc-tdep.c (sparc32_push_dummy_code): Likewise.
  2098. * infcall.c (generic_push_dummy_code, push_dummy_code): Likewise.
  2099. (push_dummy_code, call_function_by_hand): Adapt callers.
  2100. 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
  2101. * infcmd.c (print_return_value): Remove STRUCT_RETURN argument.
  2102. (finish_command_continuation, finish_command): Adapt callers.
  2103. 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
  2104. * infcall.c (call_function_by_hand): Remove special handling
  2105. for HP aCC compiled code.
  2106. 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
  2107. * cris-tdep.c (cris_push_dummy_call): Support arguments passed by
  2108. reference. Fix endianness bugs.
  2109. (cris_reg_struct_has_address): Remove.
  2110. (cris_gdbarch_init): Remove set_gdbarch_deprecated_reg_struct_has_addr
  2111. and set_gdbarch_deprecated_use_struct_convention calls.
  2112. * gdbarch.sh (deprecated_reg_struct_has_addr): Remove.
  2113. * gdbarch.c, gdbarch.h: Regenerate.
  2114. * infcall.c (call_function_by_hand): Remove handling of
  2115. deprecated_reg_struct_has_addr.
  2116. 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com>
  2117. Kazu Hirata <kazu@codesourcery.com>
  2118. * breakpoint.c (do_enable_breakpoint): Delay enabling until after
  2119. checking watchpoint resources.
  2120. 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
  2121. * memattr.c (inaccessible_by_default): Change the initial
  2122. value to 1.
  2123. 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com>
  2124. PR gdb/2280
  2125. * coffread.c (read_one_sym): Check for read errors.
  2126. 2007-10-11 Ulrich Weigand <uweigand@de.ibm.com>
  2127. * linux-nat.c (lin_lwp_attach_lwp): Use "Linux kernel 2.6.19"
  2128. instead of "Linux 2.6.19" in comment.
  2129. (linux_xfer_partial): Use "GNU/Linux target" instead of
  2130. "Linux target" in comment.
  2131. * m68klinux-tdep.c (m68k_linux_inferior_created): Likewise.
  2132. (m68k_linux_get_sigtramp_info): Likewise.
  2133. 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com>
  2134. * MAINTAINERS (language support): List Joel and Paul as
  2135. Ada maintainers.
  2136. 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com>
  2137. * dbxread.c (process_one_symbol): Remove VARIABLES_INSIDE_BLOCK
  2138. checks.
  2139. * config/arm/embed.mt, config/arm/linux.mt, config/arm/wince.mt: Do
  2140. not set DEPRECATED_TM_FILE.
  2141. * config/arm/tm-arm.h: Delete file.
  2142. 2007-10-11 Luis Machado <luisgpm@br.ibm.com>
  2143. * MAINTAINERS (Write After Approval): Add self.
  2144. 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com>
  2145. * buildsym.c (record_line): Remove empty lines followed by
  2146. end-of-sequence markers.
  2147. 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
  2148. * configure.tgt: Recognize fido-*-elf.
  2149. 2007-10-10 Joel Brobecker <brobecker@adacore.com>
  2150. GDB 6.7 released.
  2151. 2007-10-10 Markus Deuling <deuling@de.ibm.com>
  2152. * stack.c (print_frame_args, frame_info, return_command): Use
  2153. get_regcache_arch or get_frame_arch to get at the current architecture
  2154. by regcache or by frame, respectively.
  2155. 2007-10-10 Markus Deuling <deuling@de.ibm.com>
  2156. * rs6000-nat.c (fetch_register, store_register)
  2157. (rs6000_fetch_inferior_registers, rs6000_store_inferior_registers): Use
  2158. get_regcache_arch to get at the current architecture by regcache.
  2159. * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_return_value)
  2160. (rs6000_register_reggroup_p, e500_move_ev_registe, rs6000_unwind_pc)
  2161. (rs6000_unwind_dummy_id, rs6000_frame_cache, rs6000_dump_tdep): Replace
  2162. current_gdbarch by gdbarch.
  2163. (rs6000_skip_trampoline_code, rs6000_register_to_value)
  2164. (rs6000_value_to_register): Use get_frame_arch to get at the current
  2165. architecture by frame_info.
  2166. 2007-10-10 Markus Deuling <deuling@de.ibm.com>
  2167. * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow): Use
  2168. get_regcache_arch to get at the current architecture by regcache.
  2169. * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
  2170. (sparc64_supply_fpregset, sparc64_collect_fpregset): Use
  2171. get_regcache_arch to get at the current architecture by regcache.
  2172. * sparc64nbsd-nat. (sparc64nbsd_supply_gregset)
  2173. (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
  2174. (sparc64nbsd_collect_fpregset): Use get_regcache_arch to get at the
  2175. current architecture by regcache.
  2176. 2007-10-10 Markus Deuling <deuling@de.ibm.com>
  2177. * remote-mips.c (mips_wait, mips_fetch_registers)
  2178. (mips_store_registers): Use get_regcache_arch to get at the
  2179. current architecture by regcache.
  2180. * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg)
  2181. (mipsnbsd_supply_fpreg, mipsnbsd_fill_fpreg): Use get_regcache_arch to
  2182. get at the current architecture by regcache.
  2183. (mipsnbsd_sigtramp_offset): Use get_frame_arch to get at the current
  2184. architecture by frame_info.
  2185. * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers)
  2186. (mipsnbsd_store_inferior_registers): Use get_regcache_arch to get at
  2187. the current architecture by regcache.
  2188. * mips-linux-tdep.c (mips_linux_get_longjmp_target)
  2189. (mips64_linux_get_longjmp_target, mips_linux_o32_sigframe_init)
  2190. (mips_linux_n32n64_sigframe_init): Use get_frame_arch to get at the
  2191. current architecture by frame_info.
  2192. (supply_32bit_reg, mips_supply_gregset, mips_fill_gregset)
  2193. (mips_supply_fpregset, mips_fill_fpregset, supply_64bit_reg)
  2194. (mips64_supply_gregset, mips64_fill_gregset, mips64_supply_fpregset)
  2195. (mips64_fill_fpregset, mips_linux_write_pc): Use get_regcache_arch to
  2196. get at the current architecture by regcache.
  2197. * mips-linux-nat.c (mips_linux_register_addr)
  2198. (mips64_linux_register_addr): Replace current_gdbarch by gdbarch.
  2199. (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset)
  2200. (mips64_linux_regsets_fetch_registers)
  2201. (mips64_linux_regsets_store_registers): Use get_regcache_arch to get at
  2202. the current architecture by regcache.
  2203. * mips64obsd-tdep.c (mips64obsd_sigframe_init): Use get_frame_arch to
  2204. get at the current architecture by frame_info.
  2205. 2007-10-10 Markus Deuling <deuling@de.ibm.com>
  2206. * mips-tdep.c (mips_xfer_register): Use get_regcache_arch to get at the
  2207. current architecture by regcache.
  2208. (mips2_fp_compat, mips32_next_pc, mips16_scan_prologue)
  2209. (mips_insn16_frame_cache, mips32_scan_prologue, mips_insn32_frame_cache)
  2210. (mips_stub_frame_cache, mips_read_fp_register_single)
  2211. (mips_read_fp_register_double, mips_print_fp_register)
  2212. (mips_print_register, print_gp_register_row): Use get_frame_arch to get
  2213. at the current architecture by frame_info.
  2214. (mips_register_reggroup_p, mips_pseudo_register_read, mips_unwind_sp)
  2215. (mips_pseudo_register_write, mips_register_type, mips_unwind_pc)
  2216. (mips_unwind_dummy_id, mips_eabi_push_dummy_call)
  2217. (mips_n32n64_push_dummy_call, mips_n32n64_return_value)
  2218. (mips_o32_push_dummy_call, mips_o32_return_value)
  2219. (mips_o64_push_dummy_call, mips_o64_return_value)
  2220. (mips_print_registers_info, mips_dump_tdep): Replace current_gdbarch by
  2221. gdbarch.
  2222. 2007-10-10 Markus Deuling <deuling@de.ibm.com>
  2223. * xtensa-tdep.c (xtensa_register_type, xtensa_pseudo_register_read)
  2224. (xtensa_pseudo_register_write, xtensa_register_reggroup_p)
  2225. (xtensa_unwind_pc, xtensa_unwind_dummy_id, xtensa_push_dummy_call)
  2226. (xtensa_dump_tdep): Replace current_gdbarch by gdbarch.
  2227. (xtensa_register_write_masked, xtensa_register_read_masked)
  2228. (xtensa_supply_gregset, xtensa_store_return_value)
  2229. (xtensa_extract_return_value): Use get_regcache_arch to get at the
  2230. current architecture by regcache.
  2231. (xtensa_frame_cache, call0_frame_get_reg_at_entry, call0_frame_cache)
  2232. (xtensa_frame_prev_register): Use get_frame_arch to get at the current
  2233. architecture by frame_info.
  2234. 2007-10-10 Daniel Jacobowitz <dan@codesourcery.com>
  2235. * arm-tdep.c (struct arm_prologue_cache): Remove frameoffset.
  2236. (thumb_analyze_prologue): Move pv_area_store_would_trash call
  2237. out of loop. Do not set cache->frameoffset.
  2238. (arm_scan_prologue): Use prologue-value mechanism. Do not set
  2239. frameoffset. Simplify framesize.
  2240. (arm_make_prologue_cache, arm_normal_frame_base): Do not use
  2241. frameoffset.
  2242. * arm-tdep.h (enum gdb_regnum): Add ARM_IP_REGNUM.
  2243. 2007-10-10 Daniel Jacobowitz <dan@codesourcery.com>
  2244. * target.c (update_current_target): Call setup_target_debug.
  2245. (push_target): Do not call it here.
  2246. 2007-10-09 Michael Snyder <msnyder@specifix.com>
  2247. * MAINTAINERS: Update my email address.
  2248. 2007-10-09 Markus Deuling <deuling@de.ibm.com>
  2249. * xtensa-tdep.c: Replace following current-gdbarch based macros by
  2250. their expression:
  2251. (xtensa_pseudo_register_read)
  2252. (xtensa_pseudo_register_write): XTENSA_TARGET_FLAGS.
  2253. (ARG_NOF, ARG_1ST, xtensa_extract_return_value)
  2254. (xtensa_store_return_value, xtensa_push_dummy_call): CALL_ABI.
  2255. (xtensa_pseudo_register_read)
  2256. (xtensa_pseudo_register_write): ISA_USE_WINDOWED_REGISTERS.
  2257. (xtensa_breakpoint_from_pc): ISA_USE_DENSITY_INSTRUCTIONS.
  2258. (xtensa_register_type, xtensa_supply_gregset, xtensa_frame_cache)
  2259. (xtensa_frame_prev_register): NUM_AREGS.
  2260. (xtensa_pseudo_register_read, xtensa_pseudo_register_write,
  2261. (xtensa_supply_gregset, xtensa_frame_cache, xtensa_frame_prev_register,
  2262. (xtensa_extract_return_value, xtensa_store_return_value): WB_REGNUM.
  2263. (xtensa_supply_gregset, xtensa_frame_cache)
  2264. (xtensa_frame_prev_register): WS_REGNUM.
  2265. (xtensa_supply_gregset): LBEG_REGNUM, LEND_REGNUM, LCOUNT_REGNUM,
  2266. SAR_REGNUM, EXCCAUSE_REGNUM, EXCVADDR_REGNUM
  2267. (xtensa_register_name, xtensa_register_type, xtensa_reg_to_regnum)
  2268. (xtensa_pseudo_register_read, xtensa_pseudo_register_write)
  2269. (xtensa_register_reggroup_p): REGMAP.
  2270. (call0_track_op): LITBASE_REGNUM.
  2271. (xtensa_register_type, xtensa_reg_to_regnum, call0_frame_cache):A0_BASE
  2272. (xtensa_supply_gregset, call0_frame_get_reg_at_entry)
  2273. (xtensa_frame_prev_register, AREG_NUMBER)
  2274. (xtensa_register_type): AR_BASE.
  2275. (xtensa_pseudo_register_read, xtensa_pseudo_register_write): FP_ALIAS.
  2276. (AREG_NUMBER): AREGS_MASK, WB_MASK, A0_REGNUM.
  2277. (ARG_1ST, xtensa_pseudo_register_read, xtensa_pseudo_register_write)
  2278. (xtensa_frame_cache, xtensa_frame_prev_register)
  2279. (xtensa_extract_return_value, xtensa_store_return_value)
  2280. (xtensa_push_dummy_call, call0_frame_cache): A0_REGNUM.
  2281. (xtensa_register_type, xtensa_pseudo_register_read, xtensa_frame_cache)
  2282. (xtensa_pseudo_register_write, xtensa_unwind_dummy_id)
  2283. (xtensa_frame_prev_register, xtensa_push_dummy_call)
  2284. (call0_frame_cache): A1_REGNUM.
  2285. (xtensa_extract_return_value, xtensa_store_return_value): A2_REGNUM.
  2286. (xtensa_push_dummy_call): A4_REGNUM.
  2287. (ARGS_FIRST_REG): A6_REGNUM.
  2288. (xtensa_pseudo_register_read, xtensa_pseudo_register_write)
  2289. (xtensa_frame_prev_register): A15_REGNUM.
  2290. * xtensa-tdep.h: Delete current_gdbarch based macros after replacing
  2291. them in the appropriate source file:
  2292. XTENSA_TARGET_FLAGS, SPILL_LOCATION, SPILL_SIZE, CALL_ABI, NUM_AREGS,
  2293. ISA_USE_WINDOWED_REGISTERS, ISA_USE_DENSITY_INSTRUCTIONS, WB_REGNUM,
  2294. ISA_USE_EXCEPTIONS, ISA_USE_EXT_L32R, DEBUG_DATA_VADDR_TRAP_COUNT,
  2295. DEBUG_INST_VADDR_TRAP_COUNT, ISA_MAX_INSN_SIZE, DEBUG_NUM_IBREAKS,
  2296. DEBUG_NUM_DBREAKS, WS_REGNUM, LBEG_REGNUM, LEND_REGNUM, SAR_REGNUM,
  2297. REGMAP, LITBASE_REGNUM, DEBUGCAUSE_REGNUM, EXCCAUSE_REGNUM, AR_BASE,
  2298. EXCVADDR_REGNUM, NUM_IBREAKS, REGMAP_BYTES, NUM_CONTEXTS, FP_ALIAS,
  2299. FP_LAYOUT, FP_LAYOUT_BYTES, GREGMAP, AREGS_MASK, WB_MASK, A0_REGNUM,
  2300. A1_REGNUM, A2_REGNUM, A3_REGNUM, A4_REGNUM, A5_REGNUM, A6_REGNUM,
  2301. A7_REGNUM, A8_REGNUM, A9_REGNUM, A10_REGNUM, A11_REGNUM, A12_REGNUM,
  2302. A13_REGNUM, A14_REGNUM, A15_REGNUM.
  2303. 2007-10-09 Markus Deuling <deuling@de.ibm.com>
  2304. * h8300-tdep.c (h8300_frame_cache): Use get_frame_arch to get at
  2305. the current architecture by frame_info.
  2306. (h8300_frame_prev_register
  2307. (h8300_print_register): Replace current_gdbarch by gdbarch.
  2308. (h8300_print_registers_info, h8300_register_type)
  2309. (h8300_register_type): Likewise.
  2310. 2007-10-09 Markus Deuling <deuling@de.ibm.com>
  2311. * i386-linux-nat.c (fetch_register): Use get_regcache_arch to get at
  2312. the current architecture by regcache.
  2313. (store_register, supply_gregset, fill_gregset, i386_linux_resume)
  2314. (i386_linux_fetch_inferior_registers)
  2315. (i386_linux_store_inferior_registers): Likewise.
  2316. * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise.
  2317. * i386-nto-tdep.c (i386nto_supply_gregset): Likewise.
  2318. * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise.
  2319. * i386-tdep.c (i386_unwind_pc): Replace current_gdbarch by gdbarch.
  2320. (i386_extract_return_value, i386_store_return_value): Likewise.
  2321. * i386-tdep.c (i386_frame_prev_register): Use get_frame_arch to get at
  2322. the current architecture by frame_info.
  2323. (i386_sigtramp_frame_cache, i386_get_longjmp_target)
  2324. (i386_register_to_value, i386_value_to_register): Likewise.
  2325. 2007-10-09 Markus Deuling <deuling@de.ibm.com>
  2326. * monitor.c (monitor_supply_register): Use get_regcache_arch to get at
  2327. the current architecture by regcache.
  2328. (monitor_store_register, monitor_store_registers): Likewise.
  2329. 2007-10-09 Markus Deuling <deuling@de.ibm.com>
  2330. * dbug-rom.c (dbug_supply_register): Use get_regcache_arch to get at
  2331. the current architecture by regcache.
  2332. 2007-10-09 Markus Deuling <deuling@de.ibm.com>
  2333. * arch-utils.c (legacy_return_value): Replace current_gdbarch by
  2334. gdbarch.
  2335. 2007-10-09 Markus Deuling <deuling@de.ibm.com>
  2336. * frame.c (frame_pc_unwind): Use get_frame_arch to get at the current
  2337. architecture by frame.
  2338. (frame_save_as_regcache, frame_register_unwind, get_prev_frame_1)
  2339. (inside_main_func, frame_sp_unwind): Likewise.
  2340. 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
  2341. * solib-svr4.c (enable_break): Add the dynamic linker also if
  2342. auxv succeeds.
  2343. 2007-10-09 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  2344. * MAINTAINERS (Write After Approval): Add self.
  2345. 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
  2346. * stabsread.c (read_huge_number): Initialize local variable to 0.
  2347. 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
  2348. * p-lang.h (pascal_main_name): Add declaration.
  2349. * p-lang.c (GPC_P_INITIALIZE, GPC_MAIN_PROGRAM_NAME_1)
  2350. (GPC_MAIN_PROGRAM_NAME_2): New constants.
  2351. (pascal_main_name): New function.
  2352. * symtab.c: Include p-lang.h.
  2353. (find_main_name): Add call to pascal_main_name.
  2354. * Makefile.in (symtab.o): Add dependency on p-lang.h.
  2355. 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
  2356. * stabsread.c (read_huge_number): Fix handling of octal
  2357. representation when the bit width is known.
  2358. (read_range_type): Record unsigned integral types with their size,
  2359. when the type size is known.
  2360. 2007-10-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
  2361. * MAINTAINERS (Write After Approval): Add self.
  2362. 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
  2363. * breakpoint.c (print_one_breakpoint_location): ARI fix:
  2364. Replace asprintf by xstrprintf.
  2365. 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
  2366. * linux-fork.c: ARI fix: include "gdb_dirent.h" instead of <dirent.h>.
  2367. Makefile.in (linux-fork.o): Add gdb_dirent.h dependency.
  2368. 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
  2369. * linux-fork.c: Move "gdb_wait.h" include back to the position of
  2370. <sys/wait.h> include before last commit.
  2371. 2007-10-08 Maciej W. Rozycki <macro@mips.com>
  2372. * mips-tdep.c (mips32_next_pc): Fix a typo in BGTZL.
  2373. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2374. * aix-thread.c (supply_gprs64, supply_fprs, supply_sprs64)
  2375. (supply_sprs32, fetch_regs_user_thread, fetch_regs_kernel_thread)
  2376. (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32)
  2377. (store_regs_user_thread, store_regs_kernel_thread): Use
  2378. get_regcache_arch or get_frame_arch to get at the current architecture
  2379. by regcache or by frame, respectively.
  2380. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2381. * sh64-tdep.c (sh64_push_dummy_call, sh64_register_type)
  2382. (sh64_pseudo_register_read, sh64_pseudo_register_write)
  2383. (sh64_do_fp_register, sh64_do_pseudo_register, sh64_do_register)
  2384. (sh64_print_register, sh64_media_print_registers_info)
  2385. (sh64_compact_print_registers_info, sh64_unwind_sp)
  2386. (sh64_unwind_pc): Replace current_gdbarch by gdbarch.
  2387. (sh64_show_media_regs, sh64_show_compact_regs, sh64_frame_cache)
  2388. (sh64_frame_prev_register): Use FRAME to recognize current
  2389. architecture.
  2390. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2391. * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu)
  2392. (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type)
  2393. (sh_register_reggroup_p, sh_dwarf2_frame_init_reg): Replace
  2394. current_gdbarch by gdbarch.
  2395. (sh_generic_show_regs, sh3_show_reg, sh2e_show_regs, sh2a_show_regs)
  2396. (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs)
  2397. (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs, sh_frame_cache)
  2398. (sh_frame_prev_register, sh_unwind_sp, sh_unwind_pc): Use FRAME to
  2399. recognize current architecture.
  2400. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2401. * remote.c (init_remote_state, fetch_register_using_p)
  2402. (process_g_packet, remote_fetch_registers, remote_prepare_to_store)
  2403. (store_register_using_P, store_registers_using_G)
  2404. (remote_store_registers): Use get_regcache_arch or get_frame_arch to
  2405. get at the current architecture by regcache or by frame, respectively.
  2406. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2407. * m68k-tdep.c (m68k_register_to_value, m68k_value_to_register)
  2408. (m68k_svr4_extract_return_value, m68k_svr4_store_return_value)
  2409. (m68k_frame_prev_register, m68k_get_longjmp_target): Use
  2410. get_regcache_arch or get_frame_arch to get at the current architecture
  2411. by regcache or by frame, respectively.
  2412. * m68klinux-tdep.c (m68k_linux_sigtramp_frame_cache): Likewise.
  2413. * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers)
  2414. (store_register, old_store_inferior_registers, supply_gregset)
  2415. (supply_fpregset, fill_fpregset): Likewise.
  2416. * m68k-tdep.c (m68k_register_type, m68k_unwind_pc, m68k_dump_tdep):
  2417. Replace current_gdbarch by gdbarch.
  2418. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2419. * irix5-nat.c (supply_gregset, fill_gregset, supply_fpregset)
  2420. (fill_fpregset, fetch_core_registers): Use get_regcache_arch or
  2421. get_frame_arch to get at the current architecture by regcache or by
  2422. frame, respectively.
  2423. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2424. * ia64-tdep.c (ia64_pseudo_register_read, ia64_pseudo_register_write):
  2425. Replace current_gdbarch by gdbarch.
  2426. * ia64-tdep.c (ia64_frame_prev_register
  2427. (ia64_sigtramp_frame_prev_register)
  2428. (ia64_libunwind_frame_prev_register): Use get_regcache_arch or
  2429. get_frame_arch to get at the current architecture by regcache or by
  2430. frame, respectively.
  2431. * ia64-linux-nat.c (ia64_linux_fetch_register)
  2432. (ia64_linux_fetch_registers, ia64_linux_store_register)
  2433. (ia64_linux_store_registers): Likewise.
  2434. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2435. * hppa-tdep.c (hppa_stub_unwind_sniffer, hppa_dump_tdep): Replace
  2436. current_gdbarch by gdbarch.
  2437. * hppa-linux-nat.c (fetch_register, store_register)
  2438. (hppa_linux_fetch_inferior_registers)
  2439. (hppa_linux_store_inferior_registers): Use get_regcache_arch or
  2440. get_frame_arch to get at the current architecture by regcache or by
  2441. frame, respectively.
  2442. * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code
  2443. (hppa_hpux_unwind_adjust_stub): Likewise.
  2444. * hppa-hpux-nat.c (hppa_hpux_fetch_register, hppa_hpux_store_register)
  2445. (hppa_hpux_fetch_inferior_registers)
  2446. (hppa_hpux_store_inferior_registers): Likewise.
  2447. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2448. * cris-tdep.c (cris_sigcontext_addr, cris_sigtramp_frame_unwind_cache)
  2449. (cris_scan_prologue, crisv32_scan_prologue, find_step_target)
  2450. (cris_software_single_step, cris_supply_gregset): Use get_regcache_arch
  2451. or get_frame_arch to get at the current architecture by regcache or by
  2452. frame, respectively.
  2453. * cris-tdep.c (crisv32_single_step_through_delay, cris_push_dummy_call)
  2454. (cris_unwind_pc, cris_unwind_sp, cris_register_type, cris_dump_tdep)
  2455. (crisv32_register_type, cris_dwarf2_frame_init_reg): Replace
  2456. current_gdbarch by gdbarch.
  2457. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2458. * arm-tdep.c (arm_scan_prologue, arm_make_prologue_cache)
  2459. (thumb_get_next_pc, arm_get_next_pc, arm_extract_return_value)
  2460. (arm_store_return_value): Use get_regcache_arch or get_frame_arch to
  2461. get at the current architecture by regcache or by·frame, respectively.
  2462. (arm_push_dummy_call, arm_dump_tdep): Replace current_gdbarch by
  2463. gdbarch.
  2464. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2465. * amd64-tdep.c (amd64_frame_prev_register, amd64_sigtramp_frame_cache):
  2466. Use get_regcache_arch or get_frame_arch to get at the current
  2467. architecture by regcache or by frame, respectively.
  2468. * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise.
  2469. * amd64-nat.c (amd64_supply_native_gregset)
  2470. (amd64_collect_native_gregset): Replace current_gdbarch by gdbarch.
  2471. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2472. * alpha-tdep.c (alpha_register_reggroup_p): Replace current_gdbarch by
  2473. gdbarch.
  2474. * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise.
  2475. (alpha_sigtramp_frame_unwind_cache, alpha_sigtramp_frame_this_id)
  2476. (alpha_sigtramp_frame_sniffer, alpha_next_pc): Use get_regcache_arch or
  2477. get_frame_arch to get at the current architecture by regcache or by
  2478. frame, respectively.
  2479. * alpha-nat.c (fetch_osf_core_registers): Likewise.
  2480. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2481. * dwarf2-frame.c (read_reg, execute_cfa_program, dwarf2_frame_cache)
  2482. (dwarf2_frame_default_init_reg, dwarf2_frame_prev_register): Replace
  2483. current_gdbarch by gdbarch.
  2484. * dwarf2loc.c (dwarf2_evaluate_loc_desc): Likewise.
  2485. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2486. * regcache.c (init_regcache_descr, register_type, read_pc_pid)
  2487. (write_pc_pid, regcache_dump): Replace current_gdbarch by gdbarch.
  2488. * regcache.c (regcache_raw_write): Use get_regcache_arch or
  2489. get_frame_arch to get at the current architecture by regcache or by
  2490. frame, respectively.
  2491. 2007-10-08 Markus Deuling <deuling@de.ibm.com>
  2492. * findvar.c (value_of_register, locate_var_value): Use
  2493. get_regcache_arch or get_frame_arch to get at the current architecture
  2494. by regcache or by frame, respectively.
  2495. * findvar.c (default_value_from_register, value_from_register): Replace
  2496. current_gdbarch by gdbarch.
  2497. 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
  2498. * config/i386/nm-i386.h (CHILD_POST_STARTUP_INFERIOR): ARI fix: Remove.
  2499. 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
  2500. * linux-fork.c: ARI fix: include "gdb_wait.h" instead of <sys/wait.h>.
  2501. Makefile.in (linux-fork.o): Add gdb_wait.h dependency.
  2502. 2007-10-05 Daniel Jacobowitz <dan@codesourcery.com>
  2503. * remote.c (get_offsets): Only call free_symfile_segment_data if
  2504. data was allocated.
  2505. 2007-10-03 Pierre Muller <muller@ics.u-strasbg.fr>
  2506. * objc-exp.y: ARI fix: remove 4 PARAMS.
  2507. 2007-10-03 Daniel Jacobowitz <dan@codesourcery.com>
  2508. * NEWS: Use uniform spacing. Correct version number for GDB 6.7
  2509. news. Mention XML support for M68K in GDB 6.7.
  2510. 2007-10-03 Daniel Jacobowitz <dan@codesourcery.com>
  2511. * gdbtypes.c (create_range_type): Do not set TYPE_FIELD_TYPE for the
  2512. bounds.
  2513. (init_vector_type): Use builtin_type_int32.
  2514. 2007-10-02 Ulrich Weigand <uweigand@de.ibm.com>
  2515. * s390-tdep.c (s390_regset_from_core_section): Allow excess section
  2516. size to enable bi-arch generate-core-file support.
  2517. 2007-10-02 Markus Deuling <deuling@de.ibm.com>
  2518. * spu-tdep.c (info_spu_signal_command): Fix output for SPU signal.
  2519. 2007-10-02 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  2520. * tui/tui-interp.c (tui_init): Initialize tui's SIGWINCH
  2521. signal handler.
  2522. * tui/tui-win.c (tui_initialize_win): New function for
  2523. initializing tui's SIGWINCH signal handler.
  2524. * tui/tui-win.h (tui_initialize_win): Declare.
  2525. 2007-10-02 Ulrich Weigand <uweigand@de.ibm.com>
  2526. * ppc-linux-nat.c (ppc_linux_stopped_data_address): Cast
  2527. pointer to uintptr_t before casting to CORE_ADDR.
  2528. 2007-10-02 Markus Deuling <deuling@de.ibm.com>
  2529. * linux-nat.c (PTRACE_GETSIGINFO): Add define.
  2530. 2007-10-02 Mark Mitchell <mark@codesourcery.com>
  2531. * mingw-hdep.c (gdb_select): Stop helper threads before returning.
  2532. * ser-mingw.c (enum select_thread_state): New type.
  2533. (struct ser_console_state): Add have_started and thread_state.
  2534. (select_thread_wait): New function.
  2535. (thread_fn_type): New type.
  2536. (create_select_thread): New function.
  2537. (destroy_select_thread): Likewise.
  2538. (start_select_thread): Likewise.
  2539. (stop_select_thread): Likewise.
  2540. (console_select_thread): Use new functions.
  2541. (pipe_select_thread): Likewise.
  2542. (file_select_thread): Likewise.
  2543. (ser_console_wait_handle): Likewise.
  2544. (ser_console_done_wait_handle): Likewise.
  2545. (ser_console_close): Likewise.
  2546. (free_pipe_state): Likewise.
  2547. (pipe_wait_handle): Likewise.
  2548. (pipe_done_wait_handle): Likewise.
  2549. (struct net_windows_state): Derive from ser_console_state.
  2550. (net_windows_select_thread): Use new functions.
  2551. (net_windows_wait_handle): Likewise.
  2552. (net_windows_done_wait_handle): Likewise.
  2553. (net_windows_close): Likewise.
  2554. 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
  2555. * inflow.c (terminal_ours_1): Remove useless line.
  2556. 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
  2557. * mips-tdep.c (mips_read_fp_register_double): Correct check for
  2558. odd FP registers.
  2559. (mips_print_fp_register): Correct check for even FP registers.
  2560. (mips_virtual_frame_pointer): New function.
  2561. (mips_gdbarch_init): Call set_gdbarch_virtual_frame_pointer.
  2562. 2007-09-30 Mike Frysinger <vapier@gentoo.org>
  2563. * value.h (lookup_only_internalvar): New prototype.
  2564. (create_internalvar): Likewise.
  2565. * value.c (lookup_only_internalvar): New function.
  2566. (create_internalvar): Likewise.
  2567. (lookup_internalvar): Use new lookup_only_internalvar and
  2568. create_internalvar functions.
  2569. * parse.c (write_dollar_variable): Look up $ symbols in internal
  2570. table first rather than last.
  2571. 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
  2572. * linux-nat.c (linux_nat_new_thread): New variable.
  2573. (linux_child_follow_fork): Set inferior_ptid to include LWP ID. Use
  2574. linux_nat_switch_fork.
  2575. (lwp_list): Make public.
  2576. (add_lwp): Call linux_nat_new_thread.
  2577. (lin_lwp_attach_lwp, linux_nat_attach): Call add_lwp after stopping
  2578. the new thread.
  2579. (resume_callback): Clear lp->siginfo. Remove unused variable.
  2580. (linux_nat_resume): Assert that the LWP list is already initialized.
  2581. Clear lp->siginfo.
  2582. (save_siginfo): New.
  2583. (stop_wait_callback, linux_nat_wait): Call it.
  2584. (linux_nat_set_new_thread, linux_nat_get_siginfo): New.
  2585. * linux-nat.h (struct lwp_info): Add siginfo.
  2586. (lwp_list, linux_nat_set_new_thread, linux_nat_get_siginfo): Declare.
  2587. (ALL_LWPS): Define.
  2588. * amd64-linux-nat.c (amd64_linux_dr): New.
  2589. (amd64_linux_dr_get): Take a PTID argument. Correct typo.
  2590. (amd64_linux_dr_set): Take a PTID argument.
  2591. (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use ALL_LWPS.
  2592. (amd64_linux_dr_reset_addr): Use amd64_linux_dr_set_addr.
  2593. (amd64_linux_dr_get_status): Pass inferior_ptid to amd64_linux_dr_get.
  2594. (amd64_linux_new_thread): New.
  2595. (_initialize_amd64_linux_nat): Call linux_nat_set_new_thread.
  2596. * i386-linux-nat.c (i386_linux_dr): New.
  2597. (i386_linux_dr_get, i386_linux_dr_set): Take a PTID argument.
  2598. (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use ALL_LWPS.
  2599. (i386_linux_dr_reset_addr): Use i386_linux_dr_set_addr.
  2600. (i386_linux_dr_get_status): Pass inferior_ptid to i386_linux_dr_get.
  2601. (i386_linux_new_thread): New.
  2602. (i386_linux_resume): Remove unnecessary PID check.
  2603. (_initialize_i386_linux_nat): Call linux_nat_set_new_thread.
  2604. * ia64-linux-nat.c (enable_watchpoints_in_psr): Take PTID argument.
  2605. (fetch_debug_register, fetch_debug_register_pair): Delete.
  2606. (debug_registers): New.
  2607. (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint): Use
  2608. ALL_LWPS and debug_registers.
  2609. (ia64_linux_new_thread): New.
  2610. (ia64_linux_stopped_data_address): Use linux_nat_get_siginfo.
  2611. (_initialize_ia64_linux_nat): Call linux_nat_set_new_thread.
  2612. * ppc-linux-nat.c (last_stopped_data_address): Delete.
  2613. (saved_dabr_value): New.
  2614. (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
  2615. ALL_LWPS.
  2616. (ppc_linux_new_thread): New.
  2617. (ppc_linux_stopped_data_address): Use linux_nat_get_siginfo.
  2618. (ppc_linux_stopped_by_watchpoint): Call ppc_linux_stopped_data_address.
  2619. (_initialize_ppc_linux_nat): Call linux_nat_set_new_thread.
  2620. * s390-nat.c (s390_stopped_by_watchpoint): Clear the watchpoint status
  2621. after reading it.
  2622. (s390_fix_watch_points): Take a PTID argument.
  2623. (s390_insert_watchpoint, s390_remove_watchpoint): Use ALL_LWPS.
  2624. (_initialize_s390_nat): Call linux_nat_set_new_thread.
  2625. 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
  2626. Jeff Johnston <jjohnstn@redhat.com>
  2627. * breakpoint.c (watchpoints_triggered): New.
  2628. (bpstat_stop_status): Remove STOPPED_BY_WATCHPOINT argument.
  2629. Check watchpoint_triggered instead. Combine handling for software
  2630. and hardware watchpoints. Do not use target_stopped_data_address
  2631. here. Always check a watchpoint if its scope breakpoint triggers.
  2632. Do not stop for thread or overlay events. Improve check for
  2633. triggered watchpoints without a value change.
  2634. (watch_command_1): Insert the scope breakpoint first. Link the
  2635. scope breakpoint to the watchpoint.
  2636. * breakpoint.h (enum watchpoint_triggered): New.
  2637. (struct breakpoint): Add watchpoint_triggered.
  2638. (bpstat_stop_status): Update prototype.
  2639. (watchpoints_triggered): Declare.
  2640. * infrun.c (enum infwait_status): Add infwait_step_watch_state.
  2641. (stepped_after_stopped_by_watchpoint): Delete.
  2642. (handle_inferior_event): Make stepped_after_stopped_by_watchpoint
  2643. local. Handle infwait_step_watch_state. Update calls to
  2644. bpstat_stop_status. Use watchpoints_triggered to check
  2645. watchpoints.
  2646. * remote.c (stepped_after_stopped_by_watchpoint): Remove extern.
  2647. (remote_stopped_data_address): Do not check it.
  2648. 2007-09-29 Daniel Jacobowitz <dan@codesourcery.com>
  2649. * configure.ac: Add $LIBINTL when testing libbfd.
  2650. * configure: Regenerated.
  2651. 2007-09-28 Vladimir Prus <vladimir@codesourcery.com>
  2652. * NEW: Mention pending breakpoint changes and
  2653. support for breakpoints at multiple locations.
  2654. 2007-09-27 Daniel Jacobowitz <dan@codesourcery.com>
  2655. * arm-linux-tdep.c (arm_linux_software_single_step): New.
  2656. (arm_linux_init_abi): Use it.
  2657. * arm-tdep.c (arm_get_next_pc): Make global. Handle all-ones
  2658. condition correctly.
  2659. * arm-tdep.h (arm_get_next_pc): Declare.
  2660. * Makefile.in (arm-linux-tdep.o): Update.
  2661. 2007-09-26 Vladimir Prus <vladimir@codesourcery.com>
  2662. * varobj.c (install_new_value): Don't
  2663. call value_get_print_value when a value is
  2664. lazy. Update the print_value member in a
  2665. single place.
  2666. 2007-09-26 Vladimir Prus <vladimir@codesourcery.com>
  2667. * breakpoint.c (create_breakpoint): Set
  2668. condition on each location, not on the first
  2669. location of breakpoint.
  2670. 2007-09-26 Jim Blandy <jimb@codesourcery.com>
  2671. * remote.c (getpkt_sane): Fix error message. No animals were
  2672. harmed in the making of this debugger.
  2673. 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
  2674. * p-typeprint.c: Fix 11 ARI reported problems.
  2675. (pascal_print_type): Fix 4 operator at end of line.
  2676. (pascal_type_print_method_args) : Replace 2 DEPRECATED_STREQN macros
  2677. using strncmp function.
  2678. (pascal_type_print_base): Fix 2 operator at end of line.
  2679. (pascal_type_print_base) : Replace 3 DEPRECATED_STREQN macros
  2680. using strncmp function.
  2681. 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
  2682. * Fix PR pascal/2231
  2683. dwarf2read.c (read_subroutine_type):
  2684. All pascal functions are prototyped.
  2685. 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
  2686. * Fix PR pascal/2283
  2687. p-valprint.c (pascal_val_print): correct current language check.
  2688. Also print array of char as strings.
  2689. 2007-09-26 David Ung <davidu@mips.com>
  2690. Maciej W. Rozycki <macro@mips.com>
  2691. * mips-tdep.c (mips_n32n64_return_value): Fix a comment.
  2692. 2007-09-25 Pierre Muller <muller@ics.u-strasbg.fr>
  2693. * p-exp.y: Fix 12 ARI reported problems.
  2694. (name_not_typename): Fix 2 operator at end of line issues.
  2695. (yylex): Fix 3 operator at end of line issues.
  2696. Replace 7 DEPRECATED_STREQ macros using strcmp function.
  2697. 2007-09-25 David Ung <davidu@mips.com>
  2698. Maciej W. Rozycki <macro@mips.com>
  2699. * mips-tdep.c (mips_n32n64_return_value): Per N32/N64 ABI
  2700. rules return composite types in registers as appropriate.
  2701. 2007-09-24 Jim Blandy <jimb@codesourcery.com>
  2702. * symfile.h (struct symfile_segment_data): Doc fixes.
  2703. * symfile.c (symfile_map_offsets_to_segments): Doc fixes.
  2704. Assert that we were passed some loaded segment addresses,
  2705. and that sections' segment numbers are valid.
  2706. Simplify offset calculation.
  2707. * remote.c (get_offsets): Clarify selection of relocate-by-segment
  2708. strategy, and set num_segments correctly. Delete redundant
  2709. assignments to do_sections.
  2710. 2007-09-24 Daniel Jacobowitz <dan@codesourcery.com>
  2711. * frame.c (get_prev_frame_1): Also check for PC in the same register.
  2712. 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
  2713. * breakpoint.c (remove_sal): New.
  2714. (expand_line_sal_maybe): New.
  2715. (create_breakpoints): Call expand_line_sal_maybe.
  2716. (clear_command): Add comment.
  2717. (breakpoint_re_set_one): Call expand_line_sal_maybe.
  2718. * linespec.c (decode_indirect): Set explicit_pc to 1.
  2719. (decode_all_digits): Set explicit_line to 1.
  2720. (append_expanded_sal): New.
  2721. (expand_line_sal): New.
  2722. * linespec.h (expand_line_sal): Declare.
  2723. * symtab.c (init_sal): Initialize explicit_pc
  2724. and explicit_line.
  2725. * symtab.h (struct symtab_and_line): New fields
  2726. explicit_pc and explicit_line.
  2727. 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
  2728. * infcall.c (call_function_by_hand): Handle language-specific
  2729. pass and return by reference.
  2730. * cp-abi.c (cp_pass_by_reference): New.
  2731. * cp-abi.h (cp_pass_by_reference): Declare.
  2732. (struct cp_abi_ops): Add pass_by_reference.
  2733. * gnu-v3-abi.c (gnuv3_pass_by_reference): New.
  2734. (init_gnuv3_ops): Set pass_by_reference.
  2735. * language.c (language_pass_by_reference): New.
  2736. (default_pass_by_reference): New.
  2737. (unknown_language_defn, auto_language_defn, local_language_defn): Add
  2738. default_pass_by_reference.
  2739. * langauge.h (struct language_defn): Add la_pass_by_reference.
  2740. (language_pass_by_reference, default_pass_by_reference): Declare.
  2741. * ada-lang.c (ada_language_defn): Add default_pass_by_reference.
  2742. * c-lang.c (c_language_defn, asm_language_defn)
  2743. (minimal_language_defn): Likewise.
  2744. (cplus_language_defn): Add cp_pass_by_reference.
  2745. * f-lang.c (f_language_defn): Add default_pass_by_reference.
  2746. * jv-lang.c (java_language_defn): Likewise.
  2747. * m2-lang.c (m2_language_defn): Likewise.
  2748. * objc-lang.c (objc_language_defn): Likewise.
  2749. * p-lang.c (pascal_language_defn): Likewise.
  2750. * scm-lang.c (scm_language_defn): Likewise
  2751. 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
  2752. Allow a code breakpoint to have several locations
  2753. associated with it.
  2754. * breakpoint.h (enum enable_state): Remove the
  2755. bp_shlib_disabled enumerator.
  2756. (struct bp_location): New members shlib_disabled,
  2757. global_next, enabled and function_name.
  2758. Rename pending to condition_not_parsed.
  2759. * breakpoint.c (ALL_BP_LOCATIONS): Iterate over global_next.
  2760. (ALL_BP_LOCATIONS_SAFE): Likewise.
  2761. (breakpoint_enabled): Don't check for pending.
  2762. (condition_command): Free and update all locations of
  2763. a breakpoint.
  2764. (insert_bp_location): Adjust.
  2765. (software_breakpoint_inserted_here_p): Don't care
  2766. if breakpoint is enabled, as soon as it's inserted.
  2767. (print_it_typical): Print bpstat's location, not
  2768. bpstat's breakpoint's location.
  2769. (bpstat_stop_status): Iterate over all locations, not
  2770. all breakpoints.
  2771. (print_breakpoint_location): New.
  2772. (print_one_breakpoint): Renamed to
  2773. (print_one_breakpoint_location): ...this. Take
  2774. parameters to describe which location is being
  2775. printed. Modify code to properly print header
  2776. for several locations and individual locations.
  2777. (print_one_breakpoint): Print all locations.
  2778. (breakpoint_has_pc): New.
  2779. (describe_other_breakpoints): Use the above.
  2780. (check_duplicates): Renamed to...
  2781. (check_duplicates_for): .. this.
  2782. (check_duplicates): Use check_duplicates_for.
  2783. (allocate_bp_location): Adjust.
  2784. (set_raw_breakpoint_without_location): New,
  2785. extracted from set_raw_breakpoint.
  2786. (set_breakpoint_location_function): New.
  2787. (set_raw_breakpoint): Use
  2788. set_raw_breakpoint_without_location.
  2789. (make_breakpoint_permanent): Mark all locations
  2790. as inserted.
  2791. (disable_breakpoints_in_shlibs): Iterate over
  2792. locations.
  2793. (disable_breakpoints_in_unloaded_shlib): Likewise.
  2794. (re_enable_breakpoints_in_shlibs): Likewise.
  2795. (mention): Say "pending" when breakpoint has
  2796. zero locations. If breakpoint has more than one
  2797. location, say so.
  2798. (add_location_to_breakpoint): New.
  2799. (create_breakpoint): Accept symtabs_and_lines, not
  2800. symtab_and_line. Pass extra sals to
  2801. add_location_to_breakpoint.
  2802. (create_breakpoints): Pass symtabs_and_lines to
  2803. create_breakpoints.
  2804. (break_command_1): Make pending breakpoints
  2805. have zero locations.
  2806. (do_captured_breakpoint): Remove wrong allocation.
  2807. (clear_command): Iterate over all locations.
  2808. (unlink_locations_from_global_list): Renamed
  2809. from unlink_location_from_global_list. Remove
  2810. all locations.
  2811. (delete_breakpoint): Remove all locations.
  2812. Iterate over all locations when deciding which
  2813. other location to re-enable.
  2814. (all_locations_are_pending): New.
  2815. (update_breakpoint_locations): Renamed from
  2816. update_breakpoint_location. Try to match old
  2817. and new locations using names of containing
  2818. functions.
  2819. (breakpoint_re_set_one): Adjust.
  2820. (find_location_by_number): New.
  2821. (disable_command): Allow disabling individual location.
  2822. (enable_command): Allow enabling individual location.
  2823. * breakpoint.c: Adjust all uses of breakpoint's
  2824. enable state to for bp_shlib_disabled change.
  2825. 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
  2826. * breakpoint.c (do_restore_lang_radix_cleanup): Remove.
  2827. (resolve_pending_breakpoint): Remove.
  2828. (re_enable_breakpoints_in_shlibs): Remove.
  2829. (unlink_locations_from_global_list): New.
  2830. (update_breakpoint_locations): New.
  2831. (breakpoint_re_set_one): Don't bail out on pending breakpoints.
  2832. Use parse_condition and update_breakpoint_location to
  2833. reset breakpoint. Ignore 'symbol not found' error from
  2834. decode_line_1.
  2835. (breakpoint_re_set): Don't emit newline before the
  2836. reason why breakpoint is not reset.
  2837. (do_enable_breakpoint): Don't specially process pending
  2838. breakpoints.
  2839. (free_bp_location): New.
  2840. (break_command_1): For pending breakpoints, initialize
  2841. all fields of a sal with zeroes.
  2842. * breakpoint.h (re_enable_breakpoints_in_shlibs): Remove.
  2843. * infcmd.c (post_create_inferior): Don't call
  2844. re_enable_breakpoints_in_shlibs.
  2845. * infrun.c (handle_inferior_event): Likewise.
  2846. * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
  2847. * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
  2848. * win32-nat.c (get_win32_debug_event): Likewise.
  2849. 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
  2850. * breakpoint.c (create_breakpoint): Split from
  2851. create_breakpoints, implementing most of its logic.
  2852. Take just a single sal, single address string and
  2853. single condition. Do not take parsed condition at
  2854. all.
  2855. (create_breakpoints): Just call create_breakpoint
  2856. for each sal.
  2857. (find_condition_and_thread): New.
  2858. (break_command_1): Use find_condition_and_thread.
  2859. Do not keep parsed conditions.
  2860. (do_captured_breakpoint): Don't convert
  2861. condition string to struct expression.
  2862. 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
  2863. * breakpoint.h (struct breakpoint): Move the cond
  2864. field to...
  2865. (struct bp_location): Here.
  2866. * breakpoint.c (condition_command, bpstat_stop_status)
  2867. (print_one_breakpoint, allocate_bp_location)
  2868. (solib_load_unload_1, create_fork_vfork_event_catchpoint)
  2869. (create_exec_event_catchpoint, create_breakpoints)
  2870. (break_command_1, watch_command_1, handle_gnu_v3_exceptions)
  2871. (create_ada_exception_breakpoint, set_breakpoint_sal)
  2872. (delete_breakpoint, breakpoint_re_set_one): Adjust.
  2873. * tui/tui-winsource.c (tui_update_breakpoint_info): Adjust.
  2874. 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
  2875. Associate bp_stat with bp_location, not breakpoint.
  2876. * breakpoint.h (breakpoint_at): Change type
  2877. to bp_location*.
  2878. * breakpoint.c (bpstat_alloc): Take bp_location,
  2879. not breakpoint.
  2880. (bpstat_find_breakpoint): Look at bpstat's location's
  2881. owner, not at bpstat->breakpoint_at.
  2882. (bpstat_find_step_resume_breakpoint): Likewise.
  2883. (bpstat_num): Likewise.
  2884. (print_it_typical): Likewise.
  2885. (print_bp_stop_message): Likewise.
  2886. (watchpoint_check): Likewise.
  2887. (bpstat_what): Likewise.
  2888. (bpstat_get_triggered_catchpoints): Likewise.
  2889. (breakpoint_auto_delete): Likewise.
  2890. (delete_breakpoint): Likewise.
  2891. (bpstat_stop_status): Pass location, not breakpoint,
  2892. to bpstat_alloc. Look at bpstat's location's
  2893. owner, not at bpstat->breakpoint_at.
  2894. 2007-09-21 Jim Blandy <jimb@codesourcery.com>
  2895. * macrotab.h (new_macro_table): Document that removing information
  2896. from an obstack/bcache-managed macro table leaks memory.
  2897. * macrotab.c (macro_free, macro_bcache_free): Instead of asserting
  2898. that data is never freed in obstack/bcache-managed macro tables,
  2899. just leak the storage.
  2900. (macro_undef): If we're undefining a macro at exactly the same
  2901. source location that we defined it, simply remove the definition
  2902. altogether.
  2903. 2007-09-21 Joel Brobecker <brobecker@adacore.com>
  2904. * symfile.h (struct sym_fns): Add new field sym_read_linetable.
  2905. * coffread.c, dbxread.c, elfread.c, mipsread.c somread.c:
  2906. Adjust the struct sym_fns object accordingly by setting
  2907. the new field to NULL.
  2908. * xcoffread.c (aix_process_linenos): Make static.
  2909. (xcoff_sym_fns): Set new field to aix_process_linenos.
  2910. * buildsym.c (end_symtab): Replace call to PROCESS_LINENUMBER_HOOK
  2911. by call to new the new sym_fns sym_read_linetable function.
  2912. * config/powerpc/aix.mt (DEPRECATED_TM_FILE): Delete.
  2913. * config/rs6000/tm-rs6000.h: Delete.
  2914. 2007-09-21 David Ung <davidu@mips.com>
  2915. Maciej W. Rozycki <macro@mips.com>
  2916. * mips-tdep.c (mips_n32n64_push_dummy_call): Per N32/N64 ABI
  2917. rules do not treat composite types specially.
  2918. 2007-09-20 Maciej W. Rozycki <macro@mips.com>
  2919. * mips-tdep.c (mips32_in_function_epilogue_p): New function.
  2920. (mips16_in_function_epilogue_p): Likewise.
  2921. (mips_in_function_epilogue_p): Likewise.
  2922. (mips_gdbarch_init): Register mips_in_function_epilogue_p().
  2923. 2007-09-19 Joel Brobecker <brobecker@adacore.com>
  2924. * configure.ac: Add check for "etext".
  2925. * configure, config.in: Regenerate.
  2926. * maint.c (TEXTEND): Only define if either _etext or etext
  2927. are available.
  2928. Disable the profiling functionality if TEXTEND is not defined.
  2929. 2007-09-19 Daniel Jacobowitz <dan@codesourcery.com>
  2930. * mips-tdep.c (mips_stub_frame_cache): Correct the saved return
  2931. address register. Correct the call to frame_id_build.
  2932. (mips_stub_frame_sniffer): Use the stub unwinder when the PC
  2933. is invalid.
  2934. 2007-09-18 Joel Brobecker <brobecker@adacore.com>
  2935. * ia64-tdep.c (refine_prologue_limit): Make sure we don't scan
  2936. the linetable past the function end.
  2937. 2007-09-18 James E. Wilson <wilson@specifix.com>
  2938. * MAINTAINERS: Update my email address.
  2939. 2007-09-18 Jerome Guitton <guitton@adacore.com>
  2940. * inf-ttrace.c (inf_ttrace_private_thread_info): New structure type.
  2941. (inf_ttrace_delete_dying_threads_callback): New function.
  2942. (inf_ttrace_resume): After resuming the execution, iterate over
  2943. the dying threads to delete them for the thread list.
  2944. (inf_ttrace_wait): on TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE,
  2945. mark the corresponding thread as dying instead of removing it
  2946. from the thread list.
  2947. (inf_ttrace_thread_alive): return 0 for dying threads.
  2948. 2007-09-17 Joel Brobecker <brobecker@adacore.com>
  2949. * infrun.c (insert_step_resume_breakpoint_at_frame): Add assertion
  2950. that return_frame is not null.
  2951. 2007-09-17 Joel Brobecker <brobecker@adacore.com>
  2952. * solib-svr4.c: Add include of "auxv.h".
  2953. (enable_break): Use the AT_BASE auxiliary entry if available.
  2954. * Makefile.in (solib-svr4.o): Update dependencies.
  2955. 2007-09-17 Joel Brobecker <brobecker@adacore.com>
  2956. * NEWS: Create a new section for the next release branch.
  2957. Rename the section of the current branch, now that it has
  2958. been cut.
  2959. 2007-09-17 Jerome Guitton <guitton@adacore.com>
  2960. * dwarf2loc.c (dwarf_expr_frame_base): Guard against NULL.
  2961. * Makefile.in (dwarf2loc.o): Depend on gdb_assert.h.
  2962. 2007-09-16 Vladimir Prus <vladimir@codesourcery.com>
  2963. * mi/mi-cmds.c (mi_cmds): Register -list-features.
  2964. * mi/mi-cmds.h (mi_cmd_list_features): New.
  2965. * mi/mi-main.c (mi_cmd_list_features): New.
  2966. 2007-09-11 Joel Brobecker <brobecker@adacore.com>
  2967. GDB 6.7 branch created (branch timestamp: 2007-09-07 14:00 UTC)
  2968. * version.in: Bump version to 6.7.50-20070911-cvs.
  2969. 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com>
  2970. * thread.c (free_thread): Do not delete the step resume breakpoint
  2971. right away.
  2972. 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com>
  2973. * arch-utils.c (gdbarch_info_fill): Also try core_bfd.
  2974. * corelow.c (core_read_description): New.
  2975. (init_core_ops): Set to_read_description.
  2976. * gdbarch.sh: Add gdbarch_core_read_description.
  2977. * mips-linux-tdep.c (mips_linux_core_read_description): New.
  2978. (mips_linux_init_abi): Call set_gdbarch_core_read_description.
  2979. * mips-tdep.c (mips_tdesc_gp32, mips_tdesc_gp64): New.
  2980. (mips_register_g_packet_guesses): Use them.
  2981. (_initialize_mips_tdep): Initialize them.
  2982. * mips-tdep.h (mips_tdesc_gp32, mips_tdesc_gp64): Declare.
  2983. * gdbarch.h, gdbarch.c: Regenerated.
  2984. 2007-09-10 Ulrich Weigand <uweigand@de.ibm.com>
  2985. * infrun.c (stepping_past_breakpoint): New global variable.
  2986. (stepping_past_breakpoint_ptid): Likewise.
  2987. (prepare_to_proceed): Add STEP parameter. Do not check for Ctrl-C.
  2988. Only switch threads if we need to single-step over a breakpoint hit
  2989. in the previously selected thread. If stepping, remember previous
  2990. thread to switch back to in STEPPING_PAST_BREAKPOINT[_PTID]. Call
  2991. switch_to_thread instead of copying its contents.
  2992. (proceed): Pass STEP to prepare_to_proceed. Always set ONEPROC if
  2993. prepare_to_proceed returns true.
  2994. (init_wait_for_inferior): Reset STEPPING_PAST_BREAKPOINT.
  2995. (context_switch): Call switch_to_thread.
  2996. (handle_inferior_event): Switch back to previous thread if requested
  2997. in STEPPING_PAST_BREAKPOINT[_PTID] by prepare_to_proceed.
  2998. * gdbthread.h (switch_to_thread): Add prototype.
  2999. * thread.c (switch_to_thread): Make global.
  3000. 2007-09-07 Pierre Muller <muller@ics.u-strasbg.fr>
  3001. * p-valprint.c: Fix 7 ARI reported problems.
  3002. (pascal_val_print): Fix one operator at end of line issue.
  3003. Use paddress function to remove use of
  3004. deprecated_print_address_numeric function (2 times).
  3005. Use SYMBOL_LINKAGE_NAME instead of DEPRECATED_SYMBOL_NAME.
  3006. (pascal_value_print): Fix 3 operator at end of line issues.
  3007. 2007-09-07 Daniel Jacobowitz <dan@codesourcery.com>
  3008. PR gdb/2103
  3009. * arm-tdep.c (arm_in_call_stub): Delete.
  3010. (arm_skip_stub): Handle from_arm and from_thumb stubs.
  3011. 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
  3012. * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Handle other integer
  3013. types.
  3014. 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
  3015. Jim Blandy <jimb@codesourcery.com>
  3016. * NEWS: Update description of string changes. Mention print/s.
  3017. * c-valprint.c (textual_element_type): New.
  3018. (c_val_print): Use it. Do not skip address printing for pointers
  3019. with a string format.
  3020. (c_value_print): Doc update.
  3021. * dwarf2read.c (read_array_type): Use make_vector_type.
  3022. * gdbtypes.c (make_vector_type): New.
  3023. (init_vector_type): Use it.
  3024. (gdbtypes_post_init): Initialize builtin_true_unsigned_char.
  3025. (_initialize_gdbtypes): Mark int8_t and uint8_t as TYPE_FLAG_NOTTEXT.
  3026. * gdbtypes.h (struct builtin_type): Add builtin_true_unsigned_char.
  3027. (TYPE_FLAG_NOTTEXT, TYPE_NOTTEXT): New.
  3028. (make_vector_type): New.
  3029. * printcmd.c (print_formatted): Only handle 's' and 'i' for examine.
  3030. Call the language print routine for string format.
  3031. (print_scalar_formatted): Call val_print for string format. Handle
  3032. unsigned original types for char format.
  3033. (validate_format): Do not reject string format.
  3034. * stabsread.c (read_type): Use make_vector_type.
  3035. * xml-tdesc.c (tdesc_start_vector): Use init_vector_type.
  3036. 2007-09-04 Michael Snyder <msnyder@access-company.com>
  3037. * expprint.c (print_subexp_standard): Check strchr for null.
  3038. * Makefile.in (expprint.o): Depend on gdb_assert.h.
  3039. * gnu-v2-abi.c (gnuv2_value_rtti_type): Guard against null.
  3040. * stabsread.c (patch_block_status): Guard against null.
  3041. * Makefile.in (stabsread.o): Depend on gdb_assert.h.
  3042. 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
  3043. * printcmd.c (printf_command): Handle ptr_arg. Correct typo
  3044. in internal error message.
  3045. 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt>
  3046. Daniel Jacobowitz <dan@codesourcery.com>
  3047. * infcmd.c (post_create_inferior): Update comment.
  3048. (run_command_1): Always call post_create_inferior with 0 as
  3049. from_tty.
  3050. * i386-cygwin-tdep.h: New.
  3051. * i386-cygwin-tdep.c: Include "i386-cygwin-tdep.h".
  3052. (win32_xfer_shared_library): Make it extern.
  3053. * win32-nat.c: Include gdb_obstack.h and xml-support.h and
  3054. i386-cygwin-tdep.h.
  3055. (win32_so_ops): Delete.
  3056. (get_relocated_section_addrs): Delete.
  3057. (solib_symbols_add): Delete.
  3058. (register_loaded_dll): Delete.
  3059. (win32_make_so): New.
  3060. (handle_load_dll): Use win32_make_so.
  3061. (win32_free_so): Free the passed in so.
  3062. (win32_relocate_section_addresses): Delete.
  3063. (win32_solib_create_inferior_hook): Delete.
  3064. (handle_unload_dll): Don't add PE offset here. Free so with
  3065. win32_free_so instead of free_so.
  3066. (win32_special_symbol_handling): Delete.
  3067. (get_win32_debug_event): Remove unneeded calls. Set state to
  3068. TARGET_WAITKIND_LOADED on a dll unload.
  3069. (do_initial_win32_stuff): Clear cygwin_load_start and
  3070. cygwin_load_end.
  3071. (map_code_section_args): Delete.
  3072. (dll_code_sections_add): Delete.
  3073. (core_section_load_dll_symbols): Delete.
  3074. (win32_xfer_shared_libraries): New.
  3075. (win32_current_sos): Delete.
  3076. (win32_xfer_partial): New.
  3077. (open_symbol_file_object): Delete.
  3078. (in_dynsym_resolve_code): Delete.
  3079. (init_win32_ops): Set win32_xfer_partial as to_xfer_partial member
  3080. of win32_ops. Remove win32_so_ops settings. Don't set
  3081. current_target_so_ops here.
  3082. * Makefile.in (i386_cygwin_tdep_h): New variable.
  3083. (i386-cygwin-tdep.o): Update dependencies.
  3084. (win32-nat.o): Update dependencies.
  3085. 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt>
  3086. Daniel Jacobowitz <dan@codesourcery.com>
  3087. * gdbarch.sh (core_xfer_shared_libraries): New.
  3088. * corelow.c (core_xfer_partial): Handle TARGET_OBJECT_LIBRARIES.
  3089. * gdb_obstack.h (obstack_grow_str, obstack_grow_str0): New.
  3090. * xml-support.c (gdb_xml_parse): Debug output tweaks.
  3091. (xml_escape_text): New.
  3092. * xml-support.h (xml_escape_text): Declare.
  3093. * config/i386/cygwin.mh (NATDEPFILES): Move corelow.o to ...
  3094. * config/i386/cygwin.mt (TDEPFILES): ... here.
  3095. * win32-nat.c: (fetch_elf_core_registers): Delete.
  3096. (win32_elf_core_fn): Delete.
  3097. (_initialize_core_win32): Delete.
  3098. * i386-cygwin-tdep.c: Include "regset.h", "gdb_objstack.h",
  3099. "xml-support.h" and "gdbcore.h".
  3100. (i386_win32_gregset_reg_offset): New.
  3101. (I386_WIN32_SIZEOF_GREGSET): New.
  3102. (i386_win32_regset_from_core_section): New.
  3103. (win32_xfer_shared_library): New.
  3104. (struct cpms_data): New.
  3105. (core_process_module_section): New.
  3106. (win32_core_xfer_shared_libraries): New.
  3107. (i386_cygwin_skip_trampoline_code): Register gregset_reg_offset,
  3108. gregset_num_regs, sizeof_gregset members of tdep. Register
  3109. regset_from_core_section and core_xfer_shared_libraries callbacks.
  3110. * Makefile.in (i386-cygwin-tdep.o): Update dependencies.
  3111. * gdbarch.h, gdbarch.c: Regenerate.
  3112. 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com>
  3113. * corelow.c (core_xfer_partial): Pass writebuf to
  3114. deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case.
  3115. 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
  3116. * arm-tdep.h (arm_skip_stub): Declare.
  3117. * arm-wince-tdep.c: Don't include "solib-svr4.h". Include
  3118. "gdbcore.h".
  3119. (arm_pe_skip_trampoline_code): New function.
  3120. (arm_wince_init_abi): Register arm_pe_skip_trampoline_code as
  3121. gdbarch_skip_trampoline_code callback.
  3122. * Makefile.in (arm-wince-tdep.o): Update dependencies.
  3123. 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com>
  3124. * MAINTAINERS: Move Fred Fish to Past Maintainers.
  3125. 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com>
  3126. * configure.ac: Add --with-expat.
  3127. * configure: Regenerated.
  3128. 2007-09-03 Andreas Schwab <schwab@suse.de>
  3129. * configure.ac: Accept --with-system-readline.
  3130. (READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute.
  3131. * configure: Regenerate.
  3132. * Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use
  3133. substituted values.
  3134. (CDEPS): Use $(READLINE_DEPS) instead of $(READLINE).
  3135. 2007-09-03 Maxim Grigoriev <maxim2405@gmail.com>
  3136. Daniel Jacobowitz <dan@codesourcery.com>
  3137. * mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters.
  3138. 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
  3139. * top.c (print_gdb_version): Fixed a string end-of-line compiler error.
  3140. 2007-09-02 Daniel Jacobowitz <dan@codesourcery.com>
  3141. * top.c (print_gdb_version): Update for GPL version 3.
  3142. 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
  3143. * NEWS: Mention the build-id .debug files verification.
  3144. 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
  3145. * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow.
  3146. 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
  3147. * Makefile.in (symfile.o): Update dependencies.
  3148. * symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the
  3149. DEBUGFILE variable. FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS.
  3150. (struct build_id): New structure.
  3151. (build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New.
  3152. (find_separate_debug_file): New variable BUILD_ID.
  3153. Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try.
  3154. 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
  3155. * varobj.c (struct varobj): Fix comment
  3156. for the type member not to lie when it can be
  3157. NULL.
  3158. 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
  3159. Implement -var-info-path-expression.
  3160. * mi/mi-cmds.h (mi_cmd_var_info_path_expression):
  3161. Declare.
  3162. * mi/mi-cmds.c (mi_cmds): Register var-info-path-expression.
  3163. * mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New.
  3164. * varobj.c (struct varobj): New field 'path_expr'.
  3165. (c_path_expr_of_child, cplus_path_expr_of_child)
  3166. (java_path_expr_of_child): New.
  3167. (struct language_specific): New field path_expr_of_child.
  3168. (varobj_create): Initialize the path_expr field.
  3169. (varobj_get_path_expr): New.
  3170. (new_variable): Initialize the path_expr field.
  3171. (free_variable): Free the path_expr field.
  3172. (adjust_value_for_children_access): New parameter
  3173. WAS_TYPE.
  3174. (c_number_of_children): Adjust.
  3175. (c_describe_child): New parameter CFULL_EXPRESSION.
  3176. Compute full expression.
  3177. (c_value_of_child, c_type_of_child): Adjust.
  3178. (cplus_number_of_children): Adjust.
  3179. (cplus_describe_child): New parameter CFULL_EXPRESSION.
  3180. Compute full expression.
  3181. (cplus_name_of_child, cplus_value_of_child)
  3182. (cplus_type_of_child): Adjust.
  3183. * varobj.h (varobj_get_path_expr): Declare.
  3184. 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
  3185. * mi/mi-cmd-var.c (print_varobj): If a varobj
  3186. type is NULL, don't try to print it.
  3187. 2007-08-30 Alan Modra <amodra@bigpond.net.au>
  3188. * ppc-linux-nat.c (right_fill_reg): Delete.
  3189. (supply_gregset): Use ppc_supply_gregset.
  3190. (supply_fpregset): Use ppc_supply_fpregset.
  3191. (fill_gregset): Use ppc_collect_gregset.
  3192. (fill_fpregset): Use ppc_collect_fpregset.
  3193. * ppc-linux-tdep.c (PPC_LINUX_PT_*): Don't define.
  3194. (right_supply_register, ppc_linux_supply_gregset): Delete.
  3195. (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): Delete.
  3196. (ppc_linux_supply_fpregset): Delete.
  3197. (ppc_linux_collect_gregset): New function.
  3198. (ppc32_linux_reg_offsets, ppc64_linux_reg_offsets): New.
  3199. (ppc32_linux_gregset, ppc64_linux_gregset): Update to use reg offsets,
  3200. ppc_linux_supply_gregset, and ppc_collect_gregset.
  3201. (ppc_linux_fpregset): Rename to ppc32_linux_fpregset and update.
  3202. (ppc_linux_gregset, ppc_linux_fpregset): New functions.
  3203. (ppc_linux_regset_from_core_section): Update.
  3204. * ppc-tdep.h (ppc_linux_gregset, ppc_linux_fpregset): Declare.
  3205. (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Delete.
  3206. (struct ppc_reg_offsets): Add gpr_size, xr_size, fpscr_size fields.
  3207. * ppcobsd-tdep.c (ppcobsd_supply_gregset): Delete FIXME and assert.
  3208. (ppcobsd_collect_gregset): Likewise.
  3209. (_initialize_ppcnbsd_tdep): Init gpr_size, xr_size, fpscr_size.
  3210. * ppcnbsd-tdep.c (_initialize_ppcobsd_tdep): Likewise.
  3211. * ppcobsd-nat.c (_initialize_ppcobsd_nat): Likewise.
  3212. * rs6000-aix-tdep.c (rs6000_aix32_reg_offsets): Likewise.
  3213. (rs6000_aix64_reg_offsets): Likewise.
  3214. (rs6000_aix_supply_regset): Call ppc_supply_fpregset without testing
  3215. ppc_floating_point_unit_p.
  3216. (rs6000_aix_collect_regset): Similarly.
  3217. * rs6000-tdep.c (ppc_supply_reg): Add regsize param. Adjust offset
  3218. when regsize is larger than regcache register size.
  3219. (ppc_collect_reg): Similarly zero pad when regsize is larger than
  3220. regcache register size.
  3221. (ppc_greg_offset): New function, split out from..
  3222. (ppc_supply_gregset): ..here. Separate code handling all regs from
  3223. single reg case. Correct xer offset.
  3224. (ppc_fpreg_offset): New function, split out from..
  3225. (ppc_supply_fpregset): ..here. Separate code handling all regs from
  3226. single reg case.
  3227. (ppc_collect_gregset, ppc_collect_fpregset): Likewise.
  3228. (ppc_supply_fpregset, ppc_collect_fpregset): Don't assert we have
  3229. a fp unit, instead return if no fp.
  3230. 2007-08-29 Jim Blandy <jimb@codesourcery.com>
  3231. * breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block;
  3232. this code has not been compiled for two years.
  3233. 2007-08-29 Michael Snyder <msnyder@access-company.com>
  3234. * event-top.c (gdb_readline2): Return after EOF.
  3235. 2007-08-29 Joel Brobecker <brobecker@adacore.com>
  3236. * symtab.c: Remove a function that has been commented out 3 years ago.
  3237. 2007-08-29 Randolph Chung <tausq@debian.org>
  3238. * hppa-tdep.c (hppa32_cannot_fetch_register)
  3239. (hppa64_cannot_fetch_register): New functions.
  3240. (hppa_gdbarch_init): Set cannot_fetch_register appropriately.
  3241. * hppa-tdep.h (hppa_regnum): Add HPPA_CR26_REGNUM.
  3242. 2007-08-28 Michael Snyder <msnyder@access-company.com>
  3243. * mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to
  3244. check for null before calling check_typedef.
  3245. * NEWS: Mention Coverity bug fixes.
  3246. 2007-08-27 Markus Deuling <deuling@de.ibm.com>
  3247. * spu-tdep.c (spu_pointer_to_address): New function.
  3248. (spu_integer_to_address): Likewise.
  3249. (spu_gdbarch_init): Add spu_pointer_to_address and
  3250. spu_integer_to_address to gdbarch.
  3251. 2007-08-26 Pedro Alves <pedro_alves@portugalmail.pt>
  3252. * arm-wince-tdep.c (ARM_WINCE_JB_PC): Change to 10.
  3253. 2007-08-23 Joel Brobecker <brobecker@adacore.com>
  3254. * Makefile.in (copying.c): Use the top-level COPYING3 as the file
  3255. that contains the GDB license.
  3256. * copying.awk: Adjust to the GPLv3 wording.
  3257. * copying.c: Regenerate.
  3258. 2007-08-23 Joel Brobecker <brobecker@adacore.com>
  3259. * copying.awk: Protoization, and i18n markup.
  3260. 2007-08-23 Joel Brobecker <brobecker@adacore.com>
  3261. * config/djgpp/djconfig.sh: Switch license to GPLv3.
  3262. * copyright.sh: Likewise.
  3263. * gdb-events.sh: Likewise.
  3264. * gdb_gcore.sh: Likewise.
  3265. * gdb_mbuild.sh: Likewise.
  3266. * gdbarch.sh: Likewise.
  3267. * observer.sh: Likewise.
  3268. * features/feature_to_c.sh: Likewise.
  3269. * regformats/regdat.sh: Likewise.
  3270. 2007-08-23 Joel Brobecker <brobecker@adacore.com>
  3271. Switch the license of all .c files to GPLv3.
  3272. Switch the license of all .h files to GPLv3.
  3273. Switch the license of all .cc files to GPLv3.
  3274. 2007-08-23 Joel Brobecker <brobecker@adacore.com>
  3275. * configure.ac: Switch license to GPLv3.
  3276. 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
  3277. * mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP to
  3278. determine the file's FPU type.
  3279. 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
  3280. * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New.
  3281. (mips_n32n64_push_dummy_call): Always increment float_argreg along
  3282. with argreg. Use mips_n32n64_fp_arg_chunk_p.
  3283. 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
  3284. * solib-svr4.c (scan_dyntag): Only read target memory when necessary.
  3285. Fix formatting.
  3286. (elf_locate_base): Look for DT_MIPS_RLD_MAP first. Expand comments.
  3287. (elf_lookup_lib_symbol): Fix formatting.
  3288. 2007-08-21 Michael Snyder <msnyder@access-company.com>
  3289. * dbxread.c (read_dbx_symtab): Guard null deref.
  3290. Break up long line.
  3291. * valops.c (find_overload_match): Guard against NULL.
  3292. 2007-08-21 Daniel Jacobowitz <dan@codesourcery.com>
  3293. * MAINTAINERS (Patch Champions): Remove self.
  3294. 2007-08-21 Chris Smith <chris.smith@st.com>
  3295. * cli/cli-script.c (read_command_lines): Call dont_repeat for each
  3296. line.
  3297. 2007-08-18 Michael Snyder <msnyder@access-company.com>
  3298. * stabsread.c (dbx_lookup_type): Memory leak.
  3299. * event-loop.c (delete_async_signal_handler): Move pointer null
  3300. test to before pointer dereference.
  3301. * ui-out.c (append_header_to_list): Possible cut and paste error.
  3302. * MAINTAINERS: white space tweak.
  3303. 2007-08-17 Michael Snyder <msnyder@access-company.com>
  3304. * stack.c (print_frame): Memory leak.
  3305. * completer.c (filename_completer): Avoid memory leak.
  3306. Remove unnecessary nested block.
  3307. * c-exp.y (parse_number): Memory leak.
  3308. * completer.c (location_completer): Must free 'fn_list', except
  3309. in the one case where it is returned (as 'list').
  3310. * varobj.c (value_of_root): Memory leak.
  3311. * gdbtypes.h (virtual_base_list): Remove export decl.
  3312. * gdbtypes.c (virtual_base_list): Make static. Not called outside.
  3313. (virtual_base_index): Memory leak.
  3314. (virtual_base_index_skip_primaries): Ditto.
  3315. 2007-08-17 Maxim Grigoriev <maxim2405@gmail.com>
  3316. * xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS)
  3317. (C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS)
  3318. (C0_CONST, C0_INEXP, C0_NOSTK): New macros.
  3319. (xtensa_read_register): New function.
  3320. (xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg)
  3321. (xtensa_insn_kind): New types.
  3322. (xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache)
  3323. (xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue)
  3324. (xtensa_verify_config, xtensa_pseudo_register_read)
  3325. (xtensa_pseudo_register_write, xtensa_extract_return_value)
  3326. (xtensa_store_return_value)
  3327. (xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI.
  3328. (windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id)
  3329. (xtensa_frame_this_id, xtensa_frame_prev_register)
  3330. (xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes.
  3331. (call0_frame_cache, call0_frame_get_reg_at_entry)
  3332. (call0_classify_opcode, call0_track_op)
  3333. (call0_analyze_prologue, call0_frame_cache): New functions.
  3334. 2007-08-17 Vladimir Prus <vladimir@codesourcery.com>
  3335. * breakpoint.c (bpstat_free): New.
  3336. (bpstat_clear): Use bpstat_free.
  3337. (delete_breakpoint): Document why we cannot
  3338. remove bpstats from stop_bpstat.
  3339. * breakpoint.h (bpstat_free): Declare.
  3340. 2007-08-16 Michael Snyder <msnyder@access-company.com>
  3341. * event-loop.c (gdb_wait_for_event): Move statement into "if" block.
  3342. 2007-08-15 Paul Hilfinger <hilfinger@adacore.com>
  3343. Joel Brobecker <brobecker@adacore.com>
  3344. * ada-lang.c (resolve_subexp): Correct arity of binary operators.
  3345. 2007-08-15 Paul Hilfinger <hilfinger@adacore.com>
  3346. Joel Brobecker <brobecker@adacore.com>
  3347. * ada-lang.c (possible_user_operator_p): Alternative fix to last
  3348. checkin guarding against NULL.
  3349. 2007-08-14 Michael Snyder <msnyder@access-company.com>
  3350. * tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c,
  3351. tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c,
  3352. tui-wingeneral.c, tui-winsource.c: Coding standard, && and ||
  3353. go at beginning of new line.
  3354. * tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c,
  3355. tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c,
  3356. tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h,
  3357. tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c,
  3358. tui-winsource.h, tui.c, tui.h: Function declarations and
  3359. definitions, wrap long lines.
  3360. * tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c,
  3361. tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c:
  3362. Reformat block comments to GNU standard.
  3363. * tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c,
  3364. tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c,
  3365. tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c,
  3366. tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h,
  3367. tui.c, tui.h: Comment reformatting to coding standard (capitals,
  3368. spaces after periods, etc).
  3369. * tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c,
  3370. tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c,
  3371. tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c,
  3372. tui-winsource.h: Whitespace changes, fix pointer declarations
  3373. to be consistant.
  3374. 2007-08-14 Joel Brobecker <brobecker@adacore.com>
  3375. Michael Snyder <msnyder@access-company.com>
  3376. * ada-lang.c (field_alignment): Guard against NULL.
  3377. 2007-08-14 Joel Brobecker <brobecker@adacore.com>
  3378. * MAINTAINERS (Global Maintainers): Add self.
  3379. 2007-08-14 Michael Snyder <msnyder@access-company.com>
  3380. * mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable.
  3381. * ada-lang.c (possible_user_operator_p): Guard against NULL.
  3382. * varobj.c (cplus_describe_child): Guard against null.
  3383. Use "NULL" instead of "0" to initialize pointers.
  3384. 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com>
  3385. * arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings
  3386. to match any gdbarch with matching OSABI. Set default ABI and FPU
  3387. after running the OSABI handler.
  3388. 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com>
  3389. * config/i386/linux.mh (NATDEPFILES): Move corelow.o from here...
  3390. * config/i386/linux.mt (TDEPFILES): ...to here.
  3391. 2007-08-14 Vladimir Prus <vladimir@codesourcery.com>
  3392. * breakpoint.c (disable_breakpoints_in_shlibs): Remove
  3393. the 'silent' parameter and code to implement that.
  3394. * breakpoint.h (disable_breakpoints_in_shlibs): Adjust
  3395. prototype.
  3396. * win32-nat.c: Adjust.
  3397. * solib.c: Adjust.
  3398. 2007-08-14 Vladimir Prus <vladimir@codesourcery.com>
  3399. * breakpoint.c (update_breakpoints_after_exec): Don't
  3400. set address to zero.
  3401. 2007-08-13 Michael Snyder <msnyder@access-company.com>
  3402. * valops.c: Whitespace clean-up.
  3403. * tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation.
  3404. * event-top.c (command_line_handler): Memory leak.
  3405. * mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak.
  3406. No need to make copy.
  3407. * source.c (find_source_lines): Require symtab 's'.
  3408. 2007-08-11 Michael Snyder <msnyder@access-company.com>
  3409. * completer.c: Spelling fix in comments.
  3410. 2007-08-10 Michael Snyder <msnyder@access-company.com>
  3411. * gdbtypes.c: Coding standard cleanup.
  3412. * gdbtypes.c: Comment/whitespace cleanup.
  3413. * stabsread.c (read_huge_number): Attempt to compute value before
  3414. values that it depends on.
  3415. * linespec.c (decode_dollar): Dead code, ptr can't be non-null.
  3416. (decode_objc): Use "NULL" instead of 0.
  3417. (find_method): Ditto.
  3418. (decode_all_digits): Ditto.
  3419. (decode_dollar): Ditto.
  3420. * mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak.
  3421. * mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak.
  3422. * solib-svr4.c (enable_break): Don't free tmp_pathname until
  3423. after closing bfd.
  3424. * completer.c: Comment/whitespace cleanup.
  3425. 2007-08-10 Joel Brobecker <brobecker@adacore.com>
  3426. * Makefile.in (i386nbsd-nat.o): Add missing dependency.
  3427. 2007-08-10 Maxim Grigoriev <maxim2405@gmail.com>
  3428. * remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly
  3429. allocated file descriptors.
  3430. 2007-08-10 Joel Brobecker <brobecker@adacore.com>
  3431. * Makefile.in: Minor cleanup throughout; add some missing variables,
  3432. add some missing rules, remove some rules that are no longer needed,
  3433. and fix the dependencies in several rules.
  3434. 2007-08-10 Ludovic Courtès <ludo@gnu.org>
  3435. * Makefile.in (SFILES): Add scm-{exp,lang,valprint}.c.
  3436. (scm_lang_h, scm_tags_h): New.
  3437. (COMMON_OBS): Add scm-{exp,lang,valprint}.o.
  3438. (scm-exp.o, scm-lang.o, scm-valprint.o): New targets.
  3439. * defs.h (enum language): Add `language_scm'.
  3440. * MAINTAINERS: Add Emacs local variables to use UTF-8 upon
  3441. opening.
  3442. 2007-08-09 Ludovic Courtès <ludo@gnu.org>
  3443. * MAINTAINERS (Write After Approval): Add myself.
  3444. 2007-08-09 Michael Snyder <msnyder@access-company.com>
  3445. * solib.c (solib_open): Memory leak -- openp returns xmalloc buffer.
  3446. 2007-08-09 Joel Brobecker <brobecker@adacore.com>
  3447. * solib-som.c (som_relocate_section_addresses): Stop saving
  3448. the $CODE$ section in the so_list structure.
  3449. 2007-08-08 Maxim Grigoriev <maxim2405@gmail.com>
  3450. * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): New.
  3451. (xtensa_register_group_t): Add entries for coprocessors.
  3452. * xtensa-tdep.c (xtensa_init_reggroups): New register groups.
  3453. (xtensa_add_reggroups): Likewise.
  3454. (xtensa_register_reggroup_p): Likewise.
  3455. (xtensa_coprocessor_register_group): New function.
  3456. (xtensa_cp): New.
  3457. 2007-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
  3458. * serial.c (serial_open): Fix the OPEN parameter macro expansion.
  3459. 2007-08-08 Michael Snyder <msnyder@access-company.com>
  3460. * target.c (target_read_string): Guard against null.
  3461. * varobj.c (value_of_root): Move alloc after return to avoid leak.
  3462. * tui/tui-layout.c (tui_set_layout): Dead code, dead variable.
  3463. (tui_set_layout_for_display_command): Mem leak.
  3464. * top.c (command_line_input): Memory leak.
  3465. * solib-svr4.c (open_symbol_file_object): Memory leak.
  3466. (svr4_current_sos): Ditto.
  3467. (enable_break): Ditto.
  3468. * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Memory leak.
  3469. * dwarf2read.c (add_partial_symbol): Memory leak.
  3470. 2007-08-06 Michael Snyder <msnyder@access-company.com>
  3471. * ada-lang.c (desc_bounds): Comparison of function address to NULL.
  3472. 2007-08-05 Jim Blandy <jimb@codesourcery.com>
  3473. * macroexp.c (init_buffer): Remove testing code that overrides the
  3474. caller's length guess.
  3475. (gather_arguments): Use a larger initial size, now that the vector
  3476. growth code has been exercised.
  3477. 2007-08-05 Pedro Alves <pedro_alves@portugalmail.pt>
  3478. * solib-target.c (solib_target_relocate_section_addresses): Add
  3479. orig_delta to addr_high.
  3480. 2007-08-04 Michael Snyder <msnyder@access-company.com>
  3481. * remote-fileio.c (remote_fileio_func_write): Memory leak.
  3482. * breakpoint.c (print_one_breakpoint): Off by one error.
  3483. * tracepoint.c (add_register): Off by one error.
  3484. (stringify_collection_list): Free malloc buffer.
  3485. 2007-08-03 Michael Snyder <msnyder@access-company.com>
  3486. * mi-cmd-var.c (mi_cmd_var_delete): Remove unused variable,
  3487. stop memory leak, straighten out cleanups.
  3488. * jv-lang.c (java_link_class_type): Guard against NULL.
  3489. 2007-08-02 Michael Snyder <msnyder@access-company.com>
  3490. * gdbtypes.c (create_set_type): Test should only be done within
  3491. the preceeding if block. Otherwise, variable is uninitialized.
  3492. * gdbtypes.c (check_typedef): Guard NULL.
  3493. 2007-08-01 Michael Snyder <msnyder@access-company.com>
  3494. * cli/cli-decode.c (lookup_cmd): Check for null earlier, to
  3495. avoid dereference in lookup_cmd_1.
  3496. * tui/tui-data.c (tui_alloc_content): Move assign out of if,
  3497. clean up long lines.
  3498. (tui_alloc_generic_win_info): Tidy by using XMALLOC macro.
  3499. (tui_alloc_win_info): Ditto.
  3500. (tui_add_content_elements): Ditto.
  3501. * tui/tui-file.c (tui_file_magic): Ditto.
  3502. 2007-07-31 Michael Snyder <msnyder@access-company.com>
  3503. * breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'.
  3504. True and false paths are mutually exclusive.
  3505. * event-top.c (command_line_handler): Add pedantic return.
  3506. * f-valprint.c (info_common_command): Bail out to prevent null
  3507. pointer deref. Break up a long line.
  3508. * exec.c (xfer_memory): Remove redundant condition from 'if'.
  3509. * symfile.c (reread_separate_symbols): Free xmalloced memory.
  3510. * printcmd.c (build_address_symbolic): Remove dead code and dead
  3511. variable.
  3512. 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
  3513. * linespec.c (minsym_found): Advance to the next line if possible.
  3514. 2007-07-31 Pedro Alves <pedro_alves@portugalmail.pt>
  3515. * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call.
  3516. * config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and
  3517. solib-svr4.o, and add solib-target.o
  3518. 2007-07-27 Michael Snyder <msnyder@access-company.com>
  3519. * tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof.
  3520. 2007-07-26 Maciej W. Rozycki <macro@linux-mips.org>
  3521. * MAINTAINERS (Write After Approval): Add myself.
  3522. 2007-07-26 Maciej W. Rozycki <macro@mips.com>
  3523. * Makefile.in (MAKEHTMLFLAGS): Also search the current directory
  3524. for include files.
  3525. 2007-07-25 Maciej W. Rozycki <macro@mips.com>
  3526. * Makefile.in (MAKEHTMLFLAGS): Remove "-glossary".
  3527. 2007-07-24 Michael Snyder <msnyder@access-company.com>
  3528. * solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of
  3529. 'buffer' must cover both branches that call strcmp (Coverity).
  3530. * stack.c (print_frame_args): Check return value of lookup_symbol.
  3531. * ax-gdb.c (find_field): Guard against null ptr.
  3532. 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com>
  3533. * regformats/reg-spu.dat: Fix order of npc, id registers.
  3534. 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com>
  3535. * target.c (memory_xfer_partial): Accesses to unmapped overlay
  3536. sections should always go to the executable file.
  3537. 2004-07-20 Chris Dearman <chris@mips.com>
  3538. * mips-tdep.c (heuristic_proc_start): Add more MIPS16 function
  3539. prologue instructions.
  3540. 2007-07-20 Maciej W. Rozycki <macro@mips.com>
  3541. * mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of
  3542. a direct test.
  3543. 2007-07-20 Chris Dearman <chris@mips.com>
  3544. Maciej W. Rozycki <macro@mips.com>
  3545. * mips-tdep.c (fetch_mips_16): Fix typos and reformat the
  3546. description.
  3547. 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
  3548. Daniel Jacobowitz <dan@codesourcery.com>
  3549. * config/i386/cygwin.mt (TDEPFILES): Add solib-target.o.
  3550. * coff-pe-read.c (read_pe_exported_syms): Delete verbose
  3551. printf.
  3552. * NEWS: Mention gdbserver DLL support.
  3553. 2007-07-17 Daniel Jacobowitz <dan@codesourcery.com>
  3554. * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches.
  3555. 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
  3556. * i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias
  3557. warning bug.
  3558. 2007-07-13 Kevin Buettner <kevinb@redhat.com>
  3559. * mep-tdep.c (mep_analyze_prologue): Update comment for BRA
  3560. instruction case.
  3561. 2007-07-12 Kevin Buettner <kevinb@redhat.com>
  3562. * mep-tdep.c (IS_BRA, BRA_DISP): New macros.
  3563. (mep_analyze_prologue): Add case for BRA instruction.
  3564. 2007-07-12 Ulrich Weigand <uweigand@de.ibm.com>
  3565. * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic.
  3566. 2007-07-10 Nick Roberts <nickrob@snap.net.nz>
  3567. * breakpoint.c: Include "top.h".
  3568. (breakpoint_1): Don't set convenience variable $_ if server prefix
  3569. is used.
  3570. (_initialize_breakpoint): Describe this behaviour in command help.
  3571. 2007-07-08 Pedro Alves <pedro_alves@portugalmail.pt>
  3572. * solib-target.c (library_list_start_segment): Cast address to
  3573. CORE_ADDR.
  3574. 2007-07-06 Mark Kettenis <kettenis@gnu.org>
  3575. * bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs
  3576. for terminated processes.
  3577. 2007-07-05 Michael Snyder <msnyder@access-company.com>
  3578. * event-top.c (cli_command_loop): Prompt string can (and should)
  3579. be freed after call to readline (Coverity). Also move local var
  3580. declarations into block where they are used.
  3581. * tui/tui-interp.c (tui_command_loop): Prompt string can (and
  3582. should) be freed after call to readline (Coverity). Also move
  3583. local var declarations into block where they are used.
  3584. 2007-07-03 Andreas Schwab <schwab@suse.de>
  3585. * linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in
  3586. /proc/../stat.
  3587. 2007-07-03 Paul Gilliam <pgilliam@us.ibm.com>
  3588. Thiago Bauermann <bauerman@br.ibm.com>
  3589. Joseph S. Myers <joseph@codesourcery.com>
  3590. Daniel Jacobowitz <dan@codesourcery.com>
  3591. * remote.c (remote_check_symbols): Use
  3592. gdbarch_convert_from_func_ptr_addr.
  3593. * infcall.c (find_function_addr): Handle function descriptors
  3594. without debugging information.
  3595. * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed
  3596. from ppc64_linux_convert_from_func_ptr_addr. Handle -msecure-plt.
  3597. (ppc_linux_init_abi): Always set convert_from_func_ptr_addr.
  3598. * solib-svr4.c (solib_break_names): Remove "._dl_debug_state".
  3599. (bfd_lookup_symbol): Do not take a SECT_FLAGS argument. Always
  3600. allow SEC_CODE and SEC_DATA.
  3601. (enable_break): Update calls. Pass current_target to solib_add.
  3602. Use gdbarch_convert_from_func_ptr_addr.
  3603. 2007-07-03 Ilko Iliev <iliev@ronetix.at>
  3604. Daniel Jacobowitz <dan@codesourcery.com>
  3605. * symfile.c (print_transfer_performance): Avoid integer overflow.
  3606. Use larger units.
  3607. 2007-07-03 Markus Deuling <deuling@de.ibm.com>
  3608. * cp-namespace.c (lookup_symbol_file): Add block to
  3609. lookup_symbol_global call.
  3610. * Makefile.in (solist_h): Add dependency on symtab header.
  3611. (symtab.o): Add dependency on solist header.
  3612. * solib.c (solib_global_lookup): New function.
  3613. * solib-svr4.c (scan_dyntag): Likewise.
  3614. (elf_locate_base): Call helper routine scan_dyntag.
  3615. (elf_lookup_lib_symbol): New function.
  3616. (_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops.
  3617. * solist.h (symtab.h): New include.
  3618. (struct target_so_ops): New member lookup_lib_global_symbol.
  3619. (solib_global_lookup): New prototype.
  3620. * symtab.c: New include solist.h.
  3621. (lookup_objfile_from_block): New function.
  3622. (lookup_global_symbol_from_objfile): New function.
  3623. (basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call.
  3624. (lookup_symbol_global): Call library-specific lookup procedure.
  3625. * symtab.h (lookup_global_symbol_from_objfile): New prototype.
  3626. * NEWS: Document framework.
  3627. 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
  3628. * target-descriptions.c (tdesc_create_reg): Do not set reg->type
  3629. to NULL.
  3630. * cli/cli-script.c (build_command_line): Update NULL check.
  3631. 2007-07-02 Michael Snyder <msnyder@access-company.com>
  3632. * p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity).
  3633. 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
  3634. * Makefile.in (XMLFILES): Add library-list.dtd.
  3635. (ALLDEPFILES): Add solib-target.o.
  3636. (solib-target.o): New rule.
  3637. * remote.c (PACKET_qXfer_libraries): New constant.
  3638. (remote_protocol_features): Add qXfer:libraries:read.
  3639. (remote_wait): Recognize library stop replies.
  3640. (remote_async_wait): Likewise. Fix typo.
  3641. (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES.
  3642. (init_remote_async_ops): Fix typo.
  3643. (_initialize_remote): Register "set remote library-info-packet".
  3644. * solib-som.c (som_current_sos): Set addr_low and addr_high.
  3645. * solib-target.c: New file.
  3646. * solib.c (solib_map_sections): Use addr_low and addr_high instead
  3647. of textsection.
  3648. (info_sharedlibrary_command): Likewise.
  3649. (solib_add_library, solib_remove_library): New.
  3650. * solist.h (struct so_list): Replace textsection with addr_low and
  3651. addr_high.
  3652. * target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES.
  3653. * NEWS: Describe new qXfer:libraries:read and shared library
  3654. event support.
  3655. * features/library-list.dtd: New.
  3656. 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
  3657. * infrun.c (inferior_ignoring_startup_exec_events): Delete.
  3658. (start_remote): Use STOP_QUIETLY_REMOTE.
  3659. (handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED
  3660. support on a SOLIB_ADD definition. Update breakpoints_inserted.
  3661. Update to match shared library event breakpoint support. Only
  3662. resume if appropriate. Handle STOP_QUIETLY_REMOTE.
  3663. (normal_stop): Handle TARGET_WAITKIND_LOADED.
  3664. * fork-child.c (startup_inferior): Do not set
  3665. inferior_ignoring_startup_exec_events
  3666. * inferior.h (inferior_ignoring_startup_exec_events): Delete
  3667. declaration.
  3668. (enum stop_kind): Improve documentation. Add STOP_QUIETLY_REMOTE.
  3669. 2007-07-02 Markus Deuling <deuling@de.ibm.com>
  3670. * breakpoint.c (insert_bp_location): Remove dead code
  3671. (DISABLE_UNSETTABLE_BREAK).
  3672. (disable_breakpoints_in_shlibs)
  3673. (disable_breakpoints_in_unloaded_shlib): Likewise (comment).
  3674. 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
  3675. * breakpoint.c (reattach_breakpoints): Do not use remove_breakpoint.
  3676. Call insert_bp_location.
  3677. 2007-07-01 H.J. Lu <hongjiu.lu@intel.com>
  3678. * core-regset.c (fetch_core_registers): Work around gcc 3.4
  3679. alias warning bug.
  3680. 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com>
  3681. * minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer
  3682. objfiles.
  3683. 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com>
  3684. * top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove.
  3685. (struct gdb_readline_wrapper_cleanup): Remove prompt_orig.
  3686. (gdb_readline_wrapper_cleanup): Do not reset the prompt.
  3687. (gdb_readline_wrapper): Do not save the prompt. Pass our prompt
  3688. to display_gdb_prompt.
  3689. 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com>
  3690. PR symtab/2161
  3691. * target.c (memory_xfer_partial): Do not continue past targets with
  3692. all memory.
  3693. 2007-06-30 Andreas Schwab <schwab@suse.de>
  3694. * m68k-tdep.c (m68k_ps_type): New.
  3695. (m68k_init_types): New.
  3696. (m68k_register_type): Use m68k_ps_type for PS register.
  3697. (_initialize_m68k_tdep): Call m68k_init_types.
  3698. * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour
  3699. from the generic m68k arch.
  3700. 2007-06-28 Michael Snyder <msnyder@access-company.com>
  3701. * m2-typeprint.c (m2_print_type): Move pointer ref after null test
  3702. (Coverity).
  3703. * linux-thread-db.c (thread_db_get_thread_local_address): Add
  3704. gdb_assert before using return value of find_thread_pid (Coverity).
  3705. * source.c (unset_substitute_path_command): Plug leak (Coverity).
  3706. * cli/cli-script.c (build_command_line): Add null pointer guard
  3707. (Coverity).
  3708. 2007-06-27 Daniel Jacobowitz <dan@codesourcery.com>
  3709. * linux-thread-db.c (thread_db_attach): Delete.
  3710. (thread_db_detach): Typo fix. Call target_mourn_inferior
  3711. instead of fixing up proc_handle.
  3712. (have_threads_callback, have_threads): New functions.
  3713. (thread_db_wait): Remove dead proc_handle.pid check. Only
  3714. translate PTIDs if we have registered threads. Check for new
  3715. threads if we have none.
  3716. (thread_db_create_inferior, thread_db_post_startup_inferior): Delete.
  3717. (find_new_threads_callback): Only enable event reporting if TID == 0.
  3718. (same_ptid_callback): New.
  3719. (thread_db_get_thread_local_address): Check for new threads.
  3720. (init_thread_db_ops): Don't set to_attach, to_create_inferior,
  3721. or to_post_startup_inferior.
  3722. 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
  3723. * infrun.c (adjust_pc_after_break): Do not assume software single-step
  3724. is always active if SOFTWARE_SINGLE_STEP_P is true.
  3725. (resume): Use gdbarch_software_single_step[_p] instead of
  3726. SOFTWARE_SINGLE_STEP[_P].
  3727. (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P.
  3728. * gdbarch.sh (software_single_step): Remove target macro.
  3729. * gdbarch.h, gdbarch.c: Regenerate.
  3730. 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
  3731. * gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap,
  3732. DEPRECATED_REGISTER_GDBARCH_SWAP): Remove.
  3733. (struct gdbarch_swap, struct gdbarch_swap_registration,
  3734. struct gdbarch_swap_registry, gdbarch_swap_registry,
  3735. current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack,
  3736. current_gdbarch_swap_in_hack): Remove.
  3737. (find_arch_by_info): Do not call current_gdbarch_swap_init_hack.
  3738. (gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack
  3739. and current_gdbarch_swap_out_hack, update current_gdbarch directly.
  3740. (deprecated_current_gdbarch_select_hack): Likewise.
  3741. * gdbarch.h, gdbarch.c: Regenerate.
  3742. 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
  3743. * infrun.c (clear_proceed_status): Clean up stop_registers.
  3744. (normal_stop): Allocate regcache for stop_registers.
  3745. (struct inferior_status): Remove stop_registers member.
  3746. (save_inferior_status): Do not save stop_registers.
  3747. (restore_inferior_status): Do not restore stop_registers.
  3748. (discard_inferior_status): Do not discard stop_registers.
  3749. (build_infrun): Remove.
  3750. (_initialize_infrun): Do not swap stop_registers.
  3751. 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
  3752. * remote.c (remote_address_masked): If remote_address_size is zero,
  3753. default to target address size.
  3754. (build_remote_gdbarch_data): Remove.
  3755. (_initialize_remote): Do not swap remote_address_size.
  3756. 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
  3757. * gdbtypes.h (builtin_type_true_char, builtin_type_void,
  3758. builtin_type_char, builtin_type_short, builtin_type_int,
  3759. builtin_type_long, builtin_type_signed_char,
  3760. builtin_type_unsigned_char, builtin_type_unsigned_short,
  3761. builtin_type_unsigned_int, builtin_type_unsigned_long,
  3762. builtin_type_float, builtin_type_double, builtin_type_long_double,
  3763. builtin_type_complex, builtin_type_double_complex, builtin_type_string,
  3764. builtin_type_bool, builtin_type_long_long,
  3765. builtin_type_unsigned_long_long, builtin_type_void_data_ptr,
  3766. builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Replace global
  3767. variable declaration with compatibility macro.
  3768. * gdbtypes.c (builtin_type_true_char, builtin_type_void,
  3769. builtin_type_char, builtin_type_short, builtin_type_int,
  3770. builtin_type_long, builtin_type_signed_char,
  3771. builtin_type_unsigned_char, builtin_type_unsigned_short,
  3772. builtin_type_unsigned_int, builtin_type_unsigned_long,
  3773. builtin_type_float, builtin_type_double, builtin_type_long_double,
  3774. builtin_type_complex, builtin_type_double_complex, builtin_type_string,
  3775. builtin_type_bool, builtin_type_long_long,
  3776. builtin_type_unsigned_long_long, builtin_type_void_data_ptr,
  3777. builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Remove.
  3778. (build_gdbtypes): Remove.
  3779. (_initialize_gdbtypes): Do not call build_gdbtypes, move installing
  3780. opaque-type-resolution command here. Do not call
  3781. deprecated_register_gdbarch_swap.
  3782. 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
  3783. * gdbtypes.h (struct builtin_type): New members nodebug_text_symbol,
  3784. nodebug_data_symbol, nodebug_unknown_symbol, and nodebug_tls_symbol.
  3785. * gdbtypes.c (gdbtypes_post_init): Initialize nodebug_ default types.
  3786. * parse.c (msym_text_symbol_type, msym_data_symbol_type): Remove.
  3787. (msym_unknown_symbol_type, msym_tls_symbol_type): Remove.
  3788. (write_exp_msymbol): Use builtin nodebug_ types instead of them.
  3789. (build_parse): Remove.
  3790. (_initialize_parse): Do not call build_parse. Do not register
  3791. msym_ types for gdbarch-swapping.
  3792. * dwarf2read.c (new_symbol): Use default nodebug_data_symbol type
  3793. instead of creating private type.
  3794. * xcoffread.c (func_symbol_type, var_symbol_type): Remove.
  3795. (_initialize_xcoffread): Do not initialized them.
  3796. (process_xcoff_symbol): Use builtin nodebug_ types instead of them.
  3797. * mdebugread.c (nodebug_func_symbol_type): Remove.
  3798. (nodebug_var_symbol_type): Remove.
  3799. (_initialize_mdebugread): Do not initialize them.
  3800. (parse_symbol): Use builtin nodebug_ type instead of them.
  3801. (parse_procedure): Likewise.
  3802. 2007-06-21 Chris Dearman <chris@mips.com>
  3803. * printcmd.c (do_one_display): If display/i, start with an initial
  3804. line feed to avoid bad layout if there is a branch delay slot.
  3805. 2007-06-21 Nigel Stephens <nigel@mips.com>
  3806. Maciej W. Rozycki <macro@mips.com>
  3807. * disasm.c (gdb_print_insn): Return the number of branch delay
  3808. slot instructions too.
  3809. * disasm.h (gdb_print_insn): Update prototype.
  3810. * printcmd.c (branch_delay_insns): New variable to record the
  3811. number of delay slot instructions after disassembling a branch.
  3812. (print_formatted): Record the number of branch delay slot
  3813. instructions.
  3814. (do_examine): When disassembling, if the last instruction
  3815. disassembled has any branch delay slots, then bump the count so
  3816. that they get disassembled too.
  3817. * tui/tui-disasm.c (tui_disassemble): Update the call to
  3818. gdb_print_insn().
  3819. * NEWS: Document the new behaviour.
  3820. 2007-06-21 Andreas Schwab <schwab@suse.de>
  3821. * regcache.c (write_pc_pid): Restore missing else.
  3822. 2007-06-20 Ulrich Weigand <uweigand@de.ibm.com>
  3823. * regcache.c (regcache_print): Use get_current_regcache ()
  3824. instead of current_regcache.
  3825. 2007-06-20 H.J. Lu <hongjiu.lu@intel.com>
  3826. PR 4606
  3827. * gcore.c (gcore_command): Use bfd_make_section_anyway_with_flags
  3828. instead of bfd_make_section_anyway.
  3829. (gcore_create_callback): Likewise. Also set SEC_NEVER_LOAD
  3830. when clearing SEC_LOAD.
  3831. 2007-06-19 Joseph Myers <joseph@codesourcery.com>
  3832. * arm-tdep.c (arm_push_dummy_call): Correct padding of partial
  3833. registers for big-endian.
  3834. 2007-06-19 Markus Deuling <deuling@de.ibm.com>
  3835. * gdbarch.sh (TARGET_PRINT_INSN): Replace by gdbarch_print_insn.
  3836. * disasm.c (dump_insns, gdb_print_insn): Likewise.
  3837. * gdbarch.c, gdbarch.h: Regenerate.
  3838. 2007-06-19 Markus Deuling <deuling@de.ibm.com>
  3839. * gdbarch.sh (BELIEVE_PCC_PROMOTION): Replace by
  3840. gdbarch_believe_pcc_promotion.
  3841. * stabsread.c (define_symbol): Likewise.
  3842. Remove unnecessary definition.
  3843. * coffread.c (process_coff_symbol): Remove unnecessary code.
  3844. * gdbarch.c, gdbarch.h: Regenerate.
  3845. 2007-06-19 Daniel Jacobowitz <dan@codesourcery.com>
  3846. * configure.ac: Do not use ${objdir}.
  3847. * configure: Regenerated.
  3848. 2007-06-18 Ulrich Weigand <uweigand@de.ibm.com>
  3849. * gdbarch.sh (deprecated_register_size): Remove.
  3850. * gdbarch.h, gdbarch.c: Regenerate.
  3851. * arm-tdep.c (arm_push_dummy_call): Replace DEPRECATED_REGISTER_SIZE
  3852. by INT_REGISTER_SIZE.
  3853. (thumb_get_next_pc, arm_return_in_memory): Likewise.
  3854. (arm_gdbarch_init): Do not call set_gdbarch_deprecated_register_size.
  3855. * ia64-tdep.c (ia64_gdbarch_init): Do not call
  3856. set_gdbarch_deprecated_register_size.
  3857. 2007-06-18 Markus Deuling <deuling@de.ibm.com>
  3858. * gdbarch.sh (DEPRECATED_FP_REGNUM): Replace by
  3859. gdbarch_deprecated_fp_regnum.
  3860. * std-regs.c (value_of_builtin_frame_fp_reg): Likewise.
  3861. * remote-mips.c (mips_wait, mips_fetch_registers): Likewise.
  3862. * arch-utils.c (legacy_virtual_frame_pointer): Likewise.
  3863. * arch-utils.h (gdbarch_virtual_frame_pointer_ftype): Likewise
  3864. (comment).
  3865. * gdbarch.c, gdbarch.h: Regenerate.
  3866. 2007-06-18 Markus Deuling <deuling@de.ibm.com>
  3867. * gdbarch.sh (EXTRACT_RETURN_VALUE): Replace with
  3868. gdbarch_extract_return_value.
  3869. * value.c (generic_use_struct_convention): Likewise (comment).
  3870. * ia64-tdep.c (ia64_use_struct_convention): Likewise (comment).
  3871. * arch-utils.c (legacy_return_value): Likewise.
  3872. * arch-utils.h (legacy_return_value): Likewise (comment).
  3873. * gdbarch.sh (STORE_RETURN_VALUE): Replace by
  3874. gdbarch_store_return_value.
  3875. * stack.c (return_command): Likewise (comment).
  3876. * arch-utils.h (legacy_return_value): Likewise (comment).
  3877. * arch-utils.c (legacy_return_value): Likewise.
  3878. * gdbarch.c, gdbarch.h: Regenerate.
  3879. 2007-06-18 Markus Deuling <deuling@de.ibm.com>
  3880. * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Replace by
  3881. gdbarch_deprecated_use_struct_convention.
  3882. * arch-utils.c (legacy_return_value): Likewise.
  3883. * gdbarch.c, gdbarch.h: Regenerate.
  3884. 2007-06-18 Markus Deuling <deuling@de.ibm.com>
  3885. * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Replace by
  3886. gdbarch_deprecated_function_start_offset.
  3887. * symtab.c (find_function_start_sal)skip_prologue_using_sal): Likewise.
  3888. * linespec.c (minsym_found): Likewise.
  3889. * infrun.c (handle_inferior_event): Likewise.
  3890. * infcall.c (find_function_addr): Likewise.
  3891. * cli/cli-cmds.c (disassemble_command): Likewise.
  3892. * gdbarch.c, gdbarch.h: Regenerate.
  3893. 2007-06-18 Markus Deuling <deuling@de.ibm.com>
  3894. * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Replace by
  3895. gdbarch_deprecated_reg_struct_has_addr.
  3896. * infcall.c (call_function_by_hand): Likewise.
  3897. (DEPRECATED_REG_STRUCT_HAS_ADDR_P): Replace by
  3898. * gdbarch_deprecated_reg_struct_has_addr_p.
  3899. * infcall.c (call_function_by_hand): Likewise.
  3900. * gdbarch.c, gdbarch.h: Regenerate.
  3901. 2007-06-18 Markus Deuling <deuling@de.ibm.com>
  3902. * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
  3903. * sh-tdep.c (sh_extract_struct_value_address): Remove.
  3904. (sh_gdbarch_init): Remove
  3905. set_gdbarch_deprecated_extract_struct_value_address.
  3906. * sh64-tdep.c (sh64_extract_struct_value_address): Remove.
  3907. (sh64_gdbarch_init): Remove
  3908. set_gdbarch_deprecated_extract_struct_value_address.
  3909. * ia64-tdep.c (ia64_extract_struct_value_address): Remove.
  3910. (ia64_gdbarch_init): Remove
  3911. set_gdbarch_deprecated_extract_struct_value_address.
  3912. * frv-tdep.c (frv_extract_struct_value_address): Remove.
  3913. (frv_gdbarch_init): Remove
  3914. set_gdbarch_deprecated_extract_struct_value_address.
  3915. * gdbarch.c, gdbarch.h: Regenerate.
  3916. 2007-06-18 Markus Deuling <deuling@de.ibm.com>
  3917. * gdbarch.sh (SP_REGNUM): Replace by gdbarch_sp_regnum.
  3918. * v850-tdep.c (v850_unwind_sp): Likewise.
  3919. * std-regs.c (value_of_builtin_frame_sp_reg): Likewise.
  3920. * stack.c (frame_info): Likewise.
  3921. * stabsread.c (define_symbol): Likewise.
  3922. * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu)
  3923. (sh_dwarf2_frame_init_reg, sh_frame_cache, sh_frame_prev_register)
  3924. (sh_unwind_sp): Likewise.
  3925. * sh64-tdep.c (sh64_push_dummy_call, sh64_frame_cache)
  3926. (sh64_frame_prev_register, sh64_unwind_sp): Likewise.
  3927. * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_unwind_dummy_id)
  3928. (rs6000_frame_cache): Likewise.
  3929. * rs6000-nat.c (store_register): Likewise.
  3930. * remote-mips.c (mips_wait): Likewise.
  3931. * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
  3932. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
  3933. (ppc64_sysv_abi_push_dummy_call): Likewise.
  3934. * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise.
  3935. * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise.
  3936. * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise.
  3937. * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise.
  3938. * m32r-rom.c (m32r_supply_register): Likewise.
  3939. * frame.c (frame_sp_unwind): Likewise.
  3940. * mips-tdep.c (mips_insn16_frame_cache)
  3941. (mips_insn32_frame_cache): Likewise (comment).
  3942. * m68klinux-nat.c (supply_gregset): Likewise.
  3943. * m68k-tdep.c (m68k_get_longjmp_target): Likewise.
  3944. * ia64-tdep.c (ia64_frame_prev_register): Likewise.
  3945. * i386-tdep.c (i386_get_longjmp_target): Likewise.
  3946. * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise.
  3947. * cris-tdep.c (cris_regnums, cris_sigcontext_addr)
  3948. (cris_sigtramp_frame_unwind_cache, cris_push_dummy_call)
  3949. (cris_scan_prologue, crisv32_scan_prologue, cris_unwind_sp)
  3950. (cris_register_type, crisv32_register_type)
  3951. (cris_dwarf2_frame_init_reg): Likewise.
  3952. * arch-utils.c (legacy_virtual_frame_pointer): Likewise.
  3953. * amd64-tdep.c (amd64_frame_prev_register): Likewise.
  3954. * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise.
  3955. * libunwind-frame.c (libunwind_frame_cache): Likewise.
  3956. * gdbarch.sh (PC_REGNUM): Replace by gdbarch_pc_regnum.
  3957. * regcache.c (read_pc_pid, generic_target_write_pc): Likewise.
  3958. * xtensa-tdep.c (xtensa_register_type, xtensa_supply_gregset)
  3959. (xtensa_unwind_pc, xtensa_frame_cache, xtensa_frame_prev_register)
  3960. (xtensa_extract_return_value, xtensa_store_return_value): Likewise.
  3961. * v850-tdep.c (v850_unwind_pc): Likewise.
  3962. * stack.c (frame_info): Likewise.
  3963. * sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs)
  3964. (sh2a_show_regs, sh2a_nofpu_show_regs, sh3e_show_regs)
  3965. (sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs)
  3966. (sh_dwarf2_frame_init_reg, sh_frame_prev_register, sh_unwind_pc)
  3967. (sh_dsp_show_regs): Likewise.
  3968. * shnbsd-tdep.c (shnbsd_supply_gregset)
  3969. (shnbsd_collect_gregset): Likewise.
  3970. * shnbsd-nat.c (GETREGS_SUPPLIES): Likewise.
  3971. * sh64-tdep.c (sh64_compact_reg_base_num, sh64_show_media_regs)
  3972. (sh64_frame_prev_register, sh64_unwind_pc): Likewise.
  3973. * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset)
  3974. (6000_register_reggroup_p, rs6000_unwind_pc)
  3975. (rs6000_frame_cache): Likewise.
  3976. * rs6000-nat.c (regmap, rs6000_fetch_inferior_registers)
  3977. (rs6000_store_inferior_registers): Likewise.
  3978. * remote-mips.c (mips_wait, mips_load): Likewise.
  3979. * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
  3980. * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise.
  3981. * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise.
  3982. * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise.
  3983. * ppcnbsd-nat.c (getregs_supplies, ppcnbsd_supply_pcb): Likewise.
  3984. * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise.
  3985. * ppc-linux-nat.c (ppc_register_u_addr, fetch_ppc_registers)
  3986. (store_ppc_registers, fill_gregset): Likewise.
  3987. * mips-tdep.c (mips_stub_frame_cache, mips_gdbarch_init): Likewise.
  3988. * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg): Likewise.
  3989. * mipsnbsd-nat.c (getregs_supplies): Likewise.
  3990. * m68k-tdep.c (m68k_register_type, m68k_unwind_pc): Likewise.
  3991. * m68klinux-nat.c (supply_gregset): Likewise.
  3992. * irix5-nat.c (fill_gregset): Likewise.
  3993. * i386-tdep.c (i386_unwind_pc): Likewise.
  3994. * i386-linux-nat.c (i386_linux_resume): Likewise.
  3995. * frame.c (get_prev_frame_1): Likewise.
  3996. * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise.
  3997. * dbug-rom.c (dbug_supply_register): Likewise.
  3998. * cris-tdep.c (cris_sigtramp_frame_unwind_cache, cris_scan_prologue)
  3999. (crisv32_scan_prologue, cris_unwind_pc, cris_register_size)
  4000. (cris_register_type, crisv32_register_type, crisv32_register_name)
  4001. (cris_dwarf2_frame_init_reg, find_step_target)
  4002. (cris_software_single_step, cris_supply_gregset)
  4003. (cris_regnums): Likewise.
  4004. * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise.
  4005. * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32)
  4006. (fill_sprs64, fill_sprs32, store_regs_user_thread): Likewise.
  4007. * std-regs.c (value_of_builtin_frame_pc_reg): Likewise.
  4008. * mips-linux-tdep.c (mips_linux_write_pc): Likewise.
  4009. * gdbarch.sh (PS_REGNUM): Replace by gdbarch_ps_regnum.
  4010. * dbug-rom.c (dbug_supply_register): Likewise.
  4011. * xtensa-tdep.c (xtensa_supply_gregset, xtensa_frame_cache)
  4012. (xtensa_frame_prev_register, xtensa_push_dummy_call): Likewise.
  4013. * win32-nat.c (win32_resume): Likewise.
  4014. * std-regs.c (value_of_builtin_frame_ps_reg): Likewise.
  4015. * m68k-tdep.c (m68k_register_type): Likewise.
  4016. * m68klinux-nat.c (supply_gregset): Likewise.
  4017. * gdbarch.sh (FP0_REGNUM): Replace by gdbarch_fp0_regnum.
  4018. * sh-tdep.c (sh_extract_return_value_fpu, sh_store_return_value_fpu)
  4019. (sh2e_show_regs, sh2a_show_regs, sh3e_show_regs, sh4_show_regs)
  4020. (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type)
  4021. (fv_reg_base_num, dr_reg_base_num): Likewise.
  4022. * sh64-tdep.c (sh64_fv_reg_base_num, sh64_dr_reg_base_num)
  4023. (sh64_fpp_reg_base_num, sh64_compact_reg_base_num, sh64_push_dummy_call)
  4024. (sh64_extract_return_value, sh64_store_return_value)
  4025. (sh64_show_media_regs, sh64_show_compact_regs, sh64_register_type)
  4026. (sh64_do_fp_register, sh64_media_print_registers_info): Likewise.
  4027. * procfs.c (procfs_fetch_registers, procfs_store_registers)
  4028. (invalidate_cache): Likewise.
  4029. * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise.
  4030. * mipsnbsd-tdep.c (mipsnbsd_supply_fpreg)
  4031. (mipsnbsd_fill_fpreg): Likewise.
  4032. * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers)
  4033. (mipsnbsd_store_inferior_registers): Likewise.
  4034. * mips-linux-tdep.c (mips_supply_fpregset, mips_fill_fpregset)
  4035. (mips64_supply_fpregset, mips64_fill_fpregset): Likewise.
  4036. * mips-linux-nat.c (mips64_linux_register_addr): Likewise.
  4037. * m68k-tdep.c (m68k_register_type, m68k_convert_register_p): Likewise.
  4038. * m68klinux-nat.c (getfpregs_supplies, supply_fpregset)
  4039. (fill_fpregset): Likewise.
  4040. * irix5-nat.c (supply_fpregset, fill_fpregset): Likewise.
  4041. * i386-tdep.h (struct_return): Likewise (comment).
  4042. * i386-nto-tdep.c (i386nto_register_area): Likewise.
  4043. * go32-nat.c (fetch_register, go32_fetch_registers, store_register)
  4044. (go32_store_registers): Likewise.
  4045. * alpha-tdep.c (alpha_next_pc): Likewise.
  4046. * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise.
  4047. * alphabsd-nat.c (alphabsd_fetch_inferior_registers)
  4048. (alphabsd_store_inferior_registers): Likewise.
  4049. * core-regset.c (fetch_core_registers): Likewise.
  4050. * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise.
  4051. * gdbarch.c, gdbarch.h: Regenerate.
  4052. 2007-06-18 Daniel Jacobowitz <dan@codesourcery.com>
  4053. * coffread.c (coff_sym_fns): Add default_symfile_segments.
  4054. * dbxread.c (start_psymtab): Check HAVE_ELF.
  4055. (aout_sym_fns): Likewise.
  4056. * elfread.c (elf_symfile_segments): New.
  4057. (elf_sym_fns): Add elf_symfile_segments.
  4058. * mipsread.c (ecoff_sym_fns): Add default_symfile_segments.
  4059. * remote.c (get_offsets): Use symfile_map_offsets_to_segments.
  4060. Skip if there is no symfile_objfile. Handle TextSeg and DataSeg.
  4061. * somread.c (som_sym_fns): Use default_symfile_segments.
  4062. * symfile.c (find_sym_fns): Take a BFD and return the sym_fns.
  4063. (init_objfile_sect_indices): Call symfile_find_segment_sections.
  4064. (default_symfile_segments): New function.
  4065. (syms_from_objfile): Update call to find_sym_fns.
  4066. (symfile_get_segment_data, free_symfile_segment_data): New.
  4067. (symfile_map_offsets_to_segments): New.
  4068. (symfile_find_segment_sections): New.
  4069. * symfile.h (struct symfile_segment_data): New.
  4070. (struct sym_fns): Add sym_segments.
  4071. (default_symfile_segments, symfile_get_segment_data)
  4072. (free_symfile_segment_data): New prototypes.
  4073. (symfile_map_offsets_to_segments): Likewise.
  4074. * xcoffread.c (xcoff_sym_fns): Add default_symfile_segments.
  4075. * Makefile.in (COMMON_OBS): Remove elfread.o.
  4076. (elf_internal_h): New.
  4077. (elfread.o): Update.
  4078. * configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was
  4079. compiled.
  4080. * config.in, configure: Regenerated.
  4081. * NEWS: Mention qOffsets changes.
  4082. 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
  4083. * gdbtypes.h (builtin_type_m2_char, builtin_type_m2_int,
  4084. builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool):
  4085. Replace global variable declaration with compatibility macro.
  4086. (struct builtin_m2_type): New data type.
  4087. (builtin_m2_type): Add prototype.
  4088. * m2-lang.c (builtin_type_m2_char, builtin_type_m2_int,
  4089. builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool):
  4090. Remove global variables.
  4091. (m2_language_arch_info): Use builtin_m2_type instead of variables.
  4092. (build_m2_types): New function.
  4093. (m2_type_data): New variable.
  4094. (builtin_m2_type): New function.
  4095. (_initialize_m2_language): Do not build data types. Register
  4096. m2_type_data per-gdbarch data.
  4097. 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
  4098. * gdbtypes.h (builtin_type_f_character, builtin_type_f_logical,
  4099. builtin_type_f_logical_s1, builtin_type_f_logical_s2,
  4100. builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real,
  4101. builtin_type_f_real_s8, builtin_type_f_real_s16,
  4102. builtin_type_f_complex_s8, builtin_type_f_complex_s16,
  4103. builtin_type_f_complex_s32, builtin_type_f_void): Replace global
  4104. variable declaration with compatibility macro.
  4105. (struct builtin_f_type): New data type.
  4106. (builtin_f_type): Add prototype.
  4107. * f-lang.c (builtin_type_f_character, builtin_type_f_logical,
  4108. builtin_type_f_logical_s1, builtin_type_f_logical_s2,
  4109. builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real,
  4110. builtin_type_f_real_s8, builtin_type_f_real_s16,
  4111. builtin_type_f_complex_s8, builtin_type_f_complex_s16,
  4112. builtin_type_f_complex_s32, builtin_type_f_void): Remove variables.
  4113. (f_language_arch_info): Use builtin_f_type instead of variables.
  4114. (build_fortran_types): Build builtin_f_type structure instead of
  4115. setting global type variables.
  4116. (f_type_data): New variable.
  4117. (builtin_f_type): New function.
  4118. (_initialize_f_language): Do not call build_fortran_types. Do not
  4119. swap global type variables. Register f_type_data per-gdbarch data.
  4120. 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
  4121. * f-lang.c (_initialize_f_language): Do not initialize or
  4122. swap builtin_type_string.
  4123. 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
  4124. * std-regs.c (builtin_type_frame_reg, build_builtin_type_frame_reg,
  4125. value_of_builtin_frame_reg): Remove.
  4126. (_initialize_frame_reg): Do not swap builtin_type_frame_reg. Remove
  4127. inactive call to value_of_builtin_frame_reg.
  4128. 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
  4129. * gdbarch.sh (bfd_vma_bit): Remove.
  4130. * gdbarch.c, gdbarch.h: Regenerate.
  4131. * gdbtypes.h (builtin_bfd_vma_type): Remove.
  4132. * gdbtypes.h (builtin_bfd_vma_type): Remove.
  4133. (build_gdbtypes): Do not initialize it.
  4134. (_initialize_gdbtypes): Do not swap it.
  4135. 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
  4136. * gdbtypes.c (builtin_type_v2_double, builtin_type_v4_float,
  4137. builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16,
  4138. builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32,
  4139. builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf,
  4140. builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi,
  4141. builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si,
  4142. builtin_type_vec64, builtin_type_vec128): Remove.
  4143. (init_simd_type): Remove.
  4144. (init_vector_type): Make global.
  4145. (build_builtin_type_vec64, build_builtin_type_vec128): Remove.
  4146. (build_gdbtypes): Do not build vector types.
  4147. (_initialize_gdbtypes): Do not swap vector types.
  4148. * gdbtypes.h (builtin_type_v2_double, builtin_type_v4_float,
  4149. builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16,
  4150. builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32,
  4151. builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf,
  4152. builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi,
  4153. builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si,
  4154. builtin_type_vec64, builtin_type_vec128): Remove declarations.
  4155. (init_vector_type): Add prototype.
  4156. * i386-tdep.h (struct gdbarch_tdep): Add i386_mmx_type and
  4157. i386_sse_type members.
  4158. (i386_mmx_type, i386_sse_type): Change from variables to functions.
  4159. * i386-tdep.c (i386_mmx_type, i386_sse_type): Remove variables.
  4160. (i386_init_types): Do not build vector types.
  4161. (i386_mmx_type, i386_sse_type): New functions.
  4162. (i386_register_type): Call them instead of using global variables.
  4163. (i386_gdbarch_init): Use XCALLOC to allocate tdep structure.
  4164. * amd64-tdep.c (amd64_register_type): Call i386_sse_type instead
  4165. of using global variable.
  4166. * rs6000-tdep.h (struct gdbarch_tdep): Add ppc_builtin_type_vec64
  4167. and ppc_builtin_type_vec128 members.
  4168. * rs6000-tdep.c (rs6000_builtin_type_vec64): New function.
  4169. (rs6000_builtin_type_vec128): Likewise.
  4170. (rs6000_register_type): Call them instead of using builtin_type_vec64
  4171. and builtin_type_vec128.
  4172. (rs6000_gdbarch_init): Use XCALLOC to allocate tdep structure.
  4173. * spu-tdep.c (struct gdbarch_tdep): New data type.
  4174. (spu_builtin_type_vec128): Remove variable.
  4175. (spu_builtin_type_vec128): New function.
  4176. (spu_register_type): Call it instead of using global variable.
  4177. (spu_gdbarch_init): Allocate tdep structure.
  4178. (spu_init_vector_type): Remove function.
  4179. (_initialize_spu_tdep): Do not call it.
  4180. 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
  4181. * amd64-tdep.c (struct amd64_register_info): Remove.
  4182. (amd64_register_info): Remove.
  4183. (amd64_register_names): New static variable.
  4184. (AMD64_NUM_REGS): Use amd64_register_names instead of
  4185. amd64_register_info.
  4186. (amd64_register_name): Likewise.
  4187. (amd64_register_type): Do not refer to amd64_register_info.
  4188. * s390-tdep.c (struct s390_register_info): Remove.
  4189. (s390_register_info): Remove.
  4190. (s390_register_name): Do not refer to s390_register_info.
  4191. (s390_register_type): Likewise.
  4192. * sparc64-tdep.c (struct sparc64_register_info): Remove.
  4193. (sparc64_register_info, sparc64_pseudo_register_info): Remove.
  4194. (sparc64_register_names, sparc64_pseudo_register_names): New.
  4195. (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use
  4196. sparc64_register_names and sparc64_pseudo_register_names instead of
  4197. sparc64_register_info and sparc64_pseudo_register_info.
  4198. (sparc64_register_name): Likewise.
  4199. (sparc64_register_type): Do not refer to sparc64_register_info
  4200. and sparc64_pseudo_register_info.
  4201. 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
  4202. * c-lang.c (cplus_builtin_types): Remove.
  4203. (enum cplus_primitive_types): New data type.
  4204. (cplus_language_arch_info): New function.
  4205. (cplus_language_defn): Set la_language_arch_info member. Do not set
  4206. la_builtin_type_vector and string_char_type members.
  4207. * f-lang.c (f_builtin_types): Remove.
  4208. (enum f_primitive_types): New data type.
  4209. (f_language_arch_info): New function.
  4210. (f_language_de): Set la_language_arch_info member. Do not set
  4211. la_builtin_type_vector and string_char_type members.
  4212. * m2-lang.c (m2_builtin_types): Remove.
  4213. (enum m2_primitive_types): New data type.
  4214. (m2_language_arch_info): New function.
  4215. (m2_language_defn): Set la_language_arch_info member. Do not set
  4216. la_builtin_type_vector and string_char_type members.
  4217. * objc-lang.c (objc_builtin_types): Remove.
  4218. (objc_language): Set la_language_arch_info member. Do not set
  4219. la_builtin_type_vector and string_char_type members.
  4220. * p-lang.c (pascal_builtin_types): Remove.
  4221. (enum pascal_primitive_types): New data type.
  4222. (pascal_language_arch_info): New function.
  4223. (pascal_language_defn): Set la_language_arch_info member. Do not set
  4224. la_builtin_type_vector and string_char_type members.
  4225. 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
  4226. * regcache.c (struct regcache): Add ptid_t member.
  4227. (regcache_xmalloc): Initialize it.
  4228. (regcache_cpy_no_passthrough): Do not refer to current_regcache.
  4229. (regcache_dup): Likewise.
  4230. (regcache_dup_no_passthrough): Likewise.
  4231. (current_regcache): Make static.
  4232. (registers_ptid): Remove variable.
  4233. (get_thread_regcache): New function.
  4234. (get_current_regcache): New function.
  4235. (registers_changed): Implement by freeing current regcache.
  4236. (regcache_raw_read): Do not refer to current_regcache. Set
  4237. inferior_ptid to regcache->ptid while calling target routines.
  4238. (regcache_raw_write): Likewise.
  4239. (regcache_raw_supply): Do not refer to current_regcache.
  4240. (read_pc_pid): Use thread regcache. Do not modify inferior_ptid.
  4241. (write_pc_pid): Likewise.
  4242. (build_regcache): Remove.
  4243. (_initialize_regcache): Do not call DEPRECATED_REGISTER_GDBARCH_SWAP
  4244. or deprecated_register_gdbarch_swap. Do not initialize
  4245. registers_ptid.
  4246. * regcache.h (get_current_regcache): Add prototype.
  4247. (get_thread_regcache): Likewise.
  4248. (current_regcache): Remove declaration.
  4249. * corelow.c (core_open): Replace current_regcache by
  4250. get_current_regcache ().
  4251. * frame.c (frame_pop): Likewise.
  4252. (put_frame_register): Likewise.
  4253. (get_current_frame, create_new_frame): Likewise.
  4254. * mi/mi-main.c (mi_cmd_data_write_register_values): Likewise.
  4255. * stack.c (return_command): Likewise.
  4256. * infcall.c (call_function_by_hand): Likewise.
  4257. * infrun.c (resume): Likewise.
  4258. (save_inferior_status, restore_inferior_status): Likewise.
  4259. * linux-fork.c (fork_load_infrun_state): Likewise.
  4260. (fork_save_infrun_state): Likewise.
  4261. * win32-nat.c (win32_resume): Likewise.
  4262. * i386fbsd-nat.c (i386fbsd_resume): Likewise.
  4263. * monitor.c (monitor_wait): Likewise.
  4264. * remote.c (remote_wait): Likewise.
  4265. * remote-mips.c (mips_wait): Likewise.
  4266. * bsd-kvm.c (bsd_kvm_open): Likewise
  4267. (bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Likewise.
  4268. * fbsd-nat.c (fbsd_make_corefile_notes): Likewise.
  4269. * i386-linux-nat.c (i386_linux_resume): Likewise.
  4270. * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise.
  4271. (ia64_linux_stopped_data_address): Likewise.
  4272. * frv-tdep.c (frv_fdpic_loadmap_addresses): Likewise.
  4273. * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
  4274. * mep-tdep.c (current_me_module, current_options): Likewise.
  4275. * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Likewise.
  4276. * linux-nat.c (linux_nat_do_thread_registers): Use thread
  4277. regcache instead of current_regcache. Call target_fetch_registers.
  4278. (linux_nat_corefile_thread_callback): Update call site.
  4279. (linux_nat_do_registers): Likewise.
  4280. * procfs.c (procfs_do_thread_registers): Use thread regcache instead
  4281. of current_regcache.
  4282. (procfs_make_note_section): Likewise.
  4283. * proc-service.c (ps_lgetregs, ps_lsetregs): Likewise.
  4284. (ps_lgetfpregs, ps_lsetfpregs): Likewise.
  4285. * sol-thread.c (ps_lgetregs, ps_lsetregs): Likewise.
  4286. (ps_lgetfpregs, ps_lsetfpregs): Likewise.
  4287. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4288. * regcache.c (read_register, read_register_pid): Remove.
  4289. (write_register, write_register_pid): Likewise.
  4290. * regcache.h (read_register, read_register_pid): Remove prototype.
  4291. (write_register, write_register_pid): Likewise.
  4292. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4293. * gdbarch.sh (read_pc): Add REGCACHE argument. Remove PTID argument.
  4294. (write_pc): Likewise. Remove default implementation, add predicate.
  4295. * gdbarch.c, gdbarch.h: Regenerate.
  4296. * regcache.c (read_pc_pid): Use current regcache instead of calling
  4297. read_register_pid.
  4298. (write_pc_pid): Check gdbarch_write_pc predicate, implement default
  4299. case inline.
  4300. (generic_target_write_pc): Remove.
  4301. * inferior.h (generic_target_write_pc): Remove.
  4302. * frv-tdep.c (frv_gdbarch_init): Do not install it.
  4303. * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
  4304. * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
  4305. * sh64-tdep.c (sh64_gdbarch_init): Likewise.
  4306. * sh-tdep.c (sh_gdbarch_init): Likewise.
  4307. * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
  4308. * avr-tdep.c (avr_read_pc): Add REGCACHE argument. Remove PTID
  4309. argument. Use REGCACHE instead of calling read_register_pid.
  4310. * hppa-hpux-tdep.c (hppa_hpux_read_pc): Likewise.
  4311. * hppa-tdep.c (hppa_read_pc): Likewise.
  4312. * hppa-tdep.h (hppa_read_pc): Likewise.
  4313. * ia64-tdep.c (ia64_read_pc): Likewise.
  4314. * m32r-tdep.c (m32r_read_pc): Likewise.
  4315. * mep-tdep.c (mep_read_pc): Likewise.
  4316. * mn10300-tdep.c (mn10300_read_pc): Likewise.
  4317. * spu-tdep.c (spu_read_pc): Likewise.
  4318. * arm-tdep.c (arm_write_pc): Add REGCACHE argument. Remove PTID
  4319. argument. Use REGCACHE instead of calling write_register_pid.
  4320. * avr-tdep.c (avr_write_pc): Likewise.
  4321. * hppa-hpux-tdep.c (hppa_hpux_write_pc): Likewise.
  4322. * hppa-tdep.c (hppa_write_pc): Likewise.
  4323. * hppa-tdep.h (hppa_write_pc): Likewise.
  4324. * i386-linux-tdep.c (i386_linux_write_pc): Likewise.
  4325. * amd64-linux-tdep.c (amd64_linux_write_pc): Likewise.
  4326. * ia64-linux-tdep.c (ia64_linux_write_pc): Likewise.
  4327. * ia64-tdep.c (ia64_write_pc): Likewise.
  4328. * ia64-tdep.h (ia64_write_pc): Likewise.
  4329. * m32r-tdep.c (m32r_write_pc): Likewise.
  4330. * m88k-tdep.c (m88k_write_pc): Likewise.
  4331. * mep-tdep.c (mep_write_pc): Likewise.
  4332. * mips-tdep.c (mips_write_pc): Likewise.
  4333. * mips-linux-tdep.c (mips_linux_write_pc): Likewise.
  4334. * mn10300-tdep.c (mn10300_write_pc): Likewise.
  4335. * sparc-tdep.c (sparc_write_pc): Likewise.
  4336. * spu-tdep.c (spu_write_pc): Likewise.
  4337. * mips-tdep.c (read_signed_register): Remove.
  4338. (read_signed_register_pid): Likewise.
  4339. (mips_read_pc): Add REGCACHE argument. Remove PTID argument.
  4340. Use REGCACHE instead of calling read_signed_register_pid.
  4341. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4342. * gdbarch.sh (push_dummy_code): Add REGCACHE argument.
  4343. * gdbarch.c, gdbarch.h: Regenerate.
  4344. * infcall.c (generic_push_dummy_code): Add REGCACHE argument.
  4345. (push_dummy_code): Likewise. Pass it to callee.
  4346. (call_function_by_hand): Pass current regcache to push_dummy_code.
  4347. * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Add REGCACHE
  4348. argument. Use it instead of current_regcache.
  4349. * cris-tdep.c (cris_push_dummy_code): Add REGCACHE argument.
  4350. * sparc-tdep.c (sparc32_push_dummy_code): Likewise.
  4351. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4352. * gdbarch.sh (get_longjmp_target): Add FRAME argument.
  4353. * gdbarch.c, gdbarch.h: Regenerate.
  4354. * infrun.c (handle_inferior_event): Pass current frame to
  4355. gdbarch_get_longjmp_target.
  4356. * alpha-tdep.c (alpha_get_longjmp_target): Add FRAME argument.
  4357. Read registers from FRAME instead of using read_register.
  4358. Use get_frame_arch instead of current_gdbarch.
  4359. * arm-tdep.c (arm_get_longjmp_target): Likewise.
  4360. * i386-tdep.c (i386_get_longjmp_target): Likewise.
  4361. * m68k-tdep.c (m68k_get_longjmp_target): Likewise.
  4362. * mips-linux-tdep.c (mips_linux_get_longjmp_target): Likewise.
  4363. (mips64_linux_get_longjmp_target): Likewise.
  4364. * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Likewise.
  4365. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4366. * gdbarch.sh (skip_trampoline_code): Add FRAME argument.
  4367. * gdbarch.c, gdbarch.h: Regenerate.
  4368. * arch-utils.c (generic_skip_trampoline_code): Add FRAME argument.
  4369. * arch-utils.h (generic_skip_trampoline_code): Likewise.
  4370. * infrun.c (handle_inferior_event): Pass current frame to
  4371. gdbarch_skip_trampoline_code and skip_language_trampoline.
  4372. * language.c (unk_lang_trampoline): Add FRAME argument.
  4373. (skip_language_trampoline): Add FRAME argument. Pass it to
  4374. skip_trampoline callback.
  4375. * language.h: Add forward declaration of struct frame_info.
  4376. (struct language_defn): Add FRAME argument to skip_trampoline.
  4377. (skip_language_trampoline): Add FRAME argument.
  4378. * cp-abi.c (cplus_skip_trampoline): Add FRAME argument. Pass it
  4379. to skip_trampoline callback.
  4380. * cp-abi.h: Add forward declaration of struct frame_info.
  4381. (cplus_skip_trampoline): Add FRAME argument.
  4382. (struct cp_abi_ops): Add FRAME argument to skip_trampoline callback.
  4383. * gnu-v3-abi.c (gnuv3_skip_trampoline): Add FRAME argument. Pass it
  4384. to gdbarch_skip_trampoline_code.
  4385. * objc-lang.c (objc_skip_trampoline): Add FRAME argument. Pass it
  4386. to gdbarch_skip_trampoline_code.
  4387. * minsyms.c (find_solib_trampoline_target): Add FRAME argument.
  4388. * symtab.h (find_solib_trampoline_target): Likewise.
  4389. * obsd-tdep.c (obsd_skip_solib_resolver): Pass current frame to
  4390. find_solib_trampoline_target.
  4391. * arm-tdep.c (arm_skip_stub): Add FRAME argument. Read registers
  4392. from FRAME instead of calling read_register.
  4393. * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Add FRAME
  4394. argument. Read registers from FRAME instead of using read_register.
  4395. * hppa-tdep.c (hppa_skip_trampoline_code): Likewise.
  4396. * hppa-tdep.h (hppa_skip_trampoline_code): Add FRAME argument.
  4397. * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): Add FRAME
  4398. argument.
  4399. * m32c-tdep.c (m32c_skip_trampoline_code): Add FRAME argument.
  4400. * mips-tdep.c (mips_skip_trampoline_code): Add FRAME argument. Read
  4401. registers from FRAME instead of using read_signed_register.
  4402. * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Add FRAME
  4403. argument.
  4404. (ppc64_standard_linkage_target): Likewise. Read registers from FRAME
  4405. instead of using read_register.
  4406. (ppc64_skip_trampoline_code): Add FRAME argument. Pass it to
  4407. ppc64_standard_linkage_target.
  4408. * rs6000-tdep.c (rs6000_skip_trampoline_code): Add FRAME argument.
  4409. Pass it to find_solib_trampoline_target. Read registers from FRAME
  4410. instead of using read_register.
  4411. * xstormy16-tdep.c (xstormy16_skip_trampoline_code): Add FRAME
  4412. argument.
  4413. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4414. * gdbarch.sh (software_single_step): Replace REGCACHE argument by
  4415. FRAME argument.
  4416. * gdbarch.c, gdbarch.h: Regenerate.
  4417. * infrun.c (resume): Pass current frame to SOFTWARE_SINGLE_STEP.
  4418. * alpha-tdep.c (alpha_next_pc): Add FRAME argument. Retrieve
  4419. registers from FRAME instead of using read_register.
  4420. (alpha_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
  4421. to alpha_next_pc. Use get_frame_pc instead of read_pc.
  4422. * alpha-tdep.h (alpha_software_single_step): Replace REGCACHE
  4423. argument by FRAME.
  4424. * arm-tdep.c (shifted_reg_val): Add FRAME argument. Read registers
  4425. from FRAME instead of using read_register.
  4426. (thumb_get_next_pc): Likewise.
  4427. (arm_get_next_pc): Likewise.
  4428. (arm_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
  4429. to arm_get_next_pc. Use get_frame_pc instead of read_register.
  4430. * arm-tdep.h (arm_software_single_step): Replace REGCACHE
  4431. argument by FRAME.
  4432. * cris-tdep.c (find_step_target): Add FRAME argument. Read registers
  4433. from FRAME instead of using read_register.
  4434. (cris_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
  4435. to find_step_target.
  4436. * mips-tdep.c (mips32_next_pc): Add FRAME argument. Read registers
  4437. from FRAME instead of using read_register / read_signed_register.
  4438. (extended_mips16_next_pc): Likewise.
  4439. (mips16_next_pc): Likewise.
  4440. (mips_next_pc): Likewise.
  4441. (mips_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
  4442. to mips_next_pc. Use get_frame_pc instead of read_pc.
  4443. * mips-tdep.h (mips_software_single_step): Replace REGCACHE
  4444. argument by FRAME.
  4445. * rs6000-tdep.c (branch_dest): Add FRAME argument. Use it instead
  4446. of current frame. Read registers from FRAME.
  4447. (deal_with_atomic_sequence): Add FRAME argument. Pass it to
  4448. branch_dest. Use get_frame_pc instead of read_pc.
  4449. (rs6000_software_single_step): Likewise.
  4450. (bl_to_blrl_insn_p): Do not call branch_dest.
  4451. * rs6000-tdep.h (rs6000_software_single_step): Replace REGCACHE
  4452. argument by FRAME.
  4453. * sparc64-linux-tdep.c (sparc64_linux_step_trap): Add FRAME argument.
  4454. Read registers from FRAME instead of current regcache.
  4455. * sparc-linux-tdep.c (sparc32_linux_step_trap): Likewise.
  4456. * sparcnbsd-tdep.c (sparcnbsd_step_trap): Likewise.
  4457. * sparc-tdep.c (sparc_address_from_register): Remove.
  4458. (sparc_analyze_control_transfer): Pass FRAME argument instead of
  4459. GDBARCH. Pass FRAME to step_trap callback.
  4460. (sparc_step_trap): Add FRAME argument.
  4461. (space_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
  4462. to sparc_analyze_control_transfer. Read registers from FRAME instead
  4463. of calling sparc_address_from_register.
  4464. * sparc-tdep.h (struct gdbarch_tdep): Add FRAME argument to
  4465. step_trap callback.
  4466. (sparc_address_from_register): Remove prototype.
  4467. (sparc_software_single_step): Replace REGCACHE argument by FRAME.
  4468. (sparcnbsd_step_trap): Add FRAME argument.
  4469. * spu-tdep.c (spu_software_single_step): Replace REGCACHE argument
  4470. by FRAME. Read registers from FRAME instead of REGCACHE.
  4471. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4472. * arm-tdep.c (arm_print_float_info): Use register value from FRAME
  4473. instead of calling read_register.
  4474. * avr-tdep.c (avr_push_dummy_call): Write to REGCACHE instead of
  4475. calling write_register.
  4476. * hppa-tdep.c (hppa32_push_dummy_call): Write to REGCACHE instead of
  4477. calling write_register.
  4478. * ia64-tdep.c (find_func_descr): Add REGCACHE parameter. Use it
  4479. instead of calling read_register.
  4480. (ia64_push_dummy_call): Update call to find_func_descr. Use REGCACHE
  4481. instead of calling read_register and write_register.
  4482. * m32r-tdep.c (m32r_linux_supply_gregset): Use REGCACHE parameter
  4483. instead of current_regcache.
  4484. * mn10300-tdep.c (mn10300_push_dummy_call): Write to REGCACHE instead
  4485. of calling write_register.
  4486. * mn10300-linux-tdep.c (am33_supply_fpregset_method): Use REGCACHE
  4487. parameter instead of current_regcache.
  4488. * mips-tdep.c (mips2_fp_compat): Add FRAME parameter. Use it
  4489. instead of calling read_register.
  4490. (mips_read_fp_register_double, mips_print_fp_register): Update calls.
  4491. (mips_eabi_push_dummy_call): Use REGCACHE instead of write_register.
  4492. (mips_n32n64_push_dummy_call): Likewise.
  4493. (mips_o32_push_dummy_call): Likewise.
  4494. (mips_o64_push_dummy_call): Likewise.
  4495. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use REGCACHE
  4496. parameter instead of current_regcache.
  4497. * xtensa-tdep.c (xtensa_register_write_masked): Add REGCACHE parameter.
  4498. Use it instead of read_register and write_register.
  4499. (xtensa_register_read_masked): Likewise.
  4500. (xtensa_pseudo_register_read): Update call.
  4501. (xtensa_pseudo_register_write): Likewise.
  4502. (xtensa_frame_cache): Use register values unwound from NEXT_FRAME
  4503. instead of calling read_register.
  4504. (xtensa_push_dummy_call): Update comment.
  4505. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4506. * mips-tdep.c (mips16_scan_prologue): Replace read_next_frame_reg
  4507. by frame_unwind_register_signed calls.
  4508. (mips32_scan_prologue): Likewise. Skip analysis of alloca stack
  4509. frame allocations when called with NULL NEXT_FRAME parameter.
  4510. (read_next_frame_reg): Remove.
  4511. * sh-tdep.c (sh_analyze_prologue): Add FPSCR parameter. Use it
  4512. instead of reading the FPSCR register.
  4513. (sh_frame_cache): Pass unwound FPSCR register value to
  4514. sh_analyze_prologue.
  4515. (sh_skip_prologue): Pass dummy FPSCR value to sh_analyze_prologue.
  4516. * v850-tdep.c (v850_analyze_prologue): Add CTBP parameter. Use it
  4517. instead of reading the CTBP register.
  4518. (v850_frame_cache): Pass unwound CTBP register value to
  4519. v850_analyze_prologue.
  4520. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4521. * sh-tdep.h (sh_show_regs): Add FRAME parameter.
  4522. * sh-tdep.c (sh_show_regs): Likewise.
  4523. (sh_show_regs_command): Pass current frame to sh_show_regs routine.
  4524. (sh_generic_show_regs): Add FRAME parameter. Use register
  4525. values from that frame instead of calling read_register.
  4526. (sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs,
  4527. sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs,
  4528. sh_dsp_show_regs): Likewise.
  4529. * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs,
  4530. sh64_show_regs): Likewise.
  4531. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4532. * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Read from
  4533. current regcache instead of calling read_register.
  4534. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4535. * mep-tdep.c (current_me_module): Read from current regcache
  4536. instead of calling read_register.
  4537. (current_options): Likewise.
  4538. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4539. * cris-tdep.c (cris_stopped_data_address): Read register values
  4540. from current frame instead of calling read_register.
  4541. * frv-tdep.c (frv_stopped_data_address): Likewise.
  4542. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4543. * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc
  4544. instead of write_register (PC_REGNUM, ...).
  4545. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4546. * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment
  4547. explaining why the PC adjustment code is necessary.
  4548. 2007-06-15 Vladimir Prus <vladimir@codesourcery.com>
  4549. * m68k-tdep.h (enum m68k_flavour): New.
  4550. (struct gdbarch_tdep): New fields
  4551. float_return, flavour and fpregs_present.
  4552. * m68k-tdep.c (m68k_register_type): Use
  4553. fpregs_present and conditionalize floating
  4554. registers type on flavour.
  4555. (m68k_register_names): New.
  4556. (m68k_register_name): Use the above.
  4557. (m68k_convert_register_p): Consult fpregs_present.
  4558. (m68k_register_to_value, m68k_value_to_register):
  4559. Use register_type to obtain the type of floating
  4560. point registers.
  4561. (m68k_svr4_extract_return_value): Check tdep->float_return.
  4562. Use register_type to get the type of floating
  4563. point regiters.
  4564. (m68k_svr4_store_return_value): Likewise.
  4565. (m68k_dwarf_reg_to_regnum): Check tdep->fpregs_present.
  4566. (m68k_analyze_register_saves): Likewise.
  4567. (m68k_gdbarch_init): Extract infromation
  4568. from XML description, if present. Guess coldfire by
  4569. looking at the file, if present. Conditionalize
  4570. setting of long double format. Set decr_pc_after_break
  4571. to 2 on coldfire and fido. Enable XML-driven
  4572. register description.
  4573. * m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use
  4574. size of tdep->fpreg_type, as opposed to hardcoded value.
  4575. * Makefile.in (m68k-tdep.o): Update dependencies.
  4576. 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
  4577. * NEWS: Mention "info spu" commands and qXfer:spu:read and
  4578. qXfer:spu:write remote packet types.
  4579. 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
  4580. * xml-tdesc.c (tdesc_start_target): New.
  4581. (target_attributes): New.
  4582. (tdesc_elements): Use it.
  4583. * features/gdb-target.dtd: Add #FIXED version attribute for
  4584. <target>.
  4585. 2007-06-13 Arthur Huillet <arthur.huillet@free.fr>
  4586. * mi/mi-cmd-var.c (mi_cmd_var_assign): Fix typo.
  4587. 2007-06-13 Claudio Fontana <claudio.fontana@gmail.com>
  4588. * fork-child.c (fork_inferior): Update comment.
  4589. 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
  4590. * features/Makefile: Generate regformats for mips-linux and
  4591. mips64-linux.
  4592. * features/sort-regs.xsl: Correct typo.
  4593. * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete.
  4594. * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated
  4595. files.
  4596. 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
  4597. * config/mips/linux.mh (TDEP_XML): New.
  4598. * features/mips-linux.xml, features/mips64-linux.xml: New files.
  4599. * mips-linux-nat.c (mips_linux_register_addr): Handle
  4600. MIPS_RESTART_REGNUM.
  4601. (mips64_linux_register_addr): Likewise.
  4602. (super_xfer_partial, mips_linux_xfer_partial): New.
  4603. (_initialize_mips_linux_nat): Add them to the target_ops.
  4604. * mips-linux-tdep.c (mips_supply_gregset): Handle MIPS_RESTART_REGNUM.
  4605. (mips_fill_gregset, mips64_supply_gregset, mips64_fill_gregset)
  4606. (mips_linux_o32_sigframe_init)
  4607. (mips_linux_n32n64_sigframe_init): Likewise.
  4608. (mips_linux_write_pc, mips_linux_restart_reg_p): New.
  4609. (mips_linux_init_abi): Use mips_linux_write_pc. Check for the
  4610. "org.gnu.gdb.mips.linux" feature.
  4611. * mips-linux-tdep.h (MIPS_RESTART_REGNUM): New constant.
  4612. (mips_linux_restart_reg_p): New prototype.
  4613. * mips-tdep.c (mips_gdbarch_init): Pass tdesc_data to the OS/ABI
  4614. initialization routine.
  4615. * Makefile.in (mips-linux-tdep.o, mips-linux-nat.o): Update.
  4616. 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
  4617. * Makefile.in (mips-tdep.o): Update.
  4618. * mips-tdep.c (struct register_alias, mips_o32_aliases)
  4619. (mips_n32_n64_aliases, mips_register_aliases): New.
  4620. (mips_register_name): Call tdesc_register_name.
  4621. (mips_tdesc_register_reggroup_p): New.
  4622. (mips_pseudo_register_type, value_of_mips_user_reg): New.
  4623. (mips_gdbarch_init): Add target-described register support.
  4624. Register aliases for register names.
  4625. * target-descriptions.c (tdesc_register_name): Make global.
  4626. (tdesc_register_in_reggroup_p): New function, broken out from
  4627. tdesc_register_reggroup_p.
  4628. (tdesc_register_reggroup_p): Use it.
  4629. * target-descriptions.h (tdesc_register_name)
  4630. (tdesc_register_in_reggroup_p): New prototypes.
  4631. * NEWS: Correct formatting. Mention MIPS register support.
  4632. * features/mips-cp0.xml, features/mips-fpu.xml,
  4633. features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml,
  4634. features/mips64-cpu.xml: New files.
  4635. 2007-06-13 Markus Deuling <deuling@de.ibm.com>
  4636. * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit.
  4637. * valops.c (value_cast): Likewise.
  4638. * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise.
  4639. * ui-out.c (ui_out_field_core_addr): Likewise.
  4640. * tracepoint.c (tracepoints_info): Likewise.
  4641. * symtab.c (print_msymbol_info): Likewise.
  4642. * solib-irix.c (irix_current_sos)
  4643. (irix_open_symbol_file_object): Likewise.
  4644. * remote.c (build_remote_gdbarch_data): Likewise.
  4645. * prologue-value.c (make_pv_area): Likewise.
  4646. * procfs.c (info_mappings_callback): Likewise.
  4647. * printcmd.c (print_scalar_formatted)
  4648. (deprecated_print_address_numeric): Likewise.
  4649. * memattr.c (mem_info_command): Likewise.
  4650. * linux-nat.c (linux_nat_info_proc_cmd): Likewise.
  4651. * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise.
  4652. * exec.c (print_section_info): Likewise.
  4653. * dwarf2read.c (read_subrange_type): Likewise.
  4654. * dwarf2loc.c (find_location_expression): Likewise.
  4655. * dwarf2expr.c (dwarf2_read_address, unsigned_address_type)
  4656. (signed_address_type, execute_stack_op): Likewise.
  4657. * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise.
  4658. * gdbarch.c, gdbarch.h: Regenerate.
  4659. 2007-06-13 Markus Deuling <deuling@de.ibm.com>
  4660. * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info.
  4661. * arch-utils.c (show_architecture): Likewise.
  4662. * remote-mips.c (mips_open): Likewise
  4663. * nto-tdep.c (nto_find_and_open_solib)
  4664. (nto_init_solib_absolute_prefix): Likewise.
  4665. * nto-procfs (procfs_open): Likewise.
  4666. * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise.
  4667. * gcore.c (default_gcore_mach, default_gcore_arch): Likewise.
  4668. * gdbarch.c, gdbarch.h: Regenerate.
  4669. 2007-06-13 Markus Deuling <deuling@de.ibm.com>
  4670. * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit.
  4671. * gdbtypes.c (build_flt): Likewise.
  4672. * gdbarch.c, gdbarch.h: Regenerate.
  4673. 2007-06-13 Markus Deuling <deuling@de.ibm.com>
  4674. * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by
  4675. gdbarch_breakpoint_from_pc.
  4676. * s390-tdep.c (s390_gdbarch_init): Likewise (comment).
  4677. * remote.c (remote_insert_breakpoint)
  4678. (remote_insert_hw_breakpoint): Likewise.
  4679. * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
  4680. * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment).
  4681. * breakpoint.h (bp_target_info): Likewise (comment).
  4682. * breakpoint.c (read_memory_nobpt): Likewise.
  4683. * mem-break.c (default_memory_insert_breakpoint): Likewise.
  4684. (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment.
  4685. * gdbarch.c, gdbarch.h: Regenerate.
  4686. 2007-06-13 Markus Deuling <deuling@de.ibm.com>
  4687. * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit.
  4688. * solib-svr4.c (svr4_truncate_ptr): Likewise.
  4689. * solib-pa64.c (read_dynamic_info): Likewise.
  4690. * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
  4691. * solib.c (info_sharedlibrary_command): Likewise.
  4692. * s390-nat.c (SUBOFF): Likewise.
  4693. * p-valprint.c (pascal_val_print): Likewise.
  4694. * procfs.c (info_proc_mappings): Likewise.
  4695. * printcmd.c (decode_format): Likewise.
  4696. * nto-tdep.c (nto_truncate_ptr): Likewise.
  4697. * mips-linux-tdep.c (mips_linux_get_longjmp_target)
  4698. (mips64_linux_get_longjmp_target): Likewise.
  4699. * m68k-tdep.c (m68k_get_longjmp_target): Likewise.
  4700. * jv-valprint.c (java_value_print): Likewise.
  4701. * jv-lang.c (get_java_object_header_size): Likewise.
  4702. * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise.
  4703. * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
  4704. (hppa_hpux_unwind_adjust_stub): Likewise.
  4705. * gnu-v3-abi.c (build_gdb_vtable_type): Likewise.
  4706. * gdbtypes.c (make_pointer_type, make_reference_type)
  4707. (smash_to_memberptr_type): Likewise.
  4708. * gdbarch.c, gdbarch.h: Regenerate.
  4709. 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
  4710. * mips-tdep.c (mips_print_register): Remove unused ALL argument.
  4711. (print_gp_register_row): Stop before printing a register bigger
  4712. than the ABI register size.
  4713. (mips_print_registers_info): Update call to mips_print_register.
  4714. 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
  4715. * expression.h (enum exp_opcode): Document a register name for
  4716. OP_REGISTER.
  4717. * parse.c (write_dollar_variable): Write the register name for
  4718. OP_REGISTER.
  4719. (operator_length_standard): Expect the register name following
  4720. OP_REGISTER.
  4721. * ada-lang.c (resolve_subexp): Likewise.
  4722. * ax-gdb.c (gen_expr): Likewise.
  4723. * eval.c (evaluate_subexp_standard): Likewise.
  4724. * expprint.c (print_subexp_standard, dump_subexp_body_standard):
  4725. Likewise.
  4726. * tracepoint.c (encode_actions): Likewise.
  4727. 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
  4728. * utils.c (set_screen_size): Use INT_MAX for default columns.
  4729. 2007-06-13 Ulrich Weigand <uweigand@de.ibm.com>
  4730. * remote.c (remote_protocol_features): Add qXfer:spu:read and
  4731. qXfer:spu:write packet types.
  4732. 2007-06-12 Markus Deuling <deuling@de.ibm.com>
  4733. * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove.
  4734. * gdbarch.c, gdbarch.h: Regenerate.
  4735. 2007-06-12 Markus Deuling <deuling@de.ibm.com>
  4736. * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by
  4737. gdbarch_stab_reg_to_regnum.
  4738. * stabsread.c (define_symbol): Likewise.
  4739. * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by
  4740. gdbarch_ecoff_reg_to_regnum.
  4741. * mdebugread.c (parse_symbol): Likewise.
  4742. * i386-tdep.c (i386_gdbarch_init): Likewise (comment).
  4743. * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by
  4744. gdbarch_dwarf_reg_to_regnum.
  4745. * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum.
  4746. * coffread.c (process_coff_symbol): Likewise.
  4747. * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by
  4748. gdbarch_dwarf2_reg_to_regnum.
  4749. * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc)
  4750. (locexpr_describe_location): Likewise.
  4751. * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache)
  4752. (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise.
  4753. * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro.
  4754. * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro.
  4755. * gdbarch.c, gdbarch.h: Regenerate.
  4756. 2007-06-12 Markus Deuling <deuling@de.ibm.com>
  4757. * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by
  4758. gdbarch_smash_text_address.
  4759. * somread.c (som_symtab_read): Likewise.
  4760. * elfread.c (record_minimal_symbol): Likewise.
  4761. * dbxread.c (process_one_symbol): Likewise.
  4762. * coffread.c (coff_symtab_read): Likewise.
  4763. * gdbarch.c, gdbarch.h: Regenerate.
  4764. 2007-06-12 Markus Deuling <deuling@de.ibm.com>
  4765. * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value.
  4766. * findvar.c (value_from_register): Likewise.
  4767. * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register.
  4768. * valops.c (value_assign): Likewise.
  4769. * gdbarch.sh (CONVERT_REGISTER_P): Replace by
  4770. gdbarch_convert_register_p.
  4771. * findvar.c (value_from_register): Likewise.
  4772. * valops.c (value_assign): Likewise.
  4773. * gdbarch.c, gdbarch.h: Regenerate.
  4774. 2007-06-12 Markus Deuling <deuling@de.ibm.com>
  4775. * gdbarch.sh (REGISTER_SIM_REGNO): Replace by
  4776. gdbarch_register_sim_regno.
  4777. * sim-regno.h (sim_regno): Likewise (comment).
  4778. * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise.
  4779. * gdbarch.c, gdbarch.h: Regenerate.
  4780. 2007-06-12 Markus Deuling <deuling@de.ibm.com>
  4781. * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by
  4782. gdbarch_virtual_frame_pointer.
  4783. * tracepoint.c (encode_actions): Likewise.
  4784. * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise.
  4785. * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise.
  4786. * gdbarch.c, gdbarch.h: Regenerate.
  4787. 2007-06-12 Markus Deuling <deuling@de.ibm.com>
  4788. * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit.
  4789. * p-lang.c (pascal_create_fundamental_type): Likewise.
  4790. * objc-lang.c (objc_create_fundamental_type): Likewise.
  4791. * mdebugread.c (_initialize_mdebugread): Likewise.
  4792. * m2-lang.c (m2_create_fundamental_type)
  4793. (_initialize_m2_language): Likewise.
  4794. * gdbtypes.c (build_gdbtypes): Likewise.
  4795. * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
  4796. * doublest.c (floatformat_from_length): Likewise.
  4797. * c-lang.c (c_create_fundamental_type): Likewise.
  4798. * ada-lang.c (ada_create_fundamental_type)
  4799. (ada_language_arch_info): Likewise.
  4800. * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format.
  4801. * value.c (unpack_double): Likewise (comment).
  4802. * gdbtypes.c (build_gdbtypes): Likewise.
  4803. * doublest.c (floatformat_from_length): Likewise.
  4804. * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit.
  4805. * valarith.c (value_binop): Likewise.
  4806. * p-lang.c (pascal_create_fundamental_type): Likewise.
  4807. * objc-lang.c (objc_create_fundamental_type): Likewise.
  4808. * mdebugread.c (_initialize_mdebugread): Likewise.
  4809. * m2-lang.c (m2_create_fundamental_type): Likewise.
  4810. * gdbtypes.c (build_gdbtypes): Likewise.
  4811. * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
  4812. * doublest.c (floatformat_from_length): Likewise.
  4813. * cris-tdep.c (cris_gdbarch_init): Likewise (comment).
  4814. * c-lang.c (c_create_fundamental_type): Likewise.
  4815. * ada-lex.l (processReal): Likewise.
  4816. * ada-lang.c (ada_create_fundamental_type)
  4817. (ada_language_arch_info): Likewise.
  4818. * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format.
  4819. * value.c (unpack_double): Likewise (comment).
  4820. * gdbtypes.c (build_gdbtypes): Likewise.
  4821. * doublest.c (floatformat_from_length): Likewise.
  4822. * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by
  4823. gdbarch_long_double_bit.
  4824. * p-lang.c (pascal_create_fundamental_type): Likewise.
  4825. * objc-lang.c (objc_create_fundamental_type): Likewise.
  4826. * m2-lang.c (m2_create_fundamental_type): Likewise.
  4827. * gdbtypes.c (build_gdbtypes): Likewise.
  4828. * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
  4829. * doublest.c (floatformat_from_length): Likewise.
  4830. * c-lang.c (c_create_fundamental_type): Likewise.
  4831. * ada-lex.l (processReal): Likewise.
  4832. * ada-lang.c (ada_create_fundamental_type)
  4833. (ada_language_arch_info): Likewise.
  4834. * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by
  4835. gdbarch_long_double_format.
  4836. * gdbtypes.c (build_gdbtypes): Likewise.
  4837. * doublest.c (floatformat_from_length): Likewise.
  4838. * gdbarch.c, gdbarch.h: Regenerate.
  4839. 2007-06-12 Markus Deuling <deuling@de.ibm.com>
  4840. * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit.
  4841. * ada-lang.c (ada_create_fundamental_type)
  4842. (ada_language_arch_info): Likewise.
  4843. * c-lang.c (c_create_fundamental_type): Likewise.
  4844. * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
  4845. * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
  4846. * m2-lang.c (m2_create_fundamental_type): Likewise.
  4847. * objc-lang.c (objc_create_fundamental_type): Likewise.
  4848. * p-lang.c (pascal_create_fundamental_type): Likewise.
  4849. * gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit.
  4850. * c-exp.y (parse_number): Likewise.
  4851. * objc-exp.y (parse_number): Likewise.
  4852. * ada-lex.l (processInt): Likewise.
  4853. * f-exp.y (parse_number): Likewise.
  4854. * p-exp.y (parse_number): Likewise.
  4855. * ada-lang.c (ada_create_fundamental_type, ada_language_arch_info)
  4856. (gdbtypes_post_init, build_gdbtypes): Likewise.
  4857. * p-lang.c (pascal_create_fundamental_type): Likewise.
  4858. * parse.c (build_parse): Likewise.
  4859. * xcoffread.c (_initialize_xcoffread): Likewise.
  4860. * stabsread.c (define_symbol, read_one_struct_field, read_enum_type)
  4861. (read_range_type): Likewise.
  4862. * objc-lang.c (objc_create_fundamental_type): Likewise.
  4863. * f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise.
  4864. * m2-lang.c (m2_create_fundamental_type, _initialize_m2_language)
  4865. (m2_create_fundamental_type): Likewise.
  4866. * c-lang.c (c_create_fundamental_type): Likewise.
  4867. * coffread.c (coff_read_enum_type): Likewise.
  4868. * mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise.
  4869. * dwarf2read.c (new_symbol): Likewise.
  4870. * gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit.
  4871. * c-exp.y (parse_number): Likewise.
  4872. * objc-exp.y (parse_number): Likewise.
  4873. * ada-lex.l (processInt): Likewise.
  4874. * f-exp.y (parse_number): Likewise.
  4875. * p-exp.y (parse_number): Likewise.
  4876. * valarith.c (value_binop): Likewise.
  4877. * symfile.c (read_target_long_array, simple_overlay_update_1): Likewise.
  4878. * ada-lang.c (ada_create_fundamental_type)
  4879. (ada_language_arch_info): Likewise.
  4880. * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
  4881. * symfile.c (TARGET_LONG_BYTES): Likewise.
  4882. * p-lang.c (pascal_create_fundamental_type): Likewise.
  4883. * objc-lang.c (objc_create_fundamental_type): Likewise.
  4884. * m2-lang.c (m2_create_fundamental_type): Likewise.
  4885. * f-lang.c (f_create_fundamental_type): Likewise.
  4886. * c-lang.c (c_create_fundamental_type): Likewise.
  4887. * coffread.c (decode_base_type): Likewise.
  4888. * gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit.
  4889. * c-exp.y (parse_number): Likewise.
  4890. * objc-exp.y (parse_number): Likewise.
  4891. * p-exp.y (parse_number): Likewise.
  4892. * ada-lang.c (ada_create_fundamental_type)
  4893. (ada_language_arch_info): Likewise.
  4894. * gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise.
  4895. * stabsread.c (read_range_type): Likewise.
  4896. * p-lang.c (pascal_create_fundamental_type): Likewise.
  4897. * objc-lang.c (objc_create_fundamental_type): Likewise.
  4898. * m2-lang.c (m2_create_fundamental_type): Likewise.
  4899. * f-lang.c (f_create_fundamental_type): Likewise.
  4900. * c-lang.c (c_create_fundamental_type): Likewise.
  4901. * gdbarch.c, gdbarch.h: Regenerate.
  4902. 2007-06-12 Andreas Schwab <schwab@suse.de>
  4903. * frame-unwind.h (frame_dealloc_cache_ftype): Define.
  4904. (struct frame_unwind): Add dealloc_cache.
  4905. * frame.c (reinit_frame_cache): Call dealloc_cache on all caches.
  4906. * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare.
  4907. * libunwind-frame.c (libunwind_frame_dealloc_cache): Define.
  4908. (libunwind_frame_unwind): Set dealloc_cache.
  4909. * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache.
  4910. 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com>
  4911. Markus Deuling <deuling@de.ibm.com>
  4912. * remote.c (remote_write_qxfer): New function.
  4913. (remote_xfer_partial): Add handling for TARGET_OBJECT_SPU.
  4914. (remote_read_qxfer): Do not cache empty objects.
  4915. (_initialize_remote): Add PACKET_qXfer_spu_read and
  4916. PACKET_qXfer_spu_write.
  4917. 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com>
  4918. * target.h (enum target_object): Add TARGET_OBJECT_SPU.
  4919. * spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU.
  4920. * spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers.
  4921. (enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM,
  4922. SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM.
  4923. * spu-tdep.c (infospucmdlist): New variable.
  4924. (spu_register_name): Handle additional pseudo registers.
  4925. (spu_register_type): Likewise.
  4926. (spu_pseudo_register_read): Likewise.
  4927. (spu_pseudo_register_write): Likewise.
  4928. (spu_pseudo_register_read_spu): New function.
  4929. (spu_pseudo_register_write_spu): Likewise.
  4930. (info_spu_event_command): New function.
  4931. (info_spu_signal_command): Likewise.
  4932. (info_spu_mailbox_list): Likewise.
  4933. (info_spu_mailbox_command): Likewise.
  4934. (spu_mfc_get_bitfield): Likewise.
  4935. (info_spu_dma_cmdlist): Likewise.
  4936. (info_spu_dma_command): Likewise.
  4937. (info_spu_proxydma_command): Likewise.
  4938. (info_spu_command): Likewise.
  4939. (_initialize_spu_tdep): Install "info spu" commands.
  4940. 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com>
  4941. * spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when
  4942. accessing non-seekable spufs files.
  4943. 2007-06-09 Markus Deuling <deuling@de.ibm.com>
  4944. * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by
  4945. gdbarch_skip_trampoline_code.
  4946. * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment).
  4947. * objc-lang.c (objc_skip_trampoline)
  4948. (objc_submethod_helper_data): Likewise.
  4949. * m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment).
  4950. * infrun.c (handle_inferior_event): Likewise.
  4951. * gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise.
  4952. * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by
  4953. gdbarch_in_solib_return_trampoline.
  4954. * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment).
  4955. * infrun.c (handle_inferior_event): Likewise.
  4956. * hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise.
  4957. * gdbarch.c, gdbarch.h: Regenerate.
  4958. 2007-06-09 Markus Deuling <deuling@de.ibm.com>
  4959. * gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue.
  4960. * symtab.c (find_function_start_sal, in_prologue): Likewise.
  4961. * linespec.c (minsym_found): Likewise.
  4962. * infrun.c (step_into_function): Likewise.
  4963. * gdbarch.c, gdbarch.h: Regenerate.
  4964. 2007-06-09 Markus Deuling <deuling@de.ibm.com>
  4965. * gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc.
  4966. * valops.c (value_allocate_space_in_inferior): Likewise.
  4967. * gdbarch.c, gdbarch.h: Regenerate.
  4968. 2007-06-09 Markus Deuling <deuling@de.ibm.com>
  4969. * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by
  4970. gdbarch_memory_insert_breakpoint.
  4971. * mem-break.c (memory_insert_breakpoint): Likewise.
  4972. * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by
  4973. gdbarch_memory_remove_breakpoint.
  4974. * mem-break.c (memory_remove_breakpoint): Likewise.
  4975. * gdbarch.c, gdbarch.h: Regenerate.
  4976. 2007-06-09 Markus Deuling <deuling@de.ibm.com>
  4977. * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by
  4978. gdbarch_fetch_tls_load_module_address.
  4979. * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by
  4980. gdbarch_fetch_tls_load_module_address_p.
  4981. * gdbarch.c, gdbarch.h: Regenerate.
  4982. 2007-06-09 Markus Deuling <deuling@de.ibm.com>
  4983. * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by
  4984. gdbarch_decr_pc_after_break.
  4985. * tracepoint.c (trace_dump_command): Likewise.
  4986. * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise.
  4987. * linux-thread-db.c (check_event): Likewise.
  4988. * linux-nat.c (cancel_breakpoints_callback): Likewise.
  4989. * infrun.c (adjust_pc_after_break, normal_stop): Likewise.
  4990. * frame.h: Likewise (comment).
  4991. * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise.
  4992. * aix-thread.c (aix_thread_wait): Likewise.
  4993. * gdbarch.c, gdbarch.h: Regenerate.
  4994. 2007-06-09 Markus Deuling <deuling@de.ibm.com>
  4995. * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by
  4996. gdbarch_address_class_type_flags.
  4997. * dwarf2read.c (read_tag_pointer_type): Likewise.
  4998. * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by
  4999. gdbarch_address_class_type_flags_p.
  5000. * dwarf2read.c (read_tag_pointer_type): Likewise.
  5001. * gdbarch.c, gdbarch.h: Regenerate.
  5002. 2007-06-09 Markus Deuling <deuling@de.ibm.com>
  5003. * gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove.
  5004. * value.c (value_as_address): Likewise (comment).
  5005. * remote-mips.c (common_breakpoint): Likewise.
  5006. * regcache.c (read_pc_pid): Likewise.
  5007. * printcmd.c (do_one_display): Likewise.
  5008. * monitor.c (monitor_write_memory, monitor_read_memory)
  5009. (monitor_insert_breakpoint): Likewise.
  5010. * mips-tdep.c (heuristic_proc_start): Likewise.
  5011. * infrun.c (insert_step_resume_breakpoint_at_frame)
  5012. (insert_step_resume_breakpoint_at_caller): Likewise.
  5013. * buildsym.c (record_line): Likewise.
  5014. * arm-tdep.c (arm_scan_prologue, thumb_get_next_pc)
  5015. (arm_get_next_pc): Likewise.
  5016. * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
  5017. (store_regs): Likewise.
  5018. * arm-linux-tdep.c (arm_linux_supply_gregset): Likewise.
  5019. * arm-linux-nat.c (fetch_register, fetch_regs): Likewise.
  5020. * gdbarch.c, gdbarch.h: Regenerate.
  5021. 2007-06-09 Markus Deuling <deuling@de.ibm.com>
  5022. * gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name.
  5023. * tracepoint.c (scope_info): Likewise.
  5024. * target.c (debug_print_register): Likewise.
  5025. * stack.c (frame_info): Likewise.
  5026. * sh-tdep.c (sh_register_reggroup_p): Likewise.
  5027. * sh64-tdep.c (sh64_do_fp_register, sh64_do_register)
  5028. (sh64_media_print_registers_info)
  5029. (sh64_compact_print_registers_info): Likewise.
  5030. * rs6000-tdep.c (rs6000_register_reggroup_p): Likewise.
  5031. * remote-sim.c (gdbsim_fetch_register): Likewise.
  5032. * remote.c (packet_reg): Likewise (comment).
  5033. * reggroups.c (default_register_reggroup_p): Likewise.
  5034. * regcache.c (regcache_dump): Likewise.
  5035. * printcmd.c (address_info): Likewise.
  5036. * ppc-linux-nat.c (fetch_register, store_register): Likewise.
  5037. * mt-dep.c (mt_registers_info): Likewise.
  5038. * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment).
  5039. * mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single)
  5040. (mips_read_fp_register_double, mips_print_fp_register)
  5041. (mips_print_register, print_gp_register_row, mips_print_registers_info)
  5042. (mips_register_sim_regno): Likewise.
  5043. * m68klinux-nat.c (regmap, fetch_register, store_register): Likewise.
  5044. * inf-ptrace.c (inf_ptrace_fetch_register)
  5045. (inf_ptrace_store_register): Likewise.
  5046. * infcmd.c (default_print_registers_info): Likewise.
  5047. * ia64-linux-nat.c (ia64_linux_fetch_register)
  5048. (ia64_linux_store_register): Likewise.
  5049. * i386-linux-nat.c (fetch_register, store_register): Likewise.
  5050. * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise.
  5051. * hppa-linux-nat.c (fetch_register, store_register): Likewise.
  5052. * hppa-hpux-nat.c (hppa_hpux_fetch_register)
  5053. (hppa_hpux_store_register): Likewise.
  5054. * findvar.c (locate_var_value): Likewise.
  5055. * dwarf2loc.c (locexpr_describe_location): Likewise.
  5056. * dwarf2-frame.c (execute_cfa_program): Likewise.
  5057. * arm-tdep.c (arm_push_dummy_call): Likewise.
  5058. * arch-utils.c (legacy_register_sim_regno): Likewise.
  5059. * alpha-tdep.c (alpha_register_reggroup_p): Likewise.
  5060. * alpha-nat.c (fetch_osf_core_registers): Likewise.
  5061. * mi/mi-main.c (mi_cmd_data_list_register_names)
  5062. (mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values)
  5063. (mi_cmd_data_write_register_values): Likewise.
  5064. * gdbarch.c, gdbarch.h: Regenerate.
  5065. 2007-06-07 Daniel Jacobowitz <dan@codesourcery.com>
  5066. * target-memory.c (blocks_to_erase): Correct off-by-one error.
  5067. 2007-06-06 Vladimir Prus <vladimir@codesourcery.com>
  5068. * remote.c (process_g_packet): Don't check size.
  5069. * gdbarch.sh: Remove register_bytes_ok.
  5070. * gdbarch.c: Regenerated.
  5071. * gdbarch.h: Regenerated.
  5072. * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove.
  5073. (m68k_register_bytes_ok): Remove.
  5074. (m68k_gdbarch_init): Don't register m68k_register_bytes_ok.
  5075. 2007-06-06 Andreas Schwab <schwab@suse.de>
  5076. * libunwind-frame.c (unw_destroy_addr_space_p): Define.
  5077. (destroy_addr_space_name): Define.
  5078. (libunwind_load): Get address of destroy_addr_space function.
  5079. (libunwind_frame_cache): Destroy unw_addr_space_t object before
  5080. returning unsuccessfully.
  5081. (libunwind_frame_sniffer): Destroy unw_addr_space_t object before
  5082. returning.
  5083. (libunwind_sigtramp_frame_sniffer): Likewise.
  5084. (libunwind_get_reg_special): Likewise.
  5085. 2007-06-06 Markus Deuling <deuling@de.ibm.com>
  5086. * gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by
  5087. gdbarch_fetch_pointer_argument.
  5088. * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise.
  5089. * gdbarch.c, gdbarch.h: Regenerate.
  5090. 2007-06-06 Markus Deuling <deuling@de.ibm.com>
  5091. * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by
  5092. gdbarch_have_nonsteppable_watchpoint.
  5093. * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise.
  5094. * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by
  5095. gdbarch_cannot_step_breakpoint.
  5096. * infrun.c (resume): Likewise.
  5097. * gdbarch.c, gdbarch.h: Regenerate.
  5098. 2007-06-06 Markus Deuling <deuling@de.ibm.com>
  5099. * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip.
  5100. * stack.c (print_frame_args): Likewise.
  5101. * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args.
  5102. * stack.c (print_args_stub, frame_info): Likewise.
  5103. * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p.
  5104. * stack.c (print_args_stub, frame_info): Likewise.
  5105. * gdbarch.c, gdbarch.h: Regenerate.
  5106. 2007-06-06 Markus Deuling <deuling@de.ibm.com>
  5107. * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by
  5108. gdbarch_coff_make_msymbol_special.
  5109. * coffread.c (coff_symtab_read): Likewise.
  5110. * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by
  5111. gdbarch_elf_make_msymbol_special.
  5112. * elfread.c (elf_symtab_read): Likewise.
  5113. * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment).
  5114. * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment).
  5115. * gdbarch.c, gdbarch.h: Regenerate.
  5116. 2007-06-06 Markus Deuling <deuling@de.ibm.com>
  5117. * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by
  5118. gdbarch_frame_red_zone_size.
  5119. * gdbarch.c, gdbarch.h: Regenerate.
  5120. 2007-06-06 Markus Deuling <deuling@de.ibm.com>
  5121. * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than.
  5122. * infcall.c (call_function_by_hand): Likewise.
  5123. * gcore.c (derive_stack_segment): Likewise.
  5124. * frame.c (frame_id_inner): Likewise.
  5125. * arch-utils.c (core_addr_lessthan): Likewise (comment).
  5126. * ada-lang.c (ensure_lval): Likewise.
  5127. * gdbarch.c, gdbarch.h: Regenerate.
  5128. 2007-06-06 Markus Deuling <deuling@de.ibm.com>
  5129. * gdbarch.sh (ADDRESS_TO_POINTER): Replace by
  5130. gdbarch_address_to_pointer.
  5131. * findvar.c (store_typed_address): Likewise.
  5132. * gdbtypes.c (make_pointer_type): Likewise (comment).
  5133. * procfs.c (procfs_address_to_host_pointer): Likewise.
  5134. * std-regs.c (value_of_builtin_frame_reg): Likewise.
  5135. (value_of_builtin_frame_fp_reg): Likewise.
  5136. (value_of_builtin_frame_pc_reg): Likewise.
  5137. * utils.c (paddress): Likewise (comment).
  5138. * gdbarch.sh (POINTER_TO_ADDRESS): Replace by
  5139. gdbarch_pointer_to_address.
  5140. * findvar.c (extract_typed_address): Likewise.
  5141. * gdbtypes.c (make_pointer_type): Likewise (comment).
  5142. * valops.c (value_cast): Likewise (comment).
  5143. * gdbarch.c, gdbarch.h: Regenerate.
  5144. 2007-06-06 Markus Deuling <deuling@de.ibm.com>
  5145. * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target.
  5146. * infrun.c (handle_inferior_event): Likewise.
  5147. * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by
  5148. gdbarch_get_longjmp_target_p.
  5149. * breakpoint.c (breakpoint_re_set): Likewise.
  5150. * infrun.c (handle_inferior_event): Likewise.
  5151. * gdbarch.c, gdbarch.h: Regenerate.
  5152. 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com>
  5153. * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook,
  5154. HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break,
  5155. HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification,
  5156. hp_cxx_exception_support, hp_cxx_exception_support_initialized,
  5157. eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr,
  5158. eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior,
  5159. find_stub_with_shl_get, cover_find_stub_with_shl_get,
  5160. initialize_hp_cxx_exception_support, child_enable_exception_callback,
  5161. current_ex_event, child_get_current_exception_event): Remove.
  5162. (hppa_hpux_inferior_created): Remove.
  5163. (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created.
  5164. * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove.
  5165. (deprecated_exception_support_initialized): Remove.
  5166. * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove.
  5167. (deprecated_exception_support_initialized): Remove.
  5168. (breakpoint_init_inferior): Remove handling of non-zero
  5169. deprecated_exception_catchpoints_are_fragile.
  5170. * symtab.h (deprecated_hp_som_som_object_present): Remove.
  5171. * symtab.c (deprecated_hp_som_som_object_present): Remove.
  5172. * c-typeprint.c (c_type_print_base): Remove handling of non-zero
  5173. deprecated_hp_som_som_object_present.
  5174. * eval.c (evaluate_subexp_standard): Likewise.
  5175. * valops.c (value_cast): Likewise.
  5176. * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove.
  5177. * parser-defs.h (parse_nested_classes_for_hpacc): Remove.
  5178. * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc.
  5179. 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com>
  5180. * objfiles.h (ImportEntry, ExportEntry): Remove types.
  5181. (struct objfile): Remove import_list, import_list_size,
  5182. export_list, export_list_size members.
  5183. (is_in_import_list): Remove prototype.
  5184. * objfiles.c (is_in_import_list): Remove.
  5185. * somread.c (init_import_symbols, init_export_symbols): Remove.
  5186. (som_symfile_read): Do not call init_import_symbols. Do not
  5187. set objfile->export_list and objfile->export_list_size.
  5188. 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
  5189. * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting.
  5190. Use the original objfile if necessary.
  5191. 2007-06-04 Daniel Jacobowitz <dan@codesourcery.com>
  5192. * defs.h (ldirname): New prototype.
  5193. * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is
  5194. missing.
  5195. * utils.c (ldirname): New function.
  5196. * xml-tdesc.c (file_read_description_xml): Use ldirname.
  5197. 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
  5198. * spu-tdep.c (spu_push_dummy_call): Store stack back chain.
  5199. 2007-06-01 Joel Brobecker <brobecker@adacore.com>
  5200. * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning.
  5201. 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
  5202. * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove.
  5203. 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
  5204. * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777,
  5205. INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove.
  5206. (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET,
  5207. PPC_LINUX_HANDLER_PTR_OFFSET): Remove.
  5208. (ppc_linux_in_sigtramp, insn_is_sigreturn,
  5209. ppc_linux_at_sigtramp_return_path): Remove.
  5210. 2007-05-31 Markus Deuling <deuling@de.ibm.com>
  5211. * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize)
  5212. (xtensa_register_write_masked, xtensa_register_read_masked)
  5213. (xtensa_extract_return_value, xtensa_store_return_value
  5214. (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace
  5215. TARGET_BYTE_ORDER by gdbarch_byte_order.
  5216. * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh)
  5217. (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu)
  5218. (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise.
  5219. * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64)
  5220. (sh64_push_dummy_call, sh64_extract_return_value)
  5221. (sh64_store_return_value, sh64_register_convert_to_virtual)
  5222. (sh64_register_convert_to_raw, sh64_pseudo_register_read)
  5223. (sh64_pseudo_register_write, sh64_do_fp_register)
  5224. (sh64_frame_prev_register): Likewise.
  5225. * score-tdep.c (score_print_insn, score_breakpoint_from_pc)
  5226. (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise.
  5227. * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call)
  5228. (e500_move_ev_register,gdb_print_insn_powerpc): Likewise.
  5229. * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise.
  5230. * ppc-linux-nat.c (store_register): Likewise.
  5231. * nto-tdep.c (nto_find_and_open_solib)
  5232. (nto_init_solib_absolute_prefix): Likewise.
  5233. * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write)
  5234. (mips_convert_register_p, mips_eabi_push_dummy_call)
  5235. (mips_n32n64_push_dummy_call, mips_n32n64_return_value)
  5236. (mips_o32_push_dummy_call, mips_o32_return_value)
  5237. (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value)
  5238. (mips_read_fp_register_single, mips_read_fp_register_double)
  5239. (mips_print_register, print_gp_register_row, gdb_print_insn_mips)
  5240. (mips_breakpoint_from_pc): Likewise.
  5241. * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise.
  5242. * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset)
  5243. (mips_linux_o32_sigframe_init): Likewise.
  5244. * m32r-tdep.c (m32r_memory_insert_breakpoint)
  5245. (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise.
  5246. * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer)
  5247. (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise.
  5248. * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise.
  5249. * coffread.c (process_coff_symbol): Likewise.
  5250. * arm-tdep.c (convert_from_extended, convert_to_extended)
  5251. (gdb_print_insn_arm): Likewise.
  5252. 2007-05-31 Markus Deuling <deuling@de.ibm.com>
  5253. * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs.
  5254. * i386-tdep.c (i386_dbx_reg_to_regnum)
  5255. (i386_svr4_reg_to_regnum): Likewise.
  5256. * inf-ptrace.c (inf_ptrace_fetch_registers)
  5257. (inf_ptrace_store_registers): Likewise.
  5258. * corelow.c (get_core_registers): Likewise.
  5259. * i386-linux-nat.c (supply_gregset, fill_gregset)
  5260. (i386_linux_fetch_inferior_registers)
  5261. (i386_linux_store_inferior_registers): Likewise.
  5262. * remote.c (init_remote_state,packet_reg_from_regnum)
  5263. (packet_reg_from_pnum,process_g_packet,remote_fetch_registers)
  5264. (remote_prepare_to_store,store_registers_using_G)
  5265. (remote_store_registers,remote_arch_state): Likewise.
  5266. * tracepoint.c (encode_actions): Likewise.
  5267. * mi/mi-main.c (mi_cmd_data_list_register_names)
  5268. (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
  5269. (mi_cmd_data_write_register_values): Likewise.
  5270. * tui/tui-regs.c (tui_show_register_group)
  5271. (tui_show_register_group): Likewise.
  5272. * xtensa-tdep.h (FP_ALIAS): Likewise.
  5273. * xtensa-tdep.c (xtensa_register_name,xtensa_register_type)
  5274. (xtensa_reg_to_regnum,xtensa_pseudo_register_read)
  5275. (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise.
  5276. * win32-nat.c (do_win32_fetch_inferior_registers)
  5277. (do_win32_store_inferior_registers,fetch_elf_core_registers
  5278. * user-regs.h: Likewise (comment).
  5279. * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
  5280. * trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
  5281. * target-descriptions.h: Likewise (comment).
  5282. * target-descriptions.c (tdesc_use_registers): Likewise (comment).
  5283. * target.c (debug_print_register): Likewise.
  5284. * stack.c (frame_info): Likewise.
  5285. * stabsread.c (define_symbol): Likewise.
  5286. * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register)
  5287. (sh64_media_print_registers_info)
  5288. (sh64_compact_print_registers_info): Likewise.
  5289. * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
  5290. * rs6000-nat.c (fetch_register,store_register): Likewise.
  5291. * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register)
  5292. (gdbsim_fetch_register,gdbsim_store_register): Likewise.
  5293. * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise.
  5294. * remote-m32r-sdi.c (m32r_fetch_registers)
  5295. (m32r_store_registers): Likewise.
  5296. * reggroups.c (default_register_reggroup_p): Likewise.
  5297. * regcache.c (init_regcache_descr,register_size,regcache,regcache_save)
  5298. (regcache_restore,regcache_dump): Likewise.
  5299. * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise.
  5300. * mips-tdep.c (mips_xfer_register,mips_register_name)
  5301. (mips_register_reggroup_p,mips_pseudo_register_read)
  5302. (mips_pseudo_register_write,mips_convert_register_p,mips_register_type)
  5303. (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset)
  5304. (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs)
  5305. (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg)
  5306. (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value)
  5307. (print_gp_register_row,mips_print_registers_info)
  5308. (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum)
  5309. (mips_register_sim_regno): Likewise.
  5310. * mips-linux-tdep.c (mips_linux_o32_sigframe_init)
  5311. (mips_linux_n32n64_sigframe_init): Likewise.
  5312. * mips-linux-nat.c (mips_linux_register_addr)
  5313. (mips64_linux_register_addr): Likewise.
  5314. * findvar.c (value_of_register): Likewise.
  5315. * infcmd.c (default_print_registers_info,registers_info)
  5316. (print_vector_info,print_float_info): Likewise.
  5317. * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise.
  5318. * inf-child.c (inf_child_fetch_inferior_registers): Likewise.
  5319. * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
  5320. * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise.
  5321. * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
  5322. * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register)
  5323. (ia64_cannot_store_register,ia64_linux_fetch_registers)
  5324. (ia64_linux_store_registers): Likewise.
  5325. * hpux-thread.c (hpux_thread_fetch_registers)
  5326. (hpux_thread_store_registers): Likewise.
  5327. * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM)
  5328. (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register)
  5329. (h8300_register_type): Likewise.
  5330. * dwarf2-frame.c (dwarf2_frame_cache)
  5331. (dwarf2_frame_state_alloc_regs): Likewise.
  5332. * cris-tdep.c (cris_register_size,cris_cannot_fetch_register)
  5333. (cris_cannot_store_register,crisv32_cannot_fetch_register)
  5334. (crisv32_cannot_store_register,cris_register_name): Likewise.
  5335. * avr-tdep.c (avr_frame_unwind_cache): Likewise.
  5336. * arch-utils.c (legacy_register_sim_regno)
  5337. (legacy_virtual_frame_pointer): Likewise.
  5338. * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise.
  5339. * arm-tdep.h: Likewise (comment).
  5340. * frv-tdep.c (frv_register_sim_regno): Likewise.
  5341. * m68klinux-nat.c (old_fetch_inferior_registers)
  5342. (old_store_inferior_registers): Likewise.
  5343. * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
  5344. * irix5-nat.c (fetch_core_registers): Likewise.
  5345. * hppa-tdep.c (hppa_frame_cache): Likewise.
  5346. * hppa-linux-nat.c (hppa_linux_register_addr)
  5347. (hppa_linux_fetch_inferior_registers)
  5348. (hppa_linux_store_inferior_registers): Likewise.
  5349. * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers)
  5350. (hppa_hpux_store_inferior_registers): Likewise.
  5351. * amd64-nat.c (amd64_native_gregset_reg_offset)
  5352. (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise.
  5353. * dbug-rom.c (dbug_regname): Likewise.
  5354. * m68hc11-tdep.c (m68hc11_frame_unwind_cache)
  5355. (HARD_PAGE_REGNUM (comment)): Likewise.
  5356. * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs.
  5357. * i386-tdep.c (i386_dbx_reg_to_regnum)
  5358. (i386_svr4_reg_to_regnum): Likewise.
  5359. * mi/mi-main.c (mi_cmd_data_list_register_names)
  5360. (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
  5361. (mi_cmd_data_write_register_values): Likewise.
  5362. * gdbarch.c, gdbarch.h: Regenerate.
  5363. * tui/tui-regs.c (tui_show_register_group): Likewise.
  5364. * xtensa-tdep.h (FP_ALIAS): Likewise.
  5365. * user-regs.h: Likewise (comment).
  5366. * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
  5367. * trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
  5368. * target-descriptions.h: Likewise (comment).
  5369. * target.c (debug_print_register): Likewise.
  5370. * stack.c (frame_info): Likewise.
  5371. * stabsread.c (define_symbol): Likewise.
  5372. * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info)
  5373. (sh64_compact_print_registers_info): Likewise.
  5374. * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
  5375. * regcache.c (init_regcache_descr,register_size,regcache,regcache_save
  5376. (regcache_restore,regcache_dump): Likewise.
  5377. * mips-tdep.c (print_gp_register_row,mips_print_registers_info)
  5378. (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
  5379. (mips_stab_reg_to_regnum): Likewise.
  5380. * findvar.c (value_of_register): Likewise.
  5381. * infcmd.c (default_print_registers_info,registers_info)
  5382. (print_vector_info,print_float_info): Likewise.
  5383. * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
  5384. * h8300-tdep.c (h8300_register_type): Likewise.
  5385. * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
  5386. * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise.
  5387. * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum)
  5388. (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise.
  5389. * parse.c: Remove comment.
  5390. * gdbarch.c, gdbarch.h: Regenerate
  5391. 2007-05-31 Markus Deuling <deuling@de.ibm.com>
  5392. * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by
  5393. gdbarch_cannot_fetch_register.
  5394. * alpha-nat.c (fetch_osf_core_registers): Likewise.
  5395. * hppa-linux-nat.c (fetch_register): Likewise.
  5396. * inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
  5397. * m68klinux-nat.c (fetch_register): Likewise.
  5398. * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg):
  5399. Likewise.
  5400. * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by
  5401. gdbarch_cannot_store_register.
  5402. * hppa-linux-nat.c (store_register): Likewise.
  5403. * inf-ptrace.c (inf_ptrace_store_register): Likewise.
  5404. * regcache.c (regcache_raw_write): Likewise.
  5405. * m68klinux-nat.c (store_register): Likewise.
  5406. * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise.
  5407. * gdbarch.c, gdbarch.h: Regenerate.
  5408. 2007-05-31 Markus Deuling <deuling@de.ibm.com>
  5409. * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi.
  5410. * gdbarch.c, gdbarch.h: Regenerate.
  5411. 2007-05-31 Markus Deuling <deuling@de.ibm.com>
  5412. * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed.
  5413. * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
  5414. * gdbarch.c, gdbarch.h: Regenerate.
  5415. 2007-05-31 Markus Deuling <deuling@de.ibm.com>
  5416. * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order.
  5417. * ax-gdb.c (gen_bitfield_ref): Likewise.
  5418. * mi/mi-main.c (get_register): Likewise.
  5419. * findvar.c (default_value_from_register, extract_signed_integer)
  5420. (extract_unsigned_integer, extract_long_unsigned_integer)
  5421. (store_signed_integer, store_unsigned_integer): Likewise.
  5422. * regcache.c (regcache_dump): Likewise.
  5423. * value.c (lookup_internalvar, value_of_internalvar)
  5424. (set_internalvar): Likewise.
  5425. * defs.h: Likewise.
  5426. * valprint.c (print_binary_chars, print_octal_chars)
  5427. (print_decimal_chars, print_hex_chars, print_char_chars): Likewise.
  5428. * infcmd.c (default_print_registers_info): Likewise.
  5429. * arch-utils.c (selected_byte_order, show_endian): Likewise.
  5430. * stabsread.c (define_symbol): Likewise.
  5431. * doublest.c (floatformat_from_length, floatformat_from_type)
  5432. (extract_typed_floating, store_typed_floating): Likewise.
  5433. * gdbarch.c, gdbarch.h: Regenerate.
  5434. 2007-05-31 Markus Deuling <deuling@de.ibm.com>
  5435. * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by
  5436. gdbarch_call_dummy_location.
  5437. * infcall.c (call_function_by_hand): Likewise.
  5438. * inferior.h: Change comment.
  5439. * arch-utils.c: Change comment.
  5440. * gdbarch.c, gdbarch.h: Regenerate.
  5441. 2007-05-28 Joel Brobecker <brobecker@adacore.com>
  5442. * solib-aix5.c: Delete.
  5443. * Makefile.in (solib-aix5.o): Delete rule.
  5444. 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
  5445. * breakpoint.h (enum bpstat_what_main_action): Remove
  5446. BPSTAT_WHAT_THROUGH_SIGTRAMP.
  5447. * infrun.c (process_event_stop_test): Do not check for it.
  5448. 2007-05-22 Chris Dearman <chris@mips.com>
  5449. Maciej W. Rozycki <macro@mips.com>
  5450. * ser-unix.c (show_serial_hwflow): New function.
  5451. (hardwire_raw): Add hardware flow control support.
  5452. (_initialize_ser_hardwire): Add "set/show remoteflow".
  5453. * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h).
  5454. * NEWS: Document the new command.
  5455. 2007-05-21 Ulrich Weigand <uweigand@de.ibm.com>
  5456. * config/i386/tm-linux.h (sys_quotactl): Do not define.
  5457. * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not
  5458. define for i[[3456]]86-*-linux* native configurations.
  5459. * config.in, configure: Regenerate.
  5460. 2007-05-19 Joel Brobecker <brobecker@adacore.com>
  5461. * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging
  5462. a core file. Add comment in the function description.
  5463. 2007-05-18 Caroline Tice <ctice@apple.com>
  5464. * c-valprint.c (c_value_print): If the initialized field of the
  5465. value struct is 0, print out "[uninitialized]" before the value.
  5466. * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field;
  5467. allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a
  5468. DW_OP_regx op; add case for DW_OP_GNU_uninit and update
  5469. ctx->initialized appropriately. Verify no location op follows
  5470. DW_OP_GNU_uninit.
  5471. * dwarf2expr.h (struct dwarf_expr_context): New field, initialized.
  5472. * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to
  5473. set_value_initialized.
  5474. * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit.
  5475. (decode_locdesc): Add case for DW_OP_GNU_uninit.
  5476. * value.c (struct value): New field, initialized.
  5477. (allocate_value): Initialize new field.
  5478. (set_value_initialized): New function.
  5479. (value_initialized): New function.
  5480. * value.h (value_initialized): New extern declaration.
  5481. (set_value_initialized): Likewise.
  5482. 2007-05-18 Caroline Tice <ctice@apple.com>
  5483. * MAINTAINERS (Write After Approval): Add self.
  5484. 2007-05-17 Joel Brobecker <brobecker@adacore.com>
  5485. * gdbtypes.c (make_reference_type): Preserve the type chain
  5486. and set the length of all the variants of the pointer type.
  5487. 2007-05-17 Joel Brobecker <brobecker@adacore.com>
  5488. * gdbtypes.c (make_pointer_type): Preserve the pointer type chain
  5489. and set the length of all the variants of the pointer type.
  5490. 2007-05-17 Maciej W. Rozycki <macro@mips.com>
  5491. * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
  5492. comment.
  5493. (mips_o64_push_dummy_call): Reformat a comment.
  5494. 2007-05-17 Qinwei <qinwei@sunnorth.com.cn>
  5495. * score-tdep.c (score_frame_cache->fp, score_analyze_prologue)
  5496. (score_prologue_frame_base_address): Return fp to keep gdb print
  5497. local variables correctly when debugging information is stabs.
  5498. (score_analyze_prologue): For software watchpoint, fetch all the
  5499. instructions from range [startaddr, pc] once and identify them locally
  5500. to reduce memory access.
  5501. (score_malloc_and_get_memblock, score_free_memblock)
  5502. (score_adjust_memblock_ptr): New functions.
  5503. (score_fetch_inst): Fetch single instruction or mutiple instructions.
  5504. (score_target_can_use_watch, score_stopped_by_watch)
  5505. (score_target_insert_watchpoint, score_target_remove_watchpoint)
  5506. (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint):
  5507. New functions for remote & local hw-watchpoint and hw-breakpoint.
  5508. 2007-05-16 Alfred M. Szmidt <ams@gnu.org>
  5509. * reply_mig_hack.awk: Check for `auto const mach_msg_type_t'
  5510. declarations as well.
  5511. 2007-05-16 Ulrich Weigand <uweigand@de.ibm.com>
  5512. * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h.
  5513. * config/arm/tm-embed.h: Delete file.
  5514. * arm-tdep.h (arm_software_single_step): Declare.
  5515. * arm-tdep.c (arm_software_single_step): Make global.
  5516. (arm_gdbarch_init): Move set_gdbarch_software_single_step call
  5517. from here to ...
  5518. * arm-linux-tdep.c (arm_linux_init_abi): ... here ...
  5519. * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ...
  5520. * armobsd-tdep.c (armobsd_init_abi): ... here ...
  5521. * arm-wince-tdep.c (arm_wince_init_abi): ... and here.
  5522. * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer
  5523. allow defines to be overriden by TM file.
  5524. (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also,
  5525. change default to {0xbe,0xbe}.
  5526. * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint,
  5527. arm_obsd_thumb_be_breakpoint): New global variables.
  5528. (armobsd_init_abi): Override tdep->thumb_breakpoint and
  5529. tdep->thumb_breakpoint_size.
  5530. * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable.
  5531. (arm_wince_init_abi): Override tdep->thumb_breakpoint and
  5532. tdep->thumb_breakpoint_size.
  5533. * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code.
  5534. 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
  5535. * NEWS: Mention removed "set mips stack-arg-size" and "set mips
  5536. saved-gpreg-size".
  5537. * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants.
  5538. (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string)
  5539. (mips_stack_argsize_string, mips_stack_argsize): Delete.
  5540. (mips_abi_regsize): Simplify.
  5541. (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
  5542. (mips_n32n64_return_value, mips_o32_push_dummy_call)
  5543. (mips_o32_return_value, mips_o64_push_dummy_call)
  5544. (mips_o64_return_value): Propogate constant register sizes. Use the
  5545. ABI register size instead of mips_stack_argsize.
  5546. (mips_dump_tdep): Don't print mips_stack_argsize.
  5547. (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size
  5548. settings.
  5549. 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
  5550. * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete.
  5551. * config/mips/tm-linux.h: Delete.
  5552. * mips-linux-tdep.c (mips_svr4_so_ops): New.
  5553. (mips_linux_in_dynsym_resolve_code): Make static. Use
  5554. svr4_in_dynsym_resolve_code.
  5555. (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call
  5556. set_solib_ops.
  5557. * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make
  5558. global.
  5559. * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare.
  5560. * Makefile.in (mips-linux-tdep.o): Update.
  5561. * solib.c (set_solib_ops): New.
  5562. (current_target_so_ops): Update comment.
  5563. * solib.h (set_solib_ops): New prototype.
  5564. 2007-05-16 Chris Dearman <chris@mips.com>
  5565. * printcmd.c (do_examine): Fix typos in a comment.
  5566. 2007-05-16 Richard Sandiford <richard@codesourcery.com>
  5567. * configure.ac: Allow sysroots to be relocated under $prefix as
  5568. well as $exec_prefix.
  5569. * configure: Regenerate.
  5570. 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com>
  5571. * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.
  5572. (offsetof): Do not define.
  5573. (find_stub_with_shl_get): Use numerical value 3 instead of
  5574. symbolic value TYPE_PROCEDURE.
  5575. 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
  5576. * gdb_proc_service.h (paddr_t): Delete typedef.
  5577. * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New.
  5578. (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr.
  5579. (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr.
  5580. (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t.
  5581. * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t.
  5582. * Makefile.in (proc-service.o): Update.
  5583. 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
  5584. * Makefile.in (mips-tdep.o): Update.
  5585. * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI
  5586. unwinder.
  5587. 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
  5588. * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long
  5589. instead of store_typed_address.
  5590. * value.c (pack_long): New.
  5591. (value_from_longest): Use it.
  5592. * value.h (pack_long): New prototype.
  5593. 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
  5594. * dwarf2-frame.c (read_encoded_value): Correct typo. Use
  5595. DW_EH_PE_signed if appropriate.
  5596. 2007-05-14 Paul Brook <paul@codesourcery.com>
  5597. Daniel Jacobowitz <dan@codesourcery.com>
  5598. * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New
  5599. function.
  5600. (dwarf_decode_lines): Check for line info without a file.
  5601. 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
  5602. * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs
  5603. as hexadecimal.
  5604. 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
  5605. * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of
  5606. STRUCTOP_STRUCT.
  5607. * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of
  5608. STRUCTOP_STRUCT.
  5609. * jv-typeprint.c (java_print_type): Do not crash on NULL varstring.
  5610. 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com>
  5611. * gdbarch.sh (read_sp): Remove.
  5612. * gdbarch.c, gdbarch.h: Regenerate.
  5613. * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP.
  5614. * avr-tdep.c (avr_read_sp): Remove.
  5615. (avr_unwind_sp): New function.
  5616. (avr_gdbarch_init): Install unwind_sp instead of read_sp callback.
  5617. * mips-tdep.c (mips_read_sp): Remove.
  5618. (mips_unwind_sp): New function.
  5619. (mips_gdbarch_init): Install unwind_sp instead of read_sp callback.
  5620. * score-tdep.c (score_read_unsigned_register): Remove.
  5621. (score_read_sp): Remove.
  5622. (score_unwind_sp): New function.
  5623. (score_gdbarch_init): Install unwind_sp instead of read_sp callback.
  5624. 2007-05-14 Maxim Grigoriev <maxim2405@gmail.com>
  5625. * buildsym.c (start_subfile): Handle absolute pathnames
  5626. while comparing subfile names.
  5627. 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
  5628. * hppa-hpux-tdep.c: Include "regcache.h".
  5629. * hppa-linux-tdep.c: Likewise.
  5630. * hppa-tdep.c: Include "gdb_stdint.h".
  5631. (find_unwind_entry): Cast host pointer to uintptr_t before passing
  5632. it to paddr_nz.
  5633. * Makefile.in: Update dependencies.
  5634. 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
  5635. * blockframe.c: Remove obsolete comments.
  5636. * alpha-nat.c (fetch_osf_core_registers): Update comment.
  5637. * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment.
  5638. * hppa-tdep.h (enum hppa_regnum): Likewise.
  5639. * mips-tdep.h: Likewise.
  5640. * m68hc11-tdep.c: Likewise.
  5641. 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
  5642. * inferior.h (read_sp): Remove prototype.
  5643. * regcache.c (read_sp): Remove.
  5644. * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp.
  5645. * infcall.c (call_function_by_hand): Likewise.
  5646. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead
  5647. of calling read_sp.
  5648. * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
  5649. 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
  5650. * i386-linux-nat.c (i386_linux_resume): Use regcache functions
  5651. instead of read_register and read_register_pid.
  5652. * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE
  5653. argument instead of PTID. Use regcache functions instead of
  5654. read_register_pid.
  5655. (ia64_linux_insert_watchpoint): Update call.
  5656. (ia64_linux_stopped_data_address): Use regcache functions
  5657. instead of read_register_pid and write_register_pid.
  5658. 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
  5659. * libunwind-frame.h (struct regcache): Add forward declaration.
  5660. (libunwind_get_reg_special): Add REGCACHE argument.
  5661. * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE
  5662. argument. Pass it to unw_init_remote_p.
  5663. * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to
  5664. libunwind_get_reg_special.
  5665. (ia64_access_reg): Remove "write" case.
  5666. (ia64_access_fpreg): Likewise. Read from next_frame passed
  5667. as callback argument instead of from current_regcache.
  5668. (ia64_access_rse_reg): Remove "write" case. Read from regcache
  5669. passed as callback argument instead of from current_regcache.
  5670. (ia64_access_rse_fpreg): New function.
  5671. (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg.
  5672. 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
  5673. * NEWS: Mention SPU overlay support.
  5674. 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
  5675. * spu-tdep.c (spu_frame_unwind_cache): Add comment.
  5676. 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
  5677. * breakpoint.c (remove_breakpoint): Do not remove software
  5678. breakpoints in unmapped overlay sections.
  5679. 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
  5680. * spu-tdep.c: Include "observer.h".
  5681. (spu_frame_unwind_cache): Unwind PC through overlay return stubs.
  5682. (spu_overlay_data): New variable.
  5683. (struct spu_overlay_table): New type.
  5684. (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update,
  5685. spu_overlay_new_objfile): New functions.
  5686. (spu_gdbarch_init): Install spu_overlay_update.
  5687. (_initialize_spu_tdep): Register spu_overlay_new_objfile,
  5688. allocate spu_overlay_data objfile data.
  5689. 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
  5690. * gdbarch.sh (overlay_update): New gdbarch function.
  5691. (struct obj_section): Add forward declaration.
  5692. * gdbarch.c, gdbarch.h: Regenerate.
  5693. * symfile.c (simple_overlay_update): Make global.
  5694. (target_overlay_update): Remove variable.
  5695. (overlay_is_mapped): Call gdbarch_overlay_update instead of
  5696. target_overlay_update.
  5697. (overlay_load_command): Likewise.
  5698. * symfile.h (struct obj_section): Add forward declaration.
  5699. (simple_overlay_update): Add prototype.
  5700. * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update.
  5701. 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
  5702. * observer.sh: Add "struct objfile" forward declaration.
  5703. * target.h (deprecated_target_new_objfile_hook): Remove.
  5704. * symfile.c (deprecated_target_new_objfile_hook): Remove.
  5705. (clear_symtab_users): Call observer_notify_new_objfile.
  5706. (symbol_file_add_with_addrs_or_offsets): Likewise.
  5707. * rs6000-nat.c: Include "observer.h".
  5708. (vmap_ldinfo): Call observer_notify_new_objfile.
  5709. (xcoff_relocate_core): Likewise.
  5710. * remote.c (remote_new_objfile_chain): Remove.
  5711. (remote_new_objfile): Do not call remote_new_objfile_chain.
  5712. (_initialize_remote): Use observer_attach_new_objfile.
  5713. * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove.
  5714. (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain.
  5715. (_initialize_tui_hooks): Use observer_attach_new_objfile.
  5716. * aix-thread.c: Include "observer.h".
  5717. (target_new_objfile_chain): Remove.
  5718. (new_objfile): Do not call target_new_objfile_chain.
  5719. (_initialize_aix_thread): Use observer_attach_new_objfile.
  5720. * hpux-thread.c: Include "observer.h"
  5721. (target_new_objfile_chain): Remove.
  5722. (hpux_thread_new_objfile): Make static. Do not call
  5723. target_new_objfile_chain.
  5724. (_initialize_hpux_thread): Use observer_attach_new_objfile.
  5725. * linux-thread-db.c: Include "observer.h".
  5726. (target_new_objfile_chain): Remove.
  5727. (thread_db_new_objfile): Do not call target_new_objfile_chain.
  5728. (_initialize_thread_db): Use observer_attach_new_objfile.
  5729. * sol-thread.c: Include "observer.h".
  5730. (target_new_objfile_chain): Remove.
  5731. (sol_thread_new_objfile): Make static. Do not call
  5732. target_new_objfile_chain.
  5733. (_initialize_sol_thread): Use observer_attach_new_objfile.
  5734. * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o,
  5735. rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on
  5736. $(observer_h).
  5737. 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
  5738. * gdbarch.sh (remote_translate_xfer_address): Remove.
  5739. * gdbarch.h, gdbarch.c: Regenerate.
  5740. * arch-utils.c (generic_remote_translate_xfer_address): Remove.
  5741. * arch-utils.h (generic_remote_translate_xfer_address): Remove.
  5742. * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not
  5743. call gdbarch_remote_translate_xfer_address.
  5744. * frv-tdep.c (frv_gdbarch_init): Do not call
  5745. set_gdbarch_remote_translate_xfer_address.
  5746. * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove.
  5747. (ia64_gdbarch_init): Do not install it.
  5748. 2007-05-11 Bob Wilson <bob.wilson@acm.org>
  5749. * NEWS: Mention change in handling the -tui option.
  5750. 2007-05-11 Daniel Jacobowitz <dan@codesourcery.com>
  5751. * linux-thread-db.c (enable_thread_event_reporting): Fix comment
  5752. typo.
  5753. 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
  5754. * breakpoint.c (single_step_breakpoint_inserted_here_p): New function.
  5755. (breakpoint_inserted_here_p): Call it.
  5756. (software_breakpoint_inserted_here_p): Likewise.
  5757. 2007-05-10 Ulrich Weigand <uweigand@de.ibm.com>
  5758. * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list.
  5759. (inf_ptrace_fetch_register): Add register_u_offset callback parameters
  5760. GDBARCH and STORE_P. Handle callback (CORE_ADDR) -1 return value.
  5761. (inf_ptrace_store_register): Likewise.
  5762. (inf_ptrace_trad_target): Adapt register_u_offset parameter list.
  5763. * inf-ptrace.h (inf_ptrace_trad_target): Likewise.
  5764. * vax-nat.c (vax_register_u_offset): Adapt parameter list.
  5765. * linux-nat.c (linux_trad_target): Adapt parameter list.
  5766. * linux-nat.h (linux_trad_target): Likewise.
  5767. * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters.
  5768. * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove.
  5769. (mips_linux_cannot_store_register): Likewise.
  5770. (mips_linux_register_addr): Add GDBARCH and STORE_P parameters.
  5771. Return (CORE_ADDR) -1 for registers that cannot be fetched or
  5772. stored via ptrace. Use GDBARCH instead of current_gdbarch.
  5773. (mips64_linux_register_addr): Likewise.
  5774. (mips_linux_register_u_offset): Adapt parameter list. Pass
  5775. GDBARCH and STORE_P on to mips{64}_linux_register_addr.
  5776. * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h.
  5777. * config/mips/nm-linux.h: Delete file.
  5778. 2007-05-10 Pedro Alves <pedro_alves@portugalmail.pt>
  5779. * remote.c (remote_detach): Error out if remote can't detach.
  5780. 2007-05-10 Luis Machado <luisgpm@br.ibm.com>
  5781. * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch
  5782. instruction's opcode in the "opcode" variable and declares new
  5783. variable "closing_insn".
  5784. 2007-05-10 Chris Dearman <chris@mips.com>
  5785. Maciej W. Rozycki <macro@mips.com>
  5786. * cli/cli-setshow.c (do_setshow_command): Remove trailing
  5787. whitespace when setting a var_filename.
  5788. 2007-05-09 Bob Wilson <bob.wilson@acm.org>
  5789. * main.c (captured_main): Recognize -tui option and print an error
  5790. message when the TUI is not configured.
  5791. 2007-05-09 Andreas Schwab <schwab@suse.de>
  5792. * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't
  5793. set removed members.
  5794. (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
  5795. 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
  5796. * gdbarch.sh (deprecated_store_struct_return): Remove.
  5797. * gdbarch.c, gdbarch.h: Regenerate.
  5798. * frv-tdep.c (frv_store_struct_return): Remove.
  5799. (frv_gdbarch_init): Do not install it.
  5800. 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
  5801. * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define.
  5802. * config/mips/nm-irix5.h (USE_PROC_FS): Do not define.
  5803. * config/nm-linux.h (USE_PROC_FS): Do not undefine.
  5804. 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
  5805. * spu-linux-nat.c: Include "gdb_stdint.h".
  5806. (fetch_ppc_register): Use uint64_t instead of unsigned long long.
  5807. (fetch_ppc_memory_1, store_ppc_memory_1): Likewise.
  5808. (fetch_ppc_memory, store_ppc_memory): Fix coding style.
  5809. (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf.
  5810. (spu_child_wait): Mark up string for translation.
  5811. 2007-05-08 Paul Gilliam <pgilliam@us.ibm.com>
  5812. Luis Machado <luisgpm@br.ibm.com>
  5813. * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION,
  5814. STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK,
  5815. BC_INSTRUCTION): Define.
  5816. (deal_with_atomic_sequence): New function.
  5817. (rs6000_software_single_step): Call deal_with_atomic_sequence.
  5818. (rs6000_gdbarch_init): Install deal_with_atomic_sequence as
  5819. gdbarch_software_single_step routine.
  5820. 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com>
  5821. * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1,
  5822. store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory,
  5823. parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open,
  5824. spu_symbol_file_add_from_memory, spu_child_post_startup_inferior,
  5825. spu_child_post_attach, spu_fetch_inferior_registers,
  5826. spu_store_inferior_registers, spu_xfer_partial): Store PPE-side
  5827. memory addresses as ULONGEST, not CORE_ADDR.
  5828. 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com>
  5829. * gdbarch.sh: Add skip_permanent_breakpoint callback.
  5830. * gdbarch.h, gdbarch.c: Regenerate.
  5831. * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition.
  5832. (resume): Call gdbarch_skip_permanent_breakpoint instead of
  5833. SKIP_PERMANENT_BREAKPOINT. Inline default case.
  5834. * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static.
  5835. Add REGCACHE argument. Use it instead of read/write_register.
  5836. (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint.
  5837. * config/pa/tm-hppah.h: Delete file.
  5838. * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h.
  5839. * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise.
  5840. 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
  5841. * Makefile.in (c-lang.o, gnu-v3-abi.o): Update.
  5842. * NEWS: Mention improved C++ thunk support.
  5843. * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline.
  5844. * cp-abi.c (cplus_skip_trampoline): New.
  5845. * cp-abi.h (cplus_skip_trampoline): New prototype.
  5846. (struct cp_abi_ops): Add skip_trampoline member.
  5847. * gnu-v3-abi.c (gnuv3_skip_trampoline): New.
  5848. (init_gnuv3_ops): Set skip_trampoline.
  5849. 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
  5850. * rs6000-tdep.c (struct frame_extra_info): Delete.
  5851. 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
  5852. * linux-thread-db.c: Update some FIXME comments.
  5853. (thread_db_xfer_partial): Delete.
  5854. (init_thread_db_ops): Do not set to_xfer_partial.
  5855. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  5856. * inftarg.c, infptrace.c: Remove files.
  5857. * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c
  5858. (inftarg.o, infptrace.o): Remove rules.
  5859. * gdbcore.h (register_addr): Remove prototype.
  5860. * inferior.h (kill_inferior, store_inferior_registers,
  5861. fetch_inferior_registers, attach, detach, ptrace_wait, child_resume,
  5862. call_ptrace, pre_fork_inferior): Remove prototypes.
  5863. * target.h (child_xfer_memory, child_pid_to_exec_file,
  5864. child_core_file_to_sym_file, child_post_attach,
  5865. child_post_startup_inferior, child_acknowledge_created_inferior,
  5866. child_insert_fork_catchpoint, child_remove_fork_catchpoint,
  5867. child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
  5868. child_insert_exec_catchpoint, child_remove_exec_catchpoint,
  5869. child_follow_fork, child_reported_exec_events_per_exec_call,
  5870. child_has_exited, child_thread_alive): Remove prototypes.
  5871. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  5872. * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype.
  5873. (sparc_store_inferior_registers): Likewise.
  5874. * sparc-nat.c (fetch_inferior_registers): Rename to ...
  5875. (sparc_fetch_inferior_registers): ... this.
  5876. (store_inferior_registers): Rename to ...
  5877. (sparc_store_inferior_registers): ... this.
  5878. (sparc_target): Update callback names.
  5879. * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise.
  5880. * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise.
  5881. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  5882. * linux-nat.c (child_post_attach): Rename to ...
  5883. (linux_child_post_attach): ... this. Make static.
  5884. (child_follow_fork): Rename to ...
  5885. (linux_child_follow_fork): ... this. Make static.
  5886. (child_insert_fork_catchpoint): Rename to ...
  5887. (linux_child_insert_fork_catchpoint): ... this. Make static.
  5888. (child_insert_vfork_catchpoint): Rename to ...
  5889. (linux_child_insert_vfork_catchpoint): ... this. Make static.
  5890. (child_insert_exec_catchpoint): Rename to ...
  5891. (linux_child_insert_exec_catchpoint): ... this. Make static.
  5892. (child_pid_to_exec_file): Rename to ...
  5893. (linux_child_pid_to_exec_file): ... this. Make static.
  5894. Add prototype.
  5895. (linux_handle_extended_wait): Update call.
  5896. (linux_xfer_partial): Update callback routine names.
  5897. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  5898. * configure.host (alpha*-*-osf[12]*): Remove support.
  5899. * NEWS: Mention removed configurations.
  5900. * config/alpha/alpha-osf1.mh: Delete file.
  5901. * config/alpha/alpha-osf2.mh: Delete file.
  5902. * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o
  5903. and infptrace.o.
  5904. * config/alpha/nm-osf.h: Delete file.
  5905. * config/alpha/nm-osf2.h: Delete file.
  5906. * config/alpha/nm-osf3.h: Do not include "nm-osf2.h".
  5907. (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h.
  5908. (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h.
  5909. * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define.
  5910. (register_addr, kernel_u_size): Remove.
  5911. Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)".
  5912. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  5913. * regcache.c (regcache_invalidate): New function.
  5914. (register_cached): Remove.
  5915. (set_register_cached): Remove.
  5916. (deprecated_registers_fetched): Remove.
  5917. (registers_changed): Use regcache_invalidate instead
  5918. of set_register_cached.
  5919. (regcache_raw_read): Update comment.
  5920. * regcache.h (regcache_invalidate): Add prototype.
  5921. (register_cached): Remove.
  5922. (set_register_cached): Remove.
  5923. (deprecated_registers_fetched): Remove.
  5924. * findvar.c (value_of_register): Do not call register_cached.
  5925. * frame.c (frame_register): Likewise.
  5926. * tui/tui-regs.c (tui_get_register): Likewise.
  5927. * remote.c (fetch_register_using_p): Do not call set_register_cached.
  5928. (process_g_packet): Likewise.
  5929. (remote_fetch_registers): Likewise.
  5930. * remote-sim.c (gdbsim_fetch_register): Likewise.
  5931. * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call
  5932. by regcache_invalidate.
  5933. (mt_pseudo_register_write): Likewise.
  5934. * sh-tdep.c (sh_pseudo_register_write): Likewise.
  5935. * corelow.c (get_core_registers): Replace deprecated_registers_fetched
  5936. call by loop over regcache_raw_supply (..., NULL).
  5937. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  5938. * target.h (struct target_ops): Add REGCACHE parameter to
  5939. to_prepare_to_store.
  5940. (target_prepare_to_store): Likewise.
  5941. * target.c (debug_to_prepare_to_store): Add REGCACHE parameter.
  5942. (update_current_target): Adapt prepare_to_store de_fault rule.
  5943. * regcache.c (regcache_raw_write): Pass regcache to
  5944. target_prepare_to_store.
  5945. * inftarg.c (child_prepare_to_store): Add REGCACHE parameter.
  5946. Do not call CHILD_PREPARE_TO_STORE.
  5947. * gnu-nat.c (gnu_prepare_to_store): Likewise.
  5948. * procfs.c (procfs_prepare_to_store): Likewise.
  5949. * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter.
  5950. * go32-nat.c (go32_prepare_to_store): Likewise.
  5951. * monitor.c (monitor_prepare_to_store): Likewise.
  5952. * nto-procfs.c (procfs_prepare_to_store): Likewise.
  5953. * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise.
  5954. * remote-mips.c (mips_prepare_to_store): Likewise.
  5955. * remote-sim.c (gdbsim_prepare_to_store): Likewise.
  5956. * win32-nat.c (win32_prepare_to_store): Likewise.
  5957. * remote.c (remote_prepare_to_store): Add REGCACHE parameter.
  5958. Use it instead of current_regcache.
  5959. * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE
  5960. parameter. Pass it on to next target.
  5961. * sol-thread.c (sol_thread_prepare_to_store): Likewise.
  5962. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  5963. * target.h (struct regcache): Add forward declaration.
  5964. (struct target_ops): Add REGCACHE parameter to to_fetch_registers
  5965. and to_store_registers target operations.
  5966. (target_fetch_registers, target_store_registers): Update.
  5967. * regcache.c (regcache_raw_read): Replace register_cached by
  5968. regcache_valid_p. Pass regcache to target_fetch_registers.
  5969. (regcache_raw_write): Pass regcache to target_store_registers.
  5970. * arm-linux-nat.c (store_fpregister, store_fpregs, store_register,
  5971. store_regs, store_wmmx_regs): Replace register_cached by
  5972. regcache_valid_p.
  5973. * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache
  5974. to target_fetch_registers calls.
  5975. * corelow.c (core_open): Likewise.
  5976. * linux-nat.c (linux_nat_corefile_thread_callback): Likewise.
  5977. * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
  5978. ps_lsetfpregs): Likewise.
  5979. * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
  5980. ps_lsetfpregs): Likewise.
  5981. * win32-nat.c (win32_resume): Likewise.
  5982. * ia64-tdep.c (ia64_store_return_value): Pass current_regcache
  5983. to target_store_registers call.
  5984. * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
  5985. * inferior.h (store_inferior_registers): Update prototype.
  5986. (fetch_inferior_registers): Likewise.
  5987. * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise.
  5988. * mips-linux-nat.c (super_fetch_registers, super_store_registers):
  5989. Update function pointer signatures.
  5990. * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter,
  5991. use it instead of current_regcache, update calls.
  5992. (aix_thread_store_registers): Likewise.
  5993. * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise.
  5994. (alphabsd_store_inferior_registers): Likewise.
  5995. * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise.
  5996. (amd64bsd_store_inferior_registers): Likewise.
  5997. * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise.
  5998. (amd64_linux_store_inferior_registers): Likewise.
  5999. * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister,
  6000. store_fpregs, fetch_register, fetch_regs, store_register, store_regs,
  6001. fetch_wmmx_regs, store_wmmx_regs): Likewise.
  6002. (arm_linux_fetch_inferior_registers): Likewise.
  6003. (arm_linux_store_inferior_registers): Likewise.
  6004. * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register,
  6005. fetch_fp_regs, armnbsd_fetch_registers): Likewise.
  6006. (store_register, store_regs, store_fp_register, store_fp_regs,
  6007. armnbsd_store_registers): Likewise.
  6008. * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise.
  6009. * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise.
  6010. (bsd_uthread_store_registers): Likewise.
  6011. * corelow.c (get_core_registers): Likewise.
  6012. * go32-nat.c (fetch_register, go32_fetch_registers, store_register,
  6013. go32_store_registers): Likewise.
  6014. * hppabsd-nat.c (hppabsd_fetch_registers): Likewise.
  6015. (hppabsd_store_registers): Likewise.
  6016. * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise.
  6017. (hppa_hpux_fetch_inferior_registers): Likewise.
  6018. (hppa_hpux_store_register): Likewise.
  6019. (hppa_hpux_store_inferior_registers): Likewise.
  6020. * hppa-linux-nat.c (fetch_register, store_register): Likewise.
  6021. (hppa_linux_fetch_inferior_registers): Likewise.
  6022. (hppa_linux_store_inferior_registers): Likewise.
  6023. * hpux-thread.c (hpux_thread_fetch_registers): Likewise.
  6024. (hpux_thread_store_registers): Likewise.
  6025. * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise.
  6026. (i386bsd_store_inferior_registers): Likewise.
  6027. * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs,
  6028. gnu_store_registers): Likewise.
  6029. * i386-linux-nat.c (fetch_register, store_register, fetch_regs,
  6030. store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs):
  6031. Likewise.
  6032. (i386_linux_fetch_inferior_registers): Likewise.
  6033. (i386_linux_store_inferior_registers): Likewise.
  6034. * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise.
  6035. (ia64_linux_fetch_registers): Likewise.
  6036. (ia64_linux_store_register): Likewise.
  6037. (ia64_linux_store_registers): Likewise.
  6038. * inf-child.c (inf_child_fetch_inferior_registers): Likewise.
  6039. (inf_child_store_inferior_registers): Likewise.
  6040. * inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
  6041. (inf_ptrace_fetch_registers): Likewise.
  6042. (inf_ptrace_store_register): Likewise.
  6043. (inf_ptrace_store_registers): Likewise.
  6044. * infptrace.c (fetch_register, store_register): Likewise.
  6045. (fetch_inferior_registers, store_inferior_registers): Likewise.
  6046. * m32r-linux-nat.c (fetch_regs, store_regs): Likewise.
  6047. (m32r_linux_fetch_inferior_registers): Likewise.
  6048. (m32r_linux_store_inferior_registers): Likewise.
  6049. * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise.
  6050. (m68kbsd_store_inferior_registers): Likewise.
  6051. * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers,
  6052. store_register, old_store_inferior_registers, fetch_regs, store_regs,
  6053. fetch_fpregs, store_fpregs): Likewise.
  6054. (m68k_linux_fetch_inferior_registers): Likewise.
  6055. (m68k_linux_store_inferior_registers): Likewise.
  6056. * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise.
  6057. (m88kbsd_store_inferior_registers): Likewise.
  6058. * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise.
  6059. (mips64obsd_store_inferior_registers): Likewise.
  6060. * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise.
  6061. (mips64_linux_regsets_store_registers): Likewise.
  6062. (mips64_linux_fetch_registers): Likewise.
  6063. (mips64_linux_store_registers): Likewise.
  6064. * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise.
  6065. (mipsnbsd_store_inferior_registers): Likewise.
  6066. * monitor.c (monitor_fetch_register, monitor_store_register): Likewise.
  6067. (monitor_fetch_registers, monitor_store_registers): Likewise.
  6068. * nto-procfs.c (procfs_fetch_registers): Likewise.
  6069. (procfs_store_registers): Likewise.
  6070. * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register,
  6071. fetch_register, supply_vrregset, fetch_altivec_registers,
  6072. fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise.
  6073. (store_altivec_register, store_spe_register, store_register,
  6074. fill_vrregset, store_altivec_registers, store_ppc_registers,
  6075. ppc_linux_store_inferior_registers): Likewise.
  6076. * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise.
  6077. (ppcnbsd_store_inferior_registers): Likewise.
  6078. * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise.
  6079. (ppcobsd_store_registers): Likewise.
  6080. * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
  6081. * remote.c (fetch_register_using_p, process_g_packet,
  6082. fetch_registers_using_g, remote_fetch_registers): Likewise.
  6083. (store_register_using_P, store_registers_using_G,
  6084. remote_store_registers): Likewise.
  6085. * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register,
  6086. m32r_store_register, m32r_store_register): Likewise.
  6087. * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise.
  6088. * remote-sim.c (gdbsim_fetch_register): Likewise.
  6089. (gdbsim_store_register): Likewise.
  6090. * rs6000-nat.c (fetch_register, store_register): Likewise.
  6091. (rs6000_fetch_inferior_registers): Likewise.
  6092. (rs6000_store_inferior_registers): Likewise.
  6093. * s390-nat.c (fetch_regs, store_regs): Likewise.
  6094. (fetch_fpregs, store_fpregs): Likewise.
  6095. (s390_linux_fetch_inferior_registers): Likewise.
  6096. (s390_linux_store_inferior_registers): Likewise.
  6097. * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise.
  6098. (shnbsd_store_inferior_registers): Likewise.
  6099. * sol-thread.c (sol_thread_fetch_registers): Likewise.
  6100. (sol_thread_store_registers): Likewise.
  6101. * sparc-nat.c (fetch_inferior_registers): Likewise.
  6102. (store_inferior_registers): Likewise.
  6103. * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
  6104. (spu_store_inferior_registers): Likewise.
  6105. * target.c (debug_print_register): Likewise.
  6106. (debug_to_fetch_registers, debug_to_store_registers): Likewise.
  6107. * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise.
  6108. (vaxbsd_store_inferior_registers): Likewise.
  6109. * win32-nat.c (do_win32_fetch_inferior_registers): Likewise.
  6110. (win32_fetch_inferior_registers): Likewise.
  6111. (win32_store_inferior_registers): Likewise.
  6112. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  6113. * gdbcore.h (struct regcache): Add forward declaration.
  6114. (struct core_fns): Add REGCACHE argument to core_read_registers
  6115. callback.
  6116. * corelow.c (get_core_register_section): Add REGCACHE argument,
  6117. use it instead of current_regcache, pass it to core_read_registers
  6118. callback.
  6119. (get_core_registers): Add current_regcache as parameter to
  6120. get_core_register_section calls.
  6121. * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument,
  6122. use it instead of current_regcache.
  6123. * armnbsd-nat.c (fetch_core_registers): Likewise.
  6124. (fetch_elfcore_registers): Likewise.
  6125. * core-regset.c (fetch_core_registers): Likewise.
  6126. * cris-tdep.c (fetch_core_registers): Likewise.
  6127. * irix5-nat.c (fetch_core_registers): Likewise.
  6128. * m68klinux-nat.c (fetch_core_registers): Likewise.
  6129. * mips-linux-tdep.c (fetch_core_registers): Likewise.
  6130. * win32-nat.c (fetch_elf_core_registers): Likewise.
  6131. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  6132. * gregset.h (struct regcache): Add forward declaration.
  6133. (supply_gregset): Add REGCACHE parameter, make GREGS const.
  6134. (supply_fpregset): Add REGCACHE parameter, make FPREGS const.
  6135. (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const.
  6136. (fill_gregset): Add REGCACHE parameter.
  6137. (fill_fpregset): Likewise.
  6138. (fill_fpxregset): Likewise.
  6139. Update all definitions accordingly:
  6140. * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c,
  6141. arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c,
  6142. i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c,
  6143. m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c,
  6144. s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c
  6145. (supply_gregset): Add REGCACHE parameter, use it instead of
  6146. current_regcache. Make GREGSETP parameter const, adapt casts.
  6147. (supply_fpregset): Add REGCACHE parameter, use it instead of
  6148. current_regcache. Make FPREGSETP parameter const, adapt casts.
  6149. (fill_gregset): Add REGCACHE parameter, use it instead of
  6150. current_regcache.
  6151. (fill_fpregset): Likewise.
  6152. Update all callers to pass in current_regcache as the new argument:
  6153. * core-regset.c: Include "regcache.h".
  6154. (fetch_core_registers): Update supply_gregset,and supply_fpregset calls.
  6155. * procfs.c: Include "regcache.h".
  6156. (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls.
  6157. (procfs_store_registers): Update fill_gregset, fill_fpregset calls.
  6158. (procfs_do_thread_registers): Likewise.
  6159. (procfs_make_note_section): Likewise.
  6160. * proc-service.c: Include "regcache.h".
  6161. (ps_lgetregs): Update fill_gregset call.
  6162. (ps_lsetregs): Update supply_gregset call.
  6163. (ps_lgetfpregs): Update fill_fpregset call.
  6164. (ps_lsetfpregs): Update supply_fpregset call.
  6165. * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset,
  6166. supply_fpregset calls.
  6167. (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls.
  6168. (ps_lgetregs): Update fill_gregset call.
  6169. (ps_lsetregs): Update supply_gregset call.
  6170. (ps_lgetfpregs): Update fill_fpregset call.
  6171. (ps_lsetfpregs): Update supply_fpregset call.
  6172. * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset,
  6173. fill_fpregset, and fill_fpxregset calls.
  6174. * i386-linux-nat.c (fetch_regs): Update supply_gregset call.
  6175. (store_regs): Update fill_gregset call.
  6176. (fetch_fpregs): Update supply_fpregset call.
  6177. (store_fpregs): Update fill_fpregset call.
  6178. (fetch_fpxregs): Update supply_fpxregset call.
  6179. (store_fpxregs): Update fill_fpxregset call.
  6180. * m32r-linux-nat.c (fetch_regs): Update supply_gregset call.
  6181. (store_regs): Update fill_gregset call.
  6182. * m68klinux-nat.c (fetch_regs): Update supply_gregset call.
  6183. (store_regs): Update fill_gregset call.
  6184. (fetch_fpregs): Update supply_fpregset call.
  6185. (store_fpregs): Update fill_fpregset call.
  6186. (fetch_core_registers): Update supply_gregset, supply_fpregset calls.
  6187. * s390-nat.c (fetch_regs): Update supply_gregset call.
  6188. (store_regs): Update fill_gregset call.
  6189. (fetch_fpregs): Update supply_fpregset call.
  6190. (store_fpregs): Update fill_fpregset call.
  6191. * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update
  6192. dependencies.
  6193. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  6194. * monitor.c (monitor_supply_register): Add REGCACHE parameter, use
  6195. it instead of current_regcache.
  6196. (parse_register_dump): Add REGCACHE parameter, pass it to
  6197. supply_register callback.
  6198. (monitor_dump_reg_block): Add REGCACHE parameter, pass it to
  6199. parse_register_dump.
  6200. (monitor_dump_regs): Add REGCACHE parameter, pass it to
  6201. parse_register_dump and dumpregs callback.
  6202. (monitor_wait): Pass current_regcache to parse_register_dump and
  6203. monitor_dump_regs.
  6204. (monitor_fetch_register): Pass current_regcache to
  6205. monitor_supply_register.
  6206. (monitor_fetch_registers): Pass current_regcache to
  6207. monitor_dump_regs.
  6208. * monitor.h (struct monitor_ops): Add REGCACHE parameter to
  6209. supply_register and dumpregs callbacks.
  6210. (monitor_supply_register, monitor_dump_reg_block): Update
  6211. prototypes.
  6212. * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass
  6213. it to monitor_supply_register.
  6214. * dink32-rom.c (dink32_supply_register): Likewise.
  6215. * ppcbug-rom.c (ppcbug_supply_register): Likewise.
  6216. * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE
  6217. instead of current_regcache.
  6218. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  6219. * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset):
  6220. Add REGCACHE parameter. Use it instead of current_regcache.
  6221. (i386nto_supply_regset): Add REGCACHE parameter, pass it to
  6222. i386nto_supply_gregset and i386nto_supply_fpregset.
  6223. (i386nto_regset_fill): Add REGCACHE parameter; use it instead
  6224. of current_regcache.
  6225. * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to
  6226. nto_supply_ helper functions.
  6227. (procfs_store_registers): Pass current_regcache to nto_regset_fill.
  6228. * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter.
  6229. * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to
  6230. supply_greget, supply_fpregset, supply_altregset, supply_regset,
  6231. and regset_fill member function pointers.
  6232. (nto_dummy_supply_regset): Adapt prototype.
  6233. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  6234. * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it
  6235. instead of current_regcache. Make REGS const.
  6236. (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache.
  6237. * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update
  6238. prototypes.
  6239. * shnbsd-nat.c: Include "regcache.h".
  6240. (shnbsd_fetch_inferior_registers): Pass current_regcache to
  6241. shnbsd_supply_reg.
  6242. (shnbsd_store_inferior_registers): Pass current_regcache to
  6243. shnbsd_fill_reg.
  6244. * Makefile.in (shbsd-nat.o): Update dependencies.
  6245. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  6246. * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it
  6247. instead of current_regcache.
  6248. (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg.
  6249. Make GREGSETP const, remove superfluous casts.
  6250. (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache.
  6251. (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove
  6252. superfluous casts.
  6253. (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
  6254. (supply_64bit_reg): Likewise
  6255. (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg.
  6256. Make GREGSETP const, adapt casts accordingly.
  6257. (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache.
  6258. (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt
  6259. casts accordingly.
  6260. (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
  6261. (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_
  6262. helper routines.
  6263. * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset,
  6264. mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset,
  6265. mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset):
  6266. Adapt prototypes.
  6267. * mips-linux-nat.c: Include "regcache.h".
  6268. (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
  6269. current_regcache to mips{64}_(supply|fill)_ helper routines.
  6270. (mips64_linux_regsets_fetch_registers): Likewise.
  6271. (mips64_linux_regsets_store_registers): Likewise.
  6272. * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add
  6273. REGCACHE argument; replace current_regcache. Make REGS const.
  6274. (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument;
  6275. replace current_regcache.
  6276. * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg,
  6277. mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes.
  6278. * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers,
  6279. mipsnbsd_store_inferior_registers): Pass current_regcache to
  6280. mipsnbsd_(supply|fill)_... helper routines.
  6281. * Makefile.in (mips-linux-nat.o): Update dependencies.
  6282. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  6283. * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove.
  6284. * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes.
  6285. * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace
  6286. i387_fill_fsave and i387_fill_fxsave calls by inline copies.
  6287. * i386-nto-tdep.c (i386nto_regset_fill): Likewise.
  6288. * i386gnu-nat.c (store_fpregs): Likewise.
  6289. * i386v4-nat.c (fill_fpregset): Likewise.
  6290. * go32-nat.c (store_register, go32_store_registers): Likewise.
  6291. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  6292. * cris-tdep.c (supply_gregset): Rename to ...
  6293. (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it
  6294. instead of current_regcache.
  6295. (fetch_core_registers): Update call. Pass current_regcache.
  6296. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  6297. * arnmnbsd-nat.c (supply_gregset): Rename to ...
  6298. (arm_supply_gregset): ... this. Add REGCACHE parameter.
  6299. Use it instead of current_regcache.
  6300. (supply_fparegset): Rename to ...
  6301. (arm_supply_fparegset): ... this. Add REGCACHE parameter.
  6302. Use it instead of current_regcache.
  6303. (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache.
  6304. (fetch_core_registers, fetch_elfcore_registers): Likewise.
  6305. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  6306. * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs,
  6307. alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter,
  6308. use it instead of current_regcache.
  6309. * alpha-tdep.h (struct regcache): Add forward declaration.
  6310. (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs,
  6311. alpha_fill_fp_regs): Update prototypes.
  6312. * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset,
  6313. fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines.
  6314. * alpha-linux-nat.c: Include "regcache.h".
  6315. (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
  6316. current_regcache to alpha_supply/fill_ routines.
  6317. * alphabsd-tdep.c: Include "regcache.h".
  6318. (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter,
  6319. pass it to alpha_supply_ routines. Make REGS const.
  6320. (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter,
  6321. pass it to alpha_fill_ routines.
  6322. * alphabsd-tdep.h (struct regcache): Add forward declaration.
  6323. (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg,
  6324. alphabsd_fill_fpreg): Update prototypes.
  6325. * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset,
  6326. fill_fpregset, alphabsd_fetch_inferior_registers,
  6327. alphabsd_store_inferior_registers): Pass current_regcache to
  6328. alphabsd_supply/fill_ routines.
  6329. * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update
  6330. dependencies.
  6331. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  6332. * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs,
  6333. supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it
  6334. instead of current_regcache.
  6335. (fetch_regs_user_thread, fetch_regs_kernel_thread): Add
  6336. REGCACHE parameter, pass it to supply_ routines.
  6337. (aix_thread_fetch_registers): Pass current_regcache to
  6338. fetch_regs_user_thread and fetch_regs_kernel_thread.
  6339. (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32):
  6340. Add REGCACHE parameter, use it instead of current_regcache.
  6341. Call regcache_valid_p instead of register_cached.
  6342. (store_regs_user_thread, store_regs_kernel_thread): Likewise.
  6343. Also, pass REGCACHE to fill_ routines.
  6344. (aix_thread_store_registers): Pass current_regcache to
  6345. store_regs_user_thread and store_regs_kernel_thread.
  6346. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  6347. * m32r-linux-nat.c (supply_gregset): Do not modify contents
  6348. pointed to by GREGSETP.
  6349. 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
  6350. * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead
  6351. of regcache_raw_read_signed.
  6352. (fill_fpregset): Use regcache_raw_collect instead of
  6353. regcache_raw_read.
  6354. 2007-05-03 Kevin Buettner <kevinb@redhat.com>
  6355. * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating
  6356. point arguments, test explicitly for use of the EABI32 ABI
  6357. instead of inferring this condition from tests on register
  6358. sizes.
  6359. 2007-05-03 Kevin Buettner <kevinb@redhat.com>
  6360. * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address
  6361. prior to allocating its location.
  6362. 2007-05-02 Maciej W. Rozycki <macro@mips.com>
  6363. * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions
  6364. based on mips_abi_regsize() whose result is known in advance.
  6365. (mips_o64_push_dummy_call): Likewise.
  6366. 2007-04-29 Ulrich Weigand <uweigand@de.ibm.com>
  6367. * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check.
  6368. * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS.
  6369. * mips-linux-nat.c: Include "gregset.h".
  6370. (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move
  6371. from mips-linux-tdep.c. Change parameter type to gdb_gregset_t.
  6372. * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
  6373. fill_fpregset): Move to mips-linux-nat.c.
  6374. * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies.
  6375. 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
  6376. * regcache.c (deprecated_read_register_gen): Remove, inline ...
  6377. (read_register): ... here.
  6378. (deprecated_write_register_gen): Remove, inline ...
  6379. (write_register): ... here.
  6380. * regcache.h (deprecated_read_register_gen): Remove prototype.
  6381. (deprecated_write_register_gen): Likewise.
  6382. * remote-sim.c (gdbsim_store_register): Replace call to
  6383. deprecated_read_register_gen with regcache_cooked_read.
  6384. * target.c (debug_print_register): Replace calls to
  6385. deprecated_read_register_gen and read_register with
  6386. regcache_cooked_read.
  6387. 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
  6388. * hpux-thread.c (hpux_thread_store_registers): Use
  6389. regcache_raw_collect, not regcache_raw_read.
  6390. * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply,
  6391. not regcache_raw_write.
  6392. 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
  6393. * gdbarch.sh: Remove deprecated_register_byte.
  6394. * gdbarch.c, gdbarch.h: Regenerate.
  6395. * arch-utils.h (generic_register_size, generic_register_byte): Remove.
  6396. * arch-utils.c (generic_register_size, generic_register_byte): Remove.
  6397. * regcache.h (regcache_valid_p): Make REGCACHE parameter const.
  6398. * regcache.c (regcache_valid_p): Allow to query cooked registers in
  6399. read-only register caches. Make REGCACHE parameter const.
  6400. (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE.
  6401. * mi/mi-main.c (old_regs): Remove.
  6402. (mi_setup_architecture_data, _initialize_mi_main): Remove.
  6403. (register_changed_p): Reimplement to compare two register caches.
  6404. (mi_cmd_data_list_changed_registers): Update caller.
  6405. * mi/mi-main.h (mi_setup_architecture_data): Remove.
  6406. * mi/mi-interp.c (mi_interpreter_init): Do not call
  6407. mi_setup_architecture_data.
  6408. 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
  6409. * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define,
  6410. inline definition at the places the macros are used.
  6411. * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise.
  6412. 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
  6413. * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and
  6414. "gdb_string.h".
  6415. (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables.
  6416. (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions.
  6417. (rs6000_aix32_regset, rs6000_aix64_regset): New variables.
  6418. (rs6000_aix_regset_from_core_section): New function.
  6419. (rs6000_aix_init_osabi): Register it.
  6420. (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and
  6421. sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000.
  6422. * rs6000-nat.c (CoreRegs): Do not define type.
  6423. (fetch_core_registers, rs6000_core_fns): Remove.
  6424. (_initialize_core_rs6000): Do not register it. Rename to ...
  6425. (_initialize_rs6000_nat): ... this.
  6426. * Makefile.in (rs6000-aix-tdep.o): Update dependencies.
  6427. 2007-04-27 Kevin Buettner <kevinb@redhat.com>
  6428. * dwarf2expr.c (unsigned_address_type): Add forward declaration.
  6429. (dwarf2_read_address): Sign extend return address as required by
  6430. target architecture.
  6431. 2007-04-27 Kevin Buettner <kevinb@redhat.com>
  6432. * solib-frv.c (lm_base): Bail out if the main executable has
  6433. not been relocated.
  6434. 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
  6435. * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
  6436. of FPCR register in fpregset.
  6437. 2007-04-27 Maciej W. Rozycki <macro@mips.com>
  6438. * Makefile.in (gdbtk-wrapper.o): Update dependencies.
  6439. (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise.
  6440. 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
  6441. * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove.
  6442. * rs6000-nat.c (rs6000_wait): New function.
  6443. (_initialize_core_rs6000): Install it as to_wait target method.
  6444. * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS.
  6445. 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
  6446. * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove.
  6447. * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK.
  6448. * rs6000-nat.c (super_create_inferior): New variable.
  6449. (rs6000_create_inferior): Make static. Adapt argument list. Call
  6450. original version of create_inferior via super_create_inferior.
  6451. (_initialize_core_rs6000): Install to_create_inferior target method.
  6452. 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
  6453. * aix-thread.c (aix_thread_xfer_memory): Replace by ...
  6454. (aix_thread_xfer_partial): ... this.
  6455. (init_aix_thread_ops): Install to_xfer_partial instead
  6456. of deprecated_xfer_memory target method.
  6457. * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o
  6458. and inftarg.o, add inf-ptrace.o.
  6459. * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS,
  6460. CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove.
  6461. * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h".
  6462. (fetch_inferior_registers): Rename to ...
  6463. (rs6000_fetch_inferior_registers): ... this. Make static.
  6464. (store_inferior_registers): Rename to ...
  6465. (rs6000_store_inferior_registers): ... this. Make static.
  6466. (read_word, child_xfer_memory): Remove.
  6467. (rs6000_xfer_partial): New function.
  6468. (kernel_u_size): Remove.
  6469. (_initialize_core_rs6000): Add inf_ptrace-based target.
  6470. * Makefile.in (rs6000-nat.o): Update dependencies.
  6471. 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
  6472. * inf-ptrace.c: Include "gdb_stdint.h".
  6473. (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as
  6474. intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3.
  6475. (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t"
  6476. before casting CORE_ADDR to PTRACE_TYPE_ARG3.
  6477. (inf_ptrace_store_register): Likewise.
  6478. * Makefile.in (inf-ptrace.o): Update dependencies.
  6479. 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
  6480. * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules.
  6481. * configure.tgt (rs6000-*-*): Likewise.
  6482. * config/rs6000/aix4.mh: Delete file.
  6483. * config/rs6000/aix4.mt: Delete file.
  6484. * config/rs6000/rs6000.mh: Delete file.
  6485. * config/rs6000/rs6000.mt: Delete file.
  6486. * config/powerpc/nm-aix.h: Delete file.
  6487. * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h.
  6488. 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
  6489. * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *".
  6490. Remove obsolete part of comment.
  6491. (store_regs_user_thread): Use uint32_t temporaries when calling
  6492. fill_sprs32.
  6493. (store_regs_kernel_thread): Likewise. Add assertion to verify
  6494. correct size of struct ptsprs members.
  6495. (aix_thread_xfer_memory): Fix type of myaddr.
  6496. (aix_thread_extra_thread_info): Fix compiler warning.
  6497. * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *".
  6498. (fetch_register, store_register): Adapt callers.
  6499. 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
  6500. * vec.h (vec_free): Rename to vec_free_. Adapt users.
  6501. 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
  6502. * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",
  6503. and "regcache.h".
  6504. (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New.
  6505. (alpha_linux_gregset, alpha_linux_fpregset): New variables.
  6506. (alpha_linux_regset_from_core_section): New function.
  6507. (alpha_linux_init_abi): Install it.
  6508. * alpha-linux-nat.c: Do not include "gdbcore.h". Include
  6509. "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>,
  6510. <sys/procfs.h>, and "gregset.h".
  6511. (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR):
  6512. Move from config/alpha/nm-linux.h.
  6513. (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy
  6514. from alpha-nat.c.
  6515. (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c.
  6516. * alpha-nat.c: Remove #ifdef __linux__ section.
  6517. (fetch_elf_core_registers, alpha_elf_core_fns): Remove.
  6518. (_initialize_core_alpha): Do not register alpha_elf_core_fns.
  6519. (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally.
  6520. (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h.
  6521. * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h.
  6522. (NATDEPFILES): Remove alpha-nat.o.
  6523. * config/alpha/nm-linux.h: Delete file.
  6524. * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c.
  6525. * Makefile.in (alpha-linux-nat.o): Update dependencies.
  6526. (alpha-linux-tdep.o): Likewise.
  6527. 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
  6528. * mips-linux-nat.c: No longer include "gdbcore.h".
  6529. (mips_linux_register_addr): Move from mips-linux-tdep.c.
  6530. (mips64_linux_register_addr): Likewise.
  6531. (mips_linux_register_u_offset): Call mips_linux_register_addr or
  6532. mips64_linux_register_addr instead of register_addr.
  6533. * mips-linux-tdep.c (mips_linux_register_addr,
  6534. mips64_linux_register_addr): Move to mips-linux-nat.c.
  6535. (register_addr): Remove.
  6536. (register_addr_data, init_register_addr_data): Remove.
  6537. (_initialize_mips_linux_tdep): Do not initialize register_addr_data.
  6538. (set_mips_linux_register_addr): Remove.
  6539. (mips_linux_init_abi): Do not call set_mips_linux_register_addr.
  6540. * Makefile.in (mips-linux-nat.o): Update dependencies.
  6541. 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
  6542. * linux-nat.c (linux_register_u_offset): Remove.
  6543. (linux_target_install_ops): New function.
  6544. (linux_target): Use it.
  6545. (linux_trad_target): New function.
  6546. * linux-nat.h (linux_trad_target): Declare.
  6547. * alpha-linux-nat.c: Include "gdbcore.h".
  6548. (alpha_linux_register_u_offset): New function.
  6549. (_initialize_alpha_linux_nat): Use linux_trad_target.
  6550. * mips-linux-nat.c: Include "gdbcore.h".
  6551. (mips_linux_register_u_offset): New function.
  6552. (_initialize_mips_linux_nat): Use linux_trad_target.
  6553. * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h.
  6554. * config/arm/nm-linux.h: Delete file.
  6555. * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove.
  6556. * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove.
  6557. * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h.
  6558. * config/ia64/nm-linux.h: Delete file.
  6559. * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h.
  6560. * config/m32r/nm-linux.h: Delete file.
  6561. * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h.
  6562. * config/m68k/nm-linux.h: Delete file.
  6563. * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h.
  6564. * config/pa/nm-linux.h: Delete file.
  6565. * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
  6566. * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise.
  6567. * config/powerpc/nm-linux.h: Delete file.
  6568. * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h.
  6569. * config/s390/nm-linux.h: Delete file.
  6570. * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
  6571. * config/sparc/linux64.mh (NAT_FILE): Likewise.
  6572. * config/sparc/nm-linux.h: Delete file.
  6573. * Makefile.in (alpha-linux-nat.o): Update dependencies.
  6574. (mips-linux-nat.o): Likewise.
  6575. 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
  6576. * core-aout.c: Delete file.
  6577. * Makefile.in (ALLDEPFILES): Remove core-aout.c.
  6578. (core-aout.o): Delete rule.
  6579. * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove.
  6580. * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove.
  6581. * arm-linux-nat.c (arm_linux_kernel_u_size): Remove.
  6582. * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE,
  6583. KERNEL_U_ADDR): Remove.
  6584. * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove.
  6585. (cannot_fetch_register, cannot_store_register): Remove.
  6586. (fetch_register): Inline cannot_fetch_register and register_addr.
  6587. (store_register): Inline cannot_store_register and register_addr.
  6588. * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o.
  6589. * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
  6590. REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER):
  6591. Remove.
  6592. * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove.
  6593. (fetch_register): Inline register_addr.
  6594. (store_register): Inline register_addr.
  6595. * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o.
  6596. * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
  6597. U_REGS_OFFSET, REGISTER_U_ADDR): Remove.
  6598. * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove.
  6599. * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET,
  6600. REGISTER_U_ADDR): Remove.
  6601. * hppa-linux-nat.c (register_addr): Rename to ...
  6602. (hppa_linux_register_addr): ... this. Make static.
  6603. (fetch_register, store_register): Adapt callers.
  6604. * config/pa/nm-linux.h (U_REGS_OFFSET): Remove.
  6605. * ppc-linux-nat.c (kernel_u_size): Remove.
  6606. * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove.
  6607. * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static.
  6608. * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o.
  6609. (NAT_FILE): Remove.
  6610. * config/vax/nm-vax.h: Delete file.
  6611. 2007-04-20 Mark Shinwell <shinwell@codesourcery.com>
  6612. * MAINTAINERS (Write After Approval): Add myself.
  6613. 2007-04-20 Mark Shinwell <shinwell@codesourcery.com>
  6614. * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
  6615. * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New.
  6616. (m68k_linux_sigcontext_reg_offset): Fix typo.
  6617. (target_is_uclinux): New.
  6618. (m68k_linux_inferior_created): New.
  6619. (m68k_linux_get_sigtramp_info): Check for uClinux or
  6620. normal Linux. Use m68k_uclinux_sigcontext_reg_offset for
  6621. uClinux.
  6622. (_initialize_m68k_linux_tdep): Register
  6623. m68k_linux_inferior_created.
  6624. 2007-04-19 Pedro Alves <pedro_alves@portugalmail.pt>
  6625. * win32-nat.c (win32_detach): Remove delete_command call.
  6626. Resume inferior with win32_resume instead of win32_continue.
  6627. 2007-04-19 Jerome Guitton <guitton@adacore.com>
  6628. * ser-mingw.c (fd_is_file): New function.
  6629. (file_select_thread): New function.
  6630. (ser_console_wait_handle): Add special handling for files.
  6631. 2007-04-18 Denis Pilat <denis.pilat@st.com>
  6632. * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type
  6633. when missing from DW_TAG_subrange_type. Remove the handling of null
  6634. return from die_type.
  6635. 2007-04-18 Maciej W. Rozycki <macro@mips.com>
  6636. * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last
  6637. change to rearrange some brackets.
  6638. (mips_n32n64_push_dummy_call): Likewise.
  6639. (mips_o32_push_dummy_call): Likewise.
  6640. (mips_o64_push_dummy_call): Likewise.
  6641. 2007-04-18 Denis Pilat <denis.pilat@st.com>
  6642. * infcmd.c (post_create_inferior): Start with a call to
  6643. target_terminal_ours.
  6644. 2007-04-17 Maciej W. Rozycki <macro@mips.com>
  6645. * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some
  6646. brackets.
  6647. (mips_n32n64_push_dummy_call): Likewise. Reformat some
  6648. expressions.
  6649. (mips_o32_push_dummy_call): Likewise.
  6650. (mips_o64_push_dummy_call): Likewise.
  6651. 2007-04-17 Maciej W. Rozycki <macro@mips.com>
  6652. * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
  6653. comment.
  6654. 2007-04-17 Maciej W. Rozycki <macro@mips.com>
  6655. * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
  6656. comment.
  6657. (mips_o32_push_dummy_call): Likewise.
  6658. 2007-04-17 Andreas Schwab <schwab@suse.de>
  6659. * symtab.c (skip_prologue_using_sal): Allow the end of the prologue
  6660. sal to be bigger than the end of the function.
  6661. 2007-04-17 Maciej W. Rozycki <macro@mips.com>
  6662. Nigel Stephens <nigel@mips.com>
  6663. * mips-tdep.c (mips_o32_push_dummy_call): Take account of
  6664. argument alignment requirements when calculating stack space
  6665. required. When aligning an arg register to eight bytes
  6666. boundary, align stack_offset too. Write floating-point
  6667. arguments to the appropriate integer register if need go there.
  6668. (mips_o64_push_dummy_call): Likewise.
  6669. 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
  6670. * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and
  6671. "sig" arguments, add "regcache" argument.
  6672. * gdbarch.c, gdbarch.h: Regenerate.
  6673. * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments.
  6674. (handle_inferior_event): Call remove_single_step_breakpoints directly
  6675. instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints.
  6676. * alpha-tdep.c (alpha_software_single_step): Update argument list.
  6677. Remove handling of !insert_breakpoints_p case.
  6678. * arm-tdep.c (arm_software_single_step): Likewise.
  6679. * cris-tdep.c (cris_software_single_step): Likewise.
  6680. * mips-tdep.c (mips_software_single_step): Likewise.
  6681. * rs6000-tdep.c (rs6000_software_single_step): Likewise.
  6682. * sparc-tdep.c (sparc_software_single_step): Likewise.
  6683. * spu-tdep.c (spu_software_single_step): Likewise.
  6684. * alpha-tdep.h (alpha_software_single_step): Update prototype.
  6685. * mips-tdep.h (mips_software_single_step): Likewise.
  6686. * rs6000-tdep.h (rs6000_software_single_step): Likewise.
  6687. * sparc-tdep.h (sparc_software_single_step): Likewise.
  6688. 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
  6689. * alpha-tdep.c (alpha_software_single_step): Do not call write_pc
  6690. when removing single-step breakpoints.
  6691. 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
  6692. * varobj.h (varobj_set_frozen): New
  6693. (varobj_get_frozen): New.
  6694. (varobj_update): New parameter explicit.
  6695. * varobj.c (struct varobj): New fields frozen
  6696. and not_fetched.
  6697. (varobj_set_frozen, varobj_get_frozen): New.
  6698. (install_new_value): Don't fetch values for
  6699. frozen variable object, or children thereof. Allow
  6700. a frozen variable object to have non-fetched value.
  6701. (varobj_update): Allow updating child variables.
  6702. Don't traverse frozen children.
  6703. (new_variable): Initialize the frozen field.
  6704. (c_value_of_variable): Return NULL for frozen
  6705. variable without any value yet.
  6706. * mi/mi-cmd-var.c (varobj_update_one): New parameter
  6707. 'explicit'.
  6708. (mi_cmd_var_create): Output the 'frozen' field,
  6709. as soon as testsuite is adjusted to expect that field.
  6710. (mi_cmd_var_set_frozen): New.
  6711. (mi_cmd_var_update): Pass the 'explicit' parameter to
  6712. varobj_update_one.
  6713. * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'.
  6714. * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.
  6715. 2007-04-13 Paul Brook <paul@codesourcery.com>
  6716. * target-descriptions.c (tdesc_named_type): Add ieee_single and
  6717. ieee_double.
  6718. 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
  6719. * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
  6720. remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h,
  6721. scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c,
  6722. ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete.
  6723. * Makefile.in: Remove references to deleted files.
  6724. * README: Do not mention deleted ROM monitor interfaces.
  6725. * defs.h (enum language): Delete language_scm.
  6726. * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING.
  6727. (dump_subexp_body_standard): Likewise.
  6728. * parse.c (operator_length_standard): Likewise.
  6729. * expression.h (enum exp_opcode): Delete OP_EXPRSTRING.
  6730. * remote-mips.c: Do not include remote-utils.h.
  6731. * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug
  6732. throughout.
  6733. * value.c: Do not include scm-lang.h.
  6734. (unpack_long): Delete scm_unpack call.
  6735. * config/h8300/h8300.mt, config/mips/embed.mt,
  6736. config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt,
  6737. config/sh/embed.mt, config/sh/linux.mt: Remove references to
  6738. deleted files.
  6739. * NEWS: Mention removed files.
  6740. 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
  6741. * symfile.c (add_psymbol_with_dem_name_to_list): Remove.
  6742. * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype.
  6743. 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
  6744. * NEWS: Mention removal of HP aCC support.
  6745. 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
  6746. * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
  6747. first entry for static executables.
  6748. (breakpoint_addr): Delete unused variable.
  6749. (elf_locate_base): Search for _r_debug in static executables.
  6750. (enable_break): Do not set breakpoint_addr. Scan solib_break_names
  6751. also.
  6752. 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
  6753. * breakpoint.c (update_breakpoints_after_exec, print_it_typical)
  6754. (bpstat_what, print_one_breakpoint, allocate_bp_location)
  6755. (mention): Remove bp_through_sigtramp support.
  6756. * breakpoint.h (enum bptype): Remove bp_through_sigtramp.
  6757. 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
  6758. * breakpoint.c (bpstat_what): Give step-resume higher priority than
  6759. shlib events.
  6760. 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
  6761. * infrun.c: Doc fixes.
  6762. (handle_inferior_event): Clarify debug message.
  6763. (insert_step_resume_breakpoint_at_sal): Print a debug message.
  6764. 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
  6765. * configure.tgt (arm-*-nto*, sh-*-nto*): Remove.
  6766. 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
  6767. * config/m68k/tm-monitor.h: Delete file.
  6768. * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove.
  6769. * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break
  6770. call moved to ...
  6771. * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ...
  6772. * m68klinux-tdep.c (m68k_linux_init_abi): ... here.
  6773. 2007-04-12 Luis Machado <luisgpm@br.ibm.com>
  6774. * gdbarch.sh (software_single_step): Change the return type
  6775. from void to int and reformatted some comments to <= 80
  6776. columns.
  6777. * gdbarch.c, gdbarch.h: Regenerated.
  6778. * alpha-tdep.c (alpha_software_single_step): Likewise.
  6779. * alpha-tdep.h (alpha_software_single_step): Likewise.
  6780. * arm-tdep.c (arm_software_single_step): Likewise.
  6781. * cris-tdep.c (cris_software_single_step): Likewise.
  6782. * mips-tdep.c (mips_software_single_step): Likewise.
  6783. * mips-tdep.h (mips_software_single_step): Likewise.
  6784. * rs6000-tdep.c (rs6000_software_single_step): Likewise.
  6785. * rs6000-tdep.h (rs6000_software_single_step): Likewise.
  6786. * sparc-tdep.c (sparc_software_single_step): Likewise.
  6787. * sparc-tdep.h (sparc_software_single_step): Likewise.
  6788. * spu-tdep.c (spu_software_single_step): Likewise.
  6789. * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP
  6790. and act accordingly.
  6791. 2007-04-11 Steve Ellcey <sje@cup.hp.com>
  6792. * configure.ac (build_warnings): Add -Wno-char-subscripts.
  6793. * configure: Regenerate.
  6794. 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
  6795. * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
  6796. 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
  6797. * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
  6798. macros.
  6799. (TYPE_IS_OPAQUE): Empty vs. opaque structures are now
  6800. distinct on the TYPE_STUB_SUPPORTED debug targets.
  6801. * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED.
  6802. 2007-04-11 Joel Brobecker <brobecker@adacore.com>
  6803. * sparc-tdep.c (X_RS2): New macro.
  6804. (sparc_skip_stack_check): New function.
  6805. (sparc_analyze_prologue): Adjust PC past stack probing
  6806. sequence if necessary.
  6807. 2007-04-10 Andreas Schwab <schwab@suse.de>
  6808. * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR
  6809. register.
  6810. 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
  6811. * breakpoint.c (gdb_breakpoint_query): Really return an
  6812. enum gdb_rc.
  6813. (gdb_breakpoint): Likewise.
  6814. * thread.c (gdb_list_thread_ids): Likewise.
  6815. (gdb_thread_select): Likewise.
  6816. * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc.
  6817. (mi_cmd_thread_list_ids): Remove bogus initialization.
  6818. 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
  6819. * Makefile.in (SFILES): Remove hpacc-abi.c.
  6820. (COMMON_OBS): Remove hpacc-abi.o.
  6821. (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE).
  6822. (hpacc-abi.o, hpread.o): Delete rules.
  6823. * somread.c: Delete extern declarations from hpread.c.
  6824. (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs.
  6825. (som_symfile_finish): Do not call hpread_symfile_finish.
  6826. (som_symfile_init): Do not call hpread_symfile_init.
  6827. * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o.
  6828. * config/pa/hppahpux.mt (TDEPFILES): Likewise.
  6829. * hpacc-abi.c, hpread.c: Deleted.
  6830. 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
  6831. * solib-svr4.c (enable_break): Simplify return value.
  6832. (svr4_solib_create_inferior_hook): Do not warn if enable_break fails.
  6833. 2007-04-10 Andreas Schwab <schwab@suse.de>
  6834. * solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
  6835. l_ld_size, l_next_size, l_prev_size, l_name_size.
  6836. * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address
  6837. to extract addresses from link map.
  6838. (LM_DYNAMIC_FROM_LINK_MAP): Likewise.
  6839. (LM_NEXT): Likewise.
  6840. (LM_NAME): Likewise.
  6841. (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise.
  6842. (elf_locate_base): Likewise.
  6843. (open_symbol_file_object): Likewise.
  6844. (svr4_fetch_objfile_link_map): Likewise.
  6845. (SOLIB_EXTRACT_ADDRESS): Remove unused macro.
  6846. (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of
  6847. l_ld_size.
  6848. (svr4_ilp32_fetch_link_map_offsets): Don't set removed members.
  6849. (svr4_lp64_fetch_link_map_offsets): Likewise.
  6850. * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set
  6851. removed members. Set l_ld_offset to -1 if not present.
  6852. 2007-04-08 Vladimir Prus <vladimir@codesourcery.com>
  6853. Pass stderr of program run with "target remote |"
  6854. via gdb_stderr.
  6855. * serial.c (serial_open): Set error_fd to -1.
  6856. * serial.h (struct serial): New field error_fd.
  6857. (struct serial_opts): New field avail.
  6858. * ser-pipe.c (pipe_open): Create another pair
  6859. of sockets. Pass stderr to gdb.
  6860. * ser-mingw.c (pipe_windows_open): Pass
  6861. PEX_STDERR_TO_PIPE to pex_run. Initialize
  6862. sd->error_fd.
  6863. (pipe_avail): New.
  6864. (_initialize_ser_windows): Hook pipe_avail.
  6865. * ser-base.c (generic_readchar): Check if there's
  6866. anything in stderr channel and route that to gdb_stderr.
  6867. 2007-04-03 Pedro Alves <pedro_alves@portugalmail.pt>
  6868. * dbxread.c (read_ofile_symtab): Move current_objfile
  6869. clearing to after end_stabs.
  6870. 2007-04-01 Andreas Schwab <schwab@suse.de>
  6871. * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter
  6872. gdbarch instead of current_gdbarch.
  6873. 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
  6874. * varobj.c (varobj_create): Keep varobj value
  6875. NULL when evaluating the type.
  6876. 2007-03-31 Pedro Alves <pedro_alves@portugalmail.pt>
  6877. * NEWS: Mention new Windows CE support.
  6878. 2007-03-30 Pedro Alves <pedro_alves@portugalmail.pt>
  6879. * configure.tgt: Move mips*-*-pe and sh*-*-pe to
  6880. the obsoletion stanza.
  6881. * NEWS: Mention deleted targets.
  6882. * config/sh/tm-wince.h: Remove.
  6883. * config/sh/wince.mt: Remove.
  6884. * config/mips/tm-wince.h: Remove.
  6885. * config/mips/wince.mt: Remove.
  6886. * wince.c: Remove.
  6887. * wince-stub.c: Remove.
  6888. * wince-stub.h: Remove.
  6889. * Makefile.in (wince.o): Remove rule.
  6890. (wince-stub.o): Likewise.
  6891. * mips-tdep.c (mips_next_pc): Make static.
  6892. * mips-tdep.h (mips_next_pc): Remove declaration.
  6893. * arm-tdep.c (arm_pc_is_thumb): Make static.
  6894. (thumb_get_next_pc): Likewise.
  6895. (arm_get_next_pc): Likewise.
  6896. * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration.
  6897. (arm_pc_is_thumb): Likewise.
  6898. (thumb_get_next_pc): Likewise.
  6899. (arm_get_next_pc): Likewise.
  6900. 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
  6901. * MAINTAINERS: Remove d10v entry.
  6902. * Makefile.in (SFILES): Remove dwarfread.c.
  6903. (COMMON_OBS): Remove dwarfread.o.
  6904. (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o)
  6905. (remote-est.o, rom68k-rom.o): Delete.
  6906. * NEWS: Mention removal of d10v, target abug, target cpu32bug,
  6907. target est, target rom68k, and DWARF 1.
  6908. * configure.tgt: Mark d10v as removed.
  6909. * dwarf2read.c: Doc update.
  6910. * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset,
  6911. and lnsize.
  6912. (elf_locate_sections): Do not set them.
  6913. (elf_symfile_read): Do not call dwarf_build_psymtabs.
  6914. * symfile.h (dwarf_build_psymtabs): Delete prototype.
  6915. * config/m68k/monitor.mt (TDEPFILES): Prune.
  6916. * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c,
  6917. remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete.
  6918. 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
  6919. * doublest.c (convert_floatformat_to_doublest): Use
  6920. floatformat_classify.
  6921. (floatformat_is_nan): Rename to...
  6922. (floatformat_classify): ...this. Return more information.
  6923. * doublest.h (enum float_kind): New.
  6924. (floatformat_is_nan): Replace prototype...
  6925. (floatformat_classify): ...with this one.
  6926. * valprint.c (print_floating): Use floatformat_classify. Handle
  6927. infinity.
  6928. 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
  6929. * README: Mention ISO C library requirement.
  6930. 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
  6931. * Makefile.in (SFILES): Remove nlmread.c.
  6932. (COMMON_OBS): Remove nlmread.o.
  6933. (nlmread.o): Delete rule.
  6934. * README: Delete reference to remote-st.c.
  6935. * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete.
  6936. * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and
  6937. GDB_OSABI_LYNXOS.
  6938. * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete.
  6939. (_initialize_i386_tdep): Do not reference them.
  6940. * nlmread.c: Delete file.
  6941. * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS.
  6942. * target.c: Doc update.
  6943. * thread.c: Delete commented include.
  6944. * config/alpha/tm-alpha.h: Doc update.
  6945. 2007-03-30 Chris Dearman <chris@mips.com>
  6946. * utils.c (string_to_core_addr): Comment typo.
  6947. 2007-03-30 Chris Dearman <chris@mips.com>
  6948. * mips-tdep.c: Comment typo.
  6949. 2007-03-29 Ulrich Weigand <uweigand@de.ibm.com>
  6950. * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove.
  6951. * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
  6952. * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
  6953. * config/powerpc/nm-ppc64-linux.h: Remove file.
  6954. * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h.
  6955. * inferior.h (PTRACE_ARG3_TYPE): Do not define.
  6956. (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3.
  6957. * infptrace.c (call_ptrace): Likewise.
  6958. * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define.
  6959. (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3
  6960. and PTRACE_XFER_TYPE by PTRACE_TYPE_RET.
  6961. (store_register): Likewise.
  6962. 2007-03-29 Joel Brobecker <brobecker@adacore.com>
  6963. * Makefile.in (varobj.o): Add missing dependency.
  6964. 2007-03-29 Michael Snyder <msnyder@access-company.com>
  6965. * MAINTAINERS: Update my email address.
  6966. 2007-03-29 Joel Brobecker <brobecker@adacore.com>
  6967. Add support for exception handling with multiple versions of
  6968. the Ada runtime:
  6969. * ada-lang.c: Update general comments on how Ada exception catchpoints
  6970. are implemented.
  6971. (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name)
  6972. (__gnat_raise_nodefer_with_msg): Delete.
  6973. (ada_unhandled_exception_name_addr_ftype): New type.
  6974. (exception_support_info): New type.
  6975. (ada_unhandled_exception_name_addr): Add forward declaration.
  6976. (ada_unhandled_exception_name_addr_from_raise): Likewise.
  6977. (default_exception_support_info): New constant.
  6978. (exception_support_info_fallback): Likewise.
  6979. (exception_info): New global variable.
  6980. (ada_exception_support_info_sniffer): New function.
  6981. (ada_executable_changed_observer): Likewise.
  6982. (ada_unhandled_exception_name_addr_from_raise): Renamed from
  6983. ada_unhandled_exception_name_addr.
  6984. (ada_unhandled_exception_name_addr): Reimplement to match the
  6985. latest Ada runtime implementation.
  6986. (error_breakpoint_runtime_sym_not_found): Delete.
  6987. (ada_exception_sym_name): Get the exception sym name from
  6988. exception_info rather than hardcoding it.
  6989. (ada_exception_sal): Add call to ada_exception_support_info_sniffer.
  6990. Update error handling.
  6991. * Makefile.in (ada-lang.o): Add dependency on observer.h.
  6992. 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
  6993. * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
  6994. (remote-st.o, uw-thread.o): Delete.
  6995. (HFILES_NO_SRCDIR, ALLDEPFILES): Update.
  6996. * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*,
  6997. i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*,
  6998. i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*,
  6999. i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*,
  7000. i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and
  7001. rs6000-*-lynxos* to an obsoletion stanza.
  7002. * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*,
  7003. i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*,
  7004. and rs6000-*-lynxos* to an obsoletion stanza. Do not mention
  7005. i[34567]86-*-netware*.
  7006. * NEWS: Mention deleted targets.
  7007. * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c,
  7008. uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh,
  7009. config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh,
  7010. config/i386/i386v4.mh, config/i386/i386v42mp.mh,
  7011. config/i386/ncr3000.mh, config/i386/ncr3000.mt,
  7012. config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h,
  7013. config/i386/nm-i386sco5.h, config/i386/nm-i386v.h,
  7014. config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h,
  7015. config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt,
  7016. config/m68k/tm-cisco.h, config/m68k/tm-os68k.h,
  7017. config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt,
  7018. config/rs6000/tm-rs6000ly.h: Delete files.
  7019. 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
  7020. * defs.h (deprecated_registers_changed_hook): Delete declaration.
  7021. * interps.c (clear_interpreter_hooks): Do not clear
  7022. deprecated_registers_changed_hook.
  7023. * regcache.c (registers_changed): Do not call it.
  7024. * top.c (deprecated_registers_changed_hook): Do not define it.
  7025. * mi/mi-interp.c (mi_command_loop): Do not clear it.
  7026. * tui/tui-hooks.c (tui_install_hooks): Do not install it.
  7027. (tui_remove_hooks): Do not remove it.
  7028. (tui_selected_frame_level_changed_hook): Check for negative level.
  7029. Use get_selected_frame.
  7030. (tui_registers_changed_hook): Deleted.
  7031. 2007-03-29 Joel Brobecker <brobecker@adacore.com>
  7032. * stabsread.c (add_undefined_type): Add extra parameter.
  7033. Now handles nameless types separately.
  7034. (struct nat): New type.
  7035. (noname_undefs, noname_undefs_allocated, noname_undefs_length):
  7036. New static variables.
  7037. (read_type): Update calls to add_undefined_type.
  7038. (add_undefined_type_noname): New function.
  7039. (add_undefined_type_1): Renames from add_undefined_type.
  7040. (cleanup_undefined_types_noname): New function.
  7041. (cleanup_undefined_types_1): Renames cleanup_undefined_types.
  7042. (cleanup_undefined_types): New handles nameless types separately.
  7043. (_initialize_stabsread): Initialize our new static constants.
  7044. 2007-03-29 Denis Pilat <denis.pilat@st.com>
  7045. * configure.ac: Test for signal.h.
  7046. * configure, config.in: Regenerate.
  7047. 2007-03-29 Denis Pilat <denis.pilat@st.com>
  7048. * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output.
  7049. * infrun.c (normal_stop): Remove MI specific frame printing treatment.
  7050. 2007-03-29 Pedro Alves <pedro_alves@portugalmail.pt>
  7051. * arm-wince-tdep.c: New.
  7052. * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h.
  7053. (MT_CFLAGS): Delete.
  7054. (TM_CLIBS): Delete.
  7055. (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o,
  7056. solib-legacy.o, solib-svr4.o, and remove wince.o.
  7057. * configure.tgt (arm*-*-mingw32ce*): Add.
  7058. * signals/signals.c [HAVE_SIGNAL_H]: Check.
  7059. (do_target_signal_to_host): Silence 'not used' warning.
  7060. * config/arm/tm-wince.h: Remove.
  7061. 2007-03-28 Ulrich Weigand <uweigand@de.ibm.com>
  7062. * arch-utils.c (legacy_pc_in_sigtramp): Remove.
  7063. * arch-utils.h (legacy_pc_in_sigtramp): Remove.
  7064. * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove.
  7065. * config/ia64/tm-linux.h: Remove file.
  7066. * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback.
  7067. * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of
  7068. legacy_pc_in_sigtramp.
  7069. (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp.
  7070. * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static.
  7071. Remove func_name argument.
  7072. (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp.
  7073. * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine.
  7074. * target.c (update_current_target): Add to_have_steppable_watchpoint.
  7075. * target.h (struct target_ops): Add to_have_steppable_watchpoint.
  7076. (HAVE_STEPPABLE_WATCHPOINT): Define.
  7077. * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o.
  7078. * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET,
  7079. CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER,
  7080. TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
  7081. STOPPED_BY_WATCHPOINT, target_stopped_data_address,
  7082. target_insert_watchpoint, target_remove_watchpoint): Remove.
  7083. (FETCH_INFERIOR_REGISTERS): Define.
  7084. * ia64-linux-nat.c (ia64_register_addr): Make static.
  7085. (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
  7086. (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument.
  7087. (ia64_linux_remove_watchpoint): Likewise. Add type argument.
  7088. (ia64_linux_stopped_data_address): Make static. Add target_ops.
  7089. (ia64_linux_stopped_by_watchpoint): Make static.
  7090. (ia64_linux_can_use_hw_breakpoint): New function.
  7091. (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise.
  7092. (ia64_linux_store_register, ia64_linux_store_registers): Likewise.
  7093. (_initialize_ia64_linux_nat): Install register and watchpoint ops.
  7094. 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
  7095. * linespec.c: Include language.h.
  7096. (find_methods): Add language parameter. Call
  7097. lookup_symbol_in_language. Pass language down.
  7098. (add_matching_methods): Likewise. Call
  7099. lookup_symbol_in_language.
  7100. (add_constructors): Likewise.
  7101. (find_method): Pass sym_class to collect_methods.
  7102. (collect_methods): Add sym_class parameter. Pass language
  7103. down.
  7104. * symtab.c (lookup_symbol): Rename to ...
  7105. (lookup_symbol_in_language): ... this. Add language
  7106. parameter. Use passed language instead of current_language.
  7107. (lookup_symbol): New as wrapper around
  7108. lookup_symbol_in_language.
  7109. (lookup_symbol_aux): Add language parameter. Use passed
  7110. language instead of current_language.
  7111. (search_symbols): Indent.
  7112. * symtab.h (enum language): Forward declare.
  7113. (lookup_symbol_in_language): Declare.
  7114. (lookup_symbol): Update description.
  7115. * ada-lang.h (lookup_symbol_in_language): Remove declaration.
  7116. * ada-lang.c (restore_language): Remove.
  7117. (lookup_symbol_in_language): Remove.
  7118. 2007-03-27 Pedro Alves <pedro_alves@portugalmail.pt>
  7119. * breakpoint.c (bpstat_num): Add int *num parameter.
  7120. * breakpoint.h (bpstat_num): Likewise.
  7121. * infcmd.c (continue_command): Adjust to new bpstat_num
  7122. interface.
  7123. (program_info): Likewise.
  7124. 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
  7125. * config/sh/tm-sh.h: Remove file.
  7126. * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove.
  7127. * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove.
  7128. * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove.
  7129. * config/sh/tm-wince.h: Do not include "sh/tm-sh.h".
  7130. 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
  7131. * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,
  7132. DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove.
  7133. * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT,
  7134. DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT.
  7135. * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint
  7136. sequence if target_shortname is "remote".
  7137. 2007-03-27 Anton Blanchard <anton@samba.org>
  7138. * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset
  7139. instead of wordsize when looking for the LR in a stack frame.
  7140. 2007-03-27 Andreas Schwab <schwab@suse.de>
  7141. Daniel Jacobowitz <dan@codesourcery.com>
  7142. * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
  7143. (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p
  7144. argument. Update all callers.
  7145. (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum.
  7146. (dwarf2_frame_set_eh_frame_regnum): Rename to...
  7147. (dwarf2_frame_set_adjust_regnum): ...this. Update argument type.
  7148. * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to...
  7149. (dwarf2_frame_set_adjust_regnum): ...this.
  7150. (dwarf2_frame_eh_frame_regnum): Delete prototype.
  7151. * rs6000-tdep.c: Include "dwarf2-frame.h".
  7152. (rs6000_adjust_frame_regnum): Define.
  7153. (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder.
  7154. Register rs6000_adjust_frame_regnum.
  7155. * Makefile.in (rs6000-tdep.o): Update dependencies.
  7156. 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
  7157. * Makefile.in: Add support for a "pdf" target.
  7158. 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
  7159. * amd64-tdep.c (amd64_init_frame_cache): New function.
  7160. (amd64_alloc_frame_cache, amd64_skip_prologue): Use it.
  7161. 2007-03-26 Nigel Stephens <nigel@mips.com>
  7162. Maciej W. Rozycki <macro@mips.com>
  7163. * ui-out.c (ui_out_field_core_addr): Truncate address to
  7164. TARGET_ADDR_BIT size before printing.
  7165. 2007-03-22 Nigel Stephens <nigel@mips.com>
  7166. Maciej W. Rozycki <macro@mips.com>
  7167. * remote-mips.c (mips_xfer_memory): Update prototype.
  7168. 2007-03-22 Joel Brobecker <brobecker@adacore.com>
  7169. * symfile.h: #include "symtab.h"
  7170. 2007-03-22 Denis Pilat <denis.pilat@st.com>
  7171. * utils.c (pagination_on_command, pagination_off_command):
  7172. Remove useless prototypes.
  7173. 2007-03-21 Pierre Muller <muller@ics.u-strasbg.fr>
  7174. Fix PR pascal/2232.
  7175. * p-valprint.c (pascal_object_print_value): Use type_name_no_tag
  7176. instead of TYPE_NAME for object base class name.
  7177. 2007-03-19 Kevin Buettner <kevinb@redhat.com>
  7178. * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
  7179. Specify frame type in calls to frame_func_unwind().
  7180. 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
  7181. * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
  7182. (rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
  7183. (refine_prologue_limit): Delete.
  7184. (skip_prologue): Don't call it. Use extract_unsigned_integer.
  7185. Assume lim_pc is set. Correct check for incomplete prologues.
  7186. Do not skip clobbers of the frame pointer.
  7187. * symtab.c (skip_prologue_using_sal): Fail if there is only one
  7188. sal.
  7189. 2007-03-13 Nathan Froyd <froydnj@codesourcery.com>
  7190. * frame.c (frame_pop): Check to see whether there's a frame to
  7191. which we can pop first.
  7192. 2007-03-13 Nathan Froyd <froydnj@codesourcery.com>
  7193. * MAINTAINERS (Write After Approval): Add myself.
  7194. 2007-03-09 Markus Deuling <deuling@de.ibm.com>
  7195. * infrun.c (breakpoints_failed): Remove unnecessary variable.
  7196. (handle_inferior_event): Remove unnecessary braces.
  7197. * breakpoint.c (bpstat_what): Remove wrong comment.
  7198. 2007-03-09 Ulrich Weigand <uweigand@de.ibm.com>
  7199. * spu-tdep.c (spu_in_function_epilogue_p): New function.
  7200. (spu_gdbarch_init): Install it.
  7201. 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
  7202. * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
  7203. object types, not 0.
  7204. 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
  7205. * spu-tdep.c (spu_frame_align): New function.
  7206. (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK.
  7207. 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
  7208. * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit.
  7209. (spu_software_single_step): Likewise.
  7210. (spu_read_pc, spu_write_pc): New functions.
  7211. (spu_gdbarch_init): Install them.
  7212. 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
  7213. * cli/cli-dump.c (struct callback_data): load_offset needs to
  7214. have signed long type.
  7215. 2007-03-07 Joel Brobecker <brobecker@adacore.com>
  7216. * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
  7217. Revert the previous change that had some unexpected side-effects
  7218. on mips32.
  7219. (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper
  7220. function to get the address of the calling instruction.
  7221. 2007-03-07 Denis Pilat <denis.pilat@st.com>
  7222. * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
  7223. get_selected_frame by deprecated_safe_get_selected_frame.
  7224. 2007-03-02 Mark Kettenis <kettenis@gnu.org>
  7225. * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
  7226. "gdb_string.h". Don't include "nbsd-tdep.h".
  7227. (SIZEOF_STRUCT_REG): Remove.
  7228. (SHNBSD_SIZEOF_GREGS): New.
  7229. (shnbsd_supply_gregset, shnbsd_collect_gregset)
  7230. (shnbsd_regset_from_core_section): New functions.
  7231. (fetch_core_registers, fetch_elfcore_registers): Remove functions.
  7232. (shnbsd_supply_reg, shnbsd_fill_reg): Simply call
  7233. shnbsd_supply_gregset, shnbsd_collect_gregset.
  7234. (shnbsd_gregset): New variable.
  7235. (shnbsd_init_abi): Set regset_from_core_section.
  7236. (GDB_OSABI_NETBSD_CORE): New define.
  7237. (shnbsd_core_osabi_sniffer): New function.
  7238. (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
  7239. * Makefile.in (shnbsd-tdep.o): Update dependencies.
  7240. * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
  7241. nbsd-tdep.o.
  7242. * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
  7243. 2007-02-28 Joel Brobecker <brobecker@adacore.com>
  7244. * gdbtypes.c (replace_type): Fix typo that caused us to not update
  7245. length of the types referenced by the new type CV ring.
  7246. 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
  7247. * frame.c (frame_pop, frame_observer_target_changed): Call
  7248. reinit_frame_cache.
  7249. (flush_cached_frames): Rename to reinit_frame_cache and delete
  7250. old implementation.
  7251. * frame.h (flush_cached_frames): Delete prototype and update comment.
  7252. * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
  7253. reinit_frame_cache instead of flush_cached_frames. Do not call
  7254. select_frame after reinit_frame_cache.
  7255. * corelow.c (core_open): Likewise.
  7256. * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
  7257. * infrun.c (prepare_to_proceed, context_switch)
  7258. (handle_inferior_event): Likewise.
  7259. * linux-fork.c (fork_load_infrun_state): Likewise.
  7260. * ocd.c (ocd_start_remote): Likewise.
  7261. * remote-e7000.c (e7000_start_remote): Likewise.
  7262. * remote-mips.c (device): Likewise.
  7263. * thread.c (switch_to_thread): Likewise.
  7264. * tracepoint.c (finish_tfind_command): Likewise.
  7265. * gdbarch.c: Regenerated.
  7266. 2007-02-28 Jerome Guitton <guitton@adacore.com>
  7267. Joel Brobecker <brobecker@adacore.com>
  7268. * gdbtypes.c (check_typedef): Do not replace stub type if
  7269. the resolved type is not defined in the same objfile.
  7270. 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
  7271. * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
  7272. 2007-02-28 Joel Brobecker <brobecker@adacore.com>
  7273. * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
  7274. symbol for Ada units when the symbol is defined using 't' rather
  7275. than 'Tt' as symbol descriptor.
  7276. 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
  7277. * config/mips/tm-nbsd.h: Delete file.
  7278. * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.
  7279. * config/sh/tm-nbsd.h: Delete file.
  7280. * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
  7281. 2007-02-28 Joel Brobecker <brobecker@adacore.com>
  7282. * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
  7283. unused WRONG_PARAM value since it was recently deleted.
  7284. 2007-02-28 Vladimir Prus <vladimir@codesourcery.com>
  7285. * varobj.c (varobj_update): Free temporary vectors.
  7286. 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
  7287. * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
  7288. * config/powerpc/tm-linux.h: Delete file.
  7289. * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h".
  7290. (PROCESS_LINENUMBER_HOOK): Do not undefine.
  7291. (TEXT_SEGMENT_BASE): Do not redefine.
  7292. * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here
  7293. from config/rs6000/tm-rs6000.h.
  7294. (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
  7295. * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration.
  7296. (TEXT_SEGMENT_BASE): Remove.
  7297. (IN_SOLIB_RETURN_TRAMPOLINE): Remove.
  7298. (rs6000_in_solib_return_trampoline): Remove.
  7299. (SKIP_TRAMPOLINE_CODE): Remove.
  7300. (rs6000_skip_trampoline_code): Remove.
  7301. (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h.
  7302. (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
  7303. (FP0_REGNUM): Remove.
  7304. (rs6000_find_toc_address_hook): Move to rs6000-tdep.h.
  7305. (rs6000_set_host_arch_hook): Remove.
  7306. * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h).
  7307. (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h).
  7308. * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base.
  7309. * rs6000-aix-tdep.c: Include "ppc-tdep.h".
  7310. (rs6000_aix_init_osabi): Set text_segment_base tdep field.
  7311. * rs6000-nat.c: Include "rs6000-tdep.h".
  7312. (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field.
  7313. (set_host_arch): Rename to ...
  7314. (rs6000_create_inferior): ... this. Make public.
  7315. (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook.
  7316. * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove.
  7317. (rs6000_create_inferior): Remove.
  7318. (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field.
  7319. (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum,
  7320. set_gdbarch_in_solib_return_trampoline, and
  7321. set_gdbarch_skip_trampoline_code.
  7322. * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here
  7323. from config/rs6000/tm-rs6000.h.
  7324. 2007-02-27 Joel Brobecker <brobecker@adacore.com>
  7325. * buildsym.c (record_producer): Do nothing if no producer is provided.
  7326. 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
  7327. * varobj.c (varobj_update): Remove unused local. Use gdb_assert
  7328. to check changelist is non-NULL. Call error if the frontend tries
  7329. to update a non-root variable.
  7330. * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value.
  7331. 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
  7332. * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
  7333. (dwarf2_frame_sniffer): Update.
  7334. (dwarf2_signal_frame_this_id): New function.
  7335. (dwarf2_signal_frame_unwind): Use it.
  7336. (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
  7337. * frame.c (frame_func_unwind): Add this_type argument.
  7338. (get_frame_func): Update.
  7339. (frame_unwind_address_in_block): Add this_type argument and check it.
  7340. Fix a typo.
  7341. (get_frame_address_in_block): Update.
  7342. * frame.h (enum frame_type): Move higher in the file.
  7343. (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
  7344. argument.
  7345. * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
  7346. arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
  7347. hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
  7348. libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
  7349. m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
  7350. mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
  7351. score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
  7352. sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
  7353. xstormy16-tdep.c, xtensa-tdep.c: Update calls to
  7354. frame_func_unwind and frame_unwind_address_in_block to specify
  7355. the frame type. Use frame_unwind_address_in_block instead of
  7356. frame_pc_unwind in sniffers.
  7357. 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
  7358. * frame.c (deprecated_selected_frame): Rename to...
  7359. (selected_frame): ...this. Make static.
  7360. (get_selected_frame, select_frame): Update.
  7361. * frame.h (deprected_select_frame): Delete.
  7362. (deprecated_safe_get_selected_frame): Update comments.
  7363. * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
  7364. infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
  7365. tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
  7366. parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
  7367. tui/tui.c: Replace references to deprecated_selected_frame.
  7368. 2007-02-27 Fred Fish <fnf@specifix.com>
  7369. * rs6000-tdep.c (skip_prologue): Recognize addi instructions that
  7370. directly decrement the stack pointer, accumulate their operand into
  7371. the stack offset, and mark the function as not being frameless.
  7372. 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
  7373. * arch-utils.c (selected_byte_order): New.
  7374. * arch-utils.h (selected_byte_order): New prototype.
  7375. * remote-sim.c (gdbsim_open): Use selected_byte_order.
  7376. 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
  7377. * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
  7378. (default_symfile_offsets): Check VMA here. Update section VMAs.
  7379. 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
  7380. * remote.c (init_remote_state): Add special handling for placeholder
  7381. registers.
  7382. 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
  7383. * Makefile.in (XMLFILES): Include $(TDEP_XML).
  7384. (filenames_h): New variable.
  7385. (clean): Clean up xml-builtin.c and stamp-xml.
  7386. (arm-linux-nat.o): Update.
  7387. * config/arm/linux.mh (TDEP_XML): Define.
  7388. * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
  7389. (arm_linux_has_wmmx_registers): New.
  7390. (GET_THREAD_ID): Fix typo.
  7391. (IWMMXT_REGS_SIZE): Define.
  7392. (fetch_wmmx_regs, store_wmmx_regs): New.
  7393. (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
  7394. (arm_linux_store_inferior_registers): Use store_wmmx_regs.
  7395. (super_xfer_partial, arm_linux_xfer_partial): New.
  7396. (_initialize_arm_linux_nat): Use them.
  7397. * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
  7398. (xml_builtin_xfer_partial): New function.
  7399. * xml-support.h (xml_builtin_xfer_partial): New prototype.
  7400. * NEWS: Update mention of iWMMXt support.
  7401. 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
  7402. * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
  7403. if there are no FPA registers.
  7404. (arm_dwarf_reg_to_regnum): New function.
  7405. (arm_register_type, arm_register_name): Return minimal values for
  7406. unsupported registers.
  7407. (arm_register_sim_regno): Handle iWMMXt registers.
  7408. (arm_gdbarch_init): Record missing FPA registers if indicated by
  7409. a target description. Recognize iWMMXt registers. Only register
  7410. "info float" for FPA. Use ARM_NUM_REGS. Register
  7411. arm_dwarf_reg_to_regnum.
  7412. * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
  7413. constants.
  7414. (struct gdbarch_tdep): Add have_fpa_registers.
  7415. * features/xscale-iwmmxt.xml: Update capitalization.
  7416. * regformats/arm-with-iwmmxt.dat: Regenerated.
  7417. 2007-02-24 Kevin Buettner <kevinb@redhat.com>
  7418. * NEWS (New targets): Add entry for the Toshiba Media Processor.
  7419. 2007-02-23 Kevin Buettner <kevinb@redhat.com>
  7420. * MAINTAINERS (mep): New target.
  7421. 2007-02-23 Kevin Buettner <kevinb@redhat.com>
  7422. From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and
  7423. Richard Sandiford:
  7424. * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables.
  7425. (mep-tdep.o): New rule.
  7426. * configure.tgt (mep-*-*): New target.
  7427. * mep-tdep.c: New file.
  7428. * config/mep/mep.mt: New file.
  7429. 2007-02-22 Markus Deuling <deuling@de.ibm.com>
  7430. * infrun.c (inferior_stop_reason, print_stop_reason): Remove
  7431. BREAKPOINT_HIT and STOP_UNKNOWN.
  7432. 2007-02-22 Markus Deuling <deuling@de.ibm.com>
  7433. * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
  7434. 2007-02-20 Joel Brobecker <brobecker@adacore.com>
  7435. * gdb_expat.h (XMLCALL): Define if not already defined.
  7436. 2007-02-20 Andreas Schwab <schwab@suse.de>
  7437. * Makefile.in (symfile.o): Update dependencies.
  7438. 2007-02-20 Daniel Jacobowitz <dan@codesourcery.com>
  7439. * MAINTAINERS: Disable -Werror for cris simulator. Build
  7440. sparc64-solaris2.10 instead of the broken sparc-elf.
  7441. * solib-frv.c: Include "solib.h".
  7442. * Makefile.in (solib-frv.o): Update.
  7443. * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch.
  7444. * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int.
  7445. (xtensa_frame_this_id, xtensa_frame_prev_register)
  7446. (xtensa_push_dummy_call): Use %p.
  7447. 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com>
  7448. * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
  7449. ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c,
  7450. sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
  7451. * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o)
  7452. (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o)
  7453. (sparc-linux-tdep.o): Update.
  7454. 2007-02-15 Maxim Grigoriev <maxim2405@gmail.com>
  7455. * xtensa-tdep.h (xtensa_reg_mask_t): New.
  7456. (xtensa_mask_t): Change mask field to be a separate array.
  7457. * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read)
  7458. (xtensa_pseudo_register_write, xtensa_unwind_pc)
  7459. (xtensa_unwind_dummy_id, xtensa_push_dummy_call)
  7460. (xtensa_breakpoint_from_pc): Remove implicit type casting.
  7461. * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5)
  7462. (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13)
  7463. (mask14, mask15): Rename to
  7464. (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3)
  7465. (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7)
  7466. (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11)
  7467. (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this.
  7468. (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3)
  7469. (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7)
  7470. (xtensa_submask8, xtensa_submask9, xtensa_submask10)
  7471. (xtensa_submask11, xtensa_submask12, xtensa_submask13)
  7472. (xtensa_submask14, xtensa_submask15): New.
  7473. (rmap): Follow strict aliasing rules doing static initialization.
  7474. 2007-02-13 Daniel Jacobowitz <dan@codesourcery.com>
  7475. * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr
  7476. handling from here...
  7477. (tdesc_register_type): ...to here.
  7478. * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr.
  7479. * features/arm-core.xml: Use code_ptr and data_ptr.
  7480. 2007-02-13 Denis Pilat <denis.pilat@st.com>
  7481. * varobj.h (enum varobj_update_error): New enum.
  7482. * varobj.c (struct varobj_root): Add is_valid member.
  7483. (varobj_get_type): Check for invalid varobj.
  7484. (varobj_get_attributes): Likewise.
  7485. (variable_editable):Likewise.
  7486. (varobj_update): Likewise. Use varobj_update_error.
  7487. (new_root_variable): Set root varobj as valid by default.
  7488. (varobj_invalidate): New function.
  7489. * symfile.c (clear_symtab_users): Use varobj_invalidate.
  7490. * mi/mi-cmd-var.c (varobj_update_one): Change return type to void.
  7491. Use varobj_update_error.
  7492. 2007-02-12 Pierre Muller <muller@ics.u-strasbg.fr>
  7493. Fix PR pascal/2223.
  7494. * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as
  7495. Pascal language marker.
  7496. * dwarf2read.c (set_cu_language): Likewise.
  7497. 2007-02-12 Corinna Vinschen <vinschen@redhat.com>
  7498. * win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
  7499. (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp
  7500. instead of target_terminal_init since inferior_ptid isn't set yet.
  7501. 2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt>
  7502. * MAINTAINERS (Write After Approval): Add myself.
  7503. 2007-02-09 Fred Fish <fnf@specifix.com>
  7504. Based on work by Apple Computer, Inc.
  7505. * event-top.c (async_request_quit): Call quit() whenever either
  7506. quit_flag is set or immediate_quit is set.
  7507. 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
  7508. * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's
  7509. type to a pointer to const struct block.
  7510. (ada_lookup_symbol_list): Don't cast away constness when calling
  7511. remove_out_of_scope_renamings.
  7512. 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
  7513. * linux-nat.c (linux_nat_find_memory_regions): Don't check the
  7514. address of 'filename'; it is always non null.
  7515. 2007-02-09 Joel Brobecker <brobecker@adacore.com>
  7516. * exec.c (add_to_section_table): Do not discard empty sections.
  7517. 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
  7518. * features/Makefile, features/arm-with-iwmmxt.xml,
  7519. features/gdbserver-regs.xsl, features/number-regs.xsl,
  7520. features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files.
  7521. * regformats/arm-with-iwmmxt.dat: Generate.
  7522. * NEWS: Mention iWMMXt.
  7523. 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
  7524. * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
  7525. (xml-tdesc.o): Update.
  7526. * xml-support.c: Add a comment.
  7527. (gdb_xml_enums_boolean): New variable.
  7528. (gdb_xml_parse_attr_enum): Use strcasecmp.
  7529. * xml-support.h (gdb_xml_enums_boolean): Declare.
  7530. * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
  7531. next_regnum, and current_union.
  7532. (tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
  7533. (tdesc_end_union, tdesc_start_field, tdesc_start_vector)
  7534. (field_attributes, union_children, reg_attributes, union_attributes)
  7535. (vector_attributes, feature_attributes, feature_children): New.
  7536. (target_children): Make static. Add <feature>.
  7537. (tdesc_elements): Make static.
  7538. * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
  7539. (struct tdesc_feature, tdesc_feature_p): New types.
  7540. (struct target_desc): Add features member.
  7541. (struct tdesc_arch_data, tdesc_data): New.
  7542. (target_find_description): Clarify error message. Warn about
  7543. ignored register descriptions.
  7544. (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
  7545. (tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
  7546. (tdesc_data_cleanup, tdesc_numbered_register)
  7547. (tdesc_numbered_register_choices, tdesc_find_register)
  7548. (tdesc_register_name, tdesc_register_type)
  7549. (tdesc_remote_register_number, tdesc_register_reggroup_p)
  7550. (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
  7551. (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
  7552. (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
  7553. (tdesc_create_feature, tdesc_record_type): New.
  7554. (free_target_description): Free features.
  7555. (_initialize_target_descriptions): Initialize tdesc_data.
  7556. * arch-utils.c (default_remote_register_number): New.
  7557. * arch-utils.h (default_remote_register_number): New prototype.
  7558. * target-descriptions.h (set_tdesc_pseudo_register_name)
  7559. (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
  7560. (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
  7561. (tdesc_numbered_register, tdesc_numbered_register_choices)
  7562. (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
  7563. (tdesc_named_type, tdesc_create_feature, tdesc_record_type)
  7564. (tdesc_create_reg): Declare.
  7565. * gdbarch.sh (remote_register_number): New entry.
  7566. * gdbarch.c, gdbarch.h: Regenerate.
  7567. * remote.c (init_remote_state): Use gdbarch_remote_register_number.
  7568. * features/gdb-target.dtd: Add feature, reg, vector, union, and field.
  7569. * arm-tdep.c (arm_register_aliases): New.
  7570. (arm_register_name_strings): Rename to...
  7571. (arm_register_names): ...this. Make const. Delete the old version.
  7572. (current_option, arm_register_byte): Delete.
  7573. (set_disassembly_style): Simplify. Do not adjust arm_register_names.
  7574. (value_of_arm_user_reg): New.
  7575. (arm_gdbarch_init): Verify any described registers. Call
  7576. tdesc_use_registers. Don't use arm_register_byte. Create aliases
  7577. for standard register names.
  7578. (_initialize_arm_tdep): Do not adjust arm_register_names.
  7579. * user-regs.c (struct user_reg): Add baton member.
  7580. (append_user_reg, user_reg_add_builtin, user_regs_init)
  7581. (user_reg_add, value_of_user_reg): Use a baton for user
  7582. register functions.
  7583. * std-regs.c: Update.
  7584. * user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
  7585. (user_reg_add): Add baton argument.
  7586. * NEWS: Mention target description register support.
  7587. * features/arm-core.xml, features/arm-fpa.xml: New.
  7588. * eval.c (evaluate_subexp_standard): Allow ptype $register
  7589. when the program is not running.
  7590. 2007-02-09 Nick Roberts <nickrob@snap.net.nz>
  7591. * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
  7592. 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
  7593. * rs6000-tdep.c (gdb_print_insn_powerpc): Set
  7594. info->disassembler_options to "any".
  7595. 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
  7596. * varobj.c (install_new_value): Only call value_get_print_value
  7597. if changeable.
  7598. 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
  7599. Reported by timeless@gmail.com:
  7600. * target.c (target_flash_erase): Do not return void value.
  7601. (target_flash_done): Likewise.
  7602. * cli/cli-cmds.c (source_command): Likewise.
  7603. 2007-02-08 Fred Fish <fnf@specifix.com>
  7604. Based on work by Apple Computer, Inc.
  7605. * event-top.c (handle_sigint): Set quit_flag.
  7606. (async_request_quit): Don't set quit_flag. Avoid calling quit()
  7607. if quit_flag has already been reset.
  7608. 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
  7609. * ser-mingw.c (pipe_windows_close): Move variable initialization back
  7610. up.
  7611. 2007-02-08 Fred Fish <fnf@specifix.com>
  7612. * defs.h (request_quit): Remove declaration.
  7613. * utils.c (request_quit): Remove definition.
  7614. 2007-02-08 Joel Brobecker <brobecker@gnat.com>
  7615. Jan Kratochvil <jan.kratochvil@redhat.com>
  7616. Daniel Jacobowitz <dan@codesourcery.com>
  7617. * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
  7618. (skip_prologue): Allow bl->blrl used by PIC code.
  7619. 2007-02-08 Mark Kettenis <kettenis@gnu.org>
  7620. Daniel Jacobowitz <dan@codesourcery.com>
  7621. * cp-valprint.c (cp_print_value_fields, cp_print_value): Always
  7622. initialize tmp_obstack.
  7623. * p-valprint.c (pascal_object_print_value_fields)
  7624. (pascal_object_print_value): Likewise.
  7625. 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
  7626. * features/feature_to_c.sh: Use %s to avoid problems with nawk.
  7627. 2007-02-08 Mark Kettenis <kettenis@gnu.org>
  7628. * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
  7629. * Makefile.in (sparcnbsd-tdep.o): Update dependencies.
  7630. 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
  7631. * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
  7632. (xml_cache): New.
  7633. (tdesc_parse_xml): Cache expanded descriptions.
  7634. 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
  7635. * Makefile.in (XMLFILES): New.
  7636. (COMMON_OBS): Add xml-builtin.o.
  7637. (xml-builtin.c, stamp-xml): New rules.
  7638. (xml-tdesc.o): Update.
  7639. * features/feature_to_c.sh: New file.
  7640. * xml-support.c (MAX_XINCLUDE_DEPTH): Define.
  7641. (struct gdb_xml_parser): Add dtd_name and is_xinclude.
  7642. (gdb_xml_start_element): Initialize scope after possibly reallocating
  7643. scopes. Move cleanup later. Handle the XInclude description
  7644. specially.
  7645. (gdb_xml_end_element): Only parse the body if there is a current element.
  7646. Call XML_DefaultCurrent if there is no element.
  7647. (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
  7648. (struct xinclude_parsing_data, xinclude_start_include)
  7649. (xinclude_end_include, xml_xinclude_default)
  7650. (xml_xinclude_start_doctype, xml_xinclude_end_doctype)
  7651. (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
  7652. (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
  7653. * xml-support.h (xml_fetch_another, xml_process_xincludes)
  7654. (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
  7655. * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
  7656. XInclude directives. Use the compiled in DTD.
  7657. (fetch_xml_from_file): Add baton argument. Treat it as a containing
  7658. directory name. Do not warn here.
  7659. (file_read_description_xml): Update call. Warn here instead. Pass
  7660. a dirname as baton.
  7661. (fetch_available_features_from_target): New.
  7662. (target_read_description_xml): Use it.
  7663. * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
  7664. to handle XInclude.
  7665. * features/xinclude.dtd: New file.
  7666. 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
  7667. * linux-thread-db.c (check_for_thread_db): Return early if we have
  7668. no libthread_db support.
  7669. 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
  7670. * mi/mi-parse.h: Include <sys/time.h>.
  7671. 2007-02-05 Nick Roberts <nickrob@snap.net.nz>
  7672. * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print
  7673. instead of print_variable_value to print values.
  7674. 2007-02-03 Nick Roberts <nickrob@snap.net.nz>
  7675. * mi/mi-main.c: Numerous formatting changes.
  7676. (mi_cmd_data_write_register_values): Replace clause inadvertantly
  7677. removed in my previous change.
  7678. 2007-02-03 Eli Zaretskii <eliz@gnu.org>
  7679. * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now):
  7680. Use 1000000L instead of 1000000.
  7681. 2007-02-03 Nick Roberts <nickrob@snap.net.nz>
  7682. Based on work by Apple Computer, Inc.
  7683. * configure.ac: Test for sys/resource.h and getrusage.
  7684. * configure, config.in: Regenerate.
  7685. * mi/mi-main.c: Include <sys/resource.h> if present.
  7686. (rusage): Declare if HAVE_GETRUSAGE.
  7687. (current_command_ts, do_timings): New static variables.
  7688. (timestamp, print_diff_now, print_diff, timeval_diff):
  7689. New static timing functions.
  7690. (mi_cmd_enable_timings): New function for new MI command.
  7691. (captured_mi_execute_command, mi_execute_async_cli_command):
  7692. Call timing functions.
  7693. * mi/mi-cmds.c (mi_cmds): Add entry for new MI command
  7694. -enable-timings.
  7695. * mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
  7696. * mi/mi-parse.h: (mi_timestamp): New structure.
  7697. (mi_parse): Add mi_timestamp* member.
  7698. 2007-02-02 Denis Pilat <denis.pilat@st.com>
  7699. * thread.c (make_cleanup_restore_current_thread): New function.
  7700. (info_threads_command): Use of make_cleanup_restore_current_thread
  7701. to restore the current thread and the selected frame.
  7702. (restore_selected_frame): New function.
  7703. (struct current_thread_cleanup): Add frame_id field.
  7704. (do_restore_current_thread_cleanup): Add restoring of the selected
  7705. frame.
  7706. (make_cleanup_restore_current_thread): Likewise.
  7707. (thread_apply_all_command): backup the selected frame while
  7708. entering the function and restore it at exit.
  7709. (thread_apply_command): Likewise.
  7710. 2007-02-02 Denis Pilat <denis.pilat@st.com>
  7711. * MAINTAINERS (Write After Approval): Add myself to the list.
  7712. 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  7713. * remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
  7714. (m32r_store_register): Ditto.
  7715. 2007-01-30 Vladimir Prus <vladimir@codesourcery.com>
  7716. * ser-mingw.c (pipe_windows_open)
  7717. (pipe_windows_read, pipe_windows_write): Declare
  7718. variables at the top of the function.
  7719. 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
  7720. * doublest.c (floatformat_from_length): Use the right element from
  7721. gdbarch floatformats.
  7722. (floatformat_from_type, extract_typed_floating)
  7723. (store_typed_floating): Likewise.
  7724. * doublest.h: Remove declarations for undefined floatformat arrays.
  7725. * gdbarch.sh (float_format, double_format, long_double_format): Change
  7726. to pairs.
  7727. (pformat): Update for pairs.
  7728. * gdbarch.c, gdbarch.h: Regenerated.
  7729. * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
  7730. (floatformats_ieee_double_littlebyte_bigword)
  7731. (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
  7732. (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
  7733. (floatformats_vax_d): New variables.
  7734. (builtin_type_ieee_single, builtin_type_ieee_double)
  7735. (builtin_type_arm_ext, builtin_type_ia64_spill)
  7736. (builtin_type_ia64_quad): Replace arrays with individual types.
  7737. (builtin_type_ieee_single_big, builtin_type_ieee_single_little)
  7738. (builtin_type_ieee_double_big, builtin_type_ieee_double_little)
  7739. (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
  7740. (builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
  7741. (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
  7742. (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
  7743. (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
  7744. unused and endian-specific types.
  7745. (recursive_dump_type): Update for floatformat pairs.
  7746. (build_flt): Move higher. Handle bit == -1. Take a floatformat pair.
  7747. (build_gdbtypes): Use build_flt.
  7748. (_initialize_gdbtypes): Update set of initialized types.
  7749. * gdbtypes.h: Update declarations to match gdbtypes.c.
  7750. (struct main_type): Store a pointer to two floatformats.
  7751. * arch-utils.c (default_float_format, default_double_format): Delete.
  7752. * arch-utils.h (default_float_format, default_double_format): Delete.
  7753. * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
  7754. ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
  7755. mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
  7756. sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
  7757. vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
  7758. 2007-01-29 Joel Brobecker <brobecker@adacore.com>
  7759. * target.c (maintenance_print_target_stack): New function.
  7760. (initialize_targets): Add new "maintenance print target-stack"
  7761. command.
  7762. 2007-01-28 Mark Kettenis <kettenis@gnu.org>
  7763. * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
  7764. 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com>
  7765. * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
  7766. (struct dwarf2_loclist_baton): Likewise.
  7767. 2007-01-27 Eli Zaretskii <eliz@gnu.org>
  7768. * cli/cli-script.c: Include breakpoint.h.
  7769. (build_command_line): Require arguments only for if and while
  7770. commands.
  7771. (get_command_line, execute_user_command, execute_control_command):
  7772. Fix wording of warning messages.
  7773. (print_command_lines): Print breakpoint commands.
  7774. (execute_control_command): Call commands_from_control_command to
  7775. handle the `commands' command inside a body of a flow-control
  7776. command.
  7777. (read_next_line): Recognize the `commands' command and build a
  7778. command line structure for it.
  7779. (recurse_read_control_structure, read_command_lines): Handle
  7780. `commands' similarly to `if' and `while'.
  7781. * breakpoint.c (get_number_trailer): Document the special meaning
  7782. of NULL as the first argument PP.
  7783. (commands_from_control_command): New function.
  7784. * breakpoint.h (commands_from_control_command): Add prototype.
  7785. * defs.h (commands_control): New enumerated value for enum
  7786. command_control_type.
  7787. 2007-01-26 Joel Brobecker <brobecker@adacore.com>
  7788. * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
  7789. (ada_exception_sal): Update accordingly.
  7790. 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
  7791. * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
  7792. * NEWS: Describe CHAR array vs. string identifcation rules.
  7793. 2007-01-25 Paul Brook <paul@codesourcery.com>
  7794. * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
  7795. 2007-01-24 Jim Blandy <jimb@codesourcery.com>
  7796. * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
  7797. expression is empty, bother to return the 'optimized out' value we
  7798. construct. (Thanks to Carl Burch.)
  7799. 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
  7800. * varobj.c (c_value_of_root, c_value_of_child)
  7801. (cplus_describe_child): Don't call release_value.
  7802. 2007-01-24 Thiemo Seufer <ths@mips.com>
  7803. * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
  7804. initialization.
  7805. 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
  7806. Refactor getting children name, value and type access
  7807. for varobjs in C++.
  7808. * varobj.c (get_type_deref): Remove.
  7809. (adjust_value_for_child_access): New.
  7810. (c_number_of_children): Use the above.
  7811. (c_describe_child): Likewise.
  7812. (enum accessibility): New.
  7813. (match_accessibility): New function.
  7814. (cplus_describe_child): New function.
  7815. (cplus_name_of_child, cplus_value_of_child)
  7816. (cplus_type_of_child): Reimplement in terms
  7817. of cplus_describe_child.
  7818. (cplus_number_of_children): Use
  7819. adjust_value_for_child_access.
  7820. 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
  7821. Fix computation of the 'editable' attribute and
  7822. value changeability for for references.
  7823. * varobj.c (get_value_type): New function.
  7824. (c_variable_editable): Use get_value_type.
  7825. (varobj_value_is_changeable): Likewise.
  7826. 2007-01-24 Joel Brobecker <brobecker@adacore.com>
  7827. * source.c (find_and_open_source): Try rewriting the source
  7828. path inside filename if dirname is NULL.
  7829. 2007-01-24 Joel Brobecker <brobecker@adacore.com>
  7830. * dwarf2read.c (add_partial_symbol): Create an extra partial
  7831. symbol in the VAR_DOMAIN for Ada structures, unions or enums.
  7832. (new_symbol): Likewise for symbols.
  7833. 2007-01-24 Nick Roberts <nickrob@snap.net.nz>
  7834. * mi/mi-main.c (mi_cmd_execute): Call free_all_values.
  7835. 2007-01-23 Vladimir Prus <vladimir@codesourcery.com>
  7836. * value.c (value_primitive_field): Copy the full 'location'
  7837. contents, instead of assuming that copying ADDRESS will
  7838. bring over everything in the union. Remove obsolete comment.
  7839. 2007-01-23 Masaki Muranaka <monaka@monami-software.com>
  7840. * m32c-tdep.c (make_regs, m32c_analyze_prologue)
  7841. (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer)
  7842. (m32c_m16c_pointer_to_address): Separate code from declarations.
  7843. 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
  7844. * target.c (update_current_target): Correct typo.
  7845. 2007-01-22 Masaki Muranaka <monaka@monami-software.com>
  7846. * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
  7847. declaration.
  7848. 2007-01-11 Andrew Cagney <cagney@redhat.com>
  7849. Daniel Jacobowitz <dan@codesourcery.com>
  7850. Jan Kratochvil <jan.kratochvil@redhat.com>
  7851. * dwarf2-frame.c (execute_cfa_program): New support of
  7852. `DW_CFA_GNU_negative_offset_extended'.
  7853. 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
  7854. * NEWS: Mention flash support for "load" and new remote packets.
  7855. 2007-01-21 Markus Deuling <deuling@de.ibm.com>
  7856. * breakpoint.c (delete_command): Skip redundant loop iterations.
  7857. 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
  7858. * gdbarch.sh (register_type): Update comment.
  7859. * gdbarch.h: Regenerated.
  7860. * arch-utils.c (generic_register_size): Call register_type.
  7861. * ia64-tdep.c (ia64_extract_return_value): Likewise.
  7862. * m32c-tdep.c (check_for_saved): Likewise.
  7863. * mips-tdep.c (mips_print_register, print_gp_register_row)
  7864. (mips_print_registers_info): Likewise.
  7865. * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
  7866. Likewise.
  7867. * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
  7868. (sh64_do_register, sh64_print_register)
  7869. (sh64_media_print_registers_info): Likewise.
  7870. * tui/tui-regs.c (tui_register_format): Likewise.
  7871. 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
  7872. * objfiles.h (ALL_PRIMARY_SYMTABS): Define.
  7873. * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
  7874. (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
  7875. * cp-support.c (make_symbol_overload_list_qualified): Likewise.
  7876. * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
  7877. (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
  7878. (make_symbol_completion_list): Likewise.
  7879. 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
  7880. Daniel Jacobowitz <dan@codesourcery.com>
  7881. * buildsym.c (end_symtab): Use preallocated symtab if available.
  7882. Fill in SYMBOL_SYMTAB.
  7883. * buildsym.h (struct subfile): Add symtab member.
  7884. * dwarf2read.c (struct dwarf2_cu): Add line_header.
  7885. (struct file_entry): Add symtab.
  7886. (free_cu_line_header): New function.
  7887. (read_file_scope): Use it. Save line_header in the cu. Process
  7888. lines before DIEs.
  7889. (add_file_name): Initialize new symtab member.
  7890. (dwarf_decode_lines): Create symtabs for included files.
  7891. (new_symbol): Set SYMBOL_SYMTAB.
  7892. * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
  7893. (search_symbols): Likewise.
  7894. * symtab.h (struct symbol): Add symtab member.
  7895. (SYMBOL_SYMTAB): Define.
  7896. 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
  7897. * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.
  7898. 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
  7899. * arch-utils.c (show_endian): Correct reversed condition.
  7900. 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
  7901. * MAINTAINERS (Write After Approval): Add myself.
  7902. 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com>
  7903. Vladimir Prus <vladimir@codesourcery.com>
  7904. Fix 'selected frame' varobjs.
  7905. * varobj.c (struct varobj): Remove the error field.
  7906. (varobj_set_value): Don't check var->error.
  7907. (install_new_value): Don't set var->error.
  7908. (varobj_update): Always pass the new value
  7909. of the root via install_new_value.
  7910. (create_child): Don't set error field.
  7911. (new_variable): Likewise.
  7912. (c_value_of_root): Always reevaluate the value
  7913. of selected frame varobjs in the selected frame.
  7914. Don't call reinit_frame_cache.
  7915. 2007-01-15 Joel Brobecker <brobecker@adacore.com>
  7916. * source.c (_initialize_source): Improve the help text of
  7917. the substitute-path commands.
  7918. 2007-01-14 Mark Kettenis <kettenis@gnu.org>
  7919. * frv-tdep.c (frv_gdbarch_init, frv_register_name)
  7920. (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
  7921. (frv_skip_prologue): Remove prototypes.
  7922. (frv_adjust_breakpoint_address): Renamed from
  7923. frv_gdbarch_adjust_breakpoint_address.
  7924. (frv_gdbarch_init): Adjust.
  7925. 2007-01-13 Mark Kettenis <kettenis@gnu.org>
  7926. * gdbarch.sh (deprecated_extract_return_value)
  7927. (deprecated_store_return_value): Remove.
  7928. (extract_return_value, store_return_value): Remove default values.
  7929. * gdbarch.c, gdbarch.h: Regenerate.
  7930. * arch-utils.c, arch-utils.h (legacy_extract_return_value)
  7931. (legacy_store_return_value): Remove.
  7932. * regcache.c, regcache.h (deprecated_grub_regcache_for_registers):
  7933. Remove.
  7934. * mi/mi-main.c: Remove obsolete comment.
  7935. * regcache.c, regcache.h (deprecated_register_bytes)
  7936. (deprecated_read_register_bytes)
  7937. (deprecated_write_register_bytes): Remove.
  7938. * frame.c (get_frame_register_bytes, put_frame_register_bytes):
  7939. Don't forget to move destination pointer.
  7940. 2007-01-01 Mark Kettenis <kettenis@gnu.org>
  7941. * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
  7942. 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com>
  7943. * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace
  7944. past entry function with recent newlib.
  7945. 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
  7946. * gdb.texinfo (GDB/MI Variable Objects): Improve the
  7947. introduction. Specify -var-update more exactly.
  7948. 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com>
  7949. * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.
  7950. 2007-01-10 Jim Blandy <jimb@codesourcery.com>
  7951. * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted
  7952. the Global Maintainers' invitation to be a global maintainer.
  7953. 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com>
  7954. * infrun.c (singlestep_pc): New variable.
  7955. (resume): Set singlestep_pc.
  7956. (context_switch): Add a debugging message. Flush the frame cache.
  7957. (handle_inferior_event): Add debugging messages. Handle thread
  7958. hops when a software single step has completed. Let context_switch
  7959. handle flushing the frame cache.
  7960. 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
  7961. * NEWS: Mention target descriptions, "set tdesc filename",
  7962. "unset tdesc filename", "show tdesc filename", and
  7963. qXfer:features:read.
  7964. * arch-utils.c (choose_architecture_for_target): New function.
  7965. (gdbarch_info_fill): Call it.
  7966. * target-descriptions.c (struct property): Make members non-const.
  7967. (struct target_desc): Add arch member.
  7968. (target_description_filename): New variable.
  7969. (target_find_description): Try via XML first.
  7970. (tdesc_architecture): New.
  7971. (free_target_description, make_cleanup_free_target_description): New.
  7972. (set_tdesc_property): Call xstrdup.
  7973. (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
  7974. (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
  7975. (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
  7976. (show_tdesc_filename_cmd, _initialize_target_descriptions): New.
  7977. * target-descriptions.h (tdesc_architecture)
  7978. (make_cleanup_free_target_description, set_tdesc_architecture): New
  7979. prototypes.
  7980. * Makefile.in (SFILES): Add xml-tdesc.c.
  7981. (COMMON_OBS): Add xml-tdesc.o.
  7982. (target-descriptions.o): Update.
  7983. (xml-tdesc.o): New rule.
  7984. * xml-tdesc.c, xml-tdesc.h: New files.
  7985. * remote.c (PACKET_qXfer_features): New enum.
  7986. (remote_protocol_features): Add qXfer:features:read.
  7987. (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
  7988. (_initialize_remote): Register qXfer:features:read.
  7989. * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
  7990. * features/gdb-target.dtd: New file.
  7991. 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
  7992. * copyright.sh: Clarify error.
  7993. 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
  7994. * symtab.c (matching_bfd_sections): Fix VMA matching for
  7995. prelinked objects.
  7996. 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
  7997. * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle
  7998. nested symbols.
  7999. 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
  8000. Updated copyright notices for most files.
  8001. 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
  8002. * copyright.sh (prunes): Add step-line.inp and step-line.c.
  8003. 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
  8004. * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside
  8005. exec_prefix.
  8006. (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being
  8007. '${prefix}'.
  8008. * configure, config.in: Regenerate.
  8009. * defs.h (debug_file_directory): Declare.
  8010. * main.c (captured_main): Canonicalize gdb_sysroot. Assume
  8011. TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and
  8012. relocate it if DEBUGDIR_RELOCATABLE.
  8013. * symfile.c (debug_file_directory): Make non-static.
  8014. (find_separate_debug_file): Look for debug info for SYSROOT/PATH
  8015. in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT.
  8016. (_initialize_symfile): Don't initialize debug_file_directory here.
  8017. 2007-01-09 Jim Blandy <jimb@codesourcery.com>
  8018. * score-tdep.c (score_push_dummy_call): Don't mix declarations and
  8019. statements.
  8020. 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
  8021. * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use
  8022. frame_unwind_register to recurse.
  8023. * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise.
  8024. (alpha_heuristic_frame_prev_register): Likewise.
  8025. * h8300-tdep.c (h8300_frame_prev_register): Likewise.
  8026. * m32c-tdep.c (m32c_prev_register): Likewise.
  8027. * frame.c (frame_register_unwind_location): Remove FIXME.
  8028. 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
  8029. Eli Zaretskii <eliz@gnu.org>
  8030. * copyright.sh: New file.
  8031. 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
  8032. * configure.ac: Check for XML_StopParser.
  8033. * xml-support.c (gdb_xml_body_text): Check for an error.
  8034. (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser.
  8035. (gdb_xml_end_element_wrapper): Likewise.
  8036. * config.in, configure: Regenerated.
  8037. 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
  8038. * varobj.c (install_new_value): Always update print_value.
  8039. (value_get_print_value): Immediately return NULL for missing
  8040. values.
  8041. 2007-01-08 Jim Blandy <jimb@codesourcery.com>
  8042. * configure.ac: Tighten pattern for extracting value of
  8043. DEPRECATED_TM_FILE from the target makefile fragment.
  8044. * configure: Regenerated.
  8045. 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
  8046. * linux-nat.c (struct simple_pid_list): Add status.
  8047. (add_to_pid_list): Record the PID's status.
  8048. (linux_record_stopped_pid): Likewise. Make static.
  8049. (pull_pid_from_list): Return the saved status.
  8050. (linux_nat_handle_extended): Deleted.
  8051. (linux_handle_extended_wait): Combine with linux_nat_handle_extended.
  8052. Make static. Handle non-SIGSTOP for a new thread's first signal.
  8053. (flush_callback): Handle unexpected pending signals.
  8054. (linux_nat_wait): Update calls to changed functions.
  8055. * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait):
  8056. Remove prototypes for newly static functions.
  8057. 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
  8058. * gdbarch.sh (value_from_register): New gdbarch function.
  8059. * gdbarch.c, gdbarch.h: Regenerate.
  8060. * findvar.c (default_value_from_register): New function.
  8061. (value_from_register): Use gdbarch_value_from_register.
  8062. * value.h (default_value_from_register): Declare.
  8063. * spu-tdep.c (spu_convert_register_p, spu_register_to_value,
  8064. spu_value_to_register): Remove.
  8065. (spu_value_from_register): New function.
  8066. (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p,
  8067. set_gdbarch_register_to_value, set_gdbarch_value_to_register.
  8068. Call set_gdbarch_value_from_register.
  8069. * s390-tdep.c (s390_convert_register_p, s390_register_to_value,
  8070. s390_value_to_register): Remove.
  8071. (s390_value_from_register): New function.
  8072. (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p,
  8073. set_gdbarch_register_to_value, set_gdbarch_value_to_register.
  8074. Call set_gdbarch_value_from_register.
  8075. 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
  8076. * NEWS: Add "set sysroot" and "show sysroot".
  8077. * solib.c (solib_absolute_prefix): Delete. Replace
  8078. all uses with gdb_sysroot.
  8079. (_initialize_solib): Add "set sysroot" and "show sysroot".
  8080. Make "solib-absolute-prefix" an alias to it.
  8081. 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
  8082. * frame.c (get_frame_register_bytes): New function.
  8083. (put_frame_register_bytes): Likewise.
  8084. * frame.h (get_frame_register_bytes): Declare.
  8085. (put_frame_register_bytes): Likewise.
  8086. * findvar.c (value_from_register): Always construct lval_register
  8087. values. Use get_frame_register_bytes.
  8088. * valops.c (value_assign): Use get_frame_register_bytes and
  8089. put_frame_register_bytes.
  8090. 2007-01-08 Jim Blandy <jimb@codesourcery.com>
  8091. * MAINTAINERS: Update Stan Shebs' email address.
  8092. 2007-01-07 Joel Brobecker <brobecker@adacore.com>
  8093. * ada-lang.c (is_known_support_routine): Improve the implementation.
  8094. 2007-01-06 Joel Brobecker <brobecker@adacore.com>
  8095. * ada-lang.c: Add include of source.h.
  8096. (is_known_support_routine): Improve the check verifying that the file
  8097. associated to this frame exists.
  8098. * Makefile.in (ada-lang.o): Add dependency on source.h.
  8099. 2007-01-07 Jim Blandy <jimb@codesourcery.com>
  8100. * ax-general.c (ax_const_l): Select proper opcode for the given
  8101. value.
  8102. 2007-01-05 Vladimir Prus <vladimir@codesourcery.com>
  8103. * varobj.c (c_value_of_root): Don't select frame if variable
  8104. object is out of scope.
  8105. 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
  8106. * varobj.c (struct varobj): New member print_value.
  8107. (install_new_value): Compare last printed value with current one
  8108. instead of contents.
  8109. (new_variable): Initialize var->print_value to NULL.
  8110. (free_variable): Free var->print_value.
  8111. (value_get_print_value): New function derived from
  8112. c_value_of_variable.
  8113. (c_value_of_variable): Use value_get_print_value.
  8114. 2007-01-05 Joel Brobecker <brobecker@adacore.com>
  8115. * i386-tdep.c (i386_analyze_stack_align): Add comment.
  8116. 2007-01-05 Joel Brobecker <brobecker@adacore.com>
  8117. * NEWS: Add entries for new catch commands.
  8118. 2007-01-05 Joel Brobecker <brobecker@adacore.com>
  8119. * dwarf2read.c (partial_die_info): Add field has_byte_size.
  8120. (add_partial_symbol): Correct identification of external references.
  8121. (process_structure_scope): Likewise.
  8122. (read_partial_die): Handle DW_AT_byte_size attribute.
  8123. 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
  8124. * xml-support.c (gdb_xml_end_element): Remove wrong backslashes.
  8125. 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
  8126. * varobj.c (get_type_deref): Fix variable objects for references to
  8127. pointers.
  8128. 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
  8129. * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs
  8130. with no symbols.
  8131. 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
  8132. * memory-map.c (struct_memory_map_parsing_data): Remove most
  8133. members. Make property_name an array.
  8134. (free_memory_map_parsing_data, memory_map_start_element)
  8135. (memory_map_end_element, memory_map_character_data): Delete.
  8136. (memory_map_start_memory, memory_map_end_memory)
  8137. (memory_map_start_property, memory_map_end_property): New functions.
  8138. (property_attributes, memory_children, memory_type_enum)
  8139. (memory_attributes, memory_map_children, memory_map_elements): New.
  8140. (parse_memory_map): Rewrite.
  8141. * xml-support.c (debug_xml): New.
  8142. (xml_get_required_attribute, xml_get_integer_attribute)
  8143. (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
  8144. Delete.
  8145. (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
  8146. (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
  8147. (gdb_xml_start_element, gdb_xml_start_element_wrapper)
  8148. (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
  8149. (gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
  8150. (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
  8151. (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
  8152. New.
  8153. * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
  8154. (enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
  8155. (enum gdb_xml_element_flag, struct gdb_xml_element)
  8156. (gdb_xml_element_start_handler, gdb_xml_element_end_handler)
  8157. (struct gdb_xml_enum): New.
  8158. (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
  8159. (gdb_xml_error, gdb_xml_parse_attr_ulongest)
  8160. (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
  8161. (xml_get_required_attribute, xml_get_integer_attribute)
  8162. (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
  8163. * Makefile.in (xml_support_h, xml-support.o): Update.
  8164. 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
  8165. * Makefile.in (eval.o): Update dependencies.
  8166. * eval.c: Include "ui-out.h" and "exceptions.h".
  8167. (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
  8168. Use value_zero if an error occurs when avoiding side effects.
  8169. * varobj.c (c_value_of_root): Initialize new_val.
  8170. 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
  8171. * varobj.c (varobj_list_children): Stop if the number of children is
  8172. unknown.
  8173. (c_number_of_children):
  8174. 2007-01-04 Mark Kettenis <kettenis@gnu.org>
  8175. * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
  8176. (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start)
  8177. (alpha_heuristic_frame_unwind_cache, alpha_next_pc)
  8178. (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and
  8179. sizeof, instead of hardcoded constants.
  8180. 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
  8181. * CONTRIBUTE: Use sourceware.org.
  8182. 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
  8183. * buildsym.c (start_subfile): Handle producer.
  8184. (record_producer): New function.
  8185. * buildsym.h (struct subfile): Include producer.
  8186. (record_producer): New prototype.
  8187. * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation.
  8188. (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and
  8189. armcc_cfa_offsets_reversed.
  8190. (execute_cfa_program): Handle armcc_cfa_offsets_sf.
  8191. (dwarf2_frame_find_quirks): New function.
  8192. (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed.
  8193. (decode_frame_entry_1): Record the CIE version. Record the
  8194. augmentation. Skip armcc augmentations.
  8195. * dwarf2read.c (read_file_scope): Save the producer.
  8196. * symtab.h (struct symtab): Rename unused version member to
  8197. producer.
  8198. 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
  8199. * configure.ac (build_warnings): Use -Wall and
  8200. -Wdeclaration-after-statement.
  8201. * configure: Regenerated.
  8202. 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
  8203. Simplify access to variours properties of child
  8204. variable objects in C.
  8205. * varobj.c (value_struct_element_index): New function.
  8206. (c_describe_child): New function.
  8207. (c_name_of_child, c_value_of_child)
  8208. (c_type_of_child): Rewrite to use c_describe_child.
  8209. 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
  8210. gdb/
  8211. * varobj.c: Include "vec.h".
  8212. (varobj_p): New typedef, declare vector of those.
  8213. (struct varobj): Use vector for the 'children' member.
  8214. (child_exists): Remove.
  8215. (save_child_in_parent): Remove.
  8216. (remove_child_from_parent): Remove.
  8217. (struct varobj_child): Remove.
  8218. (struct vstack): Remove.
  8219. (vpush, vpop): Remove.
  8220. (varobj_list_children): Adjust to work work vector.
  8221. (varobj_update): Likewise. Use vectors for
  8222. working stack and result.
  8223. (delete_variable_1): Likewise.
  8224. * Makefile.in (varobj.o): Update dependencies.
  8225. 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
  8226. Port from Apple's version.
  8227. gdb/
  8228. * varobj.c (type_changeable): Rename to...
  8229. (varobj_value_is_changeable_p): ...this. Adjust all callers.
  8230. (is_root_p): New function. Use it everywhere.
  8231. 2007-01-04 Jim Blandy <jimb@codesourcery.com>
  8232. * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup',
  8233. then plain 'fixup'.
  8234. 2007-01-04 Joel Brobecker <brobecker@adacore.com>
  8235. * hpread.c (hpread_start_psymtab): Remove unnecessary extern.
  8236. 2007-01-04 Joel Brobecker <brobecker@adacore.com>
  8237. * hpread.c (hpread_type_lookup): Fix compilation failure.
  8238. 2007-01-04 Qinwei <qinwei@sunnorth.com.cn>
  8239. * NEWS: New port to S+core.
  8240. * MAINTAINERS (Write After Approval, Responsible Maintainers):
  8241. Add myself.
  8242. * Makefile.in: Add dependencies for S+core files.
  8243. * configure.tgt (score*, score-*-*): Add S+core target.
  8244. * config/score/embed.mt: New file.
  8245. * score-tdep.c: New file.
  8246. * score-tdep.h: New file.
  8247. 2007-01-04 Joel Brobecker <brobecker@adacore.com>
  8248. * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
  8249. the appropriate type rather than a bogus void type.
  8250. 2007-01-04 Joel Brobecker <brobecker@adacore.com>
  8251. * ada-lang.h (ada_find_printable_frame): Remove.
  8252. (ada_exception_catchpoint_p, ada_decode_exception_location)
  8253. (ada_decode_assert_location): Add declaration.
  8254. * ada-lang.c: Add include of annotate.h and valprint.h.
  8255. (exception_catchpoint_kind): New enum.
  8256. (function_name_from_pc, is_known_support_routine)
  8257. (ada_find_printable_frame, ada_unhandled_exception_name_addr)
  8258. (ada_exception_name_addr_1, ada_exception_name_addr)
  8259. (print_it_exception, print_one_exception, print_mention_exception)
  8260. (print_it_catch_exception, print_one_catch_exception)
  8261. (print_mention_catch_exception, catch_exception_breakpoint_ops)
  8262. (print_it_catch_exception_unhandled)
  8263. (print_one_catch_exception_unhandled)
  8264. (print_mention_catch_exception_unhandled, print_it_catch_assert)
  8265. (print_one_catch_assert, print_mention_catch_assert)
  8266. (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found)
  8267. (ada_get_next_arg, catch_ada_exception_command_split)
  8268. (ada_exception_sym_name, ada_exception_sym_name)
  8269. (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string)
  8270. (ada_parse_catchpoint_condition, ada_exception_sal)
  8271. (ada_decode_exception_location)
  8272. (ada_decode_assert_location): New function.
  8273. (catch_exception_unhandled_breakpoint_ops): New global variable.
  8274. (catch_assert_breakpoint_ops): New global variable.
  8275. * breakpoint.c: Add include of ada-lang.h.
  8276. (print_one_breakpoint): Do not print the condition for Ada
  8277. exception catchpoints.
  8278. (create_ada_exception_breakpoint): New function.
  8279. (catch_ada_exception_command, catch_assert_command): New function.
  8280. (catch_command_1): Add support for the new "catch exception" and
  8281. "catch assert" commands.
  8282. (_initialize_breakpoint): Add help description for the new catch
  8283. commands.
  8284. * Makefile.in (ada-lang.o): Add dependency on annotate.h and
  8285. valprint.h.
  8286. (breakpoint.o): Add dependency on ada-lang.h.
  8287. 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
  8288. * coffread.c (cs_to_section): If bfd_section is found, always
  8289. return its section index.
  8290. (coff_symtab_read): Determine the minimal_symbol_type using the
  8291. bfd_section flags.
  8292. 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
  8293. Daniel Jacobowitz <dan@codesourcery.com>
  8294. * Makefile.in (top.o): Update.
  8295. * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result)
  8296. (saved_after_char_processing_hook, gdb_readline_wrapper_line)
  8297. (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup):
  8298. New.
  8299. (gdb_readline_wrapper): Rewrite to use asynchronous readline.
  8300. 2007-01-03 Mark Kettenis <kettenis@gnu.org>
  8301. * arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
  8302. (arm_linux_init_abi): Don't set deprecated_extract_return_value.
  8303. 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
  8304. * ada-lang.c (find_struct_field): Initialize *byte_offset_p.
  8305. * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i.
  8306. * c-typeprint.c (c_type_print_varspec_suffix): Don't test length
  8307. greater than or equal to zero.
  8308. * m2-typeprint.c (m2_array): Likewise.
  8309. * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
  8310. * gdbtypes.c (copy_type_recursive): Correct == typo.
  8311. * i386-tdep.c (i386_skip_prologue): Remove stray semicolon.
  8312. * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer
  8313. greater than zero.
  8314. * macroscope.c (sal_macro_scope): Don't name a local variable "main".
  8315. (default_macro_scope): Remove unused variable.
  8316. * prologue-value.h (pv_area_find_reg): Don't name an argument
  8317. "register".
  8318. * remote-fileio.c (remote_fio_func_map): Add missing braces.
  8319. * remote.c (sigint_remote_twice_token, sigint_remote_token): Change
  8320. type.
  8321. (cleanup_sigint_signal_handler): Remove casts.
  8322. * valprint.c (val_print): Use a volatile local for the modified
  8323. argument.
  8324. * varobj.c (languages): Remove extra array dimension.
  8325. (varobj_create): Correct access to languages array.
  8326. * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add
  8327. missing braces.
  8328. * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
  8329. * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise.
  8330. * mi/mi-getopt.c (mi_valid_noargs): Likewise.
  8331. * mi/mi-main.c (mi_cmd_data_read_memory): Likewise.
  8332. (mi_cmd_data_write_memory): Likewise.
  8333. * signals/signals.c (target_signal_to_string): Cast to int before
  8334. comparing.
  8335. * tui/tui-layout.c (init_and_make_win): Take and return a void *.
  8336. Update all callers.
  8337. 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
  8338. * NEWS: Mention pointer to member improvements.
  8339. * Makefile.in (gnu-v3-abi.o): Delete special rule.
  8340. (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update.
  8341. * ada-valprint.c (ada_print_scalar): Update for new type codes.
  8342. * c-typeprint.c (c_print_type): Update for new type codes.
  8343. (c_type_print_varspec_prefix, c_type_print_varspec_suffix)
  8344. (c_type_print_base): Likewise.
  8345. (c_type_print_args): Rewrite.
  8346. * c-valprint.c (c_val_print): Update for new type codes. Remove
  8347. support for references to members. Treat methods like functions.
  8348. * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size)
  8349. (cplus_make_method_ptr, cplus_method_ptr_to_value): New.
  8350. * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size)
  8351. (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes.
  8352. (struct cp_abi_ops): Add corresponding members.
  8353. * cp-valprint.c (cp_print_class_method): Delete.
  8354. (cp_find_class_member): New function.
  8355. (cp_print_class_member): Use it. Simplify support for bogus
  8356. member pointers.
  8357. * dwarf2read.c (quirk_gcc_member_function_pointer): Use
  8358. lookup_methodptr_type.
  8359. (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type.
  8360. * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for
  8361. OP_SCOPE. Update call to value_aggregate_elt. Rewrite member
  8362. pointer support.
  8363. (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle
  8364. references returned by user defined operators.
  8365. * f-typeprint.c (f_print_type, f_type_print_varspec_prefix)
  8366. (f_type_print_varspec_suffix): Remove support for member pointers.
  8367. * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type
  8368. and adjusted.
  8369. (smash_to_memberptr_type): Likewise, from smash_to_member_type.
  8370. (lookup_methodptr_type): New.
  8371. (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR.
  8372. (recursive_dump_type): Update for new types.
  8373. * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with
  8374. TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR.
  8375. (lookup_memberptr_type, lookup_methodptr_type)
  8376. (smash_to_memberptr_type): New prototypes.
  8377. (smash_to_method_type): Formatting fix.
  8378. (lookup_member_type, smash_to_member_type): Delete prototypes.
  8379. * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New.
  8380. Do not rely on debug information for the vptr or the method's
  8381. enclosing type. Handle function descriptors for IA64.
  8382. (gnuv3_virtual_fn_field): Rewrite using the new functions.
  8383. (gnuv3_find_method_in, gnuv3_print_method_ptr)
  8384. (gnuv3_method_ptr_size, gnuv3_make_method_ptr)
  8385. (gnuv3_method_ptr_to_value): New.
  8386. (init_gnuv3_ops): Set new members of gnu_v3_abi_ops.
  8387. * hpread.c (hpread_type_lookup): Update for new types.
  8388. * infcall.c (value_arg_coerce): Likewise.
  8389. * m2-typeprint.c (m2_print_type): Remove explicit support
  8390. for member pointers.
  8391. * m2-valprint.c (m2_val_print): Likewise.
  8392. * p-typeprint.c (pascal_type_print_varspec_prefix)
  8393. (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise.
  8394. * p-valprint.c (pascal_val_print): Likewise.
  8395. (pascal_object_print_class_method, pascal_object_print_class_member):
  8396. Delete.
  8397. * p-lang.h (pascal_object_print_class_method)
  8398. (pascal_object_print_class_member): Delete prototypes.
  8399. * stabsread.c (read_type): Update for new types.
  8400. * typeprint.c (print_type_scalar): Likewise.
  8401. * valops.c (value_struct_elt_for_reference, value_namespace_elt)
  8402. (value_maybe_namespace_elt, value_aggregate_elt): Add want_address
  8403. argument. Construct a pointer to member if the address of a
  8404. function or data member is requested.
  8405. (value_cast_pointers): Don't modify the input value.
  8406. (value_cast): Adjust pointer to member handling for new types.
  8407. Allow null pointer to member constants. Don't modify the input
  8408. value.
  8409. (value_ind): Remove pointer to member check. Handle function
  8410. descriptors for function pointers.
  8411. (value_struct_elt, value_find_oload_method_list, check_field):
  8412. Remove pointer to member checks.
  8413. * value.c (unpack_long): Allow pointers to data members.
  8414. (value_from_longest): Allow member pointers.
  8415. * value.h (value_aggregate_elt): Add want_address.
  8416. * varobj.c (c_variable_editable): Remove check for members.
  8417. * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta.
  8418. * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors
  8419. in virtual tables.
  8420. (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors.
  8421. * c-lang.h (cp_print_class_method): Delete prototype.
  8422. * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta.
  8423. * mips-tdep.c (mips_gdbarch_init): Likewise.
  8424. * gdbarch.c, gdbarch.h: Regenerated.
  8425. 2007-01-01 Mark Kettenis <kettenis@gnu.org>
  8426. * rs6000-tdep.c (rs6000_use_struct_convention)
  8427. (rs6000_extract_return_value, rs6000_store_return_value)
  8428. (rs6000_extract_struct_value_address): Remove.
  8429. (rs6000_return_value): New function.
  8430. (rs6000_gdbarch_init): Don't set deprecated_extract_return_value,
  8431. store_return_value, deprecated_extract_struct_value_address and
  8432. deprecated_use_struct_convention. Use rs6000_return_value
  8433. instead.
  8434. 2007-01-02 Nick Roberts <nickrob@snap.net.nz>
  8435. * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete,
  8436. -display-disable, -display-enable, -display-insert and
  8437. -display-list.
  8438. 2007-01-01 Joel Brobecker <brobecker@adacore.com>
  8439. * breakpoint.c (remove_breakpoint): Remove dead code.
  8440. 2007-01-01 Nick Roberts <nickrob@snap.net.nz>
  8441. * varobj.c: Include block.h.
  8442. (c_value_of_root): Check scope within nested statements.
  8443. 2007-01-01 Mark Kettenis <kettenis@gnu.org>
  8444. * mi/mi-main.c (mi_cmd_data_write_register_values): Use
  8445. regcache_cooked_write_signed instead of
  8446. deprecated_write_register_bytes.
  8447. 2007-01-01 Joel Brobecker <brobecker@adacore.com>
  8448. * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
  8449. 2007-01-01 Joel Brobecker <brobecker@adacore.com>
  8450. Followed the Start of New Year Procedure:
  8451. * ChangeLog-2006: New file, containing all the entries for 2006.
  8452. * ChangeLog: Removed all 2006 entries, and changed the reference
  8453. to the previous ChangeLog to point to ChangeLog 2006.
  8454. * top.c (print_gdb_version): Update copyright year.
  8455. 2007-01-01 Mark Kettenis <kettenis@gnu.org>
  8456. * Makefile.in (remote-sds.o): Remove.
  8457. * remote-sds.c: Delete.
  8458. For older changes see ChangeLog-2006.
  8459. Local Variables:
  8460. mode: change-log
  8461. left-margin: 8
  8462. fill-column: 74
  8463. version-control: never
  8464. coding: utf-8
  8465. End: