ChangeLog-2001 356 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891
  1. 2001-12-30 Michael Snyder <msnyder@redhat.com>
  2. * sparc-tdep.c (sparc-store-return-value): Whitespace fix-up.
  3. 2001-12-29 Elena Zannoni <ezannoni@redhat.com>
  4. * Makefile.in (rs6000-tdep.o): Add dependency on parser-defs.h.
  5. * rs6000-tdep.c: Include parser-defs.h.
  6. (rs6000_register_virtual_type): Rewrite, including handling of
  7. AltiVec regs type.
  8. (altivec_register_p): New function.
  9. (rs6000_do_altivec_registers): New function.
  10. (rs6000_altivec_registers_info): New function.
  11. (rs6000_do_registers_info): New function.
  12. (R16): Define.
  13. (PPC_ALTIVEC_REGS): Define.
  14. (registers_powerpc): Add AltiVec registers.
  15. (registers_7400): Define.
  16. (variants): Add 7400 machine.
  17. (rs6000_gdbarch_init): Set the numbers of AltiVec registers.
  18. Initialize gdbarch_do)_registers_info.
  19. (rs6000_info_power_command): New function.
  20. (info_power_cmdlist): New static variable.
  21. (_initialize_rs6000_tdep): Add new 'info powerpc altivec' command.
  22. * ppc-tdep.h (struct gdbarch_tdep): Add altivec regnum fields.
  23. (altivec_register_p): Export.
  24. 2001-12-29 Mark Kettenis <kettenis@gnu.org>
  25. * i386bsd-nat.c (reg_offset): Fix typo.
  26. * i386-tdep.c (i386_push_dummy_frame): Don't write back the
  27. modified frame pointer until the old frame pointer has been saved.
  28. 2001-12-30 Andrew Cagney <ac131313@redhat.com>
  29. * arch-utils.c (initialize_current_architecture): Test byte_order
  30. against BFD_ENDIAN_UNKNOWN.
  31. (gdbarch_info_init): Initialize byte_order to BFD_ENDIAN_UNKNOWN.
  32. * gdbarch.sh: Update comments on default value of byte_order.
  33. (verify_gdbarch, gdbarch_update_p): Test byte_order against
  34. BFD_ENDIAN_UNKNOWN.
  35. * gdbarch.h, gdbarch.c: Re-generate.
  36. 2001-12-27 Michael Snyder <msnyder@redhat.com>
  37. * i386-linux-nat.c: Include i386-tdep.h.
  38. * maint.c (match_substring): GNU coding standards fixes.
  39. (print_bfd_section_info): Ditto.
  40. (print_objfile_section_info): Ditto.
  41. 2001-12-27 Mark Kettenis <kettenis@gnu.org>
  42. * maint.c (match_substring): Make parameters `string' and `substr'
  43. const. Make local variable `tok' const.
  44. 2001-12-27 Mark Kettenis <kettenis@gnu.org>
  45. * config/i386/tm-i386.h (FP7_REGNUM, FIRST_FPU_CTRL_REGNUM,
  46. FCTRL_REGNUM, FPC_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FCS_REGNUM,
  47. FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM, FOP_REGNUM,
  48. LAST_FPU_CTRL_REGNUM, XMM0_REGNUM, XMM7_REGNUM, MXCSR_REGNUM,
  49. IS_FP_REGNUM, IS_SSE_REGNUM): Removed.
  50. (FP0_REGNUM): Define conditionally depending on HAVE_I387_REGS.
  51. (SIZEOF_FPU_CTRL_REGS): Hardcode value.
  52. * i386-tdep.h (struct gdbarch_tdep): Change such that it contains
  53. a single member `num_xmm_regs'.
  54. (FPC_REGNUM): New macro.
  55. (FIRST_FPU_REGNUM, LAST_FPU_REGNUM, FISRT_XMM_REGNUM,
  56. LAST_XMM_REGNUM, MXCSR_REGNUM, FIRST_FPU_CTRL_REGNUM,
  57. LAST_FPU_CTRL_REGNUM): Removed.
  58. (FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FOP_REGNUM, XMM0_REGNUM,
  59. MXCSR_REGNUM): Define unconditionally. Change macros to match the
  60. comment describing the register layout.
  61. (FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM): New macros.
  62. (FP_REGNUM_P, FPC_REGNUM_P, SSE_REGNUM_P): New macros.
  63. (IS_FP_REGNUM, IS_FPU_CTRL_REGNUM, IS_SSE_REGNUM): Make obsolete,
  64. unconditionally define in terms of FP_REGNUM_P, FPC_REGNUM_P and
  65. SSE_REGNUM_P).
  66. (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM): Make
  67. obsolete, unconditionally define in terms of FISEG_REGNUM,
  68. FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM.
  69. * i386-tdep.c (i386_gdbarch_init): Initialize `num_xmm_regs'
  70. member of `struct gdbarch_tdep'.
  71. * x86-64-tdep.c (i386_gdbarch_init): Change initialization of
  72. `struct gdbarch_tdep'.
  73. * i387-nat.c (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM):
  74. Replace with FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM and
  75. FOOFF_REGNUM. Use FPC_REGNUM instead of FIRST_FPU_CTRL_REGNUM.
  76. Use XMM0_REGNUM instead of LAST_FPU_CTRL_REGNUM.
  77. 2001-12-25 Andrew Cagney <ac131313@redhat.com>
  78. * cli/cli-script.c (execute_control_command): Replace value_ptr
  79. with a struct value pointer.
  80. * ch-lang.c (evaluate_subexp_chill): Ditto.
  81. * printcmd.c (printf_command): Ditto.
  82. * tracepoint.c (set_traceframe_context): Ditto.
  83. (encode_actions): Ditto.
  84. * eval.c (evaluate_subexp_standard): Ditto.
  85. 2001-12-25 Andrew Cagney <ac131313@redhat.com>
  86. * gdbarch.sh: When an int variable, print value using %d instead
  87. of %ld.
  88. * gdbarch.c: Re-generate.
  89. 2001-12-24 Tom Rix <trix@redhat.com>
  90. * config/powerpc/aix.mt (TDEPFILES): Add xcoffread.o to fix a build
  91. failure.
  92. 2001-12-21 Michael Snyder <msnyder@redhat.com>
  93. * procfs.c (info_proc_cmd): Add the 'mappings' sub-command that
  94. was dropped a few years ago, when procfs.c was rewritten.
  95. (info_proc_mappings): New function, implement 'info proc mappings'.
  96. (mappingflags): New function.
  97. (_initialize_procfs): Document new option to 'info proc' command.
  98. 2001-12-21 Tom Tromey <tromey@redhat.com>
  99. * configure, config.in: Rebuilt.
  100. * configure.in: Check for realpath.
  101. * defs.h (gdb_realpath): Declare.
  102. * symtab.h (partial_symtab): Added fullname field.
  103. * source.c (openp): Use gdb_realpath.
  104. (forget_cached_source_info): Clear full name of each partial
  105. symtab.
  106. * utils.c (gdb_realpath): New function.
  107. * symtab.c (lookup_symtab): Removed.
  108. (lookup_symtab_1): Renamed to lookup_symtab.
  109. (lookup_symtab): Look for real path.
  110. (lookup_partial_symtab): Likewise.
  111. 2001-12-21 Michael Snyder <msnyder@redhat.com>
  112. * maint.c (match_substring): New function. Tokenizer for
  113. maint info sections command arguments.
  114. (match_bfd_flag): Use match_substring.
  115. (print_bfd_section_info): Use match_substring.
  116. (print_objfile_section_info): Use match_substring.
  117. (maintenance_info_sections): Use match_substring.
  118. 2001-12-21 Orjan Friberg <orjanf@axis.com>
  119. * configure.tgt: Delete CRIS from multi-arch targets.
  120. * config/cris/tm-cris.h: New file.
  121. * config/cris/cris.mt (TDEPFILES): Add corelow.o solib.o solib-svr4.o.
  122. (TM_FILE): New macro.
  123. * cris-tdep.c (cris_examine): Correct check for srp register.
  124. (supply_gregset, fetch_core_registers,
  125. cris_linux_svr4_fetch_link_map_offsets, cris_fpless_backtrace):
  126. New functions.
  127. (_initialize_cris_tdep): Add core functions and new command.
  128. (cris_gdbarch_init): Define link map offsets.
  129. Thu Dec 20 16:42:30 2001 Jeffrey A Law (law@cygnus.com)
  130. * somsolib.c (som_solib_add): Ignore the solib limit threshhold
  131. if AUTO_SOLIB_LIMIT is not greater than zero.
  132. * somsolib.c (som_solib_create_inferior_hook): No longer warn
  133. about missing __d_pid symbol.
  134. 2001-12-20 Elena Zannoni <ezannoni@redhat.com>
  135. * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register):
  136. New function.
  137. (fetch_register): New function.
  138. (fetch_ppc_registers): New function.
  139. (fetch_inferior_registers): New function.
  140. (store_register): New function.
  141. (store_ppc_registers): New function.
  142. (store_inferior_registers): New function.
  143. (ppc_register_u_addr): Eliminate ustart parameter and its
  144. uses. Make static.
  145. (PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE): Define if needed.
  146. Include sys/ptrace.h.
  147. * config/powerpc/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
  148. (U_REGS_OFFSET, REGISTER_U_ADDR): Delete.
  149. * config/powerpc/linux.mh (NATDEPFILES): Delete core-aout.o.
  150. 2001-12-20 Elena Zannoni <ezannoni@redhat.com>
  151. * rs6000-nat.c (fetch_register): Don't error out unless the
  152. register number is really bogus.
  153. 2001-12-20 Michael Snyder <msnyder@redhat.com>
  154. * maint.c (maintenance_info_sections): Accept new argument
  155. 'ALLOBJ', iterate over all object files.
  156. (print_section_table): Delete. Replaced by:
  157. (print_section_info): New function.
  158. (print_bfd_section_info): New function.
  159. (print_objfile_section_info): New function.
  160. (_initialize_maint_commands): Add help for new features.
  161. 2001-12-20 Kevin Buettner <kevinb@redhat.com>
  162. * arm-tdep.c (arm_init_extra_frame_info): Add special case for
  163. call dummies.
  164. (arm_frame_saved_pc): Likewise.
  165. (arm_push_dummy_frame): Make sure all of the GPRs are saved.
  166. (arm_pop_frame): Eliminate special case for call dummies. It
  167. is no longer needed now that the frame info is being properly
  168. initialized.
  169. * arm-tdep.c (arm_scan_prologue): Don't require "mov ip, sp"
  170. to be the first instruction in the prologue. Also, revise
  171. the way the frame offset is computed for frameless functions.
  172. 2001-12-20 Michael Snyder <msnyder@redhat.com>
  173. * maint.c (maintenance_info_sections): Pass string argument to
  174. print_section_table, so that it can be used to select sections.
  175. (print_section_table): Change PTR to void *. Look at string arg
  176. to select sections by name and by flag attributes.
  177. (match_bfd_flags): New function.
  178. (print_bfd_flags): New function.
  179. Thu Dec 20 11:37:50 2001 Jeffrey A Law (law@redhat.com)
  180. * cli/cli-decode.c (add_cmd): Initialize pre_show_hook in
  181. the new command.
  182. 2001-12-20 Andrew Cagney <ac131313@redhat.com>
  183. * remote.c (struct packet_reg): Add field in_g_packet.
  184. (struct remote_state): Rename field g_packet to regs;
  185. (free_remote_state): Update.
  186. (init_remote_state): Add pseudo-registers to table. Initialize
  187. in_g_packet. Drop sentinal from table.
  188. (packet_reg_from_regnum, packet_reg_from_pnum): Update.
  189. (remote_fetch_registers): Handle registers not in the g-packet.
  190. (remote_store_registers): Ditto.
  191. 2001-12-20 Andrew Cagney <ac131313@redhat.com>
  192. * gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print
  193. format.
  194. 2001-12-19 Jim Blandy <jimb@redhat.com>
  195. * s390-tdep.c (s390_pop_frame_regular): Make sure the saved_regs
  196. array is actually set before we try to use it.
  197. * s390-tdep.c (s390_frame_saved_pc_nofix): If we get the saved PC
  198. out of the return address register, cache that in the frame's
  199. extra info, just as if we'd gotten it from the saved regs array;
  200. that way, it's not a lie to set the saved_pc_valid flag.
  201. * s390-tdep.c (s390_get_frame_info): Give orig_sp a reasonable
  202. value, even when fextra_info->stack_bought can't be trusted,
  203. * s390-tdep.c (s390_readinstruction): Don't call
  204. info->read_memory_func to read zero bytes. Some targets'
  205. xfer_memory functions can't cope with that.
  206. * gdbarch.sh (TARGET_CHAR_SIGNED): New macro.
  207. * gdbarch.c, gdbarch.h: Regenerated.
  208. * gdbtypes.c (build_gdbtypes): If TARGET_CHAR_SIGNED is zero,
  209. set the TYPE_FLAG_UNSIGNED bit on the type.
  210. * s390-tdep.c (s390_gdbarch_init): On the S/390, characters
  211. are unsigned by default.
  212. * rs6000-tdep.c (rs6000_gdbarch_init): Same for PowerPC and
  213. RS6000.
  214. 2001-12-19 Elena Zannoni <ezannoni@redhat.com>
  215. * corefile.c (do_captured_read_memory_integer,
  216. safe_read_memory_integer): New functions.
  217. * gdbcore.h (safe_read_memory_integer): Export.
  218. * arm-tdep.c (arm_scan_prologue): Use safe_read_memory_integer,
  219. to read the frame value, to capture calls to error().
  220. 2001-12-19 Jim Blandy <jimb@redhat.com>
  221. * s390-tdep.c (s390_register_name): S390_LAST_REGNUM is, in fact,
  222. the last register number, not one greater than the last register
  223. number.
  224. * s390-tdep.c (s390_register_virtual_type): Replace clever but
  225. incorrect range comparison with correct, legible equivalent.
  226. * s390-tdep.c (s390_register_raw_size): Replace unnecessarily
  227. obscure range comparison with legible equivalent.
  228. Wed Dec 19 12:18:57 2001 Jeffrey A Law (law@redhat.com)
  229. * config/pa/tm-hppa.h (STORE_RETURN_VALUE): Use hppa_store_return_value.
  230. (EXTRACT_RETURN_VALUE): Similarly.
  231. * hppa-tdep.c (hppa_store_return_value): New function.
  232. (hppa_extract_return_value): New function.
  233. * infttrace.c (child_acknowledge_created_inferior): Pass
  234. correct argument to add_thread.
  235. (update_thread_state_after_attach): Likewise.
  236. 2001-12-19 Fernando Nasser <fnasser@redhat.com>
  237. * config/arm/tm-arm.h: Properly define SOFTWARE_SINGLE_STEP_P.
  238. Always define SOFTWARE_SINGLE_STEP.
  239. * config/arm/tm-embed.h: Properly define SOFTWARE_SINGLE_STEP_P.
  240. * arm-tdep.c (arm_get_next_pc, thumb_get_next_pc, bitcount,
  241. shifted_reg_val): Always compile these functions.
  242. (arm_software_single_step): Fix second argument in function calls.
  243. 2001-12-19 Andrew Cagney <ac131313@redhat.com>
  244. * arch-utils.h (gdbarch_info_init): Declare.
  245. * arch-utils.c: Include "arch-utils.h".
  246. (gdbarch_info_init): Define.
  247. (set_endian, set_architecture, set_gdbarch_from_file)
  248. (initialize_current_architecture): Use gdbarch_info_init.
  249. * rs6000-nat.c (set_host_arch): Ditto.
  250. * cris-tdep.c (cris_version_update, cris_mode_update)
  251. (cris_abi_update): Ditto.
  252. 2001-12-19 Jim Blandy <jimb@redhat.com>
  253. * c-lang.c (c_emit_char): Print ASCII 11 as '\v', to match
  254. ISO C, and our parser. Print ASCII 0 as '\0', since that's what
  255. people are used to seeing.
  256. 2001-12-18 Jim Blandy <jimb@redhat.com>
  257. * c-lang.c (c_printstr, c_builtin_types, cplus_builtin_types):
  258. Fix indentation.
  259. * Makefile.in (c-exp.tab.o): Delete duplicate build rule. Fix
  260. dependency list on remaining build rule.
  261. 2001-12-18 Martin M. Hunt <hunt@redhat.com>
  262. * ser-tcp.c (tcp_open): Disable Nagle algorithm which
  263. improves performance in some cases.
  264. 2001-12-17 Ben Harris <bjh21@netbsd.org>
  265. * armbsd-nat.c: Remove file, renamed to armnbsd-nat.c.
  266. * armnbsd-nat.c: New file, renamed from armbsd-nat.c.
  267. * Makefile.in: Rename armbsd-nat.c to armnbsd-nat.c.
  268. * config/arm/nbsd.mh: Likewise.
  269. 2001-12-17 Corinna Vinschen <vinschen@redhat.com>
  270. * NEWS: Note new target XStormy16.
  271. * MAINTAINERS: Add -Werror to XStormy16.
  272. 2001-12-17 Fernando Nasser <fnasser@redhat.com>
  273. From Richard Earnshaw <rearnsha@arm.com>:
  274. * arm-tdep.c (arm_software_single_step): New function. Implements
  275. software single-stepping for ARM targets.
  276. (arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Only
  277. needed for software single-stepping.
  278. * config/arm/tm-arm.h: Activate SOFTWARE_SINGLE_STEP_P.
  279. 2001-12-17 Fernando Nasser <fnasser@redhat.com>
  280. From Richard Earnshaw <rearnsha@arm.com>:
  281. * config/arm/nbsd.mh, config/arm/nbsd.mt, config/arm/tm-nbsd.h,
  282. config/arm/nm-nbsd.h, config/arm/xm-nbsd.h: New files.
  283. * armbsd-nat.c: New file.
  284. * Makefile.in: Build it.
  285. * configure.host, configure.tgt: Support NetBSD/arm.
  286. 2001-12-17 Corinna Vinschen <vinschen@redhat.com>
  287. * MAINTAINERS: Add myself as XStormy16 maintainer.
  288. 2001-12-15 Kevin Buettner <kevinb@redhat.com>
  289. * config/rs6000/tm-rs6000.h (solib.h): Conditionally include.
  290. 2001-12-15 Andrew Cagney <ac131313@redhat.com>
  291. * gdbarch.c: Re-generate.
  292. 2001-12-15 Andrew Cagney <ac131313@redhat.com>
  293. * MAINTAINERS: Remove powerpcle-eabi and rs6000-ibm-aix3.2 from
  294. target list.
  295. 2001-12-15 Andrew Cagney <ac131313@redhat.com>
  296. * defs.h (LITTLE_ENDIAN): Delete definition.
  297. * arch-utils.c, cris-tdep.c, d10v-tdep.c, defs.h, gdbarch.c,
  298. gdbarch.sh, remote-rdp.c, remote-sim.c, sh-tdep.c, sparc-tdep.c,
  299. config/alpha/tm-alpha.h, config/arm/tm-arm.h,
  300. config/i386/tm-i386.h, config/i960/tm-i960.h,
  301. config/ia64/tm-ia64.h, config/mcore/tm-mcore.h,
  302. config/mips/tm-wince.h, config/mn10200/tm-mn10200.h,
  303. config/ns32k/tm-umax.h, config/powerpc/tm-ppcle-eabi.h,
  304. config/sh/tm-wince.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
  305. doc/gdbint.texinfo: Replace LITTLE_ENDIAN with BFD_ENDIAN_LITTLE.
  306. 2001-12-15 Andrew Cagney <ac131313@redhat.com>
  307. * ui-out.c (struct ui_out_table): Add field entry_level.
  308. (verify_field): New function.
  309. (verify_field_proper_position): Delete function.
  310. (verify_field_alignment): Delete function.
  311. (ui_out_field_int): Update to use verify_field.
  312. (ui_out_field_skip): Ditto.
  313. (ui_out_field_string): Ditto.
  314. (ui_out_field_fmt): Ditto.
  315. (ui_out_table_begin): Initialize table.entry_level.
  316. (ui_out_table_end): Clear table.entry_level.
  317. (ui_out_begin): Call verify_field before pushing the new tuple or
  318. list onto the stack. Use table.entry_level.
  319. 2001-12-14 Corinna Vinschen <vinschen@redhat.com>
  320. * config/djgpp/fnchange.lst: Add entries for opcodes/xstormy16-* files.
  321. 2001-12-13 Andrew Cagney <ac131313@redhat.com>
  322. * arch-utils.c (generic_register_virtual_size): Return TYPE_LENGTH
  323. of register's type.
  324. 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
  325. * cli/cli-script.c (print_command_lines): Remove extra
  326. "if", "else", "while", and "end" from show user output.
  327. 2001-12-13 Kevin Buettner <kevinb@redhat.com>
  328. * i387-nat.c (i387_fill_fxsave): Change type of ``val'' from char
  329. to short so that we don't memcpy() beyond the end of this buffer.
  330. Also, change shift value used in computing val to account for the
  331. fact that only eight bits are used.
  332. 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
  333. * Makefile.in: Add support for xstormy16.
  334. * configure.tgt: Ditto.
  335. * xstormy16-tdep.c: New file.
  336. * config/xstormy16/xstormy16.mt: New file.
  337. 2001-12-13 Andreas Schwab <schwab@suse.de>
  338. * MAINTAINERS (write-after-approval): Add myself.
  339. 2001-12-12 Jim Blandy <jimb@redhat.com>
  340. * Makefile.in (c-exp.tab.o): Add missing dependencies.
  341. * Makefile.in (c_lang_h): New variable. Use it in dependency
  342. lists, instead of `c-lang.h' itself.
  343. 2001-12-11 Fred Fish <fnf@redhat.com>
  344. * c-typeprint.c (c_type_print_base): Use type flags access macros
  345. to test bits.
  346. * ch-typeprint.c (chill_type_print_base): Ditto.
  347. * ch-valprint.c (chill_val_print): Ditto.
  348. * d10v-tdep.c (d10v_pointer_to_address): Ditto.
  349. * dwarf2read.c (dwarf2_add_member_fn): Ditto.
  350. * dwarfread.c (read_structure_scope): Ditto.
  351. * gdbtypes.c (create_range_type): Dittol
  352. (create_set_type): Ditto.
  353. (check_typedef): Ditto.
  354. * jv-typeprint.c (java_type_print_base): Ditto.
  355. * p-typeprint.c (pascal_type_print_base): Ditto
  356. * p-valprint.c (pascal_val_print): Ditto.
  357. * stabsread.c (read_cfront_member_functions): Ditto.
  358. (read_member_functions): Ditto.
  359. (cleanup_undefined_types): Ditto.
  360. * valprint.c (val_print): Ditto.
  361. * valops.c (hand_function_call): Remove is_prototyped
  362. variable and just use type flag test macro directly.
  363. 2001-12-11 Fred Fish <fnf@redhat.com>
  364. * gdbtypes.c (print_bound_type): New function.
  365. (recursive_dump_type): Print type struct code values
  366. TYPE_CODE_BITSTRING, TYPE_CODE_COMPLEX, TYPE_CODE_TEMPLATE,
  367. and TYPE_CODE_TEMPLATE_ARG.
  368. (recursive_dump_type): Print type struct members
  369. upper_bound_type, lower_bound_type, cv_type, and as_type.
  370. Also always print the tagname member, even when it is NULL.
  371. 2001-12-11 Michael Snyder <msnyder@redhat.com>
  372. * d10v-tdep.c (d10v_register_virtual_size): Delete.
  373. (d10v_gdbarch_init): Use generic_register_virtual_size.
  374. * rs6000-tdep.c (rs6000_register_virtual_size): Delete.
  375. (rs6000_gdbarch_init): Use generic_register_virtual_size.
  376. * x86-64-tdep.c (x86_64_register_virtual_size): Delete.
  377. (i386_gdbarch_init): Use generic_register_virtual_size.
  378. 2001-12-11 Andrew Cagney <ac131313@redhat.com>
  379. * values.c: Include "gdb_assert.h".
  380. (value_fn_field): Rearange to avoid -Wuninitialized warning.
  381. 2001-12-10 Fred Fish <fnf@redhat.com>
  382. * values.c (value_fn_field): Add physname variable. Use a minimal
  383. symbol if we don't find a full symbol. Remove setting of the new
  384. value's type since that was already done by allocate_value().
  385. Remove obsolete commented out error call since callees need to
  386. handle a NULL return, which is possible result not an error.
  387. * eval.c (evaluate_subexp_standard): Move check for inlined
  388. functions to precede attempt to dereference a NULL argvec[0].
  389. 2001-12-10 Fred Fish <fnf@redhat.com>
  390. * arm-linux-tdep.c (skip_hurd_resolver): Use NULL rather than
  391. zero in args to lookup_minimal_symbol.
  392. * linespec.c (decode_line_1): Ditto.
  393. * i386-linux-tdep.c (skip_hurd_resolver): Ditto.
  394. * minsyms.c (find_stab_function_addr): Ditto.
  395. * symfile.c (simple_read_overlay_table): Ditto.
  396. (simple_read_overlay_region_table): Ditto.
  397. 2001-12-10 Michael Snyder <msnyder@redhat.com>
  398. * arch-utils.c (generic_register_virtual_size): New function.
  399. * arch-utils.h: Export generic version of register_virtual_size.
  400. * gdbarch.sh (REGISTER_VIRTUAL_SIZE): Use new function as default.
  401. * gdbarch.c: Regenerate.
  402. 2001-12-09 Fred Fish <fnf@redhat.com>
  403. * gdbtypes.c (TYPE_FLAG_UNSIGNED, TYPE_FLAG_STUB): Use
  404. TYPE_UNSIGNED and TYPE_NOSIGN to determine when to print these
  405. rather than testing the bits directly.
  406. (TYPE_FLAG_NOSIGN, TYPE_FLAG_TARGET_STUB, TYPE_FLAG_STATIC,
  407. TYPE_FLAG_CONST, TYPE_FLAG_VOLATILE, TYPE_FLAG_PROTOTYPED,
  408. TYPE_FLAG_INCOMPLETE, TYPE_FLAG_CODE_SPACE, TYPE_FLAG_DATA_SPACE,
  409. TYPE_FLAG_VARARGS): Test for and print these bits as well.
  410. 2001-12-09 Fred Fish <fnf@redhat.com>
  411. * gdbtypes.c (build_gdbtypes): For builtin_type_char, pass
  412. TYPE_FLAG_NOSIGN to init_type() rather than setting it after the
  413. type is created.
  414. 2001-12-09 Fred Fish <fnf@redhat.com>
  415. * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_CONST,
  416. TYPE_VOLATILE, TYPE_INCOMPLETE): Move macros that test the
  417. bits to location in file where the bits are defined.
  418. (TYPE_STUB, TYPE_TARGET_STUB, TYPE_STATIC, TYPE_PROTOTYPED,
  419. TYPE_CODE_SPACE, TYPE_DATA_SPACE): New test macros.
  420. 2001-12-09 Fred Fish <fnf@redhat.com>
  421. * gdbtypes.c (allocate_stub_method): Replace hand crafted type
  422. initialization with call to the init_type() function.
  423. 2001-12-09 Andrew Cagney <ac131313@redhat.com>
  424. * arch-utils.c (generic_register_raw_size): New function.
  425. * gdbarch.sh (REGISTER_RAW_SIZE): Use generic_register_raw_size as
  426. the static default.
  427. * gdbarch.c: Regenerate.
  428. * arch-utils.h (generic_register_raw_size): Declare.
  429. * config/mips/tm-mips.h (REGISTER_RAW_SIZE): Delete macro.
  430. * mips-tdep.c (mips_register_raw_size): Make function static.
  431. (mips_gdbarch_init): Initialize register_raw_size.
  432. 2001-12-08 Fred Fish <fnf@redhat.com>
  433. * dwarf2read.c (read_typedef): Replace hand crafted type
  434. initialization with a call to the init_type() function, which
  435. is how the rest of gdb creates types.
  436. 2001-12-09 Fred Fish <fnf@redhat.com>
  437. * mdebugread.c (cross_ref): Pass TYPE_FLAG_STUB to init_type()
  438. rather than setting it after the type is created.
  439. 2001-12-09 Elena Zannoni <ezannoni@redhat.com>
  440. * config/rs6000/tm-rs6000.h (STAB_REG_TO_REGNUM): Remove
  441. definition, it is now multiarched.
  442. * ppc-tdep.h (struct gdbarch_tdep): Move from rs6000-tdep.c. Add
  443. fields for special register numbers.
  444. * rs6000-tdep.c (rs6000_gdbarch_init): Initialize new tdep special
  445. regnum fields.
  446. (rs6000_saved_pc_after_call): Use gdbarch_tdep registers fields
  447. instead of hardcoded macros.
  448. (branch_dest, rs6000_pop_frame, rs6000_fix_call_dummy,
  449. ppc_push_return_address, rs6000_frame_saved_pc,
  450. frame_get_saved_regs, rs6000_frame_chain,
  451. rs6000_store_return_value): Ditto.
  452. (rs6000_stab_reg_to_regnum): New function.
  453. * ppcnbsd-nat.c (fetch_inferior_registers,
  454. store_inferior_registers, fetch_core_registers): Ditto.
  455. * ppc-linux-tdep.c (ppc_linux_in_sigtramp,
  456. ppc_linux_frame_init_saved_regs): Ditto.
  457. * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
  458. fill_gregset): Ditto.
  459. * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
  460. Ditto.
  461. 2001-12-08 Fred Fish <fnf@redhat.com>
  462. * c-lang.c (c_create_fundamental_type): For FT_CHAR, pass
  463. TYPE_FLAG_NOSIGN to init_type() rather than setting it after the
  464. type is created.
  465. 2001-12-08 Fred Fish <fnf@redhat.com>
  466. * dwarf2read.c (TYPE_FLAG_VARARGS): Remove from here.
  467. * gdbtypes.h (TYPE_FLAG_VARARGS): Add here and change value to
  468. not collide with other flag bits.
  469. 2001-12-08 Fred Fish <fnf@redhat.com>
  470. * dwarf2read.c (read_base_type): Rename is_unsigned to type_flags.
  471. For unsigned types set TYPE_FLAG_UNSIGNED and pass it to
  472. init_type().
  473. 2001-12-08 Daniel Jacobowitz <drow@mvista.com>
  474. * Makefile.in (cp-valprint.o): Add dependency on $(cp_abi_h).
  475. 2001-12-08 Jim Blandy <jimb@redhat.com>
  476. * config/s390/s390.mh: Don't use the linux-thread.o module;
  477. thread-db.o, lin-lwp.o, and proc-service.o should work just fine.
  478. 2001-12-07 Andrew Cagney <ac131313@redhat.com>
  479. * PROBLEMS: New file.
  480. * README: Move known problems to PROBLEMS file.
  481. 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
  482. * stabsread.c (read_member_functions): Skip member functions which
  483. are duplicates of the callable constructor/destructor.
  484. 2001-12-07 Jim Blandy <jimb@redhat.com>
  485. * s390-tdep.c (s390_store_return_value): Don't convert float
  486. values to double format when returning them; just return them in
  487. the first half of the FP register, as the ABI specifies.
  488. 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
  489. * valops.c (hand_function_call): Check for method arguments in
  490. TYPE_ARG_TYPES(), not in TYPE_FIELD ().
  491. 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
  492. * cp-valprint.c (cp_print_value): Preserve offset if
  493. the virtual base is outside of this object.
  494. 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
  495. * gdbtypes.c (finish_cv_type): New function.
  496. (check_typedef): Remove ``register'' keyword from argument.
  497. Preserve const and volatile attributes across filling in
  498. opaque types.
  499. * gdbtypes.h (finish_cv_type): Add prototype.
  500. * hp-symtab-read.c (hpread_read_struct_type): Call finish_cv_type.
  501. * stabsread.c (read_struct_type): Likewise.
  502. * dwarf2read.c (read_structure_scope): Likewise. Remove redundant
  503. assignment to die->type.
  504. 2001-12-07 Jim Blandy <jimb@redhat.com>
  505. * printcmd.c (print_scalar_formatted): Compare the length of the
  506. value against the lengths of the target's floating-point types,
  507. not the host's. Add support for `long double'.
  508. 2001-12-07 Martin M. Hunt <hunt@redhat.com>
  509. * configure.in: Check for sys/filio.h
  510. * configure: Rebuild.
  511. * config.in: Add HAVE_SYS_FILIO_H
  512. * ser-tcp.c: Conditionally include sys/filio.h.
  513. 2001-12-07 Andrew Cagney <ac131313@redhat.com>
  514. * ui-out.c (ui_out_table_begin): Initialize body_flag.
  515. (struct ui_out_table): New structure. Move table fields to here.
  516. Rename headercurr to headernext.
  517. (struct ui_out): Remove table specific fields. Add field table.
  518. (ui_out_table_begin, ui_out_table_body, ui_out_table_end): Update.
  519. (ui_out_table_header, ui_out_begin): Update.
  520. (verify_field_proper_position, verify_field_alignment): Update.
  521. (ui_out_new, clear_header_list, append_header_to_list): Update.
  522. (get_next_header): Rename get_curr_header. Update comments and
  523. code.
  524. 2001-12-06 Andrew Cagney <ac131313@redhat.com>
  525. * regcache.c (XCALLOC): Delete macro that should not have been
  526. added.
  527. 2001-12-07 Jiri Smid <smid@suse.cz>
  528. * dwarf2cfi.c: New file.
  529. * dwarf2cfi.h: New file.
  530. * dwarf2read.c (dwarf_frame_offset, dwarf_frame_size): New variables.
  531. (dwarf_eh_frame_offset, dwarf_eh_frame_size): New variables.
  532. (dwarf2_read_section): Change to non static.
  533. (dwarf2_locate_sections): Add .debug_frame and .eh_frame section
  534. recognition.
  535. (FRAME_SECTION, EH_FRAME_SECTION): New define.
  536. * elfread.c (elf_symfile_read): Add call of frame informations build.
  537. * frame.h (frame_info): Add pointer to unwind_context.
  538. * symfile.h (dwarf2_build_frame_info): Add declaration.
  539. * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Add.
  540. * gdbarch.h, gdbarch.c: Regenerate.
  541. * Makefile.in: Add dwarf2cfi_h, dwarf2cfi.o
  542. * x86-64-tdep.c (i386_gdbarch_init): Initialize target vector to
  543. use debug frame info.
  544. 2001-12-06 Andrew Cagney <ac131313@redhat.com>
  545. * defs.h: Do not include "mmalloc.h".
  546. (mcalloc, mmalloc, mrealloc, mfree): Delete declaration.
  547. * objfiles.c: Include "mmalloc.h".
  548. * utils.c: Include "mmalloc.h".
  549. (mmalloc, mfree, mrealloc, mmalloc): Make static, change PTR to
  550. void pointer.
  551. 2001-12-06 Andrew Cagney <ac131313@redhat.com>
  552. * regcache.c (store_register, fetch_register): Only use
  553. fetch/store pseudo-register when function is present. Assume
  554. target can handle all registers.
  555. (registers_changed): Simplify invalidate loop.
  556. (registers_fetched): Add comments.
  557. (register_buffer): Add regnum range assertion. Remove code
  558. handling -ve regnum.
  559. (build_regcache): Make space for pseudo-registers when computing
  560. sizeof_registers. Initialize register_offset.
  561. * gdbarch.sh (FETCH_PSEUDO_REGISTER): Change to a function with
  562. predicate.
  563. (STORE_PSEUDO_REGISTER): Ditto.
  564. * gdbarch.h, gdbarch.c: Re-generate.
  565. 2001-12-06 Jim Blandy <jimb@redhat.com>
  566. * config/s390/nm-linux.h: Watchpoints are either continuable or
  567. steppable, not both. The S/390 has continuable watchpoints, so
  568. delete the #definition of HAVE_STEPPABLE_WATCHPOINT.
  569. 2001-12-04 Pierre Muller <muller@ics.u-strasbg.fr>
  570. * go32-nat.c (go32_fetch_registers): Remove call to register_buffer
  571. (which is now a static function in regcache.c)
  572. and use regcache_collect instead.
  573. 2001-12-05 Andrew Cagney <cagney@redhat.com>
  574. * target.c (cleanup_target): Do not initialize to_query to
  575. return_zero.
  576. 2001-12-05 Jim Blandy <jimb@redhat.com>
  577. * s390-tdep.c (s390_get_frame_info): Recognize argument register
  578. spills that use the `stm' instruction.
  579. (is_arg_reg): New function.
  580. 2001-12-03 Keith Walker <keith.walker@arm.com>
  581. * gdbserver/low-linux.c (arm_register_u_addr): Added.
  582. (initialize_arch): Added for ARM target.
  583. * config/arm/nm-linux.h (U_REGS_OFFSET): Defined.
  584. (REGISTER_U_ADDR): Defined.
  585. * config/arm/tm-linux.h (ARM_GNULINUX_TARGET): Defined.
  586. 2001-12-04 Corinna Vinschen <vinschen@redhat.com>
  587. * arm-tdep.c (arm_skip_prologue): Always skip prologue by scanning
  588. the prologue if source is assembler.
  589. 2001-12-04 Jackie Smith Cashion <jsmith@redhat.com>
  590. * MAINTAINERS (write-after-approval): Add self.
  591. * d10v-tdep.c (d10v_gdbarch_init): Change size of long long to 8 bytes.
  592. From Andrew Cagney <cagney@redhat.com>:
  593. * d10v-tdep.c (d10v_frame_chain_valid): Check if the caller's PC
  594. is in the entry function.
  595. (d10v_use_struct_convention): Store multi-field struct and union
  596. return values on the stack.
  597. 2001-12-04 Jim Blandy <jimb@redhat.com>
  598. * s390-tdep.c (s390_get_frame_info): Recognize spills of reg
  599. arguments into their stack slots.
  600. * s390-tdep.c (s390_get_frame_info): More doc fixes.
  601. * s390-tdep.c (s390_get_frame_info): Doc fixes.
  602. 2001-12-04 Orjan Friberg <orjanf@axis.com>
  603. * cris-tdep.c (cris_regnums): Add DCCR_REGNUM for completeness.
  604. (cris_examine): Add comment about solib prologue parsing.
  605. (bdap_prefix): Read offset with correct signedness and size.
  606. (move_to_preg_op): Don't rely on register numbering for register size.
  607. (none_reg_mode_move_from_preg_op): Ditto.
  608. 2001-12-04 Orjan Friberg <orjanf@axis.com>
  609. * solib.c (solib_open): Make path relative if search for absolute path
  610. failed. If search for relative path in solib_search_path failed, fall
  611. back to search for basename only.
  612. 2001-12-03 Martin M. Hunt <hunt@redhat.com>
  613. * serial.h: Add a note to serial_open.
  614. * ser-tcp.c (tcp_open): Rewrite to use a non-blocking connect.
  615. Allow UI and CLI to abort connect. Instead of trying 15 times
  616. with very long timeouts, just try one connect with a maximum timeout
  617. of 15 seconds.
  618. 2001-12-03 Kevin Buettner <kevinb@redhat.com>
  619. * config/powerpc/tm-macos.h (solib.h): Include.
  620. * config/powerpc/tm-ppc-eabi.h (solib.h): Include.
  621. 2001-12-03 Michael Snyder <msnyder@redhat.com>
  622. * symtab.c (search_symbols): Make sure alloca size is big enough.
  623. 2001-12-03 Andrew Cagney <ac131313@redhat.com>
  624. * MAINTAINERS: Prune m68k targets down to just m68k-elf.
  625. 2001-12-03 Jim Blandy <jimb@redhat.com>
  626. * s390-tdep.c (s390_get_frame_info): Don't used fextra_info to set
  627. orig_sp if it's not initialized.
  628. 2001-11-30 Pierre Muller <muller@ics.u-strasbg.fr>
  629. * findvar.c (locate_var_value): Specify in which register a register
  630. variable is stored.
  631. 2001-11-30 Pierre Muller <muller@ics.u-strasbg.fr>
  632. * win32-nat.c (mappings): Correct position of XMM registers,
  633. based on FXSAVE instruction structure.
  634. 2001-12-02 Andrew Cagney <ac131313@redhat.com>
  635. * jv-lang.c (get_java_class_symtab): Use xmmalloc instead of
  636. mmalloc.
  637. * coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c, hpread.c,
  638. nlmread.c, objfiles.c, os9kread.c, somread.c, source.c, symfile.c,
  639. symmisc.c, xcoffread.c: Use xmfree instead of mfree.
  640. * jv-lang.c (add_class_symtab_symbol): Use xmrealloc instead of
  641. mrealloc.
  642. 2001-12-02 Andrew Cagney <ac131313@redhat.com>
  643. * i386-tdep.c (i386go32_frame_saved_pc): New function.
  644. * config/i386/tm-go32.h (i386go32_frame_saved_pc): Declare.
  645. (FRAME_SAVED_PC): Redefine to i386go32_frame_saved_pc.
  646. 2001-12-01 Andrew Cagney <ac131313@redhat.com>
  647. * defs.h: Update comment on HOST_BYTE_ORDER.
  648. * config/xm-aix4.h: Delete definition of HOST_BYTE_ORDER.
  649. * config/xm-nbsd.h, config/alpha/xm-alphalinux.h: Ditto.
  650. * config/alpha/xm-alphaosf.h, config/alpha/xm-fbsd.h: Ditto.
  651. * config/arm/xm-linux.h, config/i386/xm-cygwin.h: Ditto.
  652. * config/i386/xm-i386bsd.h, config/i386/xm-i386gnu.h: Ditto.
  653. * config/i386/xm-i386lynx.h, config/i386/xm-i386m3.h: Ditto.
  654. * config/i386/xm-i386mach.h, config/i386/xm-i386v.h: Ditto.
  655. * config/i386/xm-ptx.h, config/i386/xm-symmetry.h: Ditto.
  656. * config/ia64/xm-aix.h, config/ia64/xm-linux.h: Ditto.
  657. * config/m68k/xm-3b1.h, config/m68k/xm-apollo68b.h: Ditto.
  658. * config/m68k/xm-apollo68v.h, config/m68k/xm-delta68.h: Ditto.
  659. * config/m68k/xm-dpx2.h, config/m68k/xm-hp300bsd.h: Ditto.
  660. * config/m68k/xm-hp300hpux.h, config/m68k/xm-m68k.h: Ditto.
  661. * config/m68k/xm-m68klynx.h, config/m68k/xm-sun2.h: Ditto.
  662. * config/m68k/xm-sun3.h, config/m88k/xm-dgux.h: Ditto.
  663. * config/m88k/xm-m88k.h, config/mips/xm-irix3.h: Ditto.
  664. * config/mips/xm-irix5.h, config/mips/xm-linux.h: Ditto.
  665. * config/mips/xm-mips.h, config/mips/xm-mipsm3.h: Ditto.
  666. * config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h: Ditto.
  667. * config/mips/xm-riscos.h, config/pa/xm-hppab.h: Ditto.
  668. * config/pa/xm-hppah.h, config/powerpc/xm-linux.h: Ditto.
  669. * config/romp/xm-rtbsd.h, config/rs6000/xm-rs6000.h: Ditto.
  670. * config/rs6000/xm-rs6000ly.h, config/s390/xm-linux.h: Ditto.
  671. * config/sparc/xm-sparc.h, config/sparc/xm-sparclynx.h: Ditto.
  672. * config/vax/xm-vax.h: Ditto.
  673. * config/a29k/tm-vx29k.h: Add #error as file depends on
  674. HOST_BYTE_ORDER.
  675. * config/a29k/tm-a29k.h: Ditto.
  676. * MAINTAINERS (a29k-amd-udi): Document as broken.
  677. 2001-12-01 Andrew Cagney <ac131313@redhat.com>
  678. * Makefile.in (tm-news.h, tm-isi.h, xm-news1000.h): Delete.
  679. (ALLDEPFILES): Delete news-xdep.c.
  680. (news-xdep.o): Delete.
  681. (isi-xdep.o): Delete.
  682. * configure.tgt: Delete m68*-isi-*, m68*-sony-*, m68*-rom68k-*,
  683. m68*-*bug-*, m68*-monitor-* and m68*-est-* targets.
  684. * configure.host: Delete m68030-sony-*, m68*-isi-* and m68*-sony-*
  685. Hosts.
  686. * m68k-tdep.c (isi_skip_prologue): Delete function.
  687. * news-xdep.c: Delete file.
  688. * isi-xdep.c: Delete file.
  689. * config/m68k/isi.mh: Delete file.
  690. * config/m68k/isi.mt: Delete file.
  691. * config/m68k/news.mh: Delete file.
  692. * config/m68k/news.mt: Delete file.
  693. * config/m68k/news1000.mh: Delete file.
  694. * config/m68k/nm-news.h: Delete file.
  695. * config/m68k/tm-isi.h: Delete file.
  696. * config/m68k/tm-news.h: Delete file.
  697. * config/m68k/xm-isi.h: Delete file.
  698. * config/m68k/xm-news.h: Delete file.
  699. * config/m68k/xm-news1000.h: Delete file.
  700. * kdb-start.c: Delete file.
  701. * stuff.c: Delete file.
  702. * NEWS: Note that a29k-nyu-sym1 and a29k-*-kern* were deleted.
  703. * configure.host: Delete a29k-*-* host.
  704. * configure.tgt: Delete a29k-*-kern* and a29k-*-sym1* targets.
  705. * config/a29k/a29k-kern.mt: Delete file.
  706. * config/a29k/nm-ultra3.h: Delete file.
  707. * config/a29k/tm-ultra3.h: Delete file.
  708. * config/a29k/ultra3.mh: Delete file.
  709. * config/a29k/ultra3.mt: Delete file.
  710. * config/a29k/xm-ultra3.h: Delete file.
  711. * NEWS: Note that i[3456]86-*-sunos* was deleted.
  712. * Makefile.in (sun386-nat.o): Delete.
  713. * configure.tgt: Delete i[3456]86-*-sunos* target.
  714. * configure.host: Delete i[3456]86-*-sunos* host.
  715. * sun386-nat.c: Delete.file.
  716. * config/i386/nm-sun386.h: Delete file.
  717. * config/i386/sun386.mh: Delete file.
  718. * config/i386/sun386.mt: Delete file.
  719. * config/i386/tm-sun386.h: Delete file.
  720. * config/i386/xm-sun386.h: Delete file.
  721. * NEWS: Note that ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*
  722. and ns32k-utek-* were deleted.
  723. * Makefile.in (ultra3-nat.o, ultra3-xdep.o): Delete.
  724. (umax-xdep.o, ns32km3-nat.o): Delete.
  725. * configure.tgt: Delete ns32k-*-mach3*, ns32k-utek-sysv* and
  726. ns32k-utek-* targets.
  727. * configure.host: Delete ns32k-*-mach3*, ns32k-umax-* and
  728. ns32k-utek-sysv* hosts.
  729. * ultra3-nat.c: Delete file.
  730. * ultra3-xdep.c: Delete file.
  731. * umax-xdep.o: Delete file.
  732. * ns32km3-nat: Delete file.
  733. * config/ns32k/merlin.mh: Delete file.
  734. * config/ns32k/merlin.mt: Delete file.
  735. * config/ns32k/nm-umax.h: Delete file.
  736. * config/ns32k/ns32km3.mh: Delete file.
  737. * config/ns32k/ns32km3.mt: Delete file.
  738. * config/ns32k/tm-merlin.h: Delete file.
  739. * config/ns32k/tm-ns32km3.h: Delete file.
  740. * config/ns32k/umax.mh: Delete file.
  741. * config/ns32k/umax.mt: Delete file.
  742. * config/ns32k/xm-merlin.h: Delete file.
  743. * config/ns32k/xm-ns32km3.h: Delete file.
  744. * config/ns32k/xm-umax.h: Delete file.
  745. * NEWS: Note that m88*-harris-cxux* was deleted.
  746. * configure.host: Delete m88*-harris-cxux* host.
  747. * configure.tgt: Delete m88*-harris-cxux* target.
  748. * config/m88k/cxux.mh: Delete file.
  749. * config/m88k/cxux.mt: Delete file.
  750. * config/m88k/nm-cxux.h: Delete file.
  751. * config/m88k/tm-cxux.h: Delete file.
  752. * config/m88k/xm-cxux.h: Delete file.
  753. * NEWS: Note that powerpc-*-netware*, powerpcle-*-cygwin* and
  754. powerpcle-*-solaris* were deleted.
  755. * configure.host: Delete powerpcle-*-cygwin* and
  756. powerpcle-*-solaris* hosts.
  757. * configure.tgt: Delete powerpc-*-netware*, powerpcle-*-cygwin*
  758. and powerpcle-*-solaris* targets.
  759. * config/powerpc/cygwin.mh: Delete file.
  760. * config/powerpc/cygwin.mt: Delete file.
  761. * config/powerpc/nm-solaris.h: Delete.file.
  762. * config/powerpc/ppc-nw.mt: Delete file.
  763. * config/powerpc/solaris.mh: Delete file.
  764. * config/powerpc/solaris.mt: Delete file.
  765. * config/powerpc/tm-cygwin.h: Delete file.
  766. * config/powerpc/tm-ppc-nw.h: Delete file.
  767. * config/powerpc/tm-solaris.h: Delete file.
  768. * config/powerpc/xm-cygwin.h: Delete file.
  769. * config/powerpc/xm-mpw.h: Delete file.
  770. * config/powerpc/xm-solaris.h: Delete file.
  771. * NEWS, MAINTAINERS: Note that w65-*-* was deleted.
  772. * configure.tgt: Delete w65-*-*.
  773. * Makefile.in (w65-tdep.o): Delete.
  774. * config/w65/tm-w65.h: Delete file.
  775. * config/w65/w65.mt: Delete file.
  776. * w65-tdep.c: Delete file.
  777. * NEWS: Mention deleted tic80-*-*.
  778. * configure.tgt: Delete tic80-*-*.
  779. * Makefile.in (tic80-tdep.o): Delete.
  780. * config/tic80/tic80.mt: Delete.
  781. * config/tic80/tm-tic80.h: Delete.
  782. * tic80-tdep.c: Delete.
  783. * MAINTAINERS: Note that tic80 was deleted.
  784. 2001-11-30 Kevin Buettner <kevinb@redhat.com>
  785. * ppc-linux-tdep.c (solib-svr4.h): Include.
  786. (ppc_linux_svr4_fetch_link_map_offsets): New function.
  787. * ppc-tdep.h (ppc_linux_svr4_fetch_link_map_offsets): Declare.
  788. * rs6000-tdep.c (solib-svr4.h): Include.
  789. (rs6000_gdbarch_init): Set up ppc_linux_svr4_fetch_link_map_offsets()
  790. as the link map offsets fetcher.
  791. * config/powerpc/aix.mt (TDEPFILES): Add solib-svr4.o.
  792. * config/powerpc/macos.mt (TDEPFILES): Likewise.
  793. * config/powerpc/nbsd.mt (TDEPFILES): Likewise.
  794. * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise.
  795. * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise.
  796. * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise.
  797. * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise.
  798. * config/powerpc/vxworks.mt (TDEPFILES): Likewise.
  799. * config/rs6000/aix4.mt (TDEPFILES): Likewise.
  800. * config/rs6000/rs6000.mt (TDEPFILES): Likewise.
  801. * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise.
  802. 2001-11-30 Kevin Buettner <kevinb@redhat.com>
  803. From Louis Hamilton <hamilton@redhat.com>:
  804. * arm-tdep.c (solib-svr4.h): Include.
  805. (arm_linux_svr4_fetch_link_map_offsets): New function.
  806. * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
  807. (arm_linux_svr4_fetch_link_map_offsets): Declare.
  808. 2001-11-30 Daniel Jacobowitz <drow@mvista.com>
  809. * values.c (value_primitive_field): Add embedded_offset to the
  810. address of structure members.
  811. * gnu-v3-abi.c (gnuv3_rtti_type): Cast to base type before
  812. attempting to access vtable pointer. Set using_enc_p if we cast.
  813. (gnuv3_virtual_fn_field): Call value_cast with structure rather than
  814. structure pointer. Cast to base type before attempting to access
  815. vtable pointer.
  816. 2001-11-29 Elena Zannoni <ezannoni@redhat.com>
  817. * Makefile.in (ppc-linux-nat.o): Add dependency on ppc-tdep.h.
  818. * ppc-tdep.h (PPC_GPLAST_REGNUM): Define.
  819. * ppc-linux-nat.c: Include ppc-tdep.h.
  820. (ppc_register_u_addr): Don't use the static array regmap[],
  821. dynamically define the mapping instead.
  822. (supply_gregset): Ditto.
  823. (fill_gregset): Ditto.
  824. (COPY_REG): Delete macro defintion.
  825. (regmap): Delete array.
  826. 2001-11-29 Jim Blandy <jimb@redhat.com>
  827. Tighten up GDB's support for returning structs by value.
  828. * s390-tdep.c (s390_use_struct_convention): New function.
  829. (s390_gdbarch_init): Register it as the S/390's
  830. USE_STRUCT_CONVENTION method. Register
  831. generic_cannot_extract_struct_value_address as our
  832. EXTRACT_STRUCT_VALUE_ADDRESS method.
  833. * arch-utils.c (generic_cannot_extract_struct_value_address): New
  834. function.
  835. * arch-utils.h: Add corresponding prototype.
  836. * values.c (value_being_returned): Make error message a proper
  837. sentence.
  838. 2001-11-27 Keith Walker <keith.walker@arm.com>
  839. * dwarf2read.c (read_attribute_value): New function to handle
  840. DW_FORM_indirect
  841. (read_attribute): uses read_attribute_value
  842. 2001-11-29 Jim Blandy <jimb@redhat.com>
  843. * s390-tdep.c (s390_frame_saved_pc_nofix): If the prologue didn't
  844. save the return address register, assume that the return address
  845. is still in there.
  846. 2001-11-27 Andrew Cagney <ac131313@redhat.com>
  847. * MAINTAINERS: Clarify obvious fix a little (as suggested by Eli
  848. Zaretskii).
  849. 2001-11-25 Jim Blandy <jimb@redhat.com>
  850. * mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
  851. 2001-11-27 Jim Blandy <jimb@redhat.com>
  852. * s390-tdep.c: Get frame chains and saved pc values properly from
  853. dummy frames.
  854. (s390_frame_saved_pc_nofix): if `*fi' is a dummy frame, get the
  855. saved PC from the dummy frame's registers.
  856. (s390_frame_chain): Same for the saved SP.
  857. (s390_gdbarch_init): Register `generic_save_dummy_frame_tos' as
  858. the `SAVE_DUMMY_FRAME_TOS' method, so the dummy frame's `top' gets
  859. set correctly.
  860. * s390-tdep.c (s390_frame_chain): Remember that the SP's element
  861. of the frame's saved_regs array is special.
  862. * s390-tdep.c (register_names): Call the general-purpose registers
  863. `r0' -- `r15', and the floating-point registers `f0' -- `f15', to
  864. match the assembly language.
  865. 2001-11-26 Pierre Muller <muller@ics.u-strasbg.fr>
  866. * config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if
  867. HAVE_CONTEXT_EXTENDED_REGISTERS is defined.
  868. * win32-nat.c: Define CONTEXT_DEBUGGER_DR that will also include
  869. extended registers if HAVE_SSE_REGS is defined.
  870. (mappings array): Add offset of extended registers.
  871. (thread_rec): Use new CONTEXT_DEBUGGER_DR macro.
  872. 2001-11-26 Tom Tromey <tromey@redhat.com>
  873. * NEWS: Updated.
  874. * event-loop.c (start_event_loop): Call
  875. after_char_processing_hook.
  876. * event-top.h (after_char_processing_hook): Declare.
  877. * event-top.c (rl_callback_read_char_wrapper): Call
  878. after_char_processing_hook.
  879. (after_char_processing_hook): New global.
  880. * top.c (operate_saved_history): New global.
  881. (gdb_rl_operate_and_get_next): New function.
  882. (init_main): Add the operate-and-get-next defun.
  883. (gdb_rl_operate_and_get_next_completion): New function.
  884. 2001-11-26 Tom Tromey <tromey@redhat.com>
  885. * NEWS: Update for --args.
  886. * infcmd.c (construct_inferior_arguments): Moved from ...
  887. * fork-child.c: ... here.
  888. 2001-11-26 Jim Blandy <jimb@redhat.com>
  889. * symtab.c (find_pc_sect_line): Revert change of 2001-11-13; add
  890. comment explaining that hand-written assembly code can have line
  891. number info but no debug info for an enclosing function.
  892. 2001-11-26 Jakub Jelinek <jakub@redhat.com>
  893. * sparc-nat.c (fetch_inferior_registers): Don't rely
  894. on CORE_ADDR being 32-bit.
  895. (store_inferior_registers): Likewise.
  896. 2001-11-25 Eli Zaretskii <eliz@is.elta.co.il>
  897. * config/djgpp/config.sed: Fix an error in etc/ at "make install"
  898. time on non-LFN systems where standards*.inf* expands to nothing.
  899. * go32-nat.c (save_npx): Avoid a warning from GCC 3.x.
  900. 2001-11-24 Pierre Muller <muller@ics.u-strasbg.fr>
  901. Christopher Faylor <cgf@redhat.com>
  902. * win32-nat.c (struct so_stuff): Add objfile *objfile field needed to
  903. be able to remove the DLL when unloaded. Remove unused last field.
  904. (handle_unload_dll): New function to handle unloading of DLL.
  905. (solib_symbols_add): Change return type to struct objfile *.
  906. (get_child_debug_event): Call handle_unload_dll function.
  907. 2001-11-24 Christopher Faylor <cgf@redhat.com>
  908. * win32-nat.c (_initialize_check_for_gdb_ini): New function.
  909. * config/i386/xm-cygwin.h: Remove obsolete handling of __CYGWIN32__.
  910. (GDBINIT_FILENAME): Remove.
  911. 2001-11-23 Mark Kettenis <kettenis@gnu.org>
  912. Add x86 OpenBSD native configuration.
  913. * config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh,
  914. config/i386/nm-obsd.h: New files.
  915. * configure.host (i[3456]86-*-openbsd*): New host.
  916. * configure.tgt (i[3456]86-*-openbsd*): New target.
  917. * NEWS: Update.
  918. 2001-11-21 GDB Administrator <gdbadmin@sourceware.cygnus.com>
  919. * GDB 5.1 was released.
  920. 2001-11-21 Tom Tromey <tromey@redhat.com>
  921. Fix for PR gdb/209, PR gdb/156:
  922. * gdbarch.c, gdbarch.h: Rebuilt.
  923. * gdbarch.sh: Added `construct_inferior_arguments'.
  924. * cli/cli-decode.h (cmd_list_element): Added pre_show_hook.
  925. Typo fix.
  926. * cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook.
  927. * infcmd.c (_initialize_infcmd): Set sfunc on `set args' command.
  928. (inferior_argc, inferior_argv): New globals.
  929. (notice_args_set): New function.
  930. (set_inferior_args): Clear inferior_argc and inferior_argv.
  931. (set_inferior_args_vector): New function.
  932. (get_inferior_args): Handle inferior argument vector.
  933. (run_command): Use get_inferior_args().
  934. (notice_args_read): New function.
  935. (_initialize_infcmd): Don't call set_inferior_args.
  936. * command.h: Typo fix.
  937. (cmd_list_element): Added pre_show_hook.
  938. * main.c (captured_main): Added --args option.
  939. (print_gdb_help): Document --args.
  940. * inferior.h (construct_inferior_arguments): Declare.
  941. (set_inferior_args_vector): Likewise.
  942. * fork-child.c (construct_inferior_arguments): New function.
  943. 2001-11-21 Kevin Buettner <kevinb@redhat.com>
  944. * lin-lwp.c (lin_lwp_attach_lwp): Make sure SIGCHLD is in set of
  945. blocked signals.
  946. * lin-lwp.c (lin_lwp_attach_lwp): Mark main thread as stopped.
  947. 2001-11-20 Jim Blandy <jimb@redhat.com>
  948. * target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
  949. default definition; this is never used.
  950. 2001-11-20 Keith Seitz <keiths@redhat.com>
  951. * varobj.c (c_value_of_child): Release memory for "name" when
  952. finshed using it.
  953. (c_type_of_child): Likewise.
  954. (cplus_value_of_child): Isolate the use of name_of_child to
  955. one case that needs it.
  956. Release memory for "name" when finished using it.
  957. 2001-11-20 Keith Seitz <keiths@redhat.com>
  958. * top.c (gdb_init): Call init_ui_hook before initializing
  959. the default UI.
  960. 2001-11-19 Elena Zannoni <ezannoni@redhat.com>
  961. * config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern
  962. declaration.
  963. 2001-11-19 Elena Zannoni <ezannoni@redhat.com>
  964. * ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of
  965. accessing registers[].
  966. (fill_fpregset): Ditto.
  967. 2001-11-19 Elena Zannoni <ezannoni@redhat.com>
  968. * infptrace.c (fetch_register): Dynamically allocate buffer for
  969. register.
  970. (store_register): Use regcache_collect, instead of accessing the
  971. register buffer directly.
  972. 2001-11-19 Daniel Jacobowitz <drow@mvista.com>
  973. * mips-tdep.c (find_proc_desc): Add cur_frame argument. Pass
  974. cur_frame to heuristic_proc_desc.
  975. (heuristic_proc_desc): Add cur_frame argument. Do not read SP
  976. if cur_frame == 0.
  977. (after_prologue): Pass cur_frame == 0 to find_proc_desc.
  978. (mips_frame_chain): Pass cur_frame == 1 to find_proc_desc.
  979. (mips_init_extra_frame_info): Likewise.
  980. 2001-11-19 Andrew Cagney <ac131313@redhat.com>
  981. * defs.h (return_to_top_level): Comment.
  982. Mon Nov 19 14:58:52 2001 Andrew Cagney <cagney@redhat.com>
  983. * remote.c (remote_open_1, remote_async_open_1): Use ISO C string
  984. concatenation for error parameter.
  985. (remote_cisco_open): Ditto.
  986. 2001-11-19 Keith Seitz <keiths@redhat.com>
  987. * varobj.c (c_value_of_child): Use the wrapper function,
  988. gdb_value_struct_elt.
  989. (cplus_value_of_child): Likewise.
  990. 2001-11-18 Andrew Cagney <ac131313@redhat.com>
  991. * i386-tdep.c (i386_gdbarch_init): Initialize num_regs.
  992. * config/i386/tm-i386.h (NUM_REGS): Delete.
  993. 2001-11-18 Kevin Buettner <kevinb@redhat.com>
  994. * i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()
  995. conversion for I386_LINUX_ORIG_EAX_REGNUM.
  996. 2001-11-18 Andrew Cagney <ac131313@redhat.com>
  997. * config/i386/embed.mt (TM_FILE): Set to tm-i386.h.
  998. * config/i386/tm-embed.h: Delete.
  999. 2001-11-17 Andrew Cagney <ac131313@redhat.com>
  1000. * Makefile.in (distclean): Explicitly delete Makefile et.al. in
  1001. gdbserver sub directory.
  1002. 2001-11-17 Andrew Cagney <ac131313@redhat.com>
  1003. * README: Mention need for alloca(). Mention problems with
  1004. alpha-dec-osf4.0e. Clarify that comments refer to GDB 5.1.
  1005. 2001-11-17 Kevin Buettner <kevinb@redhat.com>
  1006. * i386-linux-nat.c (fill_gregset): Use regcache_collect() instead
  1007. of accessing registers[] directly.
  1008. 2001-11-17 Kevin Buettner <kevinb@redhat.com>
  1009. * i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen()
  1010. when fetching ORIG_EAX.
  1011. 2001-11-17 Daniel Jacobowitz <drow@mvista.com>
  1012. * arm-linux-nat.c: Don't include <asm/ptrace.h>.
  1013. (fetch_register): Use elf_gregset_t instead of struct pt_regs.
  1014. (fetch_regs): Likewise.
  1015. (store_register): Likewise.
  1016. (store_regs): Likewise.
  1017. 2001-11-17 Daniel Jacobowitz <drow@mvista.com>
  1018. * sparc-linux-nat.c (fill_gregset): Replace read_register_gen
  1019. with regcache_collect.
  1020. (fill_fpregset): Likewise.
  1021. 2001-11-17 Daniel Jacobowitz <drow@mvista.com>
  1022. * Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,
  1023. and sparc-linux-nat.c to ALLDEPFILES. Add dependencies.
  1024. * config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES.
  1025. * sparc-linux-nat.c: New file, from Mark Kettenis.
  1026. 2001-11-16 Jakub Jelinek <jakub@redhat.com>
  1027. * dwarf2read.c (dwarf_str_buffer): New.
  1028. (struct dwarf2_pinfo): Add dwarf_str_buffer and dwarf_str_size.
  1029. (DWARF_STR_BUFFER, DWARF_STR_SIZE): Define.
  1030. (dwarf2_has_info): Clear dwarf_str_offset.
  1031. (dwarf2_build_psymtabs): Read .debug_str section if present.
  1032. (dwarf2_build_psymtabs_hard): Save DWARF_STR_BUFFER and
  1033. DWARF_STR_SIZE.
  1034. (psymtab_to_symtab_1): Restore DWARF_STR_BUFFER and DWARF_STR_SIZE.
  1035. (read_attribute): Handle DW_FORM_strp.
  1036. (read_n_bytes, read_string): Remove HOST_CHAR_BIT != 8
  1037. handling code.
  1038. (read_indirect_string): New.
  1039. (dump_die): Handle DW_FORM_strp.
  1040. 2001-11-16 Jim Blandy <jimb@redhat.com>
  1041. * s390-tdep.c: Tweak argument-passing to match GCC bugs.
  1042. (is_float_singleton, is_struct_like, is_float_like): New
  1043. functions, that isolate the weirdness.
  1044. (is_double_or_float, is_simple_arg, pass_by_copy_ref,
  1045. is_double_arg): Use is_struct_like and is_float_like, rather than
  1046. testing the type codes ourselves.
  1047. (s390_push_arguments): When passing args on the stack, align each
  1048. on to a four-byte boundary, regardless of what the type itself
  1049. needs.
  1050. 2001-11-16 Ben Harris <bjh21@netbsd.org>
  1051. * Makefile.in (os9kread.o): Replace $< with autoconf-approved
  1052. $(srcdir)/....
  1053. (procfs.o): Ditto.
  1054. (z8k-tdep.o): Ditto.
  1055. 2001-11-16 Ben Harris <bjh21@netbsd.org>
  1056. * MAINTAINERS (write-after-approval): Add self.
  1057. 2001-11-15 Jim Blandy <jimb@redhat.com>
  1058. * s390-tdep.c (is_simple_arg): Structs and unions exactly eight
  1059. bytes long should be handled as DOUBLE_ARGs; don't recognize them
  1060. as SIMPLE_ARGs.
  1061. 2001-11-12 Andrew Cagney <ac131313@redhat.com>
  1062. * remote.c (struct packet_reg): Declare.
  1063. (struct remote_state): Add fields sizeof_g_packet and g_packet.
  1064. (init_remote_state): Initialize sizeof_g_packet and g_packet.
  1065. (free_remote_state): Free g_packet.
  1066. (packet_reg_from_pnum, packet_reg_by_regnum): New functions.
  1067. (remote_wait): Use above instead of gdbarch methods
  1068. REGISTER_RAW_SIZE and REGISTER_BYTES.
  1069. (remote_async_wait): Ditto.
  1070. (remote_fetch_registers, remote_store_registers): Ditto.
  1071. (store_register_using_P): Ditto.
  1072. 2001-11-15 Andrew Cagney <ac131313@redhat.com>
  1073. * remote.c (_initialize_remote): Don't multi-arch swap tty_input.
  1074. Second attempt.
  1075. 2001-11-15 Andrew Cagney <ac131313@redhat.com>
  1076. * utils.c (phex_nz): For default case, set str to phex_nz return
  1077. value.
  1078. (phex): Ditto.
  1079. 2001-11-15 Andrew Cagney <ac131313@redhat.com>
  1080. * TODO (register_buffer): Delete.
  1081. * regcache.c (register_buffer): Make static.
  1082. (regcache_collect): New function.
  1083. * regcache.h (register_buffer): Delete declaration.
  1084. (regcache_collect): Declare.
  1085. * remote.c (store_register_using_P): Rewrite using
  1086. regcache_collect.
  1087. (remote_store_registers): Ditto.
  1088. * go32-nat.c (store_register): Ditto.
  1089. 2001-11-14 Andrew Cagney <ac131313@redhat.com>
  1090. * remote.c (struct remote_state): Declare.
  1091. (get_remote_state): New function.
  1092. (init_remote_state): New function.
  1093. (remote_gdbarch_data_handle): New global.
  1094. (build_remote_packet_sizes): Delete function, moved to
  1095. init_remote_state.
  1096. (register_remote_packet_sizes): Delete function.
  1097. (actual_register_packet_size, remote_packet_size): Moved to
  1098. ``struct remote_state''.
  1099. (PBUFSIZE): Delete. Replaced by rs->remote_packet_size.
  1100. (free_remote_state): New function.
  1101. (get_memory_packet_size, get_memory_read_packet_size)
  1102. (set_thread, remote_unpack_thread_info_response)
  1103. (remote_get_threadinfo, parse_threadlist_response)
  1104. (remote_get_threadlist, remote_current_thread)
  1105. (remote_threads_info, remote_threads_extra_info)
  1106. (extended_remote_restart, get_offsets)
  1107. (get_offsets, remote_check_symbols, remote_open_1)
  1108. (remote_async_open_1, remote_detach, remote_async_detach)
  1109. (remote_resume, remote_async_resume, remote_wait)
  1110. (remote_async_wait, remote_fetch_registers)
  1111. (store_register_using_P, remote_store_registers)
  1112. (check_binary_download, putpkt_binary)
  1113. (remote_insert_breakpoint, remote_remove_breakpoint)
  1114. (remote_insert_watchpoint, remote_remove_watchpoint)
  1115. (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint)
  1116. (compare_sections_command, remote_query)
  1117. (remote_rcmd, remote_rcmd, packet_command)
  1118. (remote_info_process): Update.
  1119. 2001-11-14 Andrew Cagney <ac131313@redhat.com>
  1120. * remote.c: Include "gdb_assert.h".
  1121. (tty_input): Wire buffer to 400 bytes.
  1122. (readsocket): Check tty_input doesn't overflow.
  1123. (build_remote_gdbarch_data, _initialize_remote): Don't multi-arch
  1124. tty_input.
  1125. 2001-11-14 Michael Snyder <msnyder@redhat.com>
  1126. * d10v-tdep.c (d10v_pointer_to_address): Use new type flag
  1127. TYPE_FLAG_CODE_SPACE to recognize a pointer that has been cast
  1128. into the instruction address space.
  1129. * Makefile.in (doublest.o): Add dependency on gdbtypes.h.
  1130. 2001-11-14 Michael Snyder <msnyder@redhat.com>
  1131. Add address space identifiers to expression language for types.
  1132. * c-exp.y (space_identifier, cv_with_space_id,
  1133. const_or_volatile_or_space_identifier_noopt,
  1134. const_or_volatile_or_space_identifier): New terminals.
  1135. (ptype): Accept const_or_volatile_or_space_identifier.
  1136. (typebase): Accept const_or_volatile_or_space_identifier.
  1137. * c-typeprint.c (c_type_print_cv_qualifier): Rename to
  1138. c_type_print_modifier. Handle address space modified types.
  1139. * gdbtypes.h (TYPE_FLAG_CODE_SPACE, TYPE_FLAG_DATA_SPACE):
  1140. New type flags.
  1141. (struct type): Add new field as_type for addr-space qualified types.
  1142. (TYPE_AS_TYPE): New macro, retrieves the chain of types that are
  1143. identical to this one except for address-space qualification.
  1144. * gdbtypes.c (alloc_type): Initialize new field 'as_type'.
  1145. (address_space_name_to_int): New function.
  1146. (address_space_int_to_name): New function.
  1147. (make_type_with_address_space): New function.
  1148. (make_cv_type): Handle as_type field of new struct type object.
  1149. * parse.c (check_type_stack_depth): New function.
  1150. (push_type_address_space): New function.
  1151. (follow_types): Handle types with address-space qualifier.
  1152. * parser-defs.h (enum type_pieces): Add enum tp_space_identifier.
  1153. 2001-11-14 Jim Blandy <jimb@redhat.com>
  1154. * s390-tdep.c (s390_pop_frame_regular): On the S/390, the frame
  1155. pointer and the SP are often the same, so we can't pop the frame
  1156. by setting the SP to the FP; we need to get the old SP from
  1157. saved_regs.
  1158. * s390-tdep.c (s390_extract_return_value): Returned `float' values
  1159. can simply be copied bitwise from the registers into the value
  1160. object's buffer.
  1161. * s390-tdep.c (s390_get_frame_info): Initialize SP's element of
  1162. the frame's saved_regs array correctly.
  1163. * symfile.c (simple_read_overlay_table): Make sure we can find
  1164. both `_novlys' and `_ovly_table' before we try anything else;
  1165. print a helpful error message.
  1166. (simple_overlay_update): No need to print error message here.
  1167. 2001-11-14 Michael Snyder <msnyder@redhat.com>
  1168. * Makefile.in (doublest.o): Add dependency on gdbtypes.h.
  1169. 2001-11-10 Andrew Cagney <ac131313@redhat.com>
  1170. * arm-tdep.c (arm_register_type): New function.
  1171. (arm_register_convertible): Delete.
  1172. (arm_register_convert_to_virtual): Delete.
  1173. (arm_register_convert_to_raw): Delete.
  1174. * config/arm/tm-arm.h (REGISTER_CONVERTIBLE): Delete.
  1175. (REGISTER_CONVERT_TO_VIRTUAL): Delete.
  1176. (REGISTER_CONVERT_TO_RAW): Delete.
  1177. (REGISTER_VIRTUAL_TYPE): Redefine as call to arm_register_type.
  1178. (arm_register_type): Declare.
  1179. 2001-11-13 Elena Zannoni <ezannoni@redhat.com>
  1180. From Andrew Cagney <cagney@redhat.com>:
  1181. * gdbtypes.h (builtin_type_int128, builtin_type_uint128): Declare.
  1182. * gdbtypes.c (_initialize_gdbtypes, build_gdbtypes): Initialize
  1183. new builtin types.
  1184. 2001-11-13 Jim Blandy <jimb@redhat.com>
  1185. * s390-tdep.c: Rewrite inferior function call code. This may
  1186. break zSeries support; that should be fixed soon.
  1187. #include "gdb_assert.h".
  1188. (is_integer_like, is_pointer_like, is_simple_arg,
  1189. pass_by_copy_ref, extend_simple_arg, is_double_arg, round_up,
  1190. round_down, alignment_of): New functions.
  1191. (s390_push_arguments): Rewritten to handle passing large arguments
  1192. by value, and to make more readable.
  1193. * s390-tdep.c (s390_pop_frame): Call generic_pop_current_frame, to
  1194. interact correctly with generic dummy frames.
  1195. (s390_pop_frame_regular): Move the guts of the frame-popping code
  1196. to here, to be called by generic_pop_current_frame. Use the
  1197. frame's saved_regs array; this works for `return' as well as
  1198. inferior function calls.
  1199. * s390-tdep.c (s390_gdbarch_init): Register the function
  1200. `standard_coerce_float_to_double', since GCC for the S/390 follows
  1201. the standard rules for passing floats.
  1202. * valops.c (default_coerce_float_to_double,
  1203. standard_coerce_float_to_double): Doc fixes.
  1204. Patch from Peter Schauer:
  1205. * symtab.c (find_pc_sect_line): If we can't find the function
  1206. containing PC, we certainly won't have line number information for
  1207. that location, so return zero immediately.
  1208. 2001-11-10 Andrew Cagney <ac131313@redhat.com>
  1209. * config/i960/tm-nindy960.h (REGISTER_CONVERTIBLE)
  1210. (REGISTER_CONVERT_TO_RAW, REGISTER_CONVERT_TO_VIRTUAL): Delete
  1211. undef.
  1212. * i960-tdep.c (i960_register_type): New function.
  1213. * config/i960/tm-i960.h (REGISTER_CONVERTIBLE): Delete.
  1214. (REGISTER_CONVERT_TO_VIRTUAL): Delete.
  1215. (REGISTER_CONVERT_TO_RAW): Delete.
  1216. (REGISTER_VIRTUAL_TYPE): Update. Call i960_register_type.
  1217. 2001-11-10 Andrew Cagney <ac131313@redhat.com>
  1218. * m88k-tdep.c (m88k_register_type): New function.
  1219. * config/m88k/tm-m88k.h (REGISTER_CONVERTIBLE): Delete.
  1220. (REGISTER_CONVERT_TO_VIRTUAL): Delete.
  1221. (REGISTER_CONVERT_TO_RAW): Delete.
  1222. (m88k_register_type): Declare.
  1223. (REGISTER_VIRTUAL_TYPE): Update. Call m88k_register_type.
  1224. 2001-11-11 Mark Kettenis <kettenis@elgar.my.domain>
  1225. * i386-tdep.h (FPU_REG_RAW_SIZE): Define unconditionally.
  1226. * i387-nat.c, i387-tdep.c: Unconditionally include "i386-tdep.h".
  1227. * config/i386/tm-i386.h (FPU_REG_RAW_SIZE): Removed.
  1228. (SIZEOF_FPU_REGS): Don't use FPU_REG_RAW_SIZE here.
  1229. 2001-11-12 Jim Blandy <jimb@redhat.com>
  1230. Patch from Andreas Schwab <schwab@suse.de>:
  1231. * eval.c (evaluate_subexp_standard): Fix memory leak: use alloca
  1232. instead of xmalloc.
  1233. 2001-11-12 Jim Blandy <jimb@redhat.com>
  1234. * corefile.c (write_memory_unsigned_integer,
  1235. write_memory_signed_integer): New functions.
  1236. (write_memory): Move to be with other write_memory_* functions.
  1237. * gdbcore.h (write_memory_unsigned_integer,
  1238. write_memory_signed_integer): New declarations.
  1239. 2001-11-11 Geoffrey Keating <geoffk@redhat.com>
  1240. * dwarf2read.c (dwarf_decode_lines): Properly deal with
  1241. unknown standard opcodes.
  1242. 2001-11-11 Andrew Cagney <ac131313@redhat.com>
  1243. * README (alpha-dec-osf5.1): Mention -DUSE_LDR_ROUTINES.
  1244. (sparcv9-sun-solars2.8): Mention problem with 64 bit GCC 3.0.x.
  1245. (i586-sco-sysv5uw7.1.1): Mention problem with threads.
  1246. 2001-11-11 Andrew Cagney <ac131313@redhat.com>
  1247. From Mark Kettenis <kettenis@gnu.org>:
  1248. * breakpoint.c (breakpoint_re_set_one): Don't discard SHLIB
  1249. breakpoints when they fail.
  1250. 2001-11-10 Andrew Cagney <ac131313@redhat.com>
  1251. * printcmd.c, valprint.c, language.c, linespec.c, infcmd.c,
  1252. gnu-nat.c, findvar.c, expprint.c, typeprint.c, stack.c, top.c:
  1253. Replace value_ptr with struct value.
  1254. 2001-11-10 Andrew Cagney <ac131313@redhat.com>
  1255. * c-valprint.c, ch-lang.c, ch-valprint.c, cp-valprint.c,
  1256. p-valprint.c, scm-exp.c, scm-lang.c, scm-valprint.c: Replace
  1257. value_ptr with struct value.
  1258. 2001-11-10 Andrew Cagney <ac131313@redhat.com>
  1259. * eval.c: Replace most occurances of value_ptr with struct value.
  1260. 2001-11-09 Jim Blandy <jimb@redhat.com>
  1261. * s390-tdep.c: Don't use a call dummy.
  1262. (s390_fix_call_dummy, s390_pc_in_call_dummy): Delete.
  1263. (s390_push_return_address): Put the address of the inferior call
  1264. breakpoint in r14.
  1265. (s390_gdbarch_init):
  1266. - Provide trivial definition of s390_call_dummy_words; register it
  1267. with the gdbarch appropriately.
  1268. - Delete S390x_call_dummy_words.
  1269. - Gather inferior-call-related settings into a group.
  1270. - Use generic dummy frames.
  1271. - Put the inferior call breakpoint at the entry point.
  1272. - Use generic gdbarch methods: pc_in_call_dummy_at_entry_point,
  1273. generic_push_dummy_frame, generic_fix_call_dummy.
  1274. - There is a call dummy breakpoint offset; it's zero.
  1275. * s390-tdep.c: (s390_push_arguments): Write a back chain pointer
  1276. into the dummy frame, to help us get backtraces.
  1277. * values.c (value_as_address): If VAL is a function or method,
  1278. just return its address; don't let COERCE_ARRAY convert its
  1279. address to a pointer, and then have unpack_long convert it back to
  1280. an address.
  1281. 2001-11-06 Pierre Muller <muller@ics.u-strasbg.fr>
  1282. * p-lang.c (is_pascal_string_type): New function to determine if a
  1283. type is a string type.
  1284. * p-lang.h: Add prototype for is_pascal_string_type.
  1285. * p-valprint.c (pascal_val_print) : Use is_pascal_string_type function
  1286. to display strings nicely.
  1287. 2001-11-06 Pierre Muller <muller@ics.u-strasbg.fr>
  1288. * p-exp.y (yylex): Only change case of expression if symbol is found.
  1289. Also check for GPC standard name form.
  1290. 2001-11-08 Andrew Cagney <ac131313@redhat.com>
  1291. * gdb_indent.sh: New file.
  1292. 2001-11-08 Jim Blandy <jimb@redhat.com>
  1293. * s390-tdep.c (s390_get_frame_info): Initialize got_load_addr and
  1294. got_load_len, to placate compiler.
  1295. 2001-11-08 Mark Kettenis <kettenis@gnu.org>
  1296. * i386-tdep.c (i386_gdbarch_init): Fix typo.
  1297. 2001-11-08 Jim Blandy <jimb@redhat.com>
  1298. * s390-tdep.c (s390_gdbarch_init): Use func_frame_chain_valid, not
  1299. file_frame_chain_valid.
  1300. * s390-tdep.c (s390_get_frame_info): If the prologue loads r12
  1301. from the constant pool, but doesn't add in the constant pool's
  1302. address to it, then this function probably isn't using r12 as a
  1303. GOT pointer, and that load probably wasn't part of the prologue.
  1304. * s390-tdep.c (s390_gdbarch_init): Use the default
  1305. prepare_to_proceed function established by config/nm-linux.h;
  1306. don't try to set it to linuxthreads_prepare_to_proceed.
  1307. Wed Nov 7 20:38:14 2001 Andrew Cagney <cagney@redhat.com>
  1308. * i386-tdep.c: Include "i386-tdep.h".
  1309. (XMALLOC): Define.
  1310. (i386_gdbarch_init): New function.
  1311. (_initialize_i386_tdep): Register bfd_arch_i386.
  1312. * config/i386/tm-i386.h (GDB_MULTI_ARCH): Define as
  1313. GDB_MULTI_ARCH_PARTIAL.
  1314. * i386-tdep.h: When partially multi-arch, conditionally define
  1315. all macros.
  1316. Wed Nov 7 20:45:32 2001 Andrew Cagney <cagney@redhat.com>
  1317. * i386-tdep.c (set_disassembly_flavor): Delete function.
  1318. (set_disassembly_flavor_sfunc): Delete function.
  1319. 2001-11-07 Elena Zannoni <ezannoni@redhat.com>
  1320. * dbxread.c (set_namestring): New function, replacing the
  1321. SET_NAMESTRING macro.
  1322. (SET_NAMESTRING, CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE,
  1323. CUR_SYMBOL_STRX, DBXREAD_ONLY, START_PSYMTAB, END_PSYMTAB): Delete
  1324. definitions.
  1325. (read_dbx_symtab): Don't include partial-stab.h any more. Don't
  1326. reuse code in partial-stab.h, include the code directly, instead.
  1327. * Makefile.in (dbxread.o): Remove dependency on partial-stab.h.
  1328. (HFILES_NO_SRCDIR): Remove partial-stab.h.
  1329. * partial-stab.h: Remove file.
  1330. 2001-11-07 Andrew Cagney <ac131313@redhat.com>
  1331. * gdbarch.sh: For multi-arch functions, check there is a
  1332. predefault and use it as the static default.
  1333. * gdbarch.c: Re-generate.
  1334. 2001-11-08 Mark Kettenis <kettenis@gnu.org>
  1335. * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Define in
  1336. terms of NUM_GREGS, NUM_FREGS and NUM_SSE_REGS instead of
  1337. hardcoding the register number.
  1338. 2001-11-07 Andrew Cagney <ac131313@redhat.com>
  1339. * gdbarch.sh (USE_STRUCT_CONVENTION): Default to
  1340. generic_use_struct_convention.
  1341. * gdbarch.h, gdbarch.c: Regenerate.
  1342. * values.c (USE_STRUCT_CONVENTION): Delete definition, moved to
  1343. gdbarch.h.
  1344. 2001-11-06 Andrew Cagney <ac131313@redhat.com>
  1345. * gdbarch.sh (PC_IN_CALL_DUMMY): Require a value.
  1346. * gdbarch.c: Regenerate.
  1347. 2001-11-06 Fred Fish <fnf@redhat.com>
  1348. * complaints.c (info_verbose): Remove unneeded decl, is in defs.h.
  1349. * dbxread.c: Ditto
  1350. * dwarf2read.c: Ditto.
  1351. * dwarfread.c: Ditto.
  1352. * exec.c: Ditto.
  1353. * hpread.c: Ditto.
  1354. * hpread.h: Ditto.
  1355. * mdebugread.c: Ditto.
  1356. * os9kread.c: Ditto.
  1357. * stack.c: Ditto.
  1358. * symfile.c: Ditto.
  1359. * tracepoint.c: Ditto.
  1360. 2001-11-06 Andrew Cagney <ac131313@redhat.com>
  1361. * MAINTAINERS: Update Andrew Cagney's responsibilities. Mention
  1362. David Taylor and Nick Duffek in past maintainers.
  1363. 2001-11-06 Elena Zannoni <ezannoni@redhat.com>
  1364. * mdebugread.c (CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB,
  1365. END_PSYMTAB, SET_NAMESTRING, HANDLE_RBRAC): Delete definitions.
  1366. (parse_partial_symbols): Don't include partial-stab.h any
  1367. more. Don't reuse code in partial-stab.h, include the code
  1368. directly, instead. Simplify code from partial-stab.h eliminating
  1369. ifdef DBXREAD_ONLY code.
  1370. * Makefile.in (mdebugread.o): Remove dependency on partial-stab.h.
  1371. 2001-11-06 Jim Blandy <jimb@redhat.com>
  1372. * s390-nat.c: #include "regcache.h", to get declaration for
  1373. `supply_register'. (The last change already added the dependency
  1374. of s390-nat.o on regcache.h. Oops.)
  1375. * Makefile.in (ALLDEPFILES): Add s390-tdep.c and s390-nat.c.
  1376. (s390-tdep.o, s390-nat.o): New rules.
  1377. * s390-nat.c (s390_register_u_addr): Pass proper arguments to
  1378. internal_error.
  1379. 2001-11-06 Andrew Cagney <ac131313@redhat.com>
  1380. * gdbarch.sh (CALL_DUMMY_LOCATION): Require a value.
  1381. * gdbarch.c: Regenerate.
  1382. 2001-11-06 Andrew Cagney <ac131313@redhat.com>
  1383. * blockframe.c (get_prev_frame): Replace #ifdef
  1384. INIT_EXTRA_FRAME_INFO with run-time test.
  1385. 2001-11-05 Andrew Cagney <ac131313@redhat.com>
  1386. * gdbarch.sh (push_return_address): Change to a function with
  1387. predicate.
  1388. * gdbarch.h, gdbarch.c: Re-generate.
  1389. * valops.c (hand_function_call): Replace #ifdef
  1390. PUSH_RETURN_ADDRESS with run-time test of PUSH_RETURN_ADDRESS_P.
  1391. 2001-11-06 Corinna Vinschen <vinschen@redhat.com>
  1392. * arch-utils.c (generic_in_function_epilogue_p): New function.
  1393. * arch-utils.h (generic_in_function_epilogue_p): Declare extern.
  1394. * breakpoint.c (watchpoint_check): Add test whether the pc is
  1395. currently in the epilogue of a function.
  1396. * gdbarch.c: Autogenerated from gdbarch.sh.
  1397. * gdbarch.h: Ditto.
  1398. * gdbarch.sh (function_list): Add `in_function_epilogue_p' definition.
  1399. 2001-11-05 Jim Blandy <jimb@redhat.com>
  1400. * config/s390/s390.mh (NATDEPFILES): Don't split this across
  1401. several lines with backslashes; the `sed' command in
  1402. configure.in's AC_OUTPUT clause that comments out the NATDEPFILES
  1403. assignment doesn't handle lines extended with backslashes.
  1404. * configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES
  1405. using `+=' as well as `='.
  1406. * configure: Regenerated.
  1407. 2001-11-05 Andrew Cagney <ac131313@redhat.com>
  1408. * gdbarch.sh (init_extra_frame_info): Change to a function with
  1409. predicate.
  1410. * gdbarch.h, gdbarch.c: Re-generate.
  1411. * blockframe.c (create_new_frame): Replace #ifdef
  1412. INIT_EXTRA_FRAME_INFO with run-time test of
  1413. INIT_EXTRA_FRAME_INFO_P.
  1414. 2001-11-05 Andrew Cagney <ac131313@redhat.com>
  1415. * gdbarch.sh (verify_gdbarch): Use a mem_file to accumulate all
  1416. error messages. Print in a single batch.
  1417. * gdbarch.c: Re-generate.
  1418. 2001-11-04 Mark Kettenis <kettenis@gnu.org>
  1419. * i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset,
  1420. fill_gregset): Add support for "orig_eax" register.
  1421. Add support for "orig_eax" pseudo register on Linux/x86.
  1422. * i386-linux-tdep.c: Include "inferior.h".
  1423. (i386_linux_register_name, i386_linux_register_byte,
  1424. i386_linux_register_raw_size): New functions.
  1425. (i386_linux_write_pc): New function.
  1426. * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define.
  1427. (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME,
  1428. REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional
  1429. register.
  1430. (i386_linux_register_name, i386_linux_register_byte,
  1431. i386_linux_register_raw_size): New prototypes.
  1432. (TARGET_WRITE_PC): New define.
  1433. (i386_linux_write_pc): New prototype.
  1434. * i386-tdep.c (i386_register_offset): Renamed from
  1435. i386_register_byte. Made static.
  1436. (i386_register_size): Renamed from i386_register_raw_size. Made
  1437. static.
  1438. (i386_register_virtual_size): Removed.
  1439. (i386_register_byte, i386_register_raw_size,
  1440. i386_register_virtual_size): New functions.
  1441. (_initialize_i386_tdep): Initialize i386_register_offset instead
  1442. of i386_register_byte. Remove code to initialize
  1443. i386_register_virtual_size.
  1444. * config/i386/tm-i386.h (REGISTER_BYTE): Redefine to use
  1445. i386_register_byte function.
  1446. (REGISTER_RAW_SIZE): Redefine to use i386_register_raw_size
  1447. function.
  1448. (REGISTER_VIRTUAL_SIZE): Redefine to use
  1449. i386_register_virtual_size function.
  1450. (i386_register_byte, i386_register_raw_size,
  1451. i386_register_virtual_size): New functions.
  1452. * Makefile.in (ALLDEPFILES): Add i387-nat.c.
  1453. (i387-nat.o): Add dependencies.
  1454. 2001-11-02 Andrew Cagney <ac131313@redhat.com>
  1455. * README: Mention problem with alpha-dec-osf5.1.
  1456. 2001-11-02 Andrew Cagney <ac131313@redhat.com>
  1457. * utils.c (internal_verror): Restore calls to abort().
  1458. Fix PR gdb/219.
  1459. 2001-11-02 Michael Chastain <mec@shout.net>
  1460. * MAINTAINERS: Update my entry.
  1461. 2001-11-01 Michael Snyder <msnyder@redhat.com>
  1462. * symtab.c (operator_chars): Allow '*' and '[' to be quoted in
  1463. operator names, to avoid regexp expansion.
  1464. (search_symbols): Alloca buffer is too small, may get clobbered.
  1465. 2001-11-01 Fred Fish <fnf@redhat.com>
  1466. * coff-solib.c (coff_solib_add): Add new readsyms arg.
  1467. * irix5-nat.c (solib_add): Ditto.
  1468. * osfsolib.c (solib_add): Ditto.
  1469. * pa64solib.c (pa64_solib_add): Ditto.
  1470. * pa64solib.c (add_to_solist): Ditto.
  1471. * pa64solib.c (read_dld_descriptor): Ditto.
  1472. * solib.c (solib_add): Ditto.
  1473. * somsolib.c (som_solib_add): Ditto.
  1474. * win32-nat.c (child_solib_add): Ditto.
  1475. * xcoffsolib.c (solib_add): Ditto.
  1476. * coff-solib.h (coff_solib_add): Add new readsyms arg to prototype.
  1477. * pa64solib.c (add_to_solist): Ditto.
  1478. * pa64solib.c (read_dld_descriptor): Ditto.
  1479. * pa64solib.h (pa64_solib_add): Ditto.
  1480. * solib.h (solib_add): Ditto.
  1481. * somsolib.h (som_solib_add): Ditto.
  1482. * config/i386/tm-cygwin.h (child_solib_add): Ditto.
  1483. * coff-solib.c (coff_solib_add): If readsyms is zero don't read
  1484. symbols but do any other needed work for shared libs.
  1485. * irix5-nat.c: Ditto.
  1486. * osfsolib.c (solib_add): Ditto.
  1487. * solib.c (solib_add): Ditto.
  1488. * win32-nat.c (child_solib_add): Ditto.
  1489. * xcoffsolib.c (solib_add): Ditto.
  1490. * irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to
  1491. solib_add to force reading of shared library symbols.
  1492. * osfsolib.c (sharedlibrary_command;): Ditto.
  1493. * pa64solib.c (pa64_solib_sharedlibrary_command): Ditto.
  1494. * solib.c (sharedlibrary_command): Ditto.
  1495. * somsolib.c (som_solib_sharedlibrary_command): Ditto.
  1496. * xcoffsolib.c (sharedlibrary_command): Ditto.
  1497. * coff-solib.c (coff_solib_create_inferior_hook): Call solib_add
  1498. unconditionally with auto_solib_add.
  1499. * irix5-nat.c (solib_create_inferior_hook): Ditto.
  1500. * osfsolib.c (solib_create_inferior_hook): Ditto.
  1501. * solib.c (solib_create_inferior_hook): Ditto.
  1502. * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
  1503. * solib-svr4.c (enable_break): Ditto.
  1504. * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
  1505. * corelow.c (solib_add_stub): Add auto_solib_add to args passed
  1506. via SOLIB_ADD.
  1507. * sol-thread.c (sol_thread_attach): Ditto.
  1508. * config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto.
  1509. * infcmd.c (attach_command): Remove auto_solib_add decl.
  1510. Call SOLIB_ADD directly with auto_solib_add.
  1511. * infrun.c (handle_inferior_event): Ditto.
  1512. * coff-solib.h (SOLIB_ADD): Add readsyms arg.
  1513. * pa64solib.h (SOLIB_ADD): Ditto.
  1514. * solib.h (SOLIB_ADD): Ditto.
  1515. * somsolib.h (SOLIB_ADD): Ditto.
  1516. * config/i386/tm-cygwin.h (SOLIB_ADD): Ditto.
  1517. * fork-child.c (clone_and_follow_inferior): Remove unused
  1518. auto_solib_add decl.
  1519. * pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms.
  1520. (read_dld_descriptor): Ditto.
  1521. (pa64_solib_add): Call read_dld_descriptor with readsyms.
  1522. (pa64_solib_in_dynamic_linker): Ditto.
  1523. * corelow.c (symfile.h): Need this for auto_solib_add declaration.
  1524. * sol-thread.c (symfile.h): Ditto.
  1525. 2001-10-31 Andrew Cagney <ac131313@redhat.com>
  1526. * s390-nat.c (s390_remove_watchpoint): Use xfree.
  1527. (s390_insert_watchpoint): Use xmalloc.
  1528. 2001-10-31 Andrew Cagney <ac131313@redhat.com>
  1529. * varobj.c: Replace value_ptr with ``struct value *''.
  1530. 2001-10-31 Andrew Cagney <ac131313@redhat.com>
  1531. * varobj.c: Re-indent.
  1532. 2001-10-31 Andrew Cagney <ac131313@redhat.com>
  1533. * x86-64-tdep.c (value_push, x86_64_push_arguments): Replace
  1534. ``value_ptr'' with ``struct value *''.
  1535. * s390-tdep.c (s390_push_arguments): Ditto.
  1536. 2001-10-30 Andrew Cagney <ac131313@redhat.com>
  1537. * ppc-tdep.h: Add #ifndef wrapper. Replace value_ptr with
  1538. ``struct value *''.
  1539. (struct frame_info, struct value): Add opaque declarations.
  1540. 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
  1541. * arch-utils.c (generic_in_solib_call_trampoline): New function.
  1542. * arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.
  1543. * gdbarch.c: Regenerated from gdbarch.sh.
  1544. * gdbarch.h: Ditto.
  1545. * gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
  1546. * infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.
  1547. 2001-10-31 Andrew Cagney <ac131313@redhat.com>
  1548. From DJ Barrow.
  1549. * s390-tdep.c: (s390_gdbarch_init): Don't initialize
  1550. find_solib_trampoline_target.
  1551. 2001-10-31 Andrew Cagney <ac131313@redhat.com>
  1552. * remote-vx.c (net_wait): Fix typo from PIDGET change.
  1553. 2001-10-31 Mark Kettenis <kettenis@gnu.org>
  1554. * config/i386/tm-i386.h (REGISTER_NAMES): Remove.
  1555. (REGISTER_NAME): New define.
  1556. (i386_register_name): New prototype.
  1557. * i386-tdep.c (i386_register_names): New variable.
  1558. (i386_register_name): New function.
  1559. * config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
  1560. config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
  1561. REGISTER_NAMES.
  1562. 2001-10-31 Christopher Faylor <cgf@redhat.com>
  1563. * win32-nat.c (register_loaded_dll): Attempt to ensure that the case of
  1564. the loaded DLL matches the on-disk case since the debugging API does
  1565. not seem to ensure this. Calculate max name length here.
  1566. (handle_load_dll): Move max name length calculation to
  1567. register_loaded_dll.
  1568. 2001-10-31 Daniel Jacobowitz <drow@mvista.com>
  1569. * arm-linux-nat.c: Include <asm/ptrace.h> explicitly.
  1570. 2001-10-30 Keith Seitz <keiths@redhat.com>
  1571. * wrapper.h (gdb_value_struct_elt): New function.
  1572. * wrapper.c (gdb_value_struct_elt): Ditto.
  1573. (do_captured_value_struct_elt): Ditto.
  1574. 2001-10-30 Andrew Cagney <ac131313@redhat.com>
  1575. * README, NEWS: Update for 5.1.
  1576. 2001-10-30 Andrew Cagney <ac131313@redhat.com>
  1577. * configure.in (WERROR_CFLAGS): Use AC_TRY_COMPILE to test the
  1578. -W... flags.
  1579. * configure: Re-generate.
  1580. 2001-10-30 Fred Fish <fnf@redhat.com>
  1581. * somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes.
  1582. * pa64solib.c (add_to_solist): Ditto.
  1583. * win32-nat.c (_initialize_inftarg): Remove unnecessary
  1584. initialization of auto_solib_add, it defaults to 1.
  1585. 2001-10-27 Fred Fish <fnf@redhat.com>
  1586. * symfile.c (auto_solib_add): Update comment to note that
  1587. this variable is now just used as a boolean to control shlib
  1588. autoloading, and clarify when it is used.
  1589. * symfile.h (auto_solib_add): Ditto.
  1590. * symfile.c (auto_solib_limit): New variable that holds the
  1591. autoloading threshold instead of overloading auto_solib_add.
  1592. * symfile.h (auto_solib_limit): Ditto.
  1593. * irix5-nat.c (_initialize_solib): Change auto-solib-add
  1594. variable from var_zinteger to var_boolean and update help.
  1595. * osfsolib.c (_initialize_solib): Ditto.
  1596. * pa64solib.c (_initialize_pa64_solib): Ditto.
  1597. * solib.c (_initialize_solib): Ditto.
  1598. * somsolib.c (_initialize_som_solib): Ditto.
  1599. * xcoffsolib.c (_initialize_solib): Ditto.
  1600. * pa64solib.c (pa64_solib_total_st_size): Update comment to
  1601. note that the new auto_solib_limit variable is used instead
  1602. of overloading auto_solib_add variable.
  1603. (_initialize_pa64_solib): Ditto.
  1604. * somsolib.c (som_solib_total_st_size): Ditto.
  1605. (_initialize_som_solib): Ditto.
  1606. * pa64solib.c (_initialize_pa64_solib): Add new set/show
  1607. commands for auto-solib-limit variable.
  1608. * somsolib.c (_initialize_som_solib): Ditto
  1609. * pa64solib.c (add_to_solist): Check that auto_solib_add is
  1610. set and use auto_solib_limit as the threshold size instead
  1611. of auto_solib_add.
  1612. * somsolib.c (som_solib_add): Ditto, and also change warning
  1613. text about size threshold exceeded.
  1614. 2001-10-21 Mark Kettenis <kettenis@gnu.org>
  1615. * config/i386/tm-i386v.h: Don't include "regcache.h".
  1616. (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN,
  1617. FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS):
  1618. Remove macros. The versions from "tm-i386.h" should work fine
  1619. (and in most cases even better).
  1620. 2001-10-30 Mark Kettenis <kettenis@gnu.org>
  1621. * i386-tdep.c (i386_extract_return_value): Use
  1622. convert_typed_floating to extract floating-point value from
  1623. register buffer.
  1624. (i386_store_return_value): Use convert_typed_floating to store
  1625. floating-point return balue in register buffer
  1626. (i386_register_virtual_type): Change type of floating-point
  1627. registers to builtin_type_i387_ext.
  1628. (i386_register_convert_to_virtual): Use convert_typed_floating to
  1629. do the conversion.
  1630. (i386_register_convert_to_raw): Likewise.
  1631. 2001-10-29 Mark Kettenis <kettenis@gnu.org>
  1632. * doublest.h (convert_typed_floating): New prototype.
  1633. * doublest.c (convert_typed_floating): New function.
  1634. 2001-10-28 Mark Kettenis <kettenis@gnu.org>
  1635. * doublest.c: Improve comments a bit.
  1636. (floatformat_from_length): New function.
  1637. (NAN): Define to 0.0 if not already defined.
  1638. (extract_floating): Rewrite to use floatformat_from_length. Warn
  1639. instead of error if LEN doesn't match a known floating-point type,
  1640. and return NaN (or 0.0 if NaN isn't available) in that case.
  1641. (store_floating): Likewise, but zero out the target byte-stream if
  1642. LEN doesn't match a known floating-point type.
  1643. (extract_typed_floating): Reformat a bit.
  1644. (store_typed_floating): Reformat a bit. Add comment about zeroing
  1645. out padding in the target buffer.
  1646. * doublest.h (extract_floating, store_floating): Fix comment about
  1647. deprecation of these functions. Add parameter names to prototypes.
  1648. 2001-10-28 Mark Kettenis <kettenis@gnu.org>
  1649. * i387-tdep.c (print_i387_value): Use extract_typed_floating to
  1650. convert RAW to a DOUBLEST instead of extract_floating.
  1651. * gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
  1652. builtin_type_i387_ext to floatformat_i387_ext.
  1653. 2001-10-24 Daniel Jacobowitz <drow@mvista.com>
  1654. * arm-linux-nat.c (fill_gregset): Do not check register_valid[].
  1655. (fill_fpregset): Likewise.
  1656. 2001-10-26 Orjan Friberg <orjanf@axis.com>
  1657. * cris-tdep.c (constraint): Loop through the whole cris_spec_regs
  1658. struct, not just the NUM_SPECREGS first entries.
  1659. (bdap_prefix): Read PC before autoincrement.
  1660. 2001-10-24 Corinna Vinschen <vinschen@redhat.com>
  1661. * win32-nat.c (DebugSetProcessKillOnExit): New static function
  1662. pointer to Windows' DebugSetProcessKillOnExit() function.
  1663. (DebugActiveProcessStop): Ditto for DebugActiveProcessStop().
  1664. (has_detach_ability): New function.
  1665. (child_attach): If system has detach ability, enable it.
  1666. (child_detach): If system has detach ability, actually
  1667. detach from process.
  1668. Change tty output to Linux format.
  1669. 2001-10-23 Jim Blandy <jimb@redhat.com>
  1670. Isolate STABS readers' use of the `textlow' and `texthigh' fields
  1671. of `struct partial_symtab' to only a few locations. This change
  1672. is not supposed to affect the way the values are computed, only
  1673. where they live.
  1674. * dbxread.c (struct symloc): Add `textlow' and `texthigh' fields
  1675. to the reader-specific structure.
  1676. * mdebugread.c (struct symloc): Same.
  1677. * dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros.
  1678. * mdebugread.c (TEXTLOW, TEXTHIGH): Same.
  1679. * dbxread.c (dbx_symfile_read): After we've built all our partial
  1680. symbol tables, set each partial symtab's `textlow' and `texthigh'
  1681. fields from our reader-specific structure.
  1682. * mdebugread.c (mdebug_build_psymtabs): Same.
  1683. * dbxread.c (start_psymtab): Initialize the reader-specific
  1684. structure's `textlow' and `texthigh' from the new psymtab's.
  1685. * mdebugread.c (parse_partial_symbols, new_psymtab): Same.
  1686. * dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use
  1687. the reader-specific `textlow' and `texthigh', not the generic
  1688. psymtab fields.
  1689. * mdebugread.c (parse_lines, parse_partial_symbols,
  1690. psymtab_to_symtab_1): Same.
  1691. * partial-stab.h: Same.
  1692. Tue Oct 23 18:59:42 2001 Andrew Cagney <cagney@redhat.com>
  1693. * hp-psymtab-read.c, hppah-nat.c, hppa-tdep.c: Fix -Wformat
  1694. problems.
  1695. Tue Oct 23 14:16:10 2001 Andrew Cagney <cagney@redhat.com>
  1696. * somsolib.c (som_solib_add): Use core_addr_to_host_pointer.
  1697. (som_solib_desire_dynamic_linker_symbols): Compare integers with
  1698. zero not NULL.
  1699. * hp-psymtab-read.c (hpread_call_pxdb): Make parameter constant.
  1700. 2001-10-21 Andrew Cagney <ac131313@redhat.com>
  1701. * top.c (print_gdb_version): Do not print ``(MI_OUT)''. MI
  1702. interface is always enabled.
  1703. 2001-10-21 Andrew Cagney <ac131313@redhat.com>
  1704. * Makefile.in: Replace top.h with $(top_h). Replace expression.h
  1705. with $(expression_h). Replace command.h with $(command_h).
  1706. (language_h): Define. Replace language.h with $(language_h).
  1707. Replace call-cmds.h with $(call_cmds_h). Replace varobj.h with
  1708. $(varobj_h).
  1709. (wrapper_h, valprint_h, objfiles_h, complaints_h): Ditto.
  1710. (serial_h, hpread_h, buildsym_h, stabsread_h): Ditto.
  1711. (xcoffsolib_h, gdb_stabs_h, linespec_h): Ditto.
  1712. (bcache_h, gdb_events_h, monitor_h): Ditto.
  1713. (ser_unix_h, source_h): Ditto.
  1714. (varobj_h): Update list.
  1715. * call-cmds.h: Add CALL_CMDS_H macro wrapper.
  1716. * solist.h: Add SOLIST_H macro wrapper.
  1717. * monitor.h: Add MONITOR_H macro wrapper.
  1718. * typeprint.h: Add TYPEPRINT_H macro wrapper.
  1719. * xcoffsolib.h: Add XCOFFSOLIB_H macro wrapper.
  1720. * valprint.h: Add VALPRINT_H macro wrapper.
  1721. * top.h: Add TOP_H macro wrapper.
  1722. 2001-10-21 Andrew Cagney <ac131313@redhat.com>
  1723. * config/a29k/tm-vx29k.h, i386-tdep.c: Include "value.h".
  1724. * arm-tdep.c, exec.c, ia64-tdep.c, infrun.c: Ditto.
  1725. * ppc-linux-tdep.c, remote-es.c, remote.c: Ditto.
  1726. * rs6000-tdep.c, s390-tdep.c, x86-64-tdep.c: Ditto.
  1727. * Makefile.in (arm-tdep.o, exec.o, i386-tdep.o, ia64-tdep.o)
  1728. (infrun.o, ppc-linux-tdep.o, remote.o, rs6000-tdep.o)
  1729. (x86-64-tdep.o): Update dependencies.
  1730. * gdbarch.sh [!GDB_MULTI_ARCH]: Include "value.h".
  1731. * gdbarch.h, gdbarch.c: Re-generate.
  1732. 2001-10-21 Mark Kettenis <kettenis@gnu.org>
  1733. * infptrace.c (child_xfer_memory): Fix a few coding standards
  1734. violations.
  1735. 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
  1736. * config/djgpp/README: Fix a typo and tweak for GDB 5.1.
  1737. 2001-10-20 Andrew Cagney <ac131313@redhat.com>
  1738. * jv-lang.h: Add #ifndef JV_LANG_H wrapper.
  1739. (struct value): Add opaque declaration. Replace value_ptr with
  1740. ``struct value *''.
  1741. * jv-valprint.c, jv-lang.c: Replace value_ptr with equivalent
  1742. struct.
  1743. * wrapper.h (struct value): Add opaque declaration. Replace
  1744. value_ptr with ``struct value *''.
  1745. * wrapper.c: Replace value_ptr with ``struct value *''.
  1746. * breakpoint.h, breakpoint.c: Ditto.
  1747. * cp-abi.h, hpacc-abi.c, gnu-v2-abi.c, cp-abi.c: Ditto.
  1748. 2001-10-20 Andrew Cagney <ac131313@redhat.com>
  1749. * alpha-nat.c: Include <alpha/coreregs.h> instead of
  1750. <machine/reg.h>.
  1751. (fetch_osf_core_registers): Define core_reg_mapping in a way that
  1752. works on OSF5 as well as previous OSF versions.
  1753. 2001-10-20 Christopher Faylor <cgf@redhat.com>
  1754. * win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin
  1755. may not be able to read them in certain situations.
  1756. 2001-10-18 Andrew Cagney <ac131313@redhat.com>
  1757. * config/powerpc/nbsd.mt (SIM_OBS, SIM): Define.
  1758. * config/powerpc/linux.mt (SIM, SIM_OBS): Ditto
  1759. 2001-10-18 Andrew Cagney <ac131313@redhat.com>
  1760. * README: Mention problems with HP/UX.
  1761. 2001-10-16 Andrew Cagney <ac131313@redhat.com>
  1762. Based on code by John Moore <jmore@redhat.com>:
  1763. * utils.c (core_addr_to_string): New function for conversion of
  1764. CORE_ADDR to string.
  1765. (string_to_core_addr): New function to convert from string to
  1766. CORE_ADDR.
  1767. * defs.h: Added extern statements for the above.
  1768. 2001-10-17 Jason Molenda (jason-cl@molenda.com)
  1769. * symtab.c (lookup_block_symbol): Break out of linear search
  1770. if we're past the range of possible matches.
  1771. 2001-10-16 Christopher Faylor <cgf@redhat.com>
  1772. * win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding
  1773. load of already loaded DLL.
  1774. (register_loaded_dll): Convert loaded DLL name to "posix" format or it
  1775. will confuse subsequent opening of the filename due to dos paths.
  1776. (dll_symbol_command): Pass from_tty parameter to safe_symbol_file_add.
  1777. 2001-10-15 Elena Zannoni <ezannoni@redhat.com>
  1778. * symtab.c (lookup_block_symbol): Update comment.
  1779. 2001-10-15 Andrew Cagney <ac131313@redhat.com>
  1780. * value.h (value_as_address): Rename value_as_pointer.
  1781. * eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c,
  1782. jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c,
  1783. values.c: Update.
  1784. 202001-10-15 Jim Ingham <jingham@inghji.apple.com>
  1785. * valarith.c (value_sub): Don't pass a raw type to
  1786. value_from_pointer, it has to go through check_typedef first.
  1787. 2001-10-15 Andrew Cagney <ac131313@redhat.com>
  1788. * gdbarch.sh (fallbackdefault): Set to one when predefault is
  1789. empty.
  1790. * gdbarch.h: Regenerate.
  1791. 2001-10-15 Andrew Cagney <ac131313@redhat.com>
  1792. * mips-tdep.c (mips_integer_to_address): New function.
  1793. (mips_gdbarch_init): Initialize pointer_to_address,
  1794. address_to_pointer and integer_to_address.
  1795. * config/mips/tm-mips.h (POINTER_TO_ADDRESS): Delete
  1796. (ADDRESS_TO_POINTER): Delete.
  1797. * d10v-tdep.c (d10v_integer_to_address): New function.
  1798. (d10v_gdbarch_init): Initialize integer_to_address.
  1799. * values.c (value_as_pointer): Use INTEGER_TO_ADDRESS when
  1800. available.
  1801. * gdbarch.sh (INTEGER_TO_ADDRESS): New predicate and function.
  1802. * gdbarch.h, gdbarch.c: Regenerate.
  1803. 2001-10-14 Mark Kettenis <kettenis@gnu.org>
  1804. * config/s390/nm-linux.h: Don't include <signal.h>.
  1805. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
  1806. GET_THREAD_SIGNAL): Remove.
  1807. * config/nm-linux.h (struct objfile): Remove forward declaration.
  1808. (linuxthreads_new_objfile): Remove prototype.
  1809. (linuxthreads_pid_to_str): Remove prototype.
  1810. (PREPARE_TO_PROCEED): Redefine in terms of
  1811. lin_lwp_prepare_to_proceed.
  1812. (struct target_waitstatus): Forward declaration.
  1813. (child_wait): New prototype.
  1814. (CHILD_WAIT): Define.
  1815. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
  1816. GET_THREAD_SIGNAL): Moved here from arch-specific files.
  1817. * config/alpha/nm-linux.h, config/arm/nm-linux.h,
  1818. config/ia64/nm-linux.h, config/mips/nm-linux.h,
  1819. config/powerpc/nm-linux.h: Don't include <signal.h>.
  1820. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
  1821. GET_THREAD_SIGNAL): Remove.
  1822. * config/i386/nm-linux.h: Likewise.
  1823. (struct target_waitstatus, child_wait, CHILD_WAIT): Remove.
  1824. * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES):
  1825. Remove linux-thread.o. Add proc-service.o, thread-db.o and
  1826. lin-lwp.o.
  1827. (LOADLIBES): New variable.
  1828. * sparc-nat.c (fetch_core_registers): Remove redundant prototype.
  1829. * proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.
  1830. Fix attaching to cloned processes. This fixes PR gdb/61.
  1831. * lin-lwp.c (struct lwp_info): Add new member `cloned'.
  1832. (is_cloned) Removed.
  1833. (lin_lwp_attach_lwp): Don't call stop_wait_callback. Instead call
  1834. waitpid explicitly. Mark the LWP as cloned if waitpid fails and
  1835. retry with __WCLONE flag.
  1836. (lin_lwp_attach): Likewise. Warn if attaching to a cloned process.
  1837. (detach_callback): Replace use of is_cloned with explicit check on
  1838. LWP id and process id.
  1839. (stop_wait_callback): Replace use of is_cloned with check if LWP
  1840. is marked as cloned.
  1841. [CHILD_WAIT] (child_wait): New function.
  1842. (lin_lwp_wait): Replace use of is_cloned with check if LWP is
  1843. marked as cloned. Mark newly detected LWPs as cloned if detected
  1844. by waitpid with __WCLONE flag.
  1845. (kill_wait_callback): Replace use of is_cloned with check if LWP
  1846. is marked as cloned.
  1847. * config/i386/nm-linux.h (struct target_waitstatus): Add forward
  1848. declaration.
  1849. (child_wait): Add prototype.
  1850. (CHILD_WAIT): Define.
  1851. 2001-10-13 Andrew Cagney <ac131313@redhat.com>
  1852. S/390 31 & 64 bit target and GNU/Linux native support.
  1853. Contributed by D.J. Barrow <djbarrow@de.ibm.com> of IBM.
  1854. * s390-nat.c, s390-tdep.c: New file.
  1855. * config/s390/nm-linux.h, config/s390/s390.mh: New file.
  1856. * config/s390/s390.mt, config/s390/s390x.mt: New file.
  1857. * config/s390/tm-linux.h, config/s390/tm-s390.h: New file.
  1858. * config/s390/xm-linux.h: New file.
  1859. * NEWS: Update.
  1860. * MAINTAINERS: Update.
  1861. 2001-10-13 Andrew Cagney <ac131313@redhat.com>
  1862. From 2001-07-09 D.J. Barrow <djbarrow@de.ibm.com>:
  1863. * gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check
  1864. CALL_DUMMY_BREAKPOINT_OFFSET_P.
  1865. * gdbarch.c: Regenerate.
  1866. 2001-10-13 Mark Kettenis <kettenis@gnu.org>
  1867. * thread-db.c: Fix a few formatting mistakes.
  1868. 2001-10-12 Christopher Faylor <cgf@redhat.com>
  1869. * win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked
  1870. list pointer to beginning rather than one beyond beginning.
  1871. 2001-10-12 Daniel Jacobowitz <drow@mvista.com>
  1872. * symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro.
  1873. * symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
  1874. (make_symbol_completion_list): Likewise.
  1875. (make_symbol_overload_list): Likewise.
  1876. * buildsym.c (finish_block): Likewise.
  1877. * breakpoint.c (get_catch_sals): Likewise.
  1878. * mdebugread.c (mylookup_symbol): Likewise.
  1879. * objfiles.c (objfile_relocate): Likewise.
  1880. * printcmd.c (print_frame_args): Likewise.
  1881. * stack.c (print_block_frame_locals): Likewise.
  1882. (print_block_frame_labels): Likewise.
  1883. (print_frame_arg_vars): Likewise.
  1884. * symmisc.c (dump_symtab): Likewise.
  1885. * tracepoint.c (add_local_symbols): Likewise.
  1886. (scope_info): Likewise.
  1887. 2001-10-12 Daniel Jacobowitz <drow@mvista.com>
  1888. * minsyms.c (msymbol_hash): Use better hash function.
  1889. (msymbol_hash_iw): Likewise. Terminate loop at '(' properly.
  1890. * objfiles.h: Increase MINIMAL_SYMBOL_HASH_SIZE to match modern
  1891. binaries.
  1892. 2001-10-12 Daniel Jacobowitz <drow@mvista.com>
  1893. * printcmd.c (print_frame_args): Move symbol iteration explicitly
  1894. inside the func != NULL block.
  1895. 2001-10-12 Fernando Nasser <fnasser@redhat.com>
  1896. * MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/
  1897. maintainer.
  1898. 2001-10-12 Pierre Muller <muller@ics.u-strasbg.fr>
  1899. * config/i386/tm-cygwin.h: Include tm-i386.h instead of tm-i386v.h.
  1900. This fixes errors in "long long" handling for 'finish' and 'return'
  1901. commands.
  1902. 2001-10-12 Christopher Faylor <cgf@redhat.com>
  1903. * win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared
  1904. library if it has already been loaded.
  1905. (safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see
  1906. any error messages.
  1907. (safe_symbol_file_add): Ditto.
  1908. (solib_symbols_add): Make static. Accept 'from_tty' parameter. Pass
  1909. it to safe_symbol_file_add.
  1910. (core_dll_symbols_add): Accomodate extra solib_symbols_add parameter.
  1911. (child_solib_add): Ditto.
  1912. * win32-nat.c (handle_exception): Don't print "first chance"
  1913. exceptions.
  1914. (get_child_debug_event): Continue from exceptions if !handle_exception.
  1915. 2001-10-11 Tom Tromey <tromey@redhat.com>
  1916. * symtab.c (lookup_symtab): Removed.
  1917. (lookup_symtab_1): Renamed to lookup_symtab.
  1918. 2001-10-10 Christopher Faylor <cgf@redhat.com>
  1919. * win32-nat.c (get_child_debug_event): Close file handles created after
  1920. process creation and DLL load.
  1921. (child_create_inferior): Close unneeded process/thread handle after
  1922. thread creation.
  1923. 2001-10-10 Jim Blandy <jimb@redhat.com>
  1924. * mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
  1925. 2001-10-10 Keith Seitz <keiths@redhat.com>
  1926. * varobj.c (cplus_value_of_child): Deal with a failure
  1927. to dereference a pointer object.
  1928. 2001-10-08 J. Brobecker <brobecker@gnat.com>
  1929. * hpux-thread.c: rewrite find_active_thread() and find_tcb()
  1930. to use ptid_t, instead of overloading the thread and the pid
  1931. into the same 32-bit value. Make associated necessary adaptations.
  1932. Also remove unused variable cached_active_thread.
  1933. 2001-10-08 Nicholas Duffek <nsd@redhat.com>
  1934. * MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
  1935. entries.
  1936. 2001-10-06 Mark Kettenis <kettenis@beast.freebsd.org>
  1937. * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
  1938. 2001-10-04 Tom Tromey <tromey@redhat.com>
  1939. * main.c (enable_external_editor): Don't declare.
  1940. (captured_main): Don't set enable_external_editor.
  1941. 2001-10-02 Kevin Buettner <kevinb@redhat.com>
  1942. * Makefile.in (ALLDEPFILES): Add solib-svr4.c and solib-sunos.c
  1943. to this list.
  1944. (solib-sunos.o): Add dependencies.
  1945. (solib-svr4.o): Revise dependencies.
  1946. * solib-svr4.c: Remove SunOS shared library support.
  1947. * solib-sunos.c: New file, created from solib-svr4.c, which still
  1948. contains SunOS shared library support, but no SVR4 support.
  1949. * config/i386/nbsd.mh (NATDEPFILES): Remove solib-svr4.o and
  1950. solib-legacy.o from this list. Add solib-sunos.o.
  1951. * config/i386/sun386.mt (TDEPFILES): Likewise.
  1952. * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
  1953. * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
  1954. * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
  1955. * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
  1956. * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
  1957. * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
  1958. 2001-10-01 Elena Zannoni <ezannoni@redhat.com>
  1959. * Makefile.in (mipsread.o): Remove old dependency on partial-stab.h.
  1960. 2001-10-01 Elena Zannoni <ezannoni@redhat.com>
  1961. * xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
  1962. N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
  1963. CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
  1964. SET_NAMESTRING): Delete definitions.
  1965. Don't include language.h any more.
  1966. Don't include partial-stab.h any more.
  1967. (scan_xcoff_symtab): Don't jump through hoops to reuse code in
  1968. partial-stab.h, include the code directly, instead.
  1969. * Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.
  1970. 2001-10-01 Andrew Cagney <ac131313@redhat.com>
  1971. * infcmd.c (do_registers_info): Delete code dumping large
  1972. registers. Handled by val_print.
  1973. 2001-09-30 Andrew Cagney <ac131313@redhat.com>
  1974. * gdbarch.sh (gdbarch_alloc): Name the new architecture
  1975. ``current_gdbarch'' so that it, and not the identically named
  1976. global is refered to by macros.
  1977. * gdbarch.c: Regenerate.
  1978. 2001-09-29 Andrew Cagney <ac131313@redhat.com>
  1979. * cli/cli-decode.c (add_set_boolean_cmd): Define.
  1980. * cli/cli-decode.h (add_set_boolean_cmd): Declare.
  1981. * command.h (add_set_boolean_cmd): Ditto.
  1982. * remote.c (_initialize_remote): Use add_set_boolean_cmd for "set
  1983. remotebreak"
  1984. 2001-09-29 Andrew Cagney <ac131313@redhat.com>
  1985. * gdbarch.sh (gdbarch_dump): Sort output.
  1986. * gdbarch.c: Regenerate.
  1987. 2001-09-29 Andrew Cagney <ac131313@redhat.com>
  1988. * rs6000-tdep.c (rs6000_gdbarch_init): Don't use the previous
  1989. architecture to infer the wordsize. Previous architecture may not
  1990. be a PowerPC.
  1991. 2001-09-27 J. Brobecker <brobecker@gnat.com>
  1992. * infttrace.c (kill_inferior): Issue a TT_PROC_EXIT request rather
  1993. than a TT_PROC_STOP request to kill the inferior and its child
  1994. processes. Otherwise, the inferior is not killed on HPUX 11.0.
  1995. Removed the code that detaches the child processes since we just
  1996. killed them.
  1997. 2001-09-26 Andrew Cagney <ac131313@redhat.com>
  1998. * serial.c (serial_set_cmdlist, serial_show_cmdlist): New
  1999. variables.
  2000. (serial_set_cmd, serial_show_cmd): New functions.
  2001. (_initialize_serial): Add "set/show serial" command.
  2002. 2001-09-26 Andrew Cagney <ac131313@redhat.com>
  2003. * CONTRIBUTE: Update.
  2004. 2001-09-26 Kevin Buettner <kevinb@redhat.com>
  2005. * solib-svr4.h (set_solib_svr4_fetch_link_map_offsets): Add
  2006. argument ``gdbarch''.
  2007. * solib-svr4.c (SVR4_FETCH_LINK_MAP_OFFSETS): Change default value.
  2008. (default_svr4_fetch_link_map_offsets): Rename to
  2009. legacy_fetch_link_map_offsets().
  2010. (svr4_fetch_link_map_offsets): New function.
  2011. (fetch_link_map_offsets, fetch_link_map_offsets_init): Deleted.
  2012. (fetch_link_map_offsets_gdbarch_data): New static global.
  2013. (set_solib_svr4_fetch_link_map_offsets): Add argument ``gdbarch''.
  2014. Revise to invoke set_gdbarch_data().
  2015. (init_fetch_link_map_offsets): Change return type and add an
  2016. argument so that it may be used as a gdbarch_data initializer.
  2017. (_initialize_svr4_solib): Eliminate use of gdbarch swap mechanism.
  2018. Use gdbarch data mechanism instead.
  2019. 2001-09-25 Jiri Smid <smid@suse.cz>
  2020. * x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
  2021. (x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)'
  2022. by LINUX_SIGINFO_SIZE.
  2023. 2001-09-24 Andrew Cagney <ac131313@redhat.com>
  2024. * maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
  2025. variables.
  2026. (maintenance_set_profile_cmd): New function.
  2027. (maintenance_show_cmd, maintenance_set_cmd): New functions.
  2028. (_initialize_maint_cmds): Add "maintenance set" and "maintenance
  2029. show" and, commented out, "maintenance set/show profile" commands.
  2030. 2001-09-24 Andrew Cagney <ac131313@redhat.com>
  2031. * findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
  2032. convert the pointer into a CORE_ADDRs.
  2033. 2001-09-24 Andrew Cagney <ac131313@redhat.com>
  2034. * doublest.h (store_floating, extract_floating): Add comment
  2035. indicating these functions are deprecated.
  2036. (extract_typed_floating, store_typed_floating): Declare.
  2037. * doublest.c: Include "gdbtypes.h".
  2038. (extract_typed_floating, store_typed_floating): Define.
  2039. * stabsread.c (define_symbol): Use store_typed_floating.
  2040. * valarith.c (value_binop): Ditto.
  2041. * values.c (unpack_long): Use extract_typed_floating.
  2042. (unpack_double): Ditto.
  2043. 2001-09-24 Orjan Friberg <orjanf@axis.com>
  2044. * cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
  2045. from correct register.
  2046. 2001-09-22 Mark Kettenis <kettenis@gnu.org>
  2047. * x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
  2048. 2001-09-21 Jiri Smid <smid@suse.cz>
  2049. * config/i386/x86-64linux.mh: New file.
  2050. * config/i386/x86-64linux.mt: New file.
  2051. * config/i386/nm-x86_64.h: New file.
  2052. * x86-64-linux-tdep.c: New file.
  2053. * x86-64-linux-nat.c: New file.
  2054. * x86-64-tdep.c: New file.
  2055. * x86-64-tdep.h: New file.
  2056. * i386-tdep.h: New file.
  2057. * i387-nat.c: Include i386-tdep.h when multiarch.
  2058. * i387-tdep.c: Ditto.
  2059. * config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
  2060. and x86_64-linux-nat.c
  2061. * Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
  2062. x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
  2063. 2001-09-21 Jiri Smid <smid@suse.cz>
  2064. * MAINTAINERS: Add myself to the write-after-approval list.
  2065. * i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
  2066. (i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
  2067. i386_insert_watchpoint, i386_remove_watchpoint): Add support for
  2068. 8-byte wide watchpoints.
  2069. (i386_show_dr): Debug message format string change.
  2070. 2001-09-21 Michael Snyder <msnyder@redhat.com>
  2071. * c-exp.y (typebase): Accept (signed long long) as a type expr.
  2072. 2001-09-20 Michael Snyder <msnyder@redhat.com>
  2073. Changes by Daniel Berlin <dan@cgsoftware.com>, to support
  2074. better parsing of const and volatile type expressions.
  2075. * c-exp.y (const_and_volatile, const_or_volatile_noopt,
  2076. const_or_volatile): New non-terminals.
  2077. (ptype): Use new rule for const_or_volatile.
  2078. (typebase): Use new rule for const_or_volatile_noopt.
  2079. * parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
  2080. * parse.c (follow_types): Handle tp_const and tp_volatile on the
  2081. type stack: call make_cv_type to create new const/volatile type.
  2082. 2001-09-20 Kevin Buettner <kevinb@redhat.com>
  2083. * solib-svr4.c (fetch_link_map_offsets): Add comment.
  2084. (fetch_link_map_offsets_init): New static global.
  2085. (set_solib_svr4_fetch_link_map_offsets, init_fetch_link_map_offsets):
  2086. Revise implementation to use ``fetch_link_map_offsets_init''
  2087. instead of ``fetch_link_map_offsets''.
  2088. 2001-09-20 Alan Modra <amodra@bigpond.net.au>
  2089. * coffread.c: Replace all occurrences of bfd_read with bfd_bread.
  2090. * dbxread.c: Likewise.
  2091. * dwarf2read.c: Likewise.
  2092. * dwarfread.c: Likewise.
  2093. * somread.c: Likewise.
  2094. * ultra3-nat.c: Likewise.
  2095. * xcoffread.c: Likewise.
  2096. 2001-09-19 Andrew Cagney <ac131313@redhat.com>
  2097. * cris-tdep.c (cris_get_signed_offset): Change return type to an
  2098. explicitly signed char.
  2099. * config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
  2100. function signature to match recent tracepoint.c:encode_actions
  2101. changes.
  2102. * mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
  2103. 2001-09-18 Andrew Cagney <ac131313@redhat.com>
  2104. * thread.c (do_captured_thread_select): Add uiout parameter.
  2105. (do_captured_list_thread_ids): Ditto.
  2106. * breakpoint.c (do_captured_breakpoint_query): Ditto.
  2107. * breakpoint.c (gdb_breakpoint_query): Update. Use
  2108. catch_exceptions.
  2109. * thread.c (gdb_list_thread_ids): Ditto.
  2110. (gdb_thread_select): Ditto.
  2111. (thread_command): Pass uiout to gdb_thread_select.
  2112. * gdb.h (gdb_breakpoint_query): Add parameter ui_out.
  2113. (gdb_thread_select, gdb_list_thread_ids): Ditto.
  2114. 2001-09-13 Kevin Buettner <kevinb@redhat.com>
  2115. From Ilya Golubev <gin@mo.msk.ru>:
  2116. * solib.c (clear_solib): Call `remove_target_sections' to fix
  2117. stale pointers in `struct target_ops'.
  2118. * irix5-nat.c (clear_solib): Likewise.
  2119. * osfsolib.c (clear_solib): Likewise.
  2120. 2001-09-13 Jim Blandy <jimb@redhat.com>
  2121. * monitor.c (monitor_load): Don't delete symtab users, or reset
  2122. inferior_ptid.
  2123. * monitor.c (monitor_load): Fix indentation.
  2124. 2001-09-11 Jim Blandy <jimb@redhat.com>
  2125. * printcmd.c (print_scalar_formatted): Compare the length of the
  2126. value against the lengths of the target's floating-point types,
  2127. not the host's. Add support for `long double'.
  2128. * printcmd.c (print_scalar_formatted): Fix indentation.
  2129. 2001-09-10 Jim Blandy <jimb@redhat.com>
  2130. * rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
  2131. programs running on the board can produce output.
  2132. 2001-09-10 Jason Molenda (jmolenda@apple.com)
  2133. * NEWS: "ANS/ISO C" -> "ISO C".
  2134. * MAINTAINERS (write-after-approval): Update my entry.
  2135. 2001-09-08 Mark Kettenis <kettenis@gnu.org>
  2136. * config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
  2137. * config/arm/xm-linux.h, config/ia64/xm-linux.h,
  2138. config/m68k/xm-linux.h, config/mips/xm-linux.h,
  2139. config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
  2140. redundant inclusion of <unistd.h>.
  2141. * gdbtypes.h (struct block): Add forward declaration.
  2142. 2001-09-07 Andrew Cagney <ac131313@redhat.com>
  2143. * defs.h (enum return_reason): Renumber so that all values are
  2144. negative.
  2145. (RETURN_MASK): Negate reason.
  2146. (catch_exception_ftype): Declare.
  2147. (catch_exceptions): Declare.
  2148. * top.c (catcher): New function, based on catch_errors. Add in
  2149. parameter func_uiout and out parameters func_val, func_caught and
  2150. func_cleanup. Change type of func to catch_exceptions_ftype.
  2151. Save/restore uiout.
  2152. (struct catch_errors_args): Define.
  2153. (do_catch_errors): New function.
  2154. (catch_errors): Rewrite, use do_catch_errors and catcher.
  2155. (catch_exceptions): New function, use catcher.
  2156. 2001-09-07 Jim Blandy <jimb@redhat.com>
  2157. Correctly parse register values provided by the monitor.
  2158. * rom68k-rom.c: #include "value.h".
  2159. (is_hex_digit, hex_digit_value, is_whitespace,
  2160. rom68k_supply_one_register): New static functions.
  2161. (rom68k_supply_register): Call rom68k_supply_one_register, instead
  2162. of monitor_supply_register; the latter was incorrectly parsing
  2163. the values.
  2164. * Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
  2165. 2001-09-07 Mark Kettenis <kettenis@gnu.org>
  2166. * config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaults
  2167. to using setpgid if available now.
  2168. 2001-09-06 Keith Seitz <keiths@redhat.com>
  2169. From Ian Roxborough <irox@redhat.com>
  2170. * configure.in: Use ITCL_LIB_FULL_PATH and
  2171. ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
  2172. for gdb.
  2173. * configure: Regenerated.
  2174. 2001-09-06 Kevin Buettner <kevinb@redhat.com>
  2175. * dbxread.c (process_one_symbol): Don't use error result from
  2176. find_stab_function_addr().
  2177. * partial-stab.h (case 'F'): Likewise.
  2178. * partial-stab.h (case 'f'): Make SOFUN_ADDRESS_MAYBE_MISSING
  2179. code match that used for case 'F'. This fixes the divergence
  2180. that was introduced by my 1999-09-14 changes to partial-stab.h.
  2181. 2001-09-05 Elena Zannoni <ezannoni@redhat.com>
  2182. * gdbarch.sh: Move include of dis-asm.h so it is generated earlier
  2183. in gdbarch.h.
  2184. (TARGET_PRINT_INSN): Multiarch.
  2185. * gdbarch.h: Regenerate.
  2186. * gdbarch.c: Regenerate.
  2187. * arch-utils.c (legacy_print_insn): New function.
  2188. * arch-utils.h (legacy_print_insn): Export.
  2189. * cris-tdep.c (cris_delayed_get_disassembler): Use
  2190. TARGET_PRINT_INSN, instead of tm_print_insn.
  2191. * d10v-tdep.c (print_insn): Ditto.
  2192. * d30v-tdep.c (print_insn): Ditto.
  2193. * m32r-tdep.c (dump_insn): Ditto.
  2194. * v850-tdep.c (v850_scan_prologue): Ditto.
  2195. * mcore-tdep.c (mcore_dump_insn): Ditto.
  2196. * sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
  2197. 2001-09-05 Jim Blandy <jimb@redhat.com>
  2198. * gdbtypes.h (struct type): Doc fix.
  2199. 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
  2200. From Daniel Jacobowitz <drow@mvista.com>
  2201. * dbxread.c (free_header_files): Make global.
  2202. (init_header_files): Likewise.
  2203. * stabsread.h (free_header_files): Add prototype.
  2204. (init_header_files): Likewise.
  2205. * mdebugread.c (mdebug_build_psymtabs): Initialize
  2206. properly before using the stabs debug reader.
  2207. 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
  2208. From Daniel Jacobowitz <drow@mvista.com>
  2209. * dbxread.c (dbx_symfile_read): Only reinitialize
  2210. the psymbol list if mainline or if both static
  2211. and global lists are empty.
  2212. * dwarf2read.c (dwarf2_build_psymtabs): Likewise.
  2213. * dwarfread.c (dwarf_build_psymtabs): Likewise.
  2214. * xcoffread.c (xcoff_initial_scan): Likewise.
  2215. * os9kread.c (os9k_symfile_read): Likewise.
  2216. 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
  2217. From Daniel Jacobowitz <drow@mvista.com>
  2218. * mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without
  2219. a name specially.
  2220. 2001-09-01 Mark Kettenis <kettenis@gnu.org>
  2221. Make GDB use libiberty regex implementation.
  2222. * gdb_regex.h: Normalize protection against multiple inclusion.
  2223. Include "xregex.h" instead of "gnu-regex.h".
  2224. * cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h".
  2225. * cli/cli-decode.c: Likewise.
  2226. * Makefile.in (REGEX): Remove.
  2227. (GDB_CFLAGS): Remove reference to gnu-regex.h in comment.
  2228. (ADD_FILES, ADD_DEPS): Remove $(REGEX).
  2229. (POSSLIBS): Remove.
  2230. (TAGFILES_NO_SRCDIR): Remove $(POSSLIBS).
  2231. (irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o,
  2232. xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with
  2233. gdb_regex.h in list of dependencies.
  2234. (gnu-regex.o): Remove rule.
  2235. * gnu-regex.c, gnu-regex.h: Remove files.
  2236. 2001-08-31 Jason Molenda (jmolenda@apple.com)
  2237. * c-valprint.c (c_val_print): Second call to check_typedef ()
  2238. is no longer necessary.
  2239. 2001-08-31 Kevin Buettner <kevinb@redhat.com>
  2240. * ia64-tdep.c (examine_prologue): Don't let a branch unit nop
  2241. terminate the prologue scan.
  2242. 2001-08-30 Jim Blandy <jimb@redhat.com>
  2243. * symfile.c (sections_overlap): New function.
  2244. (map_overlay_command): Call sections_overlap, instead of using
  2245. incorrect logic to recognize overlapping sections.
  2246. * symfile.c (load_command): Invalidate the overlay cache.
  2247. 2001-08-30 Mark Kettenis <kettenis@gnu.org>
  2248. * config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.
  2249. 2001-08-29 Kevin Buettner <kevinb@redhat.com>
  2250. From 2001-08-07 Daniel Jacobowitz <drow@mvista.com>:
  2251. * solib-svr4.c (enable_break): Check the inferior link map
  2252. before assuming the inferior PC is at the start of the dynamic
  2253. loader.
  2254. 2001-08-28 Andrew Cagney <cagney@toribio.toronto.redhat.com>
  2255. * frame.h (struct frame_info): Fix documentation on fields
  2256. saved_regs, next and prev.
  2257. 2001-08-23 Mark Kettenis <kettenis@gnu.org>
  2258. * event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
  2259. gratuitious whitespace changes.
  2260. [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined.
  2261. * top.c: Remove redundant logic to define HAVE_SIGSETMASK.
  2262. (sigsetmask) Don't define macro.
  2263. (stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from
  2264. async_stop_sig from event-top.c.
  2265. [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is
  2266. defined.
  2267. * configure.in (AC_CHECK_FUNCS): Put functions in alphabetical
  2268. order. Add sigsetmask.
  2269. (AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in
  2270. alphabetical order.
  2271. * config/xm-aix4.h, config/alpha/xm-alphalinux.h,
  2272. config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h
  2273. (HAVE_SIGSETMASK): Remove.
  2274. * aclocal.m4, config.in, configure: Regenerated.
  2275. 2001-08-26 Andrew Cagney <ac131313@redhat.com>
  2276. From 2001-06-29 Andrew Cagney <ac131313@redhat.com>:
  2277. * config/powerpc/nbsd.mh (XM_FILE): Delete.
  2278. 2001-08-21 Andrew Cagney <ac131313@redhat.com>
  2279. * doublest.h (HOST_FLOAT_FORMAT): Delete macro.
  2280. (HOST_DOUBLE_FORMAT): Delete macro.
  2281. 2001-08-24 Mark Kettenis <kettenis@gnu.org>
  2282. * config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,
  2283. config/i386/xm-i386aix.h, config/m68k/xm-dpx2.h: Remove redundant
  2284. inclusion of <limits.h>.
  2285. 2001-08-24 Andrew Cagney <ac131313@redhat.com>
  2286. * regcache.c (read_register_bytes): When REGISTER_NAME indicates
  2287. that a register should be ignored, supply a value for the register
  2288. from the raw registers[] buffer.
  2289. 2001-08-24 Andrew Cagney <ac131313@redhat.com>
  2290. * go32-nat.c (go32_create_inferior): Use xfree instead of free.
  2291. * config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and
  2292. i386bsd-nat.c.
  2293. 2001-08-21 Andrew Cagney <ac131313@redhat.com>
  2294. * gdbtypes.h (builtin_type_ieee_single_big)
  2295. (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
  2296. (builtin_type_ieee_double_little)
  2297. (builtin_type_ieee_double_littlebyte_bigword)
  2298. (builtin_type_i387_ext, builtin_type_m68881_ext)
  2299. (builtin_type_i960_ext, builtin_type_m88110_ext)
  2300. (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
  2301. (builtin_type_arm_ext_littlebyte_bigword)
  2302. (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
  2303. (builtin_type_ia64_quad_big)
  2304. (builtin_type_ia64_quad_little): Declare.
  2305. * gdbtypes.c (builtin_type_ieee_single_big)
  2306. (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
  2307. (builtin_type_ieee_double_little)
  2308. (builtin_type_ieee_double_littlebyte_bigword)
  2309. (builtin_type_i387_ext, builtin_type_m68881_ext)
  2310. (builtin_type_i960_ext, builtin_type_m88110_ext)
  2311. (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
  2312. (builtin_type_arm_ext_littlebyte_bigword)
  2313. (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
  2314. (builtin_type_ia64_quad_big)
  2315. (builtin_type_ia64_quad_little): Define.
  2316. (_initialize_gdbtypes): Initialize builtin floatformat types.
  2317. 2001-08-23 Mark Kettenis <kettenis@gnu.org>
  2318. * tracepoint.c (read_actions): Add FIXME for code depending on
  2319. STOP_SIGNAL.
  2320. 2001-08-23 Martin M. Hunt <hunt@redhat.com>
  2321. * remote-mips.c (pmon_load_fast): Add ui_load_progress_hook
  2322. to download loop.
  2323. (mips_load_srec): Ditto.
  2324. 2001-08-22 Andrew Cagney <ac131313@redhat.com>
  2325. * gdbtypes.c (build_gdbtypes): Initialize TYPE_FLOATFORMAT field
  2326. of builtin_type_float, builtin_type_double and
  2327. builtin_type_long_double.
  2328. (recursive_dump_type): Print the floatformat name.
  2329. * gdbtypes.h (struct type): Add type_specific field floatformat.
  2330. (TYPE_FLOATFORMAT): Define
  2331. 2001-08-21 Keith Seitz <keiths@redhat.com>
  2332. * printcmd.c (print_insn): Use the given stream for
  2333. output.
  2334. 2001-07-24 Andrew Cagney <ac131313@redhat.com>
  2335. * arm-tdep.c (convert_from_extended, convert_to_extended): Delete
  2336. assembler version of function.
  2337. (convert_from_extended, convert_to_extended): Rewrite. Use
  2338. floatformat_to_doublest, floatformat_from_doublest,
  2339. floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword.
  2340. (arm_push_arguments): Use extract_floating and store_floating to
  2341. perform floating point conversions.
  2342. (SWAP_TARGET_AND_HOST): Delete macro.
  2343. * arm-linux-tdep.c (arm_linux_push_arguments): Use
  2344. extract_floating and store_floating to perform floating point
  2345. conversions.
  2346. 2001-08-20 Andrew Cagney <ac131313@redhat.com>
  2347. * gdbtypes.h (struct type): Clarify meaning of field ``length''.
  2348. 2001-08-17 Keith Seitz <keiths@redhat.com>
  2349. * varobj.c (varobj_update): Change first parameter to
  2350. pointer to struct varobj*. This function can delete
  2351. varobjs, so we need to give callers the new varobj
  2352. when this happens.
  2353. (value_of_root): Update "var", too, if "var_handle"
  2354. changes.
  2355. * varobj.h (varobj_update): Likewise.
  2356. 2001-08-17 Keith Seitz <keiths@redhat.com>
  2357. * Makefile.in (varobj_h): Define.
  2358. (mi-cmd-var.o): Depends on varobj_h.
  2359. (gdbtk-varobj.o): Change varobj.h to $(varobj_h).
  2360. 2001-08-16 Keith Seitz <keiths@redhat.com>
  2361. * configure.in (GDBTK_SRC_DIR): We must have autoconf
  2362. give us the absolute path to the source directory.
  2363. * configure: Regenerated.
  2364. * Makefile.in (GDBTK_SRC_DIR): Add variable so that
  2365. autoconf can substitue it in for us.
  2366. (gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We
  2367. really do need an absolute pathname.
  2368. 2001-08-15 Keith Seitz <keiths@redhat.com>
  2369. * Makefile.in (GDBTK_VERSION): Set a version number.
  2370. (GDBTK_LIBRARY): New variable to point to location where
  2371. gdbtk will install its tcl library. Changed all refereneces
  2372. to $(datadir)/insight1.0 to $(GDBTK_LIBRARY).
  2373. (SUBDIR_GDBTK_ALL): Remove "all-gdbtk". No longer needed.
  2374. (SUBDIR_GDBTK_CLEAN): Remove "clean-gdbtk". No longer needed.
  2375. (all-gdbtk): Remove.
  2376. (install-gdbtk): Remove.
  2377. (gdbtk.o): Pass srcdir to file when compiling.
  2378. 2001-08-15 Ian Roxborough <irox@redhat.com>
  2379. * Makefile.in: Changed all references to the install directory
  2380. "gdbtcl" to read "insight1.0".
  2381. 2001-08-15 Corinna Vinschen <vinschen@redhat.com>
  2382. * arch-utils.c (generic_skip_trampoline_code): New function.
  2383. * arch-utils.h (generic_skip_trampoline_code): Declare external.
  2384. * gdbarch.c: Regeberated from gdbarch.sh.
  2385. * gdbarch.h: Ditto.
  2386. * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Multi-arch.
  2387. * infrun.c: Remove default setting of SKIP_TRAMPOLINE_CODE macro.
  2388. 2001-08-14 Daniel Jacobowitz <drow@mvista.com>
  2389. H.J. Lu (hjl@gnu.org)
  2390. * partial-stab.h: valu should be a CORE_ADDR.
  2391. 2001-08-14 H.J. Lu (hjl@gnu.org)
  2392. * dbxread.c (SWAP_SYMBOL): Removed.
  2393. (INTERNALIZE_SYMBOL): Check sign extended vma.
  2394. 2001-08-13 Christopher Faylor <cgf@cygnus.com>
  2395. * top.c (SIGSETJMP): Protect env argument with parentheses.
  2396. (SIGLONGJMP): Protect env argument with parentheses.
  2397. 2001-08-11 Andrew Cagney <ac131313@redhat.com>
  2398. * config/mn10300/mn10300.mt (TM_FILE): Delete.
  2399. * configure.tgt: Add mn10300 to list of mulit-arch targets.
  2400. * config/mn10300/tm-mn10300.h: Delete file. Move contents ...
  2401. * mn10300-tdep.c: To here.
  2402. 2001-08-11 Andrew Cagney <ac131313@redhat.com>
  2403. * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_VIRTUAL): Make
  2404. val a DOUBLEST. Use floatformat_to_doublest.
  2405. (REGISTER_CONVERT_TO_RAW): Ditto. Use foatformat_from_doublest.
  2406. * config/m88k/tm-m88k.h (REGISTER_CONVERT_TO_VIRTUAL): Ditto.
  2407. (REGISTER_CONVERT_TO_RAW): Ditto.
  2408. 2001-08-11 Andrew Cagney <ac131313@redhat.com>
  2409. * config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
  2410. * mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
  2411. sp_regnum.
  2412. 2001-08-11 Andrew Cagney <ac131313@redhat.com>
  2413. * doublest.c (convert_doublest_to_floatformat): Rename
  2414. floatformat_from_doublest. Make static.
  2415. (convert_floatformat_to_doublest): Rename floatformat_to_doublest.
  2416. Make static.
  2417. (floatformat_to_doublest): New function.
  2418. (floatformat_from_doublest): New function.
  2419. (host_float_format, host_double_format, host_long_double_format):
  2420. New static variables.
  2421. (store_floating, extract_floating): Always use
  2422. floatformat_to_doublest and floatformat_from_doublest.
  2423. * doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.
  2424. 2001-08-11 Andrew Cagney <ac131313@redhat.com>
  2425. * config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
  2426. * mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.
  2427. 2001-08-07 Andrew Cagney <ac131313@redhat.com>
  2428. * target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
  2429. * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add.
  2430. * gdbarch.h, gdbarch.c: Regenerate.
  2431. * arch-utils.h (legacy_virtual_frame_pointer): Declare.
  2432. * arch-utils.c: Include "gdb_assert.h".
  2433. (legacy_virtual_frame_pointer): Define.
  2434. * Makefile.in (arch-utils.o): Depends on gdb_assert.h.
  2435. * tracepoint.c (encode_actions): Make frame_reg an int. Make
  2436. frame_offset a LONGEST.
  2437. * ax-gdb.c (gen_frame_args_address): Ditto.
  2438. (gen_frame_locals_address): Ditto.
  2439. * mn10300-tdep.c (mn10300_gdbarch_init): Initialize
  2440. virtual_frame_pointer.
  2441. (mn10300_virtual_frame_pointer): Make static. Update parameter
  2442. list to match function signature.
  2443. * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
  2444. 2001-08-10 Keith Seitz <keiths@redhat.com>
  2445. * gdb-events.sh: Add architecture_changed event.
  2446. * gdbarch.sh: Include gdb-event.h.
  2447. (gdbarch_update_p): Notify UIs when architecture changes.
  2448. * gdb-events.h: Regenerated.
  2449. * gdb-events.c: Regenerated.
  2450. * gdbarch.c: Regenerated.
  2451. 2001-08-10 Michael Snyder <msnyder@redhat.com>
  2452. * regcache.c (legacy_write_register_gen): Don't 'optimize out'
  2453. a write_register to a pseudo-reg. Target_store_pseudo_register
  2454. needs to get called, because these regs may be computed and may
  2455. have side-effects.
  2456. 2001-08-10 Keith Seitz <keiths@redhat.com>
  2457. * gdb-events.sh: Deal with event notifications with no
  2458. arguments.
  2459. 2001-08-10 Orjan Friberg <orjanf@axis.com>
  2460. * remote.c (read_frame): Correct off-by-one error in condition.
  2461. 2001-08-08 Don Howard <dhoward@redhat.com>
  2462. * stabsread.c (read_type): Add support for const and volatile
  2463. modifiers.
  2464. 2001-08-02 Daniel Jacobowitz <drow@mvista.com>
  2465. * core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T
  2466. and HAVE_FPREGSET_T checks. Use gdb_gregset_t and gdb_fpregset_t.
  2467. 2001-08-02 Keith Seitz <keiths@redhat.com>
  2468. * defs.h (SLASH_STRING): If not defined, set
  2469. to "/", regardless of _WIN32, __CYGWIN__, or
  2470. whatnot.
  2471. 2001-08-02 Mark Kettenis <kettenis@gnu.org>
  2472. * cli/cli-decode.h: Include "gdb_regex.h" instead of
  2473. "gnu-regex.h".
  2474. * NEWS: Update.
  2475. 2001-08-02 Eli Zaretskii <eliz@is.elta.co.il>
  2476. * config/i386/xm-go32.h: Include xm-i386.h.
  2477. (HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions.
  2478. 2001-08-02 Eli Zaretskii <eliz@is.elta.co.il>
  2479. The following changes avoid polluting global namespace with the
  2480. `enable' and `disable' identifiers, because some platforms define
  2481. in their system headers symbols with global scope that go by those
  2482. names.
  2483. * breakpoint.h (enum enable_state): Rename from `enum enable'.
  2484. Also rename all the enum members to have the "bp_" prefix.
  2485. (struct breakpoint): Rename the `enable' member to `enable_state'.
  2486. (enum bpdisp): Rename all members to have the "disp_" prefix.
  2487. * breakpoint.c: All users of `enum enable' and `enum bpdisp'
  2488. changed.
  2489. (args_for_catchpoint_enable): Rename the `enable' member to
  2490. `enable_p'. All users changed.
  2491. * tracepoint.h (enum enable): Remove.
  2492. (struct tracepoint): The member `enabled' is now `int enabled_p'.
  2493. * tracepoint.c: All users of the `enabled' member changed.
  2494. * printcmd.c (struct display): The `status' member is now an int.
  2495. * memattr.h (struct mem_region): Rename the `status' member to
  2496. `enabled_p'.
  2497. (enum enable): Remove.
  2498. * memattr.c: Change all users of the `status' member of struct
  2499. mem_region to use `enabled_p' instead.
  2500. * infcmd.c (run_stack_dummy): Use disp_del instead of del.
  2501. * go32-nat.c: Remove the kludgey work-around for conflicts between
  2502. <dos.h> and "breakpoint.h".
  2503. 2001-08-02 Corinna Vinschen <vinschen@redhat.com>
  2504. * MAINTAINERS: Add myself to the write-after-approval list.
  2505. * ser-tcp.c (tcp_open): Use `localhost' as default host if no
  2506. hostname is given.
  2507. 2001-08-01 Andrew Cagney <ac131313@redhat.com>
  2508. * doublest.h (store_floating, floatformat_to_doublest): Make IN
  2509. paramter a const void pointer.
  2510. (floatformat_from_doublest): Make IN const, Make OUT a void
  2511. pointer.
  2512. * doublest.c (floatformat_to_doublest): Update.
  2513. (floatformat_from_doublest): Update.
  2514. (extract_floating): Update.
  2515. 2001-07-31 Andrew Cagney <ac131313@redhat.com>
  2516. * defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
  2517. (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
  2518. (HOST_LONG_DOUBLE_FORMAT, DOUBLEST)
  2519. (floatformat_to_doublest, floatformat_from_doublest)
  2520. (floatformat_is_negative, floatformat_is_nan)
  2521. (floatformat_mantissa, store_floating)
  2522. (extract_floating): Move declaration from here.
  2523. * doublest.h: To here. New file.
  2524. * utils.c (get_field, floatformat_to_doublest, put_field)
  2525. (ldfrexp, floatformat_from_doublest, floatformat_is_negative)
  2526. (floatformat_is_nan, floatformat_mantissa)
  2527. (FLOATFORMAT_CHAR_BIT): Move from here.
  2528. * doublest.c: To here. New file.
  2529. * findvar.c (store_floating, extract_floating): Move from here.
  2530. * doublest.c: To here.
  2531. * Makefile.in (SFILES): Add doublest.c.
  2532. (COMMON_OBS): Add doublest.o.
  2533. (doublest.o): Specify dependencies.
  2534. (doublest_h): Define.
  2535. * config/m88k/tm-m88k.h: Include "doublest.h".
  2536. * config/i960/tm-i960.h: Ditto.
  2537. * config/i386/tm-symmetry.h: Ditto.
  2538. * rs6000-tdep.c, valarith.c: Ditto.
  2539. * valprint.c, stabsread.c, sh-tdep.c: Ditto.
  2540. * ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto.
  2541. * values.c, arm-tdep.c, arm-linux-tdep.c: Ditto.
  2542. * alpha-tdep.c, ax.h, expression.h: Ditto.
  2543. * sh-tdep.c, parse.c, top.c, value.h: Ditto.
  2544. * Makefile.in (arm-tdep.o): Add $(doublest_h).
  2545. (i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto.
  2546. (rs6000-tdep.o, stabsread.o, valarith.o): Ditto.
  2547. (values.o, valprint.o, arm-linux-tdep.o): Ditto.
  2548. (alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto.
  2549. (parser_defs_h): Ditto.
  2550. (expression_h): Add $(doublest_h) and $(symtab_h).
  2551. 2001-08-01 Andrew Cagney <ac131313@redhat.com>
  2552. * Makefile.in: Sort header definitions.
  2553. (parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define.
  2554. Replace parser-defs.h with $(parser_defs_h). Replace $(dis-asm_h)
  2555. and $(dis-asm.h) with $(dis_asm_h). Replace annotate.h with
  2556. $(annotate_h). Replace target.h with $(target_h). Replace
  2557. gdbthread.h with $(gdb_thread_h). Replace symfile.h with $(symfile_h).
  2558. 2001-07-31 Mark Kettenis <kettenis@gnu.org>
  2559. * config/i386/xm-i386.h: New file.
  2560. * config/i386/xm-fbsd.h: Removed.
  2561. * config/i386/xm-linux.h: Removed.
  2562. * config/i386/fbsd.mh: Reorganize a bit.
  2563. (XM_FILE): Set to xm-i386.h instead of xm-fbsd.h.
  2564. * config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of
  2565. xm-linux.h.
  2566. 2001-07-30 Jim Blandy <jimb@redhat.com>
  2567. * dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix.
  2568. 2001-07-27 Daniel Jacobowitz <drow@mvista.com>
  2569. * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
  2570. Check for SETPGRP_VOID separately if cross-compiling and ISO C
  2571. headers are available.
  2572. 2001-07-30 Mark Kettenis <kettenis@gnu.org>
  2573. * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
  2574. i386_dwarf_reg_to_regnum.
  2575. * i386-tdep.c (i386_register_convert_to_virtual): Replace
  2576. assertion with a warning if we're asked to convert towards a
  2577. non-floating-point type. Zero out the the buffer where the data
  2578. is supposed to be stored in that case.
  2579. 2001-07-29 Eli Zaretskii <eliz@is.elta.co.il>
  2580. * config/djgpp/djconfig.sh: Unset CDPATH.
  2581. * go32-nat.c (get_cr3): Temporary disable support for page tables
  2582. in UMBs, as it is incomplete.
  2583. Support for stepping through longjmp in DJGPP programs:
  2584. * config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
  2585. (GET_LONGJMP_TARGET): Define to call get_longjmp_target.
  2586. (get_longjmp_target): Add prototype.
  2587. 2001-07-28 Andrew Cagney <ac131313@redhat.com>
  2588. Fix some PID/TPID fallout for HP/UX.
  2589. From 2001-07-22 Rodney Brown <rbrown64@csc.com.au>:
  2590. * infttrace.c (ptrace_wait): Match external declaration,
  2591. and match target_post_wait declaration.
  2592. 2001-07-28 Andrew Cagney <ac131313@redhat.com>
  2593. * MAINTAINERS: Add Orjan Friberg as cris target maintainer.
  2594. (cris): Set --enable-gdb-build-warnings flag to -w.
  2595. 2001-07-28 Andrew Cagney <ac131313@redhat.com>
  2596. From 2001-07-23 Andreas Schwab <schwab@suse.de>:
  2597. * config/m68k/tm-m68k.h (TARGET_LONG_DOUBLE_FORMAT): Define.
  2598. (TARGET_LONG_DOUBLE_BIT): Define.
  2599. (REGISTER_VIRTUAL_SIZE): Return 12 for floating point registers.
  2600. (MAX_REGISTER_VIRTUAL_SIZE): Increase to 12.
  2601. (REGISTER_VIRTUAL_TYPE): Return builtin_type_long_double for
  2602. floating point registers.
  2603. (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL)
  2604. (REGISTER_CONVERT_TO_RAW): Remove.
  2605. * config/m68k/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define.
  2606. 2001-07-26 Andrew Cagney <ac131313@redhat.com>
  2607. * thread.c, breakpoint.c: Include "gdb.h".
  2608. * Makefile.in (gdb_h): Define.
  2609. (HFILES_NO_SRCDIR): Add gdb.h.
  2610. (mi-cmd-break.o, mi-main.o, thread.o)
  2611. (breakpoint.o): Add dependency on $(gdb_h).
  2612. * defs.h (enum gdb_rc, gdb_breakpoint_query)
  2613. (gdb_breakpoint, gdb_thread_select)
  2614. (gdb_list_thread_ids): Move declaration from here ...
  2615. * gdb.h: To here. New file.
  2616. 2001-07-28 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2617. * Makefile.in (SUBDIR_TUI_OBS): Add tui-out.o, tui-hooks.o.
  2618. (SUBDIR_TUI_SRCS): Add tui-out.c tui-hooks.c
  2619. (SFILES): Likewise.
  2620. (tui-out.o): Define dependencies.
  2621. (tui-hooks.o): Likewise.
  2622. 2001-07-28 Andrew Cagney <ac131313@redhat.com>
  2623. * MAINTAINERS: Update e-mail address of active @cygnus.com
  2624. maintainers to @redhat.com.
  2625. 2001-07-28 Andrew Cagney <ac131313@redhat.com>
  2626. * README (Known bugs): Delete section.
  2627. (Kernel debugging): Delete section.
  2628. (Languages other than C): Delete section.
  2629. (Host/target specific installation notes) New section.
  2630. 2001-07-28 Mark Kettenis <kettenis@gnu.org>
  2631. * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
  2632. DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
  2633. (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
  2634. prototypes.
  2635. * config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
  2636. config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
  2637. i386_dwarf_reg_to_regnum.
  2638. * i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
  2639. New functions.
  2640. * i386-tdep.c: Include "gdb_assert.h"
  2641. (i386_register_convert_to_virtual): Fix such that it can handle
  2642. conversion to any floating-point type. Assert that we are dealing
  2643. with a floating-point first.
  2644. (i386_register_convert_to_raw): Assert that TYPE is a
  2645. floating-point type with length 12.
  2646. 2001-07-27 John R. Moore <jmoore@redhat.com>
  2647. * configure.in: Added dependency of gdb on tcl/tk libraries.
  2648. * Makefile.in: Likewise.
  2649. * configure: Regenerated with the above using autoconf.
  2650. 2001-07-26 Elena Zannoni <ezannoni@redhat.com>
  2651. * sh-tdep.c (sh_gdbarch_init): Use SH_DEFAULT_NUM_REGS instead of
  2652. NUM_REGS.
  2653. (SH_DEFAULT_NUM_REGS): Define.
  2654. 2001-07-26 Eli Zaretskii <eliz@is.elta.co.il>
  2655. * go32-nat.c (read_memory_region): Make sure the segment limit was
  2656. indeed set, to work around a Windows 2000 bug.
  2657. 2001-07-25 Daniel Jacobowitz <drow@mvista.com>
  2658. * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
  2659. * infttrace.c (child_xfer_memory): Likewise.
  2660. * symm-nat.c (child_xfer_memory): Likewise.
  2661. * gdbserver/low-hppabsd.c (read_inferior_memory): Likewise.
  2662. (write_inferior_memory): Likewise.
  2663. * gdbserver/low-linux.c (read_inferior_memory): Likewise.
  2664. (write_inferior_memory): Likewise.
  2665. * gdbserver/low-lynx.c (read_inferior_memory): Likewise.
  2666. (write_inferior_memory): Likewise.
  2667. * gdbserver/low-nbsd.c (read_inferior_memory): Likewise.
  2668. (write_inferior_memory): Likewise.
  2669. * gdbserver/low-sparc.c (read_inferior_memory): Likewise.
  2670. (write_inferior_memory): Likewise.
  2671. * gdbserver/low-sun3.c (read_inferior_memory): Likewise.
  2672. (write_inferior_memory): Likewise.
  2673. 2001-07-25 Eli Zaretskii <eliz@is.elta.co.il>
  2674. * README: Mention how to make gdb.pdf.
  2675. * NEWS: Update.
  2676. 2001-07-24 Stephen P. Smith <ischis2@home.com>
  2677. * MAINTAINERS (Stephen P. Smith): Added to write after approval
  2678. list.
  2679. 2001-07-23 Andrew Cagney <ac131313@redhat.com>
  2680. * mips-tdep.c (mips_push_arguments): Add comment explaining
  2681. problem with LE o32 GCC.
  2682. 2001-07-23 Elena Zannoni <ezannoni@redhat.com>
  2683. * config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker
  2684. doesn't understand them.
  2685. 2001-07-23 Elena Zannoni <ezannoni@redhat.com>
  2686. * memattr.c (mem_info_command): Reformat output to look more like
  2687. 'info break' output.
  2688. (_initialize_mem): Improve help.
  2689. 2001-07-23 Mark Kettenis <kettenis@gnu.org>
  2690. * configure.in (AC_CHECK_FUNCS): Add setpggrp.
  2691. (AC_FUNC_SETPGRP): Add.
  2692. * aclocal.m4, configure, config.in: Regenerated.
  2693. * inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and
  2694. SETPGRP_ARGS. Always use setpgid if it is available, fall back on
  2695. setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to
  2696. distinguish between the two setpgrp flavours.
  2697. * config/xm-sysv4.h, config/arm/xm-linux.h,
  2698. config/i386/xm-i386aix.h, config/i386/xm-sco.h,
  2699. config/i386/xm-linux.h, config/i386/xm-ptx.h,
  2700. config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
  2701. config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h,
  2702. config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove.
  2703. * config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
  2704. 2001-07-23 Eli Zaretskii <eliz@is.elta.co.il>
  2705. * go32-nat.c (read_memory_region): Set the granularity bit of the
  2706. allocated segment according to its size, and adjust the limit to
  2707. be page-aligned if the segment is page-granular.
  2708. * (get_cr3, get_pde, get_pte, display_ptable_entry, go32_pde)
  2709. (display_page_table, go32_pte, go32_pte_for_address): New functions.
  2710. (_initialize_go32_nat): Initialize and document them.
  2711. 2001-07-22 Mark Kettenis <kettenis@gnu.org>
  2712. * i386gnu-nat.c: Include "i387-nat.h".
  2713. (struct env387): Removed.
  2714. (reg_offset): Fix comment.
  2715. (fetch_fpregs): Use FCTRL_REGNUM and FOP_REGNUM instead of
  2716. FIRST_FPU_CONTROL_REGNUM and LAST_FPU_CONTROL_REGNUM. Rewrite to
  2717. use i387_supply_fsave.
  2718. (gnu_fetch_registers): Remove spurious whitespace.
  2719. (convert_to_env387): Remove.
  2720. (store_fpregs): Add argument regno. Use i387_fill_fsave instead
  2721. of convert_to_env387.
  2722. (gnu_store_registers): Remove spurious whitespace. Pass REGNO to
  2723. store_fpregs.
  2724. * config/i386/i386gnu.mt (TDEPFILES): Add i387-tdep.o.
  2725. * config/i386/i386gnu.mh (XDEPFILES): Remove i387-tdep.o.
  2726. (NATDEPFILES): Add i387-nat.o.
  2727. 2001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2728. * Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.
  2729. (m68hc11-tdep.o): Define dependencies.
  2730. 2001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2731. * m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.
  2732. 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2733. * utils.c (init_page_info): Use tui_get_command_dimension.
  2734. * printcmd.c (disassemble_command): Simplify tui specific code,
  2735. use tui_is_window_visible, tui_show_assembly.
  2736. 2001-07-21 Mark Kettenis <kettenis@gnu.org>
  2737. * i386bsd-nat.c: Do not include <sys/sysctl.h>.
  2738. (_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific
  2739. code to ...
  2740. * i386fbsd-nat.c: ... here. New file.
  2741. * config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o.
  2742. * config/i386/nm-fbsd.h (CHILD_RESUME): Define.
  2743. * Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c.
  2744. (i386fbsd-nat.o): Add dependencies.
  2745. 2001-07-19 Daniel Jacobowitz <drow@mvista.com>
  2746. * signals.c: New file.
  2747. * Makefile.in: Add signals.o.
  2748. * target.c (struct signals, target_signal_to_name)
  2749. (target_signal_from_name, target_signal_from_host)
  2750. (do_target_signal_to_host, target_signal_to_host_p)
  2751. (target_signal_to_host, target_signal_from_command): Move to
  2752. signals.c.
  2753. (initialize_targets): Move check of struct signals to...
  2754. * signals.c (_initialize_signals): Here.
  2755. 2001-07-19 Andrew Cagney <ac131313@redhat.com>
  2756. * MAINTAINERS: Add Michael Chastain as C++ testsuite maintainer.
  2757. 2001-07-19 Andrew Cagney <ac131313@redhat.com>
  2758. From Stephen Smith:
  2759. * configure.tgt (i*86-*-pe*): New target.
  2760. 2001-07-19 Andrew Cagney <ac131313@redhat.com>
  2761. From 2001-07-16 Rodney Brown <rbrown64@csc.com.au>:
  2762. * infttrace.c (child_thread_alive): Fix gdb_tid typo.
  2763. * somsolib.c (no_shared_libraries): Provide stub.
  2764. * xcoffsolib.c (no_shared_libraries): Provide stub.
  2765. 2001-07-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2766. * Makefile.in (COMMON_OBS): Remove tui-file.o.
  2767. (SUBDIR_TUI_OBS): Add it here.
  2768. (SUBDIR_TUI_SRCS): Move tui-file.c and tui-file.h here.
  2769. (main.o): Remove dependency with tui-file.h.
  2770. 2001-07-17 Elena Zannoni <ezannoni@redhat.com>
  2771. * Makefile.in (tui-file.o): Update dependencies.
  2772. 2001-07-17 Elena Zannoni <ezannoni@redhat.com>
  2773. * top.c (catch_errors): Convert PTR to void * in parameters list.
  2774. (quit_cover): Ditto.
  2775. 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2776. * source.c (find_source_lines): Remove tui test, must be replaced
  2777. by appropriate warning hook.
  2778. (print_source_lines): Remove tui hacks, must be replaced by cli.
  2779. (forward_search_command): Remove tui hacks, can be replaced by
  2780. appropriate calls to identify_source_line when tui scrolls.
  2781. (reverse_search_command): Likewise.
  2782. 2001-07-16 Nick Duffek <nsd@redhat.com>
  2783. * remote.c (init_remote_ops, init_remote_cisco_ops,
  2784. init_remote_async_ops): Set to_pid_to_str and
  2785. to_extra_thread_info correctly and in the same order as declared
  2786. in target.h.
  2787. 2001-07-16 Andrew Cagney <ac131313@redhat.com>
  2788. * remote.c: Revert below. Included more than intended.
  2789. 2001-07-16 Nick Duffek <nsd@redhat.com>
  2790. * remote.c (init_remote_ops, init_remote_cisco_ops,
  2791. init_remote_async_ops): Set to_pid_to_str and
  2792. to_extra_thread_info correctly and in the same order as declared
  2793. in target.h.
  2794. 2001-07-16 Nick Duffek <nsd@redhat.com>
  2795. * findvar.c (read_var_value): Apply value_as_pointer() to
  2796. addresses retrieved from the target for LOC_BASEREG and
  2797. LOC_BASEREG_ARG variables.
  2798. 2001-07-16 Orjan Friberg <orjanf@axis.com>
  2799. * NEWS: New target CRIS.
  2800. 2001-07-16 Elena Zannoni <ezannoni@redhat.com>
  2801. * top.c (show_commands): Remove extern decl of history_get, it's
  2802. already in readline/history.h.
  2803. 2001-07-16 Elena Zannoni <ezannoni@redhat.com>
  2804. * top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
  2805. execute_user_command, do_setshow_command, get_prompt, init_proc,
  2806. serial_log_command): Remove extern declarations. Include
  2807. cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h.
  2808. * gdbcmd.h (execute_user_command): Remove declaration, it's already
  2809. in cli/cli-script.h.
  2810. * command.h (do_setshow_command): Remove declaration, it's already
  2811. in cli/cli-setshow.h.
  2812. * infrun.c: Include "cli/cli-script.h" for execute_user_command.
  2813. * Makefile.in (infrun.o): Update dependencies.
  2814. (top.o): Ditto.
  2815. * cli/cli-setshow.h: Add comment for do_setshow_command.
  2816. 2001-07-16 Eli Zaretskii <eliz@is.elta.co.il>
  2817. * cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
  2818. call to chdir on this symbol rather than on __DJGPP__.
  2819. (CANT_FORK) [__MSDOS__]: Move from here...
  2820. * defs.h (CANT_FORK) [__MSDOS__]: ...to here.
  2821. (GLOBAL_CURDIR) [__MSDOS__]: Define.
  2822. 2001-07-16 Orjan Friberg <orjanf@axis.com>
  2823. * configure.tgt: Recognise the CRIS architecture.
  2824. * config/cris/cris.mt: New file for CRIS target.
  2825. * cris-tdep.c: New file for CRIS target.
  2826. 2001-07-15 Elena Zannoni <ezannoni@redhat.com>
  2827. * top.c (quit_cover, float_handler): Move definition up before use.
  2828. (gdb_init): Move to end of file, to avoid calls to not yet defined
  2829. functions.
  2830. Delete prototypes.
  2831. 2001-07-14 Andrew Cagney <ac131313@redhat.com>
  2832. * serial.h (SERIAL_ASYNC): Delete.
  2833. (DEPRECATED_SERIAL_FD): Delete.
  2834. (SERIAL_DEBUG): Delete.
  2835. (SERIAL_DEBUG_P): Delete.
  2836. (SERIAL_DRAIN_OUTPUT): Delete.
  2837. (SERIAL_FLUSH_OUTPUT): Delete.
  2838. (SERIAL_FLUSH_INPUT): Delete.
  2839. (SERIAL_SEND_BREAK): Delete.
  2840. (SERIAL_RAW): Delete.
  2841. (SERIAL_GET_TTY_STATE): Delete.
  2842. (SERIAL_SET_TTY_STATE): Delete.
  2843. (SERIAL_PRINT_TTY_STATE): Delete.
  2844. (SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
  2845. (SERIAL_SETBAUDRATE): Delete.
  2846. (SERIAL_SETSTOPBITS): Delete.
  2847. (SERIAL_CAN_ASYNC_P): Delete.
  2848. (SERIAL_IS_ASYNC_P): Delete.
  2849. (SERIAL_UN_FDOPEN): Delete.
  2850. (SERIAL_READCHAR): Delete.
  2851. (SERIAL_CLOSE): Delete.
  2852. (SERIAL_FDOPEN): Delete.
  2853. (SERIAL_OPEN): Delete.
  2854. * ser-unix.c: Update.
  2855. * sparclet-rom.c: Update.
  2856. * remote-bug.c: Update.
  2857. * dsrec.c: Update.
  2858. * xmodem.c: Update.
  2859. * nindy-share/ttyflush.c: Update.
  2860. * nindy-share/Onindy.c: Update.
  2861. * utils.c: Update.
  2862. * serial.c: Update.
  2863. * remote-nindy.c: Update.
  2864. * inflow.c: Update.
  2865. * sparcl-tdep.c: Update.
  2866. * sh3-rom.c: Update.
  2867. * remote.c: Update.
  2868. * remote-utils.c: Update.
  2869. * remote-st.c: Update.
  2870. * remote-sds.c: Update.
  2871. * remote-rdp.c: Update.
  2872. * remote-os9k.c: Update.
  2873. * remote-nrom.c: Update.
  2874. * remote-mips.c: Update.
  2875. * remote-es.c: Update.
  2876. * remote-e7000.c: Update.
  2877. * remote-array.c: Update.
  2878. * ocd.c: Update.
  2879. * nindy-share/nindy.c: Update.
  2880. * monitor.c: Update.
  2881. 2001-07-14 Andrew Cagney <ac131313@redhat.com>
  2882. * mn10200-tdep.c: Replace value_ptr with ``struct value *''.
  2883. * mcore-tdep.c: Ditto.
  2884. * sparc-tdep.c: Ditto.
  2885. * sh-tdep.c: Ditto.
  2886. * rs6000-tdep.c: Ditto.
  2887. * ppc-linux-tdep.c: Ditto.
  2888. * m68hc11-tdep.c: Ditto.
  2889. * ia64-tdep.c: Ditto.
  2890. * i386-tdep.c: Ditto.
  2891. * arm-linux-tdep.c: Ditto.
  2892. * hppa-tdep.c: Ditto.
  2893. * h8500-tdep.c: Ditto.
  2894. * fr30-tdep.c: Ditto.
  2895. * arm-tdep.c: Ditto.
  2896. * alpha-tdep.c: Ditto.
  2897. * d30v-tdep.c: Ditto.
  2898. * d10v-tdep.c: Ditto.
  2899. * m32r-tdep.c: Ditto.
  2900. * mips-tdep.c: Ditto.
  2901. * v850-tdep.c: Ditto.
  2902. 2001-07-15 Elena Zannoni <ezannoni@redhat.com>
  2903. * top.c (readline_line_completion_function, noop_completer): Move
  2904. from here...
  2905. * completer.c (readline_line_completion_function, noop_completer):
  2906. ...to here.
  2907. * gdbcmd.h (readline_line_completion_function, noop_completer):
  2908. Move declarations from here...
  2909. * completer.h (readline_line_completion_function, noop_completer):
  2910. ...to here.
  2911. * corefile.c: Include completer.h.
  2912. * source.c: Ditto.
  2913. * symfile.c: Ditto.
  2914. * Makefile.in: Update dependencies.
  2915. 2001-07-15 Eli Zaretskii <eliz@is.elta.co.il>
  2916. * go32-nat.c (go32_create_inferior): Support command lines longer
  2917. than 126 characters.
  2918. 2001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2919. * NEWS: New target 68HC11/68HC12.
  2920. 2001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2921. * utils.c (query): Remove tui hacks; tui must use the query_hook.
  2922. * top.c (command_loop): Remove tui insert_mode hacks; don't call
  2923. tuiCleanUp because this must be made with atexit by tui.
  2924. * symfile.c (symbol_file_command): Remove call to TUIDO
  2925. * stack.c (show_and_print_stack_frame_stub): Remove tui check;
  2926. not necessary when using the selected frame hooks.
  2927. (print_stack_frame_stub): Likewise.
  2928. (print_frame_info_base): Likewise.
  2929. (print_frame_info): Likewise.
  2930. (up_silently_command): Likewise.
  2931. (down_silently_command): Likewise.
  2932. (show_stack_frame): Likewise for TUIDO.
  2933. (select_frame): Likewise.
  2934. (select_and_print_frame): Likewise.
  2935. (stack_publish_stopped_with_no_frame): Remove.
  2936. (select_and_maybe_print_frame): Remove.
  2937. * main.c (captured_main): Remove tui_fileopen and tuiInit; tui
  2938. must use the initialize ui hook.
  2939. * infrun.c (normal_stop): Remove call to TUIDO; tui must use the
  2940. selected frame hooks.
  2941. * event-top.c (command_handler): Remove tui insert_mode hack.
  2942. * defs.h: Remove TUIDO; Only include tui.h.
  2943. * breakpoint.c (mention): Remove calls to TUIDO.
  2944. (delete_breakpoint): Remove tui hacks; tui must install
  2945. the breakpoint hooks.
  2946. 2001-07-14 Mark Kettenis <kettenis@gnu.org>
  2947. * config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
  2948. * config/i386/nm-linux.h: ...to here. Change comments about user
  2949. area/struct a bit.
  2950. * config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.
  2951. * Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
  2952. (i386bsd-tdep.o, i386bsd-nat.o): New targets.
  2953. 2001-07-13 Elena Zannoni <ezannoni@redhat.com>
  2954. * remote-e7000.c (fetch_regs_from_dump): If register set is null,
  2955. generate an internal error.
  2956. (e7000_fetch_registers): Initialize variable 'wanted'.
  2957. (e7000_wait): Initialize variable 'wanted_nopc'.
  2958. (e7000_store_register): Fix sprintf compiler warnings.
  2959. (sub2_from_pc): Ditto.
  2960. (e7000_open): Close the descriptor, not the name.
  2961. (e7000_load): Fix compiler warnings.
  2962. (sub2_from_pc): Ditto.
  2963. * Makefile.in (remote-e7000.o): Can now compile with -Werror.
  2964. 2001-07-13 Mark Kettenis <kettenis@gnu.org>
  2965. * i386bsd-nat.c: Include <signal.h>, <stddef.h> and
  2966. <sys/sysctl.h>.
  2967. (store_inferior_registers): Wrap long line.
  2968. (i386bsd_dr_get_status): Fix typo in comment.
  2969. (_initialize_i386bsd_nat): New function. * i386bsd-tdep.c: New
  2970. file. * config/i386/tm-fbsd.h (IN_SIGTRAMP): New define.
  2971. (i386bsd_in_sigtramp): New prototype.
  2972. (SIGTRAMP_START, SIGTRAMP_END): Redefine in terms...
  2973. (i386bsd_sigtramp_start, i386bsd_sigtramp_end): ...these new
  2974. (external) variables.
  2975. (SIGCONTEXT_PC_OFFSET): Removed.
  2976. (FRAME_SAVED_PC): New define.
  2977. (i386bsd_frame_saved_pc): New function. * config/i386/fbsd.mt
  2978. (TDEPFILES): Add i386bsd-tdep.o.
  2979. 2001-07-12 Daniel Jacobowitz <drow@mvista.com>
  2980. * mips-linux-tdep.c (_initialize_mips_linux_tdep): Use ISO C
  2981. definition.
  2982. 2001-07-13 Mark Kettenis <kettenis@gnu.org>
  2983. * lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if there
  2984. are no registered LWPs yet.
  2985. 2001-07-12 Daniel Jacobowitz <drow@mvista.com>
  2986. * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER): Call the right
  2987. function.
  2988. (CANNOT_STORE_REGISTER): Likewise.
  2989. 2001-07-12 Keith Seitz <keiths@redhat.com>
  2990. * remote-rdp.c: Include "serial.h"
  2991. 2001-07-12 Daniel Jacobowitz <drow@mvista.com>
  2992. * gdbserver/remote-utils.c (remote_open): Set VMIN to 1
  2993. in HAVE_TERMIO/HAVE_TERMIOS cases.
  2994. 2001-07-12 Mark Kettenis <kettenis@gnu.org>
  2995. * lin-lwp.c (stop_wait_callback): Add support for flushing
  2996. signals. Use that in favour of the old code to get rid of
  2997. superfluous SIGINTs.
  2998. (lin_lwp_wait): Use the new support in stop_wait_callback to
  2999. flush all but one SIGINT.
  3000. * i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changes
  3001. to comment.
  3002. (i386_store_return_value): Improve comments about storing
  3003. floating-point return values.
  3004. * config/arm/xm-linux.h, config/i386/xm-linux.h,
  3005. config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
  3006. config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS):
  3007. Removed. Taken care of by autoconf and terminal.h.
  3008. 2001-07-12 Daniel Jacobowitz <drow@mvista.com>
  3009. * mips-tdep.c (mips_type_needs_double_align): New function.
  3010. (mips_push_arguments): Align o32 structs to even argument
  3011. registers if necessary.
  3012. 2001-07-11 Daniel Jacobowitz <drow@mvista.com>
  3013. * config/djgpp/fnchange.lst: Add entries for
  3014. mips-linux-nat.c and mips-linux-tdep.c.
  3015. 2001-07-12 Mark Kettenis <kettenis@gnu.org>
  3016. * config/powerpc/xm-linux.h: Fix corrupted file.
  3017. * configure.in: Add check for sigsetjmp.
  3018. * config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed.
  3019. * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed.
  3020. * configure, config.in: Regenerated.
  3021. 2001-07-11 Elena Zannoni <ezannoni@redhat.com>
  3022. * config/sh/tm-sh.h (struct gdbarch_tdep): Add
  3023. FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
  3024. PR_REGNUM fields.
  3025. * sh-tdep.c (sh_skip_prologue_hard_way): Rename from
  3026. skip_prologue_hard_way().
  3027. (skip_prologue_hard_way): Make it a function pointer.
  3028. (sh_print_register): Use function pointer do_pseudo_register,
  3029. instead of sh_do_pseudo_register.
  3030. (sh_do_registers_info): Ditto.
  3031. (sh_gdbarch_init): Initialize do_pseudo_register.
  3032. (IS_MOV_TO_R14): Rename from IS_MOV_R14.
  3033. (skip_prologue_hard_way): Update.
  3034. (sh_gdbarch_init): Move setting of frame_chain,
  3035. get_saved_register, init_extra_frame_info, push_arguments,
  3036. extract_return_value, pop_frame, store_struct_return,
  3037. extract_struct_value_address, use_struct_convention,
  3038. init_extra_frame_info to before target specific settings.
  3039. (sh_gdbarch_init): Initialize new tdep fields
  3040. FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
  3041. PR_REGNUM.
  3042. (sh_push_arguments): Use new gdbarch_tdep fields
  3043. {ARG0,ARGLAST}_REGNUM.
  3044. (sh_saved_pc_after_call, sh_nofp_frame_init_saved_regs,
  3045. sh_init_extra_frame_info, sh_push_return_address,
  3046. sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
  3047. sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update to use
  3048. gdbarch_tdep->PR_REGNUM.
  3049. (dr_reg_base_num, fv_reg_base_num): Move to earlier in the file.
  3050. 2001-07-11 Daniel Jacobowitz <drow@mvista.com>
  3051. * config/mips/tm-linux.h: Include "tm-linux.h" instead of copying
  3052. from it. Move definitions of REALTIME_LO and REALTIME_HI above
  3053. include.
  3054. 2001-07-11 Daniel Jacobowitz <drow@mvista.com>
  3055. * MAINTAINERS: List myself for MIPS/Linux
  3056. port.
  3057. 2001-07-11 Daniel Jacobowitz <drow@mvista.com>
  3058. * gdbserver/remote-utils.c (remote_open): Only
  3059. check for F_SETOWN if we had F_SETFL and FASYNC.
  3060. 2001-07-11 Daniel Jacobowitz <drow@mvista.com>
  3061. From Michael Fedrowitz <michael.fedrowitz@informatik.uni-ulm.de>:
  3062. * config/m68k/linux.mh: Remove core-regset.o.
  3063. * m68klinux-nat.c: Fix comment.
  3064. (supply_gregset): Change argument to elf_gregset_t *.
  3065. (supply_fpregset): Change argument to elf_fpregset_t *.
  3066. (fetch_core_registers): New function.
  3067. (linux_elf_core_fns): Define.
  3068. (_initialize_m68k_linux_nat): New function.
  3069. 2001-07-11 Andrew Cagney <ac131313@redhat.com>
  3070. * configure.tgt: Mark d10v as pure multi-arch.
  3071. * config/d10v/tm-d10v.h: Delete file.
  3072. * config/d10v/d10v.mt (TM_FILE): Delete.
  3073. 2001-07-10 Andrew Cagney <ac131313@redhat.com>
  3074. * serial.h (typedef serial_t): Delete. Replace all references to
  3075. serial_t with `struct serial *'.
  3076. * serial.c: Update.
  3077. * nindy-share/ttyflush.c: Update.
  3078. * nindy-share/ttyflush.c: Update.
  3079. * nindy-share/Onindy.c: Update.
  3080. * nindy-share/nindy.c: Update.
  3081. * remote-rdp.c: Update.
  3082. * remote-sds.c: Update.
  3083. * remote-st.c: Update.
  3084. * remote-nindy.c: Update.
  3085. * remote-mips.c: Update.
  3086. * remote-e7000.c: Update.
  3087. * remote-os9k.c: Update.
  3088. * remote-nrom.c: Update.
  3089. * remote-es.c: Update.
  3090. * remote-array.c: Update.
  3091. * ocd.c: Update.
  3092. * mon960-rom.c: Update.
  3093. * dsrec.c: Update.
  3094. * inflow.c: Update.
  3095. * ser-e7kpc.c: Update.
  3096. * sparclet-rom.c: Update.
  3097. * srec.h: Update.
  3098. * ser-tcp.c: Update.
  3099. * ser-go32.c: Update.
  3100. * sparcl-tdep.c: Update.
  3101. * w89k-rom.c: Update.
  3102. * utils.c: Update.
  3103. * sh3-rom.c: Update.
  3104. * remote.c: Update.
  3105. * ser-pipe.c: Update.
  3106. * ser-unix.c: Update.
  3107. * ser-unix.h: Update.
  3108. * xmodem.c: Update.
  3109. * xmodem.h: Update.
  3110. 2001-07-11 J.T. Conklin <jtc@redback.com>
  3111. From Greg McGary <greg@mcgary.org>:
  3112. * gdbserver/remote-utils.c (remote_open): Set gdbserver as "owner"
  3113. of SIGIO.
  3114. (input_interrupt): Don't block on read, in case we got redundant
  3115. SIGIO. Don't gripe about redundant SIGIO.
  3116. * gdbserver/low-hppabsd.c (mywait): Use waitpid(). Enable SIGIO
  3117. handler while waiting.
  3118. * gdbserver/low-linux.c (mywait): Likewise.
  3119. * gdbserver/low-nbsd.c (mywait): Likewise.
  3120. * gdbserver/low-sparc.c (mywait): Likewise.
  3121. 2001-07-11 Keith Seitz <keiths@redhat.com>
  3122. * infrun.c (print_stop_reason): Add missing uiout field
  3123. "reason" for SIGNAL_RECEIVED case.
  3124. 2001-07-11 Mark Kettenis <kettenis@gnu.org>
  3125. * config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):
  3126. Remove unused macro's.
  3127. * config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longer
  3128. used.
  3129. 2001-07-11 Eli Zaretskii <eliz@is.elta.co.il>
  3130. * go32-nat.c (info_dos_cmdlist): New variable.
  3131. (go32_info_dos_command): New function.
  3132. (_initialize_go32_nat): Convert all DOS-specific commands into
  3133. subcommands of "info dos". Suggested by Andrew Cagney
  3134. <ac131313@redhat.com>.
  3135. 2001-07-11 Mark Kettenis <kettenis@gnu.org>
  3136. * config/nm-linux.h: Fix comments.
  3137. * thread-db.c (enable_thread_event_reporting): Correct warning
  3138. message about getting thread death breakpoint.
  3139. Reported by John S Kallal <jskallal@home.com>.
  3140. * i386-tdep.c (i386_extract_return_value): "Fix" comment.
  3141. (i386_store_return_value): Frob FPU status and tag word to make
  3142. sure the return value is the only value on the FPU stack.
  3143. * config/tm-linux.h: Do not include <signal.h>. Instead provide
  3144. reasonable defaults for REALTIME_LO and REALTIME_HI if they're not
  3145. already defined.
  3146. * config/nm-linux.h: Include <signal.h>.
  3147. [__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and
  3148. (__SIGRTMAX + 1) respectively.
  3149. 2001-07-10 Andrew Cagney <ac131313@redhat.com>
  3150. * mcore-rom.c: Include "serial.h".
  3151. * Makefile.in (mcore-rom.o): Depends on "serial.h".
  3152. 2001-07-10 Andrew Cagney <ac131313@redhat.com>
  3153. * Makefile.in (remote-bug.o): Depends on serial.h.
  3154. * remote-bug.c: Include "serial.h".
  3155. * MAINTAINERS: Mark m88k target as buildable.
  3156. * TODO: Update.
  3157. 2001-07-10 Jim Blandy <jimb@redhat.com>
  3158. Clean up the D10V port so that GDB and the target program no
  3159. longer disagree on how big pointers are.
  3160. * findvar.c (value_from_register): Remove special case code for D10V.
  3161. * printcmd.c (print_frame_args): Same.
  3162. * valops.c (value_at, value_fetch_lazy): Same.
  3163. * values.c (unpack_long): Same.
  3164. * gdbarch.sh: Changes to effect the following:
  3165. * gdbarch.h (GDB_TARGET_IS_D10V, D10V_MAKE_DADDR,
  3166. gdbarch_d10v_make_daddr_ftype, gdbarch_d10v_make_daddr,
  3167. set_gdbarch_d10v_make_daddr, D10V_MAKE_IADDR,
  3168. gdbarch_d10v_make_iaddr_ftype, gdbarch_d10v_make_iaddr,
  3169. set_gdbarch_d10v_make_iaddr, D10V_DADDR_P,
  3170. gdbarch_d10v_daddr_p_ftype, gdbarch_d10v_daddr_p,
  3171. set_gdbarch_d10v_daddr_p, D10V_IADDR_P,
  3172. gdbarch_d10v_iaddr_p_ftype, gdbarch_d10v_iaddr_p,
  3173. set_gdbarch_d10v_iaddr_p, D10V_CONVERT_DADDR_TO_RAW,
  3174. gdbarch_d10v_convert_daddr_to_raw_ftype,
  3175. gdbarch_d10v_convert_daddr_to_raw,
  3176. set_gdbarch_d10v_convert_daddr_to_raw, D10V_CONVERT_IADDR_TO_RAW,
  3177. gdbarch_d10v_convert_iaddr_to_raw_ftype,
  3178. gdbarch_d10v_convert_iaddr_to_raw,
  3179. set_gdbarch_d10v_convert_iaddr_to_raw): Delete declarations.
  3180. * gdbarch.c: Delete the corresponding definitions.
  3181. (struct gdbarch): Delete members d10v_make_daddr,
  3182. d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
  3183. d10v_convert_daddr_to_raw, and d10v_convert_iaddr_to_raw.
  3184. (startup_gdbarch): Remove initializers for the above.
  3185. (verify_gdbarch, gdbarch_dump): Don't verify or dump them any
  3186. more.
  3187. * d10v-tdep.c (d10v_register_virtual_type): Rather that
  3188. claiming the stack pointer and PC are 32 bits long (which they
  3189. aren't), say that the stack pointer is an int16_t, and the
  3190. program counter is a function pointer. This allows the rest
  3191. of GDB to make the appropriate conversions between the code
  3192. pointer format and real addresses.
  3193. (d10v_register_convertible, d10v_register_convert_to_virtual,
  3194. d10v_register_convert_to_raw): Delete function; no registers
  3195. are convertible now, so we use
  3196. generic_register_convertible_not instead.
  3197. (d10v_address_to_pointer, d10v_pointer_to_address): New gdbarch
  3198. methods.
  3199. (d10v_push_arguments, d10v_extract_return_value): Remove special
  3200. cases for code and data pointers.
  3201. (d10v_gdbarch_init): Set gdbarch_ptr_bit to 16, so that GDB and
  3202. the target agree on how large pointers are. Say that addresses
  3203. are 32 bits long. Register the address_to_pointer and
  3204. pointer_to_address conversion functions. Since no registers are
  3205. convertible now, register generic_register_convertible_not as the
  3206. gdbarch_register_convertible method instead of
  3207. d10v_register_convertible. Remove registrations for
  3208. d10v_register_convert_to_virtual,
  3209. d10v_register_convert_to_raw, gdbarch_d10v_make_daddr,
  3210. gdbarch_d10v_make_iaddr, gdbarch_d10v_daddr_p,
  3211. gdbarch_d10v_iaddr_p, gdbarch_d10v_convert_daddr_to_raw, and
  3212. gdbarch_d10v_convert_iaddr_to_raw.
  3213. * printcmd.c (print_scalar_formatted): If we are printing an
  3214. address, remember that TARGET_ADDR_BIT is not always equal to
  3215. TARGET_PTR_BIT.
  3216. * valops.c (value_cast): When casting a pointer to an integer,
  3217. don't convert it to an address.
  3218. 2001-07-10 Andrew Cagney <ac131313@redhat.com>
  3219. * remote-utils.h (struct serial): Declare as opaque. Remove
  3220. include of "serial.h".
  3221. * Makefile.in (remote_utils_h): Update.
  3222. * monitor.h (struct serial): Declare as opaque. Remove include of
  3223. "serial.h".
  3224. (struct monitor_ops): Replace serial_t with `struct serial *'.
  3225. * monitor.c (monitor_desc): Ditto.
  3226. 2001-07-10 Daniel Jacobowitz <drow@mvista.com>
  3227. * mips-linux-tdep.c: New file.
  3228. * mips-linux-nat.c: New file.
  3229. * config/mips/linux.mh: New file.
  3230. * config/mips/linux.mt: New file.
  3231. * config/mips/xm-linux.h: New file.
  3232. * config/mips/nm-linux.h: New file.
  3233. * config/mips/tm-linux.h: New file.
  3234. * configure.host: Recognize mips*-*-linux*.
  3235. * configure.tgt: Likewise.
  3236. * NEWS: Mention mips*-*-linux* port.
  3237. 2001-07-09 Andrew Cagney <ac131313@redhat.com>
  3238. * serial.h (struct serial): Rename `struct _serial_t'.
  3239. * serial.c (XMALLOC): Define.
  3240. (serial_open): Update. Use XMALLOC.
  3241. (serial_fdopen): Ditto.
  3242. 2001-07-07 Andrew Cagney <ac131313@redhat.com>
  3243. * gdbtypes.h (builtin_type_void_data_ptr): Rename
  3244. builtin_type_ptr.
  3245. * gdbtypes.c (builtin_type_void_data_ptr): Update.
  3246. (build_gdbtypes): Update.
  3247. (_initialize_gdbtypes): Update.
  3248. * values.c (value_as_pointer): Update.
  3249. * utils.c (host_pointer_to_address): Update.
  3250. (address_to_host_pointer): Update.
  3251. 2001-07-08 Andrew Cagney <ac131313@redhat.com>
  3252. * remote-udi.c (udi_wait): Make type, instead of name, of first
  3253. parameter a ptid_t.
  3254. 2001-07-07 Andrew Cagney <ac131313@redhat.com>
  3255. * ser-mac.c: Make obsolete.
  3256. * Makefile.in (ser-mac.o): Ditto.
  3257. 2001-07-08 Eli Zaretskii <eliz@is.elta.co.il>
  3258. * go32-nat.c (go32_get_windows_version, print_mem, go32_sysinfo)
  3259. (read_memory_region, get_descriptor, display_descriptor)
  3260. (go32_sldt, go32_sgdt, go32_sidt): New functions.
  3261. (top-level): Include ctype.h, utsname.h, dos.h, and go32.h. Ifdef
  3262. away `disable' from dos.h, since breakpoint.h defines an enum
  3263. member of the same name, and GCC 2.7.2 barfs.
  3264. (_initialize_go32_nat): Provide new commands dos-sysinfo, dos-ldt,
  3265. dos-gdt, and dos-idt, all of them in the "info" class
  3266. 2001-07-07 Kevin Buettner <kevinb@redhat.com>
  3267. * procfs.c (create_procinfo): Allocate space for saved_entryset
  3268. and saved_exitset.
  3269. (destroy_one_procinfo): Free space allocated to saved_entryset
  3270. and saved_exitset.
  3271. 2001-07-07 Andrew Cagney <ac131313@redhat.com>
  3272. * TODO (5.1): Update.
  3273. 2001-07-07 Andrew Cagney <ac131313@redhat.com>
  3274. * symtab.c (main_name): New function.
  3275. (set_main_name): New function.
  3276. * symtab.h: Declare.
  3277. * TODO: Update
  3278. From 2000-03-05 Anthony Green <green@redhat.com>:
  3279. * dbxread.c (process_one_symbol): Handle the N_MAIN stab by
  3280. setting main_name.
  3281. * blockframe.c (inside_main_func): Use main_name instead of
  3282. "main".
  3283. * symtab.c (find_main_psymtab): Ditto.
  3284. * source.c (select_source_symtab): Ditto.
  3285. * nlmread.c (nlm_symfile_read): Ditto.
  3286. * rs6000-tdep.c (skip_prologue): Ditto.
  3287. 2001-07-07 Andrew Cagney <ac131313@redhat.com>
  3288. * TODO: Convert most items into PRs.
  3289. 2001-07-07 Mark Kettenis <kettenis@gnu.org>
  3290. * lin-lwp.c (status_to_str): New function.
  3291. (lin_lwp_wait): Use it to print debug messages where appropriate.
  3292. 2001-07-06 Michael Chastain <chastain@redhat.com>
  3293. * i387-tdep.c (print_i387_value): Fix pointer glitch.
  3294. 2001-07-07 Mark Kettenis <kettenis@gnu.org>
  3295. * lin-lwp.c (count_events_callback): Fix formatting. Turn check
  3296. commented with "paranoia" into gdb_assert.
  3297. (select_event_lwp_callback): Likewise.
  3298. (cancel_breakpoints_callback): Bail out early if LP is the event
  3299. LWP. Add comment about backup up breakpoints. Fix formatting and
  3300. debug message.
  3301. (select_event_lwp): Make solely repsonsible for switching event
  3302. LWP. Fix formatting and remove bogus "ERROR" debug message.
  3303. Don't backup breakpoints from here.
  3304. (lin_lwp_wait): Don't touch LP->status, let select_event_lwp
  3305. handle that. Only call select_event_lwp if we're not waiting for
  3306. a specific LWP, i.e. when PID == -1. Backup breakpoints from here.
  3307. 2001-07-06 Michael Snyder <msnyder@redhat.com>
  3308. * procfs.c (procfs_resume): Silence noisy warning.
  3309. 2001-06-12 Michael Snyder <msnyder@redhat.com>
  3310. * lin-lwp.c: Prevent thread starvation by using a monte carlo
  3311. method to choose which of several event threads to handle next.
  3312. (stop_wait_callback): Defer pushback of breakpoint events until
  3313. later; add SIGTRAP events to the queue of unhandled events.
  3314. Keep calling waitpid until SIGSTOP retrieved. If more than one
  3315. non-SIGSTOP event is retrieved, push them back onto the process
  3316. queue using kill.
  3317. (count_events_callback, select_singlestep_lwp_callback,
  3318. select_event_lwp_callback, cancel_breakpoints_callback,
  3319. select_event_lwp): New functions. Implement monte carlo method
  3320. for selecting which of several SIGTRAP threads to handle next.
  3321. Push back the breakpoint event for all threads other than the
  3322. selected one.
  3323. (lin_lwp_wait): Call select_event_lwp to decide which of several
  3324. sigtrapped lwps to handle next.
  3325. (resume_callback): Disable code that attempts to handle
  3326. step_resume breakpoints. Let core gdb handle this.
  3327. 2001-07-06 Jim Blandy <jimb@redhat.com>
  3328. * gdbtypes.h (builtin_type_void_func_ptr): New builtin type.
  3329. * gdbtypes.c (builtin_type_void_func_ptr): Define the variable.
  3330. (build_gdbtypes): Initialize it.
  3331. (_initialize_gdbtypes): Swap it.
  3332. 2001-07-04 Daniel Jacobowitz <drow@mvista.com>
  3333. * mips-tdep.c (mips32_op): Correct offset.
  3334. (itype_op): Likewise.
  3335. (itype_rs): Fix formatting.
  3336. (itype_immediate): Fix formatting.
  3337. (jtype_op): Correct offset.
  3338. (jtype_target): Fix formatting.
  3339. (rtype_op): Correct offset.
  3340. (rtype_rs): Fix formatting.
  3341. (rtype_rt): Likewise.
  3342. (rtype_rd): Likewise.
  3343. (rtype_shamt): Likewise.
  3344. (rtype_funct): Likewise.
  3345. (mips32_next_pc): Fix formatting and comments. Recognize
  3346. coprocessor 1 branches. Check the correct field for BLT family
  3347. branches. Use itype_rt instead of itype_rs for the second register
  3348. of a BNE or BNEL branch. Move (unreachable) default case.
  3349. 2001-07-04 Andrew Cagney <ac131313@redhat.com>
  3350. * ui-out.h (struct ui_out_impl): Add field is_mi_like_p.
  3351. (ui_out_is_mi_like_p): Declare.
  3352. * ui-out.c (ui_out_is_mi_like_p): Define.
  3353. (default_ui_out_impl): Initialize is_mi_like_p to zero.
  3354. * cli-out.c (cli_ui_out_impl): Ditto.
  3355. * breakpoint.c (print_it_typical): Use ui_out_is_mi_like_p.
  3356. (watchpoint_check, print_one_breakpoint, mention): Ditto.
  3357. * infrun.c (print_stop_reason, normal_stop): Ditto.
  3358. 2001-07-05 Daniel Jacobowitz <drow@mvista.com>
  3359. * mips-tdep.c (mips_software_single_step): New function.
  3360. * config/mips/tm-mips.h: Add prototype for
  3361. mips_software_single_step.
  3362. 2001-07-05 Daniel Jacobowitz <drow@mvista.com>
  3363. * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
  3364. of greg_t.
  3365. (fill_gregset): Likewise.
  3366. 2001-07-05 Andrew Cagney <ac131313@redhat.com>
  3367. * objfiles.c (open_mapped_file): Use lbasename instead of
  3368. basename.
  3369. 2001-07-05 Jim Blandy <jimb@redhat.com>
  3370. * d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,
  3371. show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp,
  3372. d10v_write_sp, d10v_write_fp, d10v_read_fp,
  3373. d10v_push_return_address): Call the functions d10v_make_daddr,
  3374. d10v_make_iaddr, d10v_convert_iaddr_to_raw, and
  3375. d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR,
  3376. D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and
  3377. D10V_CONVERT_DADDR_TO_RAW.
  3378. * dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.
  3379. 2001-07-05 Mark Kettenis <kettenis@gnu.org>
  3380. * config/i386/xm-go32.h (HOST_I386): Removed.
  3381. * config/i386/xm-linux.h (HOST_I386): Removed.
  3382. 2001-07-04 Mark Kettenis <kettenis@gnu.org>
  3383. * i387-tdep.c (print_i387_value): Add extra space after final full
  3384. stop in comment.
  3385. 2001-07-04 Andrew Cagney <ac131313@redhat.com>
  3386. * TODO (5.1): Update. Doco changes committed.
  3387. 2001-06-29 Andrew Cagney <ac131313@redhat.com>
  3388. * config/arm/tm-arm.h: Include "floatformat.h".
  3389. 2001-06-29 Andrew Cagney <ac131313@redhat.com>
  3390. * i387-tdep.c: Include "gdb_assert.h".
  3391. (print_i387_value): Use extract_floating to extract the FP value
  3392. from a zero padded local buffer.
  3393. 2001-06-28 Andrew Cagney <ac131313@redhat.com>
  3394. * TODO: Delete all thread items. The thread code was overhauled.
  3395. 2001-07-04 Elena Zannoni <ezannoni@redhat.com>
  3396. * memattr.c (create_mem_region): Move n to next memory region,
  3397. to avoid infinite loop.
  3398. * memattr.h: Add copyright statement.
  3399. * memattr.c: Ditto.
  3400. 2001-07-04 Jim Blandy <jimb@redhat.com>
  3401. * dwarf2read.c (struct partial_die_info): New member: has_pc_info.
  3402. (read_partial_die): Delete fourth argument; we return this info in
  3403. the struct partial_die_info object itself now.
  3404. (dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the
  3405. has_pc_info field of the partial die struct, rather than passing a
  3406. variable by reference to read_partial_die.
  3407. * dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
  3408. code in loop condition.
  3409. 2001-07-03 Michael Snyder <msnyder@redhat.com>
  3410. * thread_db (find_new_threads_callback, thread_db_thread_alive,
  3411. attach_thread): Update comments.
  3412. 2001-06-29 Ken Whaley <ken@believe.com>
  3413. * thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
  3414. to TD_THR_UNKNOWN when looking for defunct zombie threads.
  3415. (thread_db_thread_alive): Ditto.
  3416. (find_new_threads_callback): Ditto.
  3417. 2001-07-02 Daniel Jacobowitz <drow@mvista.com>
  3418. * MAINTAINERS: Add myself to the write-after-approval list.
  3419. 2001-07-02 Daniel Jacobowitz <drow@mvista.com>
  3420. * solib-svr4.c: Include "elf/mips.h".
  3421. (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
  3422. 2001-07-02 Jim Blandy <jimb@redhat.com>
  3423. * dwarf2read.c (read_comp_unit, sibling_die, dump_die,
  3424. dump_die_list, store_in_ref_table, follow_die_ref): Make these
  3425. static; they're private functions.
  3426. 2001-07-01 Mark Elbrecht <snowball@bigfoot.com>
  3427. * coffread.c (coff_symfile_read): Parse DWARF2 info if present.
  3428. 2001-06-28 Elena Zannoni <ezannoni@redhat.com>
  3429. * TODO: Add import of readline 4.2 as a gdb 5.2 task.
  3430. 2001-06-29 Andrew Cagney <ac131313@redhat.com>
  3431. * config/djgpp/fnchange.lst: Sort.
  3432. 2001-06-28 Andrew Cagney <ac131313@redhat.com>
  3433. * config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
  3434. mi0-var-cmd.exp, mi0-var-child.exp and mi0-var-display.exp.
  3435. 2001-06-29 Andreas Jaeger <aj@suse.de>
  3436. * MAINTAINERS: Add myself to the write-after-approval list.
  3437. 2001-06-28 Andrew Cagney <ac131313@redhat.com>
  3438. * remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
  3439. (get_hex_word): Don't use HOST_BYTE_ORDER.
  3440. (array_fetch_registers): Add variable ``reg''. Use
  3441. store_unsigned_integer to byte-swap the register. Delete unused
  3442. local ``regs''.
  3443. 2001-06-28 Andrew Cagney <ac131313@redhat.com>
  3444. * MAINTAINERS: Add Per Bothner to Java maintainers.
  3445. 2001-06-28 Andrew Cagney <ac131313@redhat.com>
  3446. * rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
  3447. * rdi-share/hostchan.h (__unix): Hack, provide a default value.
  3448. * rdi-share/host.h (__unix): Hack, define when __NetBSD__.
  3449. * TODO: Update.
  3450. * MAINTAINERS: Update. arm-elf builds.
  3451. 2001-06-28 Jim Blandy <jimb@redhat.com>
  3452. * d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.
  3453. * d10v-tdep.c (d10v_frame_chain_valid, d10v_use_struct_convention,
  3454. d10v_breakpoint_from_pc, d10v_register_byte,
  3455. d10v_register_raw_size, d10v_register_virtual_size,
  3456. d10v_register_virtual_type, d10v_register_convertible,
  3457. d10v_register_convert_to_virtual, d10v_register_convert_to_raw,
  3458. d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
  3459. d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
  3460. d10v_store_struct_return, d10v_store_return_value,
  3461. d10v_extract_struct_value_address, d10v_frame_saved_pc,
  3462. d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue,
  3463. d10v_frame_chain, d10v_frame_init_saved_regs,
  3464. d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc,
  3465. d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp,
  3466. d10v_push_return_address, d10v_push_arguments,
  3467. d10v_extract_return_value): Make these functions static.
  3468. 2001-06-28 Andrew Cagney <ac131313@redhat.com>
  3469. From Fernando Nasser:
  3470. * infrun.c (handle_inferior_event): Handle "nexti" inside function
  3471. prologues.
  3472. 2001-06-28 Michael Snyder <msnyder@redhat.com>
  3473. * infrun.c (handle_inferior_event): Replace prev_pc test in all
  3474. calls to bpstat_stop_status (removed in 1999-09-24). This test
  3475. helps distinguish stepping over a breakpoint trap from stepping
  3476. thru a jump to the instruction after a breakpoint trap.
  3477. (handle_inferior_event): Don't bother writing the PC if
  3478. DECR_PC_AFTER_BREAK is zero (optimization).
  3479. * breakpoint.c (bpstat_stop_status): Add comment explaining the
  3480. purpose and usage of the "not_a_breakpoint" argument in computing
  3481. the breakpoint address.
  3482. 2001-06-28 Andrew Cagney <ac131313@redhat.com>
  3483. From 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
  3484. * monitor.c (setmem_resp_delim_pattern): New regexp pattern.
  3485. (setreg_resp_delim_pattern): Likewise.
  3486. (setmem_resp_delim_fastmap): New buffer.
  3487. (setreg_resp_delim_fastmap): Likewise.
  3488. (monitor_open): Initialize above regexp if they are defined.
  3489. (monitor_write_memory): Use regexp to check the result of write.
  3490. (monitor_store_register): Likewise to check result of register set.
  3491. 2001-06-28 Andrew Cagney <ac131313@redhat.com>
  3492. From 2000-06-14 John Marshall <john_w_marshall@palm.com>:
  3493. * coff-solib.c: Include symfile.h and objfiles.h to make
  3494. OBJF_SHARED visible.
  3495. 2001-06-28 Andrew Cagney <ac131313@redhat.com>
  3496. * configure.in (--enable-gdbmi): Enable by default.
  3497. * configure: Regenerate.
  3498. * TODO: Update.
  3499. * NEWS: Update
  3500. 2001-06-28 Joel Brobecker <brobecker@act-europe.fr>
  3501. * solib-osf.c (osf_in_dynsym_resolve_code): Add a comment
  3502. explaining the consequences of always returning zero. No code
  3503. change.
  3504. 2001-06-28 Andrew Cagney <ac131313@redhat.com>
  3505. From 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
  3506. * defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
  3507. to TARGET_SIGNAL_REALTIME_127.
  3508. * target.c (struct signals): Add SIG63 to SIG127.
  3509. (target_signal_from_host): Handle up to 127 signals.
  3510. (do_target_signal_to_host): Likewise.
  3511. 2001-06-27 Andrew Cagney <ac131313@redhat.com>
  3512. * remote-sds.c (sds_start_remote): Change type of ``c'' to int
  3513. from possibly unsigned char.
  3514. 2001-06-27 Andrew Cagney <ac131313@redhat.com>
  3515. * ser-ocd.c: Delete file.
  3516. * Makefile.in (ALLDEPFILES): Remove ser-ocd.c
  3517. (ser-ocd.o): Delete target.
  3518. * TODO: Update.
  3519. * NEWS: Update.
  3520. 2001-06-27 Andrew Cagney <ac131313@redhat.com>
  3521. * MAINTAINERS (Write After Approval): Sort.
  3522. (Past Maintainers): Daniel Berlin stepped down as C++ maintainer.
  3523. 2001-06-26 Andrew Cagney <ac131313@redhat.com>
  3524. * breakpoint.c (breakpoint_1): Always output the breakpoint
  3525. headings. Leave it to ui-out to decide which
  3526. 2001-06-25 Andrew Cagney <ac131313@redhat.com>
  3527. * stack.c (print_frame): For ui_out, output a list of arguments.
  3528. 2001-06-25 Kevin Buettner <kevinb@redhat.com>
  3529. * MAINTAINERS (paper trail): Update.
  3530. 2001-06-25 Michael Snyder <msnyder@redhat.com>
  3531. * infrun.c: Eliminate the "thread_step_needed" state variable,
  3532. and replace it with a relatively simple test in resume.
  3533. (resume): Replace thread_step_needed logic with a test for
  3534. stepping, breakpoint_here_p and breakpoints_inserted.
  3535. Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
  3536. (proceed): Discard thread_step_needed logic.
  3537. (wait_for_inferior, fetch_inferior_event, handle_inferior_event):
  3538. Discard thread_step_needed logic.
  3539. 2001-06-24 Fernando Nasser <fnasser@redhat.com>
  3540. * remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
  3541. * rdi-share/host.h: Add missing parenthesis in conditional.
  3542. 2001-06-22 J.T. Conklin <jtc@redback.com>
  3543. * configure.in: include nlist.h when checking for member som_addr
  3544. in struct so_map.
  3545. * configure: regenerate.
  3546. 2001-06-21 Keith Seitz <keiths@redhat.com>
  3547. * cli-out.c (cli_out_new): Initialize new structure member
  3548. "suppress_output".
  3549. 2001-06-20 Andrew Cagney <ac131313@redhat.com>
  3550. * ui-out.h (ui_out_table_header): Add parameter ``col_name''.
  3551. (table_header_ftype): Ditto.
  3552. * cli-out.c (cli_table_header): Update.
  3553. * ui-out.c (ui_out_table_header): Update.
  3554. (uo_table_header): Update.
  3555. (default_table_header): Update.
  3556. (append_header_to_list): Update.
  3557. (struct ui_out_header): Add field ``col_name''.
  3558. (append_header_to_list): Use xstrdup. Initialize col_name.
  3559. * breakpoint.c (breakpoint_1): Pass COL_NAME to
  3560. ui_out_table_header.
  3561. 2001-06-19 Andrew Cagney <ac131313@redhat.com>
  3562. * cli-out.c: Include "gdb_assert.h'.
  3563. (struct ui_out_data): Add field ``suppress_output.
  3564. (cli_table_begin): When NR_ROWS is zero, suppress_output.
  3565. (cli_table_end): Clear suppress_output.
  3566. (cli_table_body): Check suppress_output.
  3567. (cli_table_header, cli_begin): Ditto.
  3568. (cli_end, cli_field_int, cli_field_skip): Ditto.
  3569. (cli_field_string, cli_field_fmt, cli_spaces): Ditto.
  3570. (cli_text, cli_message, cli_wrap_hint): Ditto.
  3571. * breakpoint.c (breakpoint_1): Close the ui_out table before
  3572. printing the breakpoint not found message.
  3573. 2001-06-18 Andrew Cagney <ac131313@redhat.com>
  3574. * ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
  3575. (default_table_begin): Ditto.
  3576. (uo_table_begin): Ditto.
  3577. * cli-out.c (cli_table_begin): Ditto.
  3578. * ui-out.h (ui_out_table_begin): Update
  3579. (table_begin_ftype): Update.
  3580. * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
  3581. ui_out_table_begin.
  3582. 2001-06-16 Andrew Cagney <ac131313@redhat.com>
  3583. * breakpoint.c (breakpoint_1): Restructure. Compute the
  3584. nr_printable_breakpoints. Move the header output to before the
  3585. main print breakpoints loop.
  3586. (user_settable_breakpoint): New function.
  3587. 2001-06-18 Andrew Cagney <ac131313@redhat.com>
  3588. * infrun.c, breakpoint.c: Use strncmp as the "mi" test. Allow,
  3589. "mi", "mi0" and "mi1".
  3590. 2001-06-17 Andrew Cagney <ac131313@redhat.com>
  3591. * gdbarch.sh: Generate an error when conflicting macro
  3592. definitions. Generate an error when both pure multi-arch and
  3593. "tm.h".
  3594. * gdbarch.h, gdbarch.c: Regenerate.
  3595. * defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.
  3596. 2001-06-17 Andrew Cagney <ac131313@redhat.com>
  3597. * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Down grade to
  3598. GDB_MULTI_ARCH_PARTIAL from two.
  3599. 2001-06-17 Fernando Nasser <fnasser@redhat.com>
  3600. From 2001-06-15 Eirik Fuller <eirik@hackrat.com>
  3601. * cli/cli-script.c (free_command_lines): Reset list pointer.
  3602. 2001-06-16 Andrew Cagney <ac131313@redhat.com>
  3603. * arch-utils.c (init_frame_pc_default): New function
  3604. * arch-utils.h (init_frame_pc_default): Declare.
  3605. * gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
  3606. not init_frame_pc_noop.
  3607. * gdbarch.h, gdbarch.c: Re-generate.
  3608. * blockframe.c (INIT_FRAME_PC): Delete macro definition.
  3609. * mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
  3610. init_frame_pc_noop.
  3611. 2001-06-16 Andrew Cagney <ac131313@redhat.com>
  3612. * gdbarch.c: Regenerate. Out-of-sync with gdbarch.sh.
  3613. 2001-06-15 Andrew Cagney <ac131313@redhat.com>
  3614. * gdbarch.sh (CANNOT_FETCH_REGISTER): Multi-arch.
  3615. (CANNOT_STORE_REGISTER): Ditto.
  3616. * infptrace.c (CANNOT_FETCH_REGISTER): Delete definition.
  3617. (CANNOT_STORE_REGISTER): Ditto.
  3618. * regcache.c (CANNOT_STORE_REGISTER): Ditto.
  3619. * lynx-nat.c (CANNOT_STORE_REGISTER): Ditto.
  3620. * arch-utils.h (cannot_register_not): Define.
  3621. * arch-utils.c (cannot_register_not): Declare.
  3622. 2001-06-15 Andrew Cagney <ac131313@redhat.com>
  3623. * gdbarch.sh: Clarify pre/post default
  3624. (INIT_FRAME_PC_FIRST, INIT_FRAME_PC): Multiarch.
  3625. * blockframe.c (get_prev_frame): Remove #ifdef from around
  3626. INIT_FRAME_PC_FIRST call.
  3627. * arch-utils.c (init_frame_pc_noop): Define.
  3628. * arch-utils.h (init_frame_pc_noop): Declare.
  3629. * config/mips/tm-mips.h (INIT_FRAME_PC_FIRST): Delete.
  3630. (INIT_FRAME_PC, mips_init_frame_pc_first): Ditto.
  3631. * mips-tdep.c (mips_init_frame_pc_first): Make static.
  3632. (mips_gdbarch_init): Initialize init_frame_pc_first.
  3633. (mips_dump_tdep): Update.
  3634. 2001-06-15 Michael Snyder <msnyder@redhat.com>
  3635. * infrun.c (context_switch): New function. Abstract the operation
  3636. of saving and restoring infrun's state when switching threads.
  3637. (handle_inferior_event): Normalize the handling of the 'thread hop'
  3638. event (when the wrong thread hits a thread-specific breakpoint,
  3639. and we need to solo-step that thread past the breakpoint).
  3640. Call keep_going, instead of target_resume. Handle the subsequent
  3641. singlestep-trap as a normal event instead of just resuming.
  3642. 2001-06-15 Andrew Cagney <ac131313@redhat.com>
  3643. * arch-utils.c (core_addr_identity): New function. Rename
  3644. default_convert_from_func_ptr_addr.
  3645. * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Update.
  3646. (ADDR_BITS_REMOVE): Define. Default to core_addr_identity.
  3647. * defs.h (ADDR_BITS_REMOVE): Delete macro definition.
  3648. * config/mips/tm-mips.h (ADDR_BITS_REMOVE): Delete definition.
  3649. * mips-tdep.c (mips_addr_bits_remove): Make static.
  3650. (mips_gdbarch_init): Initialize addr_bits_remove.
  3651. 2001-06-15 Andrew Cagney <ac131313@redhat.com>
  3652. From 2001-02-26 D.J. Barrow <djbarrow@de.ibm.com>:
  3653. * configure.tgt: Add S/390 31 & 64 bit target configuration.
  3654. * configure.host: Ditto for host.
  3655. 2001-06-15 Andrew Cagney <ac131313@redhat.com>
  3656. * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
  3657. (EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
  3658. predicate.
  3659. * gdbarch.h, gdbarch.c: Regenerate.
  3660. * values.c (value_being_returned): Change the reference to
  3661. EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.
  3662. 2001-06-15 Joel Brobecker <brobecker@act-europe.fr>
  3663. * MAINTAINERS: Add Paul Hilfinger and Joel Brobecker to the
  3664. Write After Approval list.
  3665. 2001-06-14 Michael Snyder <msnyder@redhat.com>
  3666. * remote.c (show_remote_protocol_qSymbol_packet_cmd,
  3667. set_remote_protocol_qSymbol_packet_cmd): New functions.
  3668. (init_all_packet_configs, show_remote_cmd): Add qSymbol packet.
  3669. (remote_check_symbols): New function. Implement qSymbol packet,
  3670. allowing target to request symbol lookup service from gdb.
  3671. (remote_open_1, remote_async_open_1): Call remote_check_symbols,
  3672. allowing symbol lookup from exec_bfd on connection to target.
  3673. (remote_new_objfile): New function. Catch new objfile notifications
  3674. from shared library module, and call remote_check_symbols.
  3675. (_initialize_remote): Hook remote_new_objfile into the shared
  3676. library notification chain. Add "set remote symbol-lookup" command.
  3677. 2001-06-14 Keith Seitz <keiths@redhat.com>
  3678. * tracepoint.c (trace_command): We now have tracepoint
  3679. events. Get rid of those ugly hooks.
  3680. (tracepoint_operation): Likewise.
  3681. (trace_pass_command): Likewise.
  3682. 2001-06-13 Michael Snyder <msnyder@redhat.com>
  3683. * gdbthread.h (struct thread_info): Add new fields:
  3684. current_line, current_symtab, step_sp, for saved infrun state.
  3685. * thread.c (save_infrun_state, load_infrun_state): Save and
  3686. restore current_line, current_symtab, and step_sp.
  3687. (add_thread): Rather than adding assignments to initialize
  3688. the new fields, just use memset (tp, 0, sizeof (*tp).
  3689. This way future new fields will not be overlooked.
  3690. * infrun.c (handle_inferior_event): Save and restore save_sp,
  3691. current_line, and current_symtab when switching threads.
  3692. 2001-06-13 Elena Zannoni <ezannoni@redhat.com>
  3693. * MAINTAINERS: Add Andrew Cagney as co-maintainer of
  3694. testsuite/gdb.mi.
  3695. 2001-06-11 Andrew Cagney <ac131313@redhat.com>
  3696. * symtab.c (lookup_symtab_1): Replace basename with lbasename.
  3697. (lookup_partial_symtab, file_matches): Ditto.
  3698. (make_source_files_completion_list): Ditto.
  3699. (make_file_symbol_completion_list): Ditto. Make local char*
  3700. variable ``tail'' constant.
  3701. (make_source_files_completion_list): Ditto with ``base_name''.
  3702. * source.c (open_source_file): Use lbasename. Make ``p'' const
  3703. char *.
  3704. 2001-06-13 Eli Zaretskii <eliz@is.elta.co.il>
  3705. * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
  3706. (SLASH_STRING): Remove unused definitions.
  3707. * config/i386/xm-cygwin.h: Likewise.
  3708. 2001-06-12 Andrew Cagney <ac131313@redhat.com>
  3709. * ui-out.c (ui_out_list_begin): Add parameter ``id''.
  3710. (make_cleanup_ui_out_list_begin_end): Ditto. Open the list.
  3711. * ui-out.h: Update declarations.
  3712. Mon Jun 11 17:26:43 2001 Andrew Cagney <cagney@b1.cygnus.com>
  3713. * source.c (openp): Make parameters ``path'' and ``string''
  3714. constant.
  3715. (openp): Use alloca to safely duplicate ``string''. Make local
  3716. variables ``p'' and ``p1'' constant. Delete char* casts.
  3717. * defs.h: Update.
  3718. * symtab.c (lookup_symtab_1): Make parameter ``name'' constant.
  3719. (lookup_symtab, lookup_partial_symtab): Ditto.
  3720. * symtab.h (lookup_symtab, lookup_partial_symtab): Update.
  3721. 2001-06-11 Andrew Cagney <ac131313@redhat.com>
  3722. * ui-out.h (ui_out_table_begin): Make char* parameters constant.
  3723. (ui_out_table_header, ui_out_field_int): Ditto.
  3724. (ui_out_field_core_addr, ui_out_field_string): Ditto.
  3725. (ui_out_field_stream, ui_out_field_fmt): Ditto.
  3726. (ui_out_field_skip, ui_out_text, ui_out_message): Ditto.
  3727. * ui-out.c (ui_out_table_begin, ui_out_table_header): Update.
  3728. (ui_out_field_core_addr, ui_out_field_stream): Update.
  3729. (ui_out_field_string, ui_out_field_fmt): Update.
  3730. (ui_out_text, ui_out_message): Update.
  3731. (append_header_to_list): Make char* parameters constant.
  3732. (uo_table_header, uo_table_begin): Ditto.
  3733. (uo_field_int, uo_field_skip): Ditto.
  3734. (uo_field_string, uo_field_fmt): Ditto.
  3735. (uo_text, uo_message): Ditto.
  3736. 2001-06-11 Eli Zaretskii <eliz@is.elta.co.il>
  3737. * completer.c (gdb_completer_loc_break_characters): New variable.
  3738. (line_completion_function): If we are completing on locations,
  3739. back up the start of word pointer past all characters which can
  3740. appear in a location spec.
  3741. (location_completer): New function.
  3742. * completer.h: Add prototype for location_completer.
  3743. * symtab.c (make_source_files_completion_list)
  3744. (add_filename_to_list, not_interesting_fname): New functions.
  3745. (filename_seen): New function, body extracted from
  3746. output_source_filename.
  3747. (output_source_filename): Call filename_seen to check if the file
  3748. was already printed.
  3749. (make_symbol_completion_list): If TEXT includes a
  3750. double-quoted string, return an empty list, not NULL.
  3751. (make_file_symbol_completion_list): New function, similar to
  3752. make_symbol_completion_list but with an additional argument
  3753. SRCFILE.
  3754. * symtab.h (make_file_symbol_completion_list)
  3755. (make_source_files_completion_list): Add prototypes.
  3756. * breakpoint.c (_initialize_breakpoint): Make location_completer
  3757. be the completion function for all commands which set breakpoints
  3758. and watchpoints.
  3759. (top-level): #include "completer.h".
  3760. * tracepoint.c (_initialize_tracepoint): Make location_completer
  3761. be the completion function for the "trace" command.
  3762. (top-level): #include "completer.h".
  3763. * printcmd.c (_initialize_printcmd): Make location_completer be
  3764. the completion function for the "print", "inspect", "call", and
  3765. "disassemble" commands.
  3766. (top-level): #include "completer.h".
  3767. * infcmd.c (_initialize_infcmd): Make location_completer be the
  3768. completion function for the "go", "jump", and "until" commands.
  3769. (top-level): #include "completer.h".
  3770. 2001-06-10 Christopher Faylor <cgf@redhat.com>
  3771. * gnu-regex.c: Eliminate obsolete check for _MSC_VER.
  3772. * utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
  3773. * values.c (unpack_double): Remove obsolete check for _MSC_VER.
  3774. * defs.h: Ditto.
  3775. * m32r-rom.c: Ditto.
  3776. * p-exp.y: Ditto.
  3777. * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for
  3778. faster compilation.
  3779. (get_ds_base): Remove _MSC_VER version of this function.
  3780. * nindy-share/ttyflush.c: Ditto.
  3781. * rdi-share/host.h: Ditto.
  3782. * ser-go32.c (dos_readchar): Remove call to obsolete function.
  3783. * remote-sim.c (gdb_os_poll_quit): Ditto.
  3784. * remote-e7000.c (expect): Remove obsolete #if 0'ed code.
  3785. * main.c (captured_main): Eliminate special Cygwin checks.
  3786. * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
  3787. 2001-06-09 Andrew Cagney <ac131313@redhat.com>
  3788. * Makefile.in (gdbcmd_h): Add ui_out_h.
  3789. (breakpoint.o, infcmd.o, main.o, printcmd.o, stack.o): Ditto.
  3790. (thread.o, top.o): Ditto.
  3791. * ui-out.h (table_begin_ftype): Make string parameters constant.
  3792. (table_header_ftype): Ditto.
  3793. (field_int_ftype): Ditto.
  3794. (field_skip_ftype): Ditto.
  3795. (field_string_ftype): Ditto.
  3796. (field_fmt_ftype): Ditto.
  3797. (text_ftype): Ditto.
  3798. (message_ftype): Ditto.
  3799. * cli-out.c (cli_table_begin): Ditto.
  3800. (cli_table_header): Ditto.
  3801. (cli_field_int): Ditto.
  3802. (cli_field_skip): Ditto.
  3803. (cli_field_string): Ditto.
  3804. (cli_field_fmt): Ditto.
  3805. (cli_text): Ditto.
  3806. (cli_message): Ditto.
  3807. (out_field_fmt): Ditto.
  3808. * ui-out.c (default_table_begin): Ditto.
  3809. (default_table_header): Ditto.
  3810. (default_field_int): Ditto.
  3811. (default_field_skip): Ditto.
  3812. (default_field_string): Ditto.
  3813. (default_field_fmt): Ditto.
  3814. (default_text): Ditto.
  3815. (default_message): Ditto.
  3816. 2001-06-08 Michael Snyder <msnyder@redhat.com>
  3817. * breakpoint.c (delete_breakpoint): Pass mark_inserted to
  3818. remove_breakpoint, so that the subsequent test for
  3819. bpt->inserted will succeed, and duplicates will be fixed up.
  3820. 2001-06-08 Per Bothner <per@bothner.com>
  3821. * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
  3822. 2001-06-07 Keith Seitz <keiths@redhat.com>
  3823. * tracepoint.c (tracepoint_opertation): Add ui event
  3824. notifications.
  3825. (trace_pass_command): Ditto.
  3826. 2001-06-07 Andrew Cagney <ac131313@redhat.com>
  3827. * MAINTAINERS (Write After Approval): Note the entry criteria.
  3828. (HP/PA): Jeff Law stepped down
  3829. 2001-06-07 Jim Blandy <jimb@redhat.com>
  3830. * gdbarch.sh: Make sure that '[' doesn't interpret interesting
  3831. variable values as operators.
  3832. 2001-06-07 Keith Seitz <keiths@redhat.com>
  3833. * gdb-events.sh: Fix quote escaping which was obsoleted
  3834. by last patch.
  3835. 2001-06-07 Keith Seitz <keiths@redhat.com>
  3836. * gdb-events.sh: Make if statements and tests
  3837. a little more portable.
  3838. Don't use shell's echo command to put strings containing
  3839. escaped characeters into a file -- different flavors of /bin/sh
  3840. require differnt levels of escaping. Use cat <<EOF instead.
  3841. Our internal field separator is a colon. Change all
  3842. commands which assume it is a space.
  3843. 2001-06-06 Mark Kettenis <kettenis@gnu.org>
  3844. * lin-lwp.c (struct lwp_info): Add member `resumed'.
  3845. (iterate_over_lwps): Make sure we can handle CALLBACK deleting the
  3846. LWP it's called for.
  3847. (lin_lwp_attach): Mark LWP as resumed to make sure the fake
  3848. SIGSTOP is reported.
  3849. (resume_clear_callback): New function.
  3850. (resume_set_callback): New function.
  3851. (lin_lwp_resume): Mark all LWP's that we're going to resume as
  3852. resumed, and unmark all others.
  3853. (status_callback): Only report a pending wait status if we pretend
  3854. that LP has been resumed.
  3855. (resumed_callback): New function.
  3856. (lin_lwp_wait): Add assertions to check that LWP's are properly
  3857. marked as resumed. Partially revert 2001-05-25 patch by Michael
  3858. Snyder: do not resume all threads. Add comment explaining the
  3859. problems associated with this bit of code.
  3860. 2001-06-07 Keith Seitz <keiths@redhat.com>
  3861. * MAINTAINTERS: Syd Polk is stepping down from
  3862. maintaining libgui. I am replacing him.
  3863. 2001-06-07 Eli Zaretskii <elis@is.elta.co.il>
  3864. * config/mips/tm-irix6.h: New file.
  3865. * config/mips/irix6.mh: New file.
  3866. * config/mips/irix6.mt: New file.
  3867. * config/mips/xm-irix6.h: New file.
  3868. * config/mips/nm-irix6.h: New file.
  3869. * mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the
  3870. disassembler info in tm_print_insn_info as appropriate for the N32
  3871. ABI. Force N32 ABI to be the default if the CPU is R8000 or
  3872. R10000.
  3873. * configure.tgt (mips*-sgi-irix6*): Map to irix6.
  3874. * configure.host (mips*-sgi-irix6*): Ditto.
  3875. 2001-06-07 Andrew Cagney <ac131313@redhat.com>
  3876. * gnu-v3-abi.c: Include "gdb_assert.h".
  3877. (build_gdb_vtable_type): Replace abort() with gdb_assert().
  3878. 2001-06-06 Jim Blandy <jimb@redhat.com>
  3879. * cp-abi.h: Rearrange code to put documentation comments above the
  3880. functions we export. The actual function table itself simply
  3881. refers to those functions. Minor doc fixes.
  3882. * gdbarch.sh: Changes to effect the following:
  3883. * gdbarch.c (initialize_non_multiarch): New function.
  3884. * gdbarch.h (initialize_non_multiarch): New declaration.
  3885. * arch-utils.c (initialize_current_architecture): For
  3886. non-multiarch configurations, call initialize_non_multiarch.
  3887. 2001-06-06 Andrew Cagney <ac131313@redhat.com>
  3888. * symfile.c (compare_psymbols): Replace PTR with void*. Delete
  3889. declaration.
  3890. (compare_symbols): Ditto.
  3891. 2001-06-06 Jonathan Larmour <jlarmour@redhat.com>
  3892. * arch-utils.c (generic_prepare_to_proceed): Allow for having
  3893. stopped due to a Ctrl-C as well as breakpoints.
  3894. * hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not
  3895. support thread switches after Ctrl-C.
  3896. * lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto.
  3897. * linux-thread.c (linuxthreads_prepare_to_proceed): Ditto.
  3898. * m3-nat.c (mach3_prepare_to_proceed): Ditto.
  3899. 2001-06-06 Jim Blandy <jimb@redhat.com>
  3900. * gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
  3901. per-architecture data should be registered at initialization time,
  3902. before any gdbarch objects get used, so the generality is
  3903. unnecessary.
  3904. 2001-06-06 Keith Seitz <keiths@redhat.com>
  3905. * gdb-events.sh (function_list): Add tracepoint_create,
  3906. tracepoint_delete, and tracepoint_modify events.
  3907. * gdb-events.c: Regenerated.
  3908. * gdb-events.h: Regenerated.
  3909. 2001-06-06 Keith Seitz <keiths@redhat.com>
  3910. * gdb-events.sh: Update copyrights.
  3911. Change free to xfree.
  3912. * gdb-events.c: Regenerated.
  3913. * gdb-events.h: Regenerated.
  3914. 2001-06-06 Eli Zaretskii <eliz@is.elta.co.il>
  3915. * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
  3916. instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
  3917. * completer.c: Ditto.
  3918. * cli/cli-cmds.c (cd_command): Ditto.
  3919. 2001-06-04 Eli Zaretskii <eliz@is.elta.co.il>
  3920. * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
  3921. (mips_set_processor_type_command): Remove unused variable j.
  3922. (mips_breakpoint_from_pc): Declare breakpoint instruction
  3923. sequences as unsigned char, to avoid compiler warnings.
  3924. * source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
  3925. instead of system-specific define's like _WIN32 and __MSDOS__.
  3926. Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
  3927. ROOTED_P.
  3928. (top-level): #include "filenames.h".
  3929. * solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
  3930. instead of SLASH_CHAR, ROOTED_P and SLASH_P.
  3931. (top-level): #include "filenames.h".
  3932. * defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
  3933. (SLASH_STRING): Define only for _WIN32.
  3934. * completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
  3935. __MSDOS_.
  3936. * cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
  3937. IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P. Replace
  3938. system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
  3939. (top-level): #include "filenames.h".
  3940. * go32-nat.c (go32_wait): Change the return value to ptid_t.
  3941. * config/djgpp/fnchange.lst: Add two new files in the
  3942. gdb/testsuite/gdb.c++/ directory to the remapped names.
  3943. * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
  3944. 2001-06-01 Jim Blandy <jimb@redhat.com>
  3945. Expand the gdbarch per-architecture data vector as needed, rather
  3946. than requiring that all per-architecture data be registered before
  3947. the first gdbarch object is allocated.
  3948. * gdbarch.sh: Changes to effect the following:
  3949. * gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete
  3950. declarations and definitions.
  3951. (check_gdbarch_data): New function, and declaration.
  3952. (gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields
  3953. zero is good enough.
  3954. (free_gdbarch_data): Tolerate a null data pointer. Free only
  3955. those data items gdbarch->data actually has allocated.
  3956. (set_gdbarch_data, gdbarch_data): Call check_gdbarch_data.
  3957. (gdbarch_update_p): No need to call init_gdbarch_data.
  3958. 2001-06-01 Kevin Buettner <kevinb@redhat.com>
  3959. * ia64-tdep.c (is_float_or_hfa_type_recurse): Call check_typedef()
  3960. on types that we wish to recurse on.
  3961. (slot_alignment_is_next_even): New function.
  3962. (ia64_push_arguments): Call slot_alignment_is_next_even() to
  3963. examine the type in order to decide if it's necessary to skip
  3964. an odd slot.
  3965. 2001-06-01 Michael Snyder <msnyder@redhat.com>
  3966. * thread.c (delete_step_resume_breakpoint): New function.
  3967. Maintain internal consistency of the thread list while deleting
  3968. a step_resume_breakpoint.
  3969. * gdbthread.h (delete_step_resume_breakpoint): Export.
  3970. * breakpoint.c (bpstat_find_step_resume_breakpoint):
  3971. Make thread-aware: don't return a step_resume_breakpoint
  3972. for the wrong thread.
  3973. * infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
  3974. instead of delete_breakpoint_current_contents.
  3975. (fetch_inferior_event): Ditto.
  3976. (handle_inferior_event): Call delete_step_resume_breakpoint
  3977. instead of delete_breakpoint.
  3978. * infrun.c (handle_inferior_event): After singlestepping over a
  3979. thread-specific breakpoint, use currently_stepping() to decide
  3980. whether to step or continue.
  3981. 2001-06-01 Jim Blandy <jimb@redhat.com>
  3982. * gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
  3983. these static --- there's no reason other files should use these.
  3984. * partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
  3985. Fix memory leak.
  3986. * partial-stab.h: New complaint: function_outside_compilation_unit.
  3987. (case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero,
  3988. complain, and don't try to set pst's start address.
  3989. 2001-05-31 Kevin Buettner <kevinb@redhat.com>
  3990. * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
  3991. match the location at which the kernel is placing the sigcontext
  3992. struct.
  3993. * ia64-tdep.c (max_skip_non_prologue_insns): New static global.
  3994. (refine_prologue_limit): New function.
  3995. (examine_prologue): Further limit number of instructions
  3996. scanned by calling refine_prologue_limit(). Revise way in
  3997. which the end of prologue address is computed for frameless
  3998. functions.
  3999. 2001-05-29 Christopher Faylor <cgf@redhat.com>
  4000. * partial-stab.h: Revert previous patch.
  4001. 2001-05-29 Christopher Faylor <cgf@redhat.com>
  4002. * partial-stab.h: Consistently guard against pst being NULL.
  4003. 2001-05-29 Alexandre Oliva <aoliva@redhat.com>
  4004. * symfile.c (compare_psymbols, compare_symbols): Declare using
  4005. PTR, as in the definition.
  4006. * minsyms.c (compare_minimal_symbols): Likewise.
  4007. * coffread.c (find_targ_sec): Likewise.
  4008. * elfread.c (free_elfinfo, elf_locate_sections): Likewise.
  4009. * mipsread.c (alphacoff_locate_sections): Likewise.
  4010. * mdebugread.c (compare_blocks): Likewise.
  4011. 2001-05-25 Nick Duffek <nsd@redhat.com>
  4012. * solib.c (update_solib_list): Move target_resize_to_sections()
  4013. into solib_map_sections() loop.
  4014. (info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
  4015. bfd_get_arch_size() fails.
  4016. 2001-05-25 Nick Duffek <nsd@redhat.com>
  4017. * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
  4018. solib-osf.o.
  4019. * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
  4020. with solib-osf.o and solib.o.
  4021. * config/alpha/alpha-osf2.mh: Likewise.
  4022. * config/alpha/alpha-osf3.mh: Likewise.
  4023. * solib-osf.c: New file, renamed and largely rewritten from
  4024. osfsolib.c.
  4025. 2001-05-25 Michael Snyder <msnyder@redhat.com>
  4026. * lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
  4027. to consume the SIGSTOP generated by PTRACE_ATTACH.
  4028. (stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
  4029. try again to get the SIGSTOP event.
  4030. (lin_lwp_wait): Resume all threads when ignoring a signal.
  4031. This will insure that newly attached threads get resumed.
  4032. * lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
  4033. * remote.c (remote_write_bytes): Update 'p' packet pointer.
  4034. 2001-05-25 Jim Blandy <jimb@redhat.com>
  4035. * gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
  4036. VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
  4037. useful value, then we should fix that instead.
  4038. 2001-05-24 Nick Duffek <nsd@redhat.com>
  4039. * solist.h (struct so_list): Document the requirement that
  4040. current_sos initialize some fields to 0.
  4041. 2001-05-24 Mark Kettenis <kettenis@gnu.org>
  4042. * gnu-nat.c: Include <ctype.h>.
  4043. (gnu_pid_to_exec_file): Add PID parameter.
  4044. (set_sig_thread_cmd): Use PIDGET on return value from
  4045. thread_id_to_pid.
  4046. (proc_string): Use MERGEPID to construct argument to
  4047. pid_to_thread_id.
  4048. 2001-05-22 Kevin Buettner <kevinb@redhat.com>
  4049. * breakpoint.c (breakpoint_address_is_meaningful): New function.
  4050. (check_duplicates): Don't compare non-meaningful addresses.
  4051. 2001-05-22 Michael Snyder <msnyder@redhat.com>
  4052. * thread-db.c: Allow for defunct zombie threads.
  4053. (attach_thread): Do not attempt to attach zombie thread.
  4054. (thread_db_thread_alive): Return false for defunct zombie thread.
  4055. (find_new_threads_callback): Don't add defunct zombie thread to list.
  4056. 2001-05-22 Jim Blandy <jimb@redhat.com>
  4057. Add support for the GNU V3 C++ ABI.
  4058. (Includes changes by Dan Berlin.)
  4059. * gnu-v3-abi.c: New file.
  4060. * minsyms.c: #include "value.h" and "cp-abi.h".
  4061. (install_minimal_symbols): Check the minimal symbol table for
  4062. symbols that look mangled in the V3 style, and select the V3 ABI
  4063. if we find any.
  4064. * Makefile.in (SFILES): Add gnu-v3-abi.c.
  4065. (COMMON_OBS): Add gnu-v3-abi.o.
  4066. (gnu-v3-abi.o): Add new rule.
  4067. (minsyms.o): Depend on $(cp_abi_h) and $(value_h).
  4068. 2001-05-21 Jim Blandy <jimb@redhat.com>
  4069. * values.c (value_primitive_field): If we're extracting a base
  4070. class, then the type of the result should be the base class being
  4071. extracted, not the type of which it is a base class.
  4072. * value.h (struct value): Doc fix, and rearrange members to place
  4073. them near their explanations.
  4074. 2001-05-21 Michael Snyder <msnyder@redhat.com>
  4075. * remote.c (remote_async_wait): Added new variable fieldsize.
  4076. Add fieldsize (return value of hex2bin) to string pointer p.
  4077. 2001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  4078. * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
  4079. (m68hc11_analyze_instruction): Update the pc correctly.
  4080. (m68hc11_guess_from_prologue): Take into account the stack correction
  4081. for the saving address.
  4082. 2001-05-07 Daniel Berlin <dan@cgsoftware.com>
  4083. Changes by Jim Ingham:
  4084. * values.c (value_change_enclosing_type): New function. If the
  4085. new enclosing type is larger than the old one, we need to allocate
  4086. more space.
  4087. * value.h: Add value_change_enclosing_type prototype.
  4088. * valops.c (value_cast): Use it.
  4089. (value_assign): Use it.
  4090. (value_addr): Use it.
  4091. (value_ind): Use it.
  4092. (value_full_object): Use it.
  4093. 2001-05-07 Daniel Berlin <dan@cgsoftware.com>
  4094. * values.c (value_static_field): Handle static fields that have a
  4095. constant value.
  4096. 2001-05-17 Michael Snyder <msnyder@redhat.com>
  4097. * blockframe.c (create_new_frame): Zero all the fields via memset,
  4098. rather than zeroing them one by one.
  4099. 2001-05-17 Eli Zaretskii <eliz@is.elta.co.il>
  4100. * top.c (user_args): Remove unused declaration.
  4101. 2001-05-16 Michael Snyder <msnyder@redhat.com>
  4102. * infcmd.c (do_registers_info): Move alloca outside of loop.
  4103. 2001-05-15 John S Kallal <jskallal@home.com>
  4104. * remote.c (remote_wait): Added new variable fieldsize.
  4105. Add fieldsize (return value of hex2bin) to string pointer p.
  4106. 2001-05-15 Mark Kettenis <kettenis@gnu.org>
  4107. * sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
  4108. info.bfd_arch_info.
  4109. 2001-05-14 Kevin Buettner <kevinb@redhat.com>
  4110. * lin-lwp.c (detach_callback, lin_lwp_wait, lin_lwp_pid_to_str):
  4111. Adjust format strings for printing LWPs to account for the fact
  4112. that the type returned by GET_LWP() is now a long instead of an
  4113. int.
  4114. 2001-05-14 Kevin Buettner <kevinb@redhat.com>
  4115. * inferior.h (null_ptid, minus_one_ptid): New variable declarations.
  4116. (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
  4117. (ptid_get_tid, ptid_equal): New function declarations.
  4118. * infrun.c (null_ptid, minus_one_ptid): New variables.
  4119. (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
  4120. (ptid_get_tid, ptid_equal): New functions.
  4121. (_initialize_infrun): Initialize null_ptid, minus_one_ptid,
  4122. inferior_ptid, and target_last_wait_ptid.
  4123. * defs.h (ptid_t): Redefine to be a struct rather than an int.
  4124. (pid_to_ptid, null_ptid, ptid_equal): Delete these macros.
  4125. (PIDGET, TIDGET, MERGEPID): Redefine these macros using the
  4126. new ptid accessors and constructor.
  4127. * config/i386/tm-i386v42mp.h (PIDGET, TIDGET, LIDGET, MERGEPID,
  4128. MKLID, MKTID, ISTID): Provide new definitions for these macros.
  4129. The old macros are retained, but disabled via #if 0 in order
  4130. to aid in future restructuring. See FIXME.
  4131. * arm-linux-nat.c (PIDGET, TIDGET): Delete macro definitions.
  4132. * i386-linux-nat.c (PIDGET, TIDGET): Likewise.
  4133. * infptrace.c (PIDGET, TIDGET): Likewise.
  4134. * lin-lwp.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
  4135. * lin-thread.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
  4136. * proc-service.c (MERGEPID): Likewise.
  4137. * procfs.c (PIDGET, TIDGET, MERGEPID): Likewise.
  4138. * thread-db.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
  4139. * config/nm-linux.h (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
  4140. * config/i386/tm-i386sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
  4141. Likewise.
  4142. * config/sparc/tm-sun4sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
  4143. Likewise.
  4144. * lin-lwp.c (THREAD_FLAG): Delete macro definition.
  4145. (GET_LWP): Redefine in terms of ptid_get_lwp().
  4146. (GET_PID): Redefine in terms of ptid_get_pid().
  4147. (is_lwp): Redefine without the need for THREAD_FLAG.
  4148. (BUILD_LWP): Redefine in terms of ptid_build().
  4149. * lin-thread.c (THREAD_FLAG): Delete macro definition.
  4150. (GET_LWP): Redefine in terms of ptid_get_lwp().
  4151. (GET_PID): Redefine in terms of ptid_get_pid().
  4152. (GET_THREAD): Redefine in terms of ptid_get_tid().
  4153. (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
  4154. (is_lwp, is_thread): Redefine.
  4155. (linux_child_wait, check_all_signal_numbers)
  4156. (linuxthreads_discard_global_state, attach_thread): Declare these
  4157. functions to squash warnings about missing declarations.
  4158. * sol-thread.c (THREAD_FLAG): Delete macro definition.
  4159. (GET_PID): Redefine in terms of ptid_get_pid().
  4160. (GET_LWP): Redefine in terms of ptid_get_lwp().
  4161. (GET_THREAD): Redefine in terms of ptid_get_tid().
  4162. (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
  4163. (is_lwp, is_thread): Redefine.
  4164. * thread-db.c (THREAD_FLAG): Delete macro definition.
  4165. (GET_PID): Redefine in terms of ptid_get_pid().
  4166. (GET_LWP): Redefine in terms of ptid_get_lwp().
  4167. (GET_THREAD): Redefine in terms of ptid_get_tid().
  4168. (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
  4169. (is_lwp, is_thread): Redefine.
  4170. * corelow.c (add_to_thread_list, get_core_register_section):
  4171. Eliminate hacks needed to prevent regressions when inferior_ptid
  4172. wasn't wide enough to hold the core file thread id in the pid
  4173. component of inferior_ptid.
  4174. 2001-05-14 Michael Snyder <msnyder@redhat.com>
  4175. * remote.c (hex2bin): Make first argument const.
  4176. Require explicit count, don't accept null-terminated str.
  4177. (remote_resume, remote_async_resume): White space fix-up.
  4178. (remote_write_bytes): Set nr_bytes to return value of bin2hex.
  4179. 2001-05-13 Mark Kettenis <kettenis@gnu.org>
  4180. * symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
  4181. basename (NAME). The FreeBSD basename returns a pointer to a
  4182. static buffer, even if it's simply returning a string identical to
  4183. its argument.
  4184. (lookup_partial_symtab): Likewise.
  4185. 2001-05-14 Michael Snyder <msnyder@redhat.com>
  4186. * solib.c, solib.h: Add comment for function no_shared_libraries.
  4187. 2001-05-14 Kevin Buettner <kevinb@redhat.com>
  4188. * solib.h (no_shared_libraries): Make declaration match definition
  4189. in solib.c.
  4190. 2001-05-14 Andrew Cagney <ac131313@redhat.com>
  4191. * remote.c (remote_write_bytes): Set nr_bytes before returning it.
  4192. * solib.h (no_shared_libraries): Declare.
  4193. 2001-05-12 Andrew Cagney <ac131313@redhat.com>
  4194. * gdbarch.sh (struct gdbarch_info): Delete field bfd_architecture.
  4195. (gdbarch_update_p): Rewrite logic filling in INFO struct. Use
  4196. user specified values when available.
  4197. * rs6000-tdep.c (rs6000_gdbarch_init): Update. Get the
  4198. architecture from info.bfd_arch_info.
  4199. * gdbarch.c, gdbarch.h: Regenerate.
  4200. 2001-05-12 Fernando Nasser <fnasser@redhat.com>
  4201. * remote-e7000.c (e7000_open): Check for bad baud rate.
  4202. * remote-st.c (st2000_open): Ditto.
  4203. 2001-05-11 Jim Blandy <jimb@redhat.com>
  4204. * thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
  4205. and ui_out_tuple_end instead of ui_out_list_begin and
  4206. ui_out_list_end.
  4207. * Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
  4208. dependencies. Reorder dependencies to match #includes in file,
  4209. for easier verification.
  4210. Fri May 11 13:32:50 2001 Andrew Cagney <cagney@b1.cygnus.com>
  4211. * breakpoint.c: Replace ui_out_list_begin, ui_out_list_end and
  4212. make_cleanup_ui_out_list_end with ui_out_tuple_begin,
  4213. ui_out_tuple_end and make_cleanup_ui_out_tuple_begin_end.
  4214. * cli/cli-setshow.c: Ditto.
  4215. * printcmd.c: Ditto.
  4216. * stack.c: Ditto.
  4217. * ui-out.h (enum ui_out_type): Fix tipo - tupple -> tuple.
  4218. * ui-out.c (ui_out_list_begin): Delete ``lstid'' parameter.
  4219. (ui_out_tuple_begin): New function.
  4220. (ui_out_tuple_end): New function.
  4221. (ui_out_tuple_begin_end): New function.
  4222. (make_cleanup_ui_out_list_begin_end): Replace
  4223. make_cleanup_ui_out_list_end function.
  4224. * ui-out.h (ui_out_list_begin): Update declaration.
  4225. (make_cleanup_ui_out_list_begin_end): Replace
  4226. make_cleanup_ui_out_list_end declaration.
  4227. (ui_out_tuple_begin, ui_out_tuple_end): Declare.
  4228. (ui_out_tuple_begin_end): Declare.
  4229. 2001-05-11 Jim Blandy <jimb@redhat.com>
  4230. * gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
  4231. 2001-05-11 Andrew Cagney <ac131313@redhat.com>
  4232. From 2001-03-26 Rodney Brown <RodneyBrown@mynd.com>
  4233. * config/pa/tm-hppa.h: Remove trigraph.
  4234. * hp-symtab-read.c (hpread_type_translate): Provide return value.
  4235. (hpread_read_struct_type): Remove trigraph. Add parameter in
  4236. `warning'.
  4237. (hpread_read_array_type): Provide return value.
  4238. (hpread_type_lookup): Avoid ambiguous `else'. Provide return
  4239. value.
  4240. * hppa-tdep.c (initialize_hp_cxx_exception_support): Remove
  4241. trigraph.
  4242. 2001-05-11 Jim Blandy <jimb@redhat.com>
  4243. * mips-tdep.c (mips_store_return_value,
  4244. mips_extract_return_value): Pass arguments to
  4245. return_value_location in the proper order.
  4246. 2001-05-11 Andrew Cagney <ac131313@redhat.com>
  4247. * Makefile.in (VERSION): Delete. Moved to file ``version.in''.
  4248. (version.c): Depends on file ``version.in''. Extract version
  4249. number from ``version.in'' file.
  4250. (clean mostlyclean): Update.
  4251. * version.in: New file.
  4252. * NEWS: Update.
  4253. 2001-05-11 Kevin Buettner <kevinb@redhat.com>
  4254. * breakpoint.c (set_raw_breakpoint): Add new parameter
  4255. representing the breakpoint's type. Adjust all callers.
  4256. (create_longjmp_breakpoint, create_temp_exception_breakpoint)
  4257. (create_thread_event_breakpoint): Don't test for zero return
  4258. value from set_raw_breakpoint(). It can never be zero.
  4259. (create_exception_catchpoint, watch_command_1): Move logic
  4260. which calculates the breakpoint type prior to the call to
  4261. set_raw_breakpoint().
  4262. 2001-05-11 Fernando Nasser <fnasser@redhat.com>
  4263. * ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
  4264. (hardwire_setbaudrate): Set errno to EINVAL and return with error
  4265. if the conversion of the baud rate to code fails.
  4266. 2001-05-10 Andrew Cagney <ac131313@redhat.com>
  4267. * ui-out.h (make_cleanup_ui_out_begin_end): Declare.
  4268. * ui-out.c (struct ui_out_end_cleanup_data): Define.
  4269. (do_cleanup_end): New function. Replace do_list_end.
  4270. (make_cleanup_ui_out_end): New function.
  4271. (make_cleanup_ui_out_begin_end): New function.
  4272. (make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
  4273. 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
  4274. * MAINTAINERS: Declare xcoffread.c open to all maintainers,
  4275. and make Kevin Buettner (kevinb@redhat.com) the reference person.
  4276. 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
  4277. * proc-api.c (ioctl_with_trace): Fix uninitialized variable.
  4278. 2001-05-10 Fernando Nasser <fnasser@redhat.com>
  4279. * MAINTAINERS: Add testsuite subdirectory co-maintainers.
  4280. Thu May 10 16:26:47 2001 Andrew Cagney <cagney@b1.cygnus.com>
  4281. * Makefile.in (mi-main.o): Compile with -Werror.
  4282. 2001-05-10 Michael Snyder <msnyder@redhat.com>
  4283. * remote.c (remote_open_1): Call no_shared_libraries, so that
  4284. symbols for shared libraries can be reloaded per session.
  4285. (remote_async_open_1): Ditto.
  4286. * remote.c (bin2hex, hex2bin): New functions. Factor out these
  4287. two conversions which are coded for repeatedly in this module.
  4288. (remote_threads_extra_info, remote_wait, remote_async_wait,
  4289. store_register_using_P, remote_store_registers, remote_write_bytes,
  4290. remote_read_bytes, remote_rcmd): Use bin2hex and hex2bin instead
  4291. of coding the conversions inline.
  4292. (fromhex): Not exported, change from extern to static.
  4293. 2001-05-10 Andrew Cagney <ac131313@redhat.com>
  4294. * arch-utils.c (initialize_current_architecture): Delete obsolete
  4295. ``info architecture'' command.
  4296. (info_architecture): Delete function.
  4297. 2001-05-10 Andrew Cagney <ac131313@redhat.com>
  4298. * TODO (5.1, 5.2): Update.
  4299. 2001-05-09 Andrew Cagney <ac131313@redhat.com>
  4300. * MAINTAINERS: Jim Ingham is no longer maintaining Arm related
  4301. stuff.
  4302. 2001-05-10 Keith Seitz <keiths@cygnus.com>
  4303. * Makefile.in (SUBDIR_GDBTK_OBS): Add gdbtk-bp.o, gdbtk-register.o
  4304. and gdbtk-stack.o.
  4305. (SUBDIR_GDBTK_SRCS): Ditto for the sources.
  4306. (gdbtk-bp.o): New rule.
  4307. (gdbtk-register.o): New rule.
  4308. (gdbtk-stack.o): New rule.
  4309. (gdbtk-cmds.o): Update dependencies.
  4310. (gdbtk.o): Ditto.
  4311. (gdbtk-hooks.o): Ditto.
  4312. (gdbtk-varobj.o): Ditto.
  4313. 2001-05-10 Fernando Nasser <fnasser@redhat.com>
  4314. * varobj.c (c_number_of_children): Fix memory leak. Delete unwanted old
  4315. variables, not just unregister them.
  4316. 2001-05-10 Fernando Nasser <fnasser@redhat.com>
  4317. * varobj.c (c_number_of_children): Check for target type of void*,
  4318. not the target type name. Allow dereferencing char*.
  4319. 2001-05-10 Fernando Nasser <fnasser@redhat.com>
  4320. * symfile.c (symbol_file_add_main_1): New static function.
  4321. Passes the flags arguments to symbol_file_add() and takes care
  4322. of any necessary reinitializations.
  4323. (symbol_file_command): Call symbol_file_add_main_1() instead of
  4324. symbol_file_add().
  4325. (symbol_file_add_main): Ditto.
  4326. 2001-05-09 Kevin Buettner <kevinb@redhat.com>
  4327. * lin-lwp.c (lin_lwp_pid_to_str): Revert inadvertent format
  4328. string change in 2001-05-03 changes.
  4329. (lin_lwp_wait): Revert GET_LWP coercion introduced in 2001-05-03
  4330. changes.
  4331. 2001-05-09 Kevin Buettner <kevinb@redhat.com>
  4332. * lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
  4333. component from inferior_ptid.
  4334. (lin_lwp_detach): Use pid_to_ptid() to convert from a pid to a
  4335. ptid.
  4336. 2001-05-09 Elena Zannoni <ezannoni@redhat.com>
  4337. * sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
  4338. conditional for help with connections through parallel ports,
  4339. given that the actual code for downloading through a parallel port
  4340. is not conditionalized.
  4341. * sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
  4342. unmaintaned, and probably on its way to obsolescence.
  4343. 2001-05-09 Mark Kettenis <kettenis@gnu.org>
  4344. * i386-tdep.c (i386_frame_saved_pc): New function.
  4345. * config/i386/tm-i386.h (FRAME_SAVED_PC): Redefine in terms of
  4346. i386_frame_saved_pc.
  4347. (i386_frame_saved_pc): New prototype.
  4348. * i386-tdep.c (i386_register_virtual_type): New function.
  4349. (i386_register_convertible): New function.
  4350. * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE): Redefine in terms
  4351. of i386_register_virtual_type.
  4352. (REGISTER_CONVERTIBLE): Redefine in terms of
  4353. i386_register_convertible.
  4354. (i386_register_virtual_type, i386_register_convertible): New
  4355. prototypes.
  4356. 2001-05-08 Jim Blandy <jimb@redhat.com>
  4357. * Makefile.in (mn10300-tdep.o): New rule.
  4358. * Makefile.in (gdb_string_h): Define. Use it throughout.
  4359. Some rules were already using this, even though it isn't defined.
  4360. * Makefile.in (obstack_h, target_h): Define; these are already
  4361. used elsewhere, but have been expanding to the empty string.
  4362. (memattr_h): Define; needed by target_h.
  4363. * mn10300-tdep.c (mn10300_extract_return_value): Mark this as
  4364. static. (This was accidentally omitted from the earlier patch.)
  4365. * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
  4366. (mn10300_gdbarch_init): Register it as the architecture's
  4367. dwarf2_reg_to_regnum method.
  4368. Correct and expand handling of `movm' instruction, and register
  4369. saves in general.
  4370. * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
  4371. MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
  4372. (enum movm_register_bits): New enum.
  4373. * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
  4374. bits, not hex literals. Handle the `other', `exreg0', and
  4375. `exother' bits. Correct handling of `exreg1': it saves r4, r5,
  4376. r6, and r7, not r2, r3, r4, and r5.
  4377. (saved_regs_size): New function.
  4378. (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
  4379. of computing the same thing inline, incorrectly.
  4380. * mn10300-tdep.c (mn10300_gdbarch_init): We do have a
  4381. dummy_breakpoint_offset; it's zero.
  4382. * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
  4383. stuff out into mn10300_pop_frame_regular, and use
  4384. generic_pop_current_frame. This lets us share code, and also
  4385. makes this function's prototype match that expected by gdbarch.
  4386. Make this function static.
  4387. (mn10300_pop_frame_regular): New function.
  4388. (mn10300_gdbarch_init): Register mn10300_pop_frame as the
  4389. gdbarch's pop_frame method.
  4390. * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition.
  4391. (mn10300_pop_frame): Delete declaration.
  4392. * mn10300-tdep.c (mn10300_saved_pc_after_call,
  4393. mn10300_extract_return_value,
  4394. mn10300_extract_struct_value_address, mn10300_store_return_value,
  4395. mn10300_use_struct_convention, mn10300_breakpoint_from_pc,
  4396. mn10300_frame_chain, mn10300_skip_prologue,
  4397. mn10300_push_arguments, mn10300_push_return_address,
  4398. mn10300_store_struct_return, mn10300_frame_saved_pc,
  4399. mn10300_init_extra_frame_info, mn10300_frame_init_saved_regs):
  4400. Make these functions static; they should only be visible to the
  4401. outside world as gdbarch methods.
  4402. * config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): Delete
  4403. unused declaration.
  4404. * mn10300-tdep.c (mn10300_gdbarch_init): Put the gdbarch methods
  4405. in some rational order.
  4406. * mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
  4407. generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.
  4408. Use gdbarch for most target parameters for the MN10300, rather
  4409. than the tm-*.h file.
  4410. * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE,
  4411. REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC,
  4412. FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN,
  4413. SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS,
  4414. FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC,
  4415. EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS,
  4416. STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE,
  4417. FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
  4418. FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY,
  4419. CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
  4420. CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS,
  4421. TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
  4422. SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY,
  4423. REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER):
  4424. Delete definitions. We register gdbarch methods for these now.
  4425. (struct frame_info, struct type, struct value): Delete forward
  4426. declarations of these types; they're no longer necessary, since we
  4427. don't have function declarations here any more.
  4428. * mn10300-tdep.c: #include "arch-utils.h", to get declarations for
  4429. some default gdbarch methods.
  4430. (mn10300_store_struct_return): Return void, as expected by
  4431. gdbarch.
  4432. (mn10300_init_extra_frame_info): Take initial `fromleaf' argument,
  4433. as expected by gdbarch.
  4434. (mn10300_frame_init_saved_regs): Provide dummy definition for
  4435. this, as required by gdbarch.
  4436. (mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected
  4437. by gdbarch. Register gdbarch methods or values for all the stuff
  4438. removed from tm-10300.h, listed above.
  4439. 2001-05-08 Andrew Cagney <ac131313@redhat.com>
  4440. * cli-out.c (cli_begin, cli_end): Replace cli_list_begin and
  4441. cli_list_end.
  4442. (cli_ui_out_impl): Update.
  4443. * ui-out.c (default_begin, default_end): Replace
  4444. default_list_begin and default_list_end.
  4445. (default_ui_out_impl): Update.
  4446. (uo_begin, uo_end): Replace ou_list_begin and uo_list_end.
  4447. (ui_out_begin, ui_out_end): Replace ui_out_list_begin and
  4448. ui_out_list_end.
  4449. (ui_out_list_begin, ui_out_list_end): New. Compatibility
  4450. functions.
  4451. (struct ui_out_level): Add field type.
  4452. (push_level, pop_level): Update. Add type parameter.
  4453. * ui-out.h (enum ui_out_type): Declare.
  4454. (ui_out_begin, ui_out_end): Declare.
  4455. (ui_out_begin_ftype, ui_out_end_ftype): Replace list_begin_ftype
  4456. and list_end_ftype.
  4457. (struct ui_out_impl): Update.
  4458. 2001-05-07 Andrew Cagney <ac131313@redhat.com>
  4459. * ui-out.h (list_begin_ftype, list_end_ftype): Rename argument
  4460. ``list_flag'' to ``depth''.
  4461. * ui-out.c (default_list_begin, default_list_end): Update.
  4462. (uo_list_begin, uo_list_end): Update.
  4463. (MAX_UI_OUT_LEVELS): Define.
  4464. (struct ui_out_level): Define.
  4465. (top-level): Include "gdb_assert.h".
  4466. (struct ui_out): Add fields ``level'' and ``levels''. Delete
  4467. fields ``list_flag'' and ``field_count''.
  4468. (ui_out_new): Update.
  4469. (verify_field_proper_position): Update.
  4470. (current_level, push_level, pop_level): New functions.
  4471. (ui_out_list_begin): Use push_level.
  4472. (ui_out_list_end): Use pop_level.
  4473. (ui_out_field_int): Use current_level.
  4474. (ui_out_field_skip): Ditto.
  4475. (ui_out_field_fmt): Ditto.
  4476. 2001-05-08 Michael Snyder <msnyder@redhat.com>
  4477. * language.c (longest_local_hex_string_custom): Strlen test is
  4478. inverted -- reverse the sense of the test.
  4479. 2001-05-08 Mark Kettenis <kettenis@gnu.org>
  4480. * config/i386/tm-i386v.h (struct frame_info, struct
  4481. frame_saved_regs): Remove declarations.
  4482. (i386_frame_num_args): Remove prototype.
  4483. 2001-05-07 Andrew Cagney <ac131313@redhat.com>
  4484. * MAINTAINERS: I'm no longer actively maintaining the mn10300
  4485. target.
  4486. 2001-05-04 Andrew Cagney <ac131313@redhat.com>
  4487. * main.c (captured_main): Delete #ifndef _WIN32 conditional for
  4488. WinGDB.
  4489. 2001-05-06 Kevin Buettner <kevinb@redhat.com>
  4490. * inferior.h (save_inferior_ptid): Declare.
  4491. * infrun.c (save_inferior_ptid, restore_inferior_ptid): Define.
  4492. * hpux-thread.c (save_inferior_ptid, restore_inferior_ptid):
  4493. Delete these functions.
  4494. * lin-lwp.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
  4495. * lin-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
  4496. * linux-thread.c (save_inferior_ptid, restore_inferior_ptid):
  4497. Likewise.
  4498. * proc-service.c (save_inferior_ptid, restore_inferior_ptid):
  4499. Likewise.
  4500. * sol-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
  4501. * thread-db.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
  4502. * somsolib.c (reset_inferior_ptid): Delete.
  4503. (som_solib_remove_inferior_hook): Use save_inferior_ptid() to
  4504. build the cleanup struct.
  4505. * breakpoint.c (reattach_breakpoints, detach_breakpoints): Use
  4506. a cleanup to save/restore inferior_ptid.
  4507. 2001-05-06 Mark Kettenis <kettenis@gnu.org>
  4508. Implement attach/detach for multi-threaded programs on Linux.
  4509. * thread-db.c (keep_thread_db): Adjust comment.
  4510. (deactivate_target): Removed.
  4511. (thread_db_new_objfile): Don't call deactivate_target. Implement
  4512. guts of deactivate_target inline instead.
  4513. (attach_thread): Call ATTACH_LWP unconditionally if defined.
  4514. (thread_db_attach): New function.
  4515. (thread_db_detach): Don't call deactivate_target. Do necessary
  4516. cleanup inline instead. Set inferior_ptid to LWP corresponding to
  4517. the current user-level thread.
  4518. (thread_db_kill): Set inferior_ptid to LWP corresponding to the
  4519. current user-level thread.
  4520. (thread_db_create_inferior): Deactivate target vector if
  4521. KEEP_THREAD_DB is zero.
  4522. (thread_db_mourn_inferior): Don't call deactivate_target. Do
  4523. necessary cleanup inline instead.
  4524. (init_thread_db_ops): Initialize to_attach field to
  4525. thread_db_attach.
  4526. * lin-lwp.c (lin_lwp_mourn_inferior): Remove prototype.
  4527. (stop_wait_callback): Add prototype.
  4528. (init_lwp_list): Add comment about when to re-initialize the LWP
  4529. list.
  4530. (lin_lwp_attach_lwp): Only call ptrace for cloned processes.
  4531. Avoid adding publicates to the LWP list. Only mark an LWP as
  4532. signalled if it doesn't correspond to a cloned process.
  4533. (lin_lwp_attach): Add initial process to the LWP list. Make sure
  4534. it's stopped and fake a SIGSTOP.
  4535. (detach_callback): New function.
  4536. (lin_lwp_detach): Implement.
  4537. (lin_lwp_create_inferior): Don't re-initialize LWP list here.
  4538. Call child_ops.to_create_inferior directly instead of via
  4539. target_beneath local.
  4540. (lin_lwp_mourn_inferior): Call child_ops.to_mourn_inferior
  4541. directly instead of via target_beneath local.
  4542. 2001-05-06 Eli Zaretskii <eliz@is.elta.co.il>
  4543. * symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
  4544. instead of non-portable search for `/'. Use FILENAME_CMP instead
  4545. of STREQ, to account for case-insensitive filesystems.
  4546. (top-level): #include "filenames.h".
  4547. 2001-05-05 Jim Blandy <jimb@redhat.com>
  4548. * breakpoint.c (check_duplicates): Use the breakpoint's type, not
  4549. its address, to decide whether it's a watchpoint or not. Zero
  4550. is a valid code address.
  4551. (update_breakpoints_after_exec): Admonishing comments.
  4552. * breakpoint.h (struct breakpoint): Doc fixes.
  4553. * breakpoint.c (check_duplicates): Take a breakpoint object as an
  4554. argument, rather than an address and section. All callers changed.
  4555. 2001-05-03 Kevin Buettner <kevinb@redhat.com>
  4556. * defs.h (ptid_t): New typedef.
  4557. (pid_to_ptid, null_ptid, minus_one_ptid, ptid_equal): New macros.
  4558. * a68v-nat.c, alphabsd-nat.c, arch-utils.c, arm-linux-nat.c,
  4559. blockframe.c, breakpoint.c, breakpoint.h,
  4560. config/i386/nm-i386sol2.h, config/i386/tm-i386sco5.h,
  4561. config/ia64/nm-linux.h, config/m68k/nm-hp300bsd.h,
  4562. config/mips/nm-irix4.h, config/mips/nm-irix5.h,
  4563. config/pa/nm-hppah.h, config/pa/tm-hppa.h,
  4564. config/rs6000/nm-rs6000.h, config/sparc/nm-sun4sol2.h,
  4565. corelow.c, cxux-nat.c, d10v-tdep.c, dink32-rom.c,
  4566. dve3900-rom.c, fork-child.c, frame.c, gnu-nat.c, go32-nat.c,
  4567. hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c,
  4568. hpux-thread.c, i386-linux-nat.c, i386aix-nat.c, i386b-nat.c,
  4569. i386bsd-nat.c, i386gnu-nat.c, i386mach-nat.c, i386nbsd-nat.c,
  4570. infcmd.c, inferior.h, inflow.c, infptrace.c, infrun.c,
  4571. inftarg.c, infttrace.c, lin-lwp.c, lin-thread.c,
  4572. linux-thread.c, lynx-nat.c, m3-nat.c, m32r-rom.c,
  4573. m68knbsd-nat.c, m88k-nat.c, mac-nat.c, mips-nat.c,
  4574. mon960-rom.c, monitor.c, ns32knbsd-nat.c, ocd.c, ppc-bdm.c,
  4575. ppcnbsd-nat.c, proc-service.c, procfs.c, ptx4-nat.c,
  4576. regcache.c, remote-adapt.c, remote-array.c, remote-bug.c,
  4577. remote-e7000.c, remote-es.c, remote-mips.c, remote-mm.c,
  4578. remote-nindy.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
  4579. remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
  4580. remote-vx.c, remote.c, rs6000-nat.c, sol-thread.c,
  4581. solib-aix5.c, solib-svr4.c, somsolib.c, sparc-nat.c,
  4582. standalone.c, sun3-nat.c, sun386-nat.c, symm-nat.c, target.c,
  4583. target.h, thread-db.c, thread.c, top.c, ultra3-nat.c,
  4584. uw-thread.c, v850ice.c, win32-nat.c, wince.c, xcoffsolib.c
  4585. (inferior_pid): Rename to inferior_ptid everywhere - even in
  4586. comments and obsolete ports. In cases where this variable
  4587. really is supposed to be used as a process id, use PIDGET() to
  4588. extract the process id component from inferior_ptid. The
  4589. other cases, either involving other variables whose types had
  4590. to be changed or functions whose signatures had to changed
  4591. are listed separately below.
  4592. * arm-linux-nat.c (get_thread_id): Change type of argument
  4593. representing a combined process/thread id from ``int'' to
  4594. ``ptid_t''. Also change parameter name to ptid.
  4595. * breakpoint.h, breakpoint.c (breakpoint_thread_match): Likewise.
  4596. * corelow.c (core_file_thread_alive): Likewise.
  4597. * d10v-tdep.c (d10v_read_pc, d10v_write_pc): Likewise.
  4598. * defs.h (*target_wait_hook): Likewise.
  4599. * gdbthread.h (thread_info, delete_thread, pid_to_thread_id)
  4600. (find_thread_pid, save_infrun_state, load_infrun_state): Likewise.
  4601. * gnu-nat.c (gnu_thread_alive, gnu_pid_to_str, gnu_wait)
  4602. (gnu_resume): Likewise.
  4603. * go32-nat.c (go32_wait, go32_resume): Likewise.
  4604. * h8500-tdep.c (h8500_read_pc, h8500_write_pc): Likewise.
  4605. * hppa-tdep.c (target_read_pc, target_write_pc): Likewise.
  4606. * hppah-nat.c (child_pid_to_str, hppa_tid_to_str,
  4607. (hppa_pid_or_tid_to_str, child_post_startup_inferior)
  4608. (child_thread_alive): Likewise.
  4609. * hpux-thread.c (hpux_thread_notice_signals, hpux_thread_alive)
  4610. (hpux_pid_to_str, hpux_thread_wait, hpux_thread_resume): Likewise.
  4611. * i386-linux-nat.c (child_resume): Likewise.
  4612. * ia64-linux-nat.c (enable_watchpoints_in_psr, fetch_debug_register)
  4613. (store_debug_register, fetch_debug_register_pair)
  4614. (store_debug_register_pair, ia64_linux_insert_watchpoint)
  4615. (ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
  4616. Likewise.
  4617. * ia64-tdep.c (ia64_read_pc, ia64_write_pc): Likewise.
  4618. * inferior.h (read_pc_pid, generic_target_read_pc, write_pc_pid)
  4619. (generic_target_write_pc, ptrace_wait, child_resume)
  4620. (get_last_target_status): Likewise.
  4621. * infptrace.c (ptrace_wait, child_resume): Likewise.
  4622. * inftarg.c (child_wait, child_post_wait, child_thread_live)
  4623. (child_pid_to_str): Likewise.
  4624. * infttrace.c (ptrace_wait, child_thread_alive, child_resume)
  4625. (hppa_pid_or_tid_to_str, child_post_startup_inferior): Likewise.
  4626. * lin-lwp.c (add_lwp, delete_lwp, find_lwp_pid, lin_lwp_attach_lwp)
  4627. (lin_lwp_resume, lin_lwp_wait, lin_lwp_thread_alive)
  4628. (lin_lwp_pid_to_str): Likewise.
  4629. * lin-thread.c (thread_db_alive, thread_db_pid_to_str)
  4630. (thread_db_resume, thread_db_wait): Likewise.
  4631. * linux-thread.c (linuxthreads_thread_alive, linuxthreads_pid_to_str)
  4632. (linuxthreads_resume, linuxthreads_wait): Likewise.
  4633. * lynx-nat.c (child_wait, child_thread_alive, child_resume)
  4634. (child_pid_to_str): Likewise.
  4635. * m3-nat.c (mach_really_wait, m3_resume): Likewise.
  4636. * mac-nat.c (child_wait, child_resume): Likewise.
  4637. * mips-tdep.c (mips_read_pc): Likewise.
  4638. * monitor.c (monitor_wait, monitor_resume): Likewise.
  4639. * ocd.c, ocd.h (ocd_thread_alive, ocd_resume): Likewise.
  4640. * ppc-bdm.c (bdm_ppc_wait): Likewise.
  4641. * procfs.c (do_attach, procfs_wait, procfs_resume)
  4642. (procfs_notice_signals, procfs_thread_alive, procfs_pid_to_str)
  4643. (procfs_set_watchpoint, procfs_stopped_by_watchpoint)
  4644. (procfs_find_LDT_entry): Likewise.
  4645. * regcache.c (read_register_pid, read_signed_register_pid)
  4646. (write_register_pid, generic_target_read_pc, read_pc_pid)
  4647. (generic_target_write_pc, write_pc_pid): Likewise.
  4648. * regcache.h (read_register_pid, read_signed_register_pid)
  4649. (write_register_pid): Likewise.
  4650. * remote-adapt.c (adapt_wait, adapt_resume): Likewise.
  4651. * remote-array.c (array_wait, array_resume): Likewise.
  4652. * remote-bug.c (bug_wait, bug_resume): Likewise.
  4653. * remote-e7000.c (e7000_wait, e7000_resume): Likewise.
  4654. * remote-eb.c (eb_wait, eb_resume): Likewise.
  4655. * remote-es.c (es1800_wait, es1800_resume): Likewise.
  4656. * remote-mips.c (mips_wait, mips_resume): Likewise.
  4657. * remote-mm.c (mm_wait, mm_resume): Likewise.
  4658. * remote-nindy.c (nindy_wait, nindy_resume): Likewise.
  4659. * remote-os9k.c (rombug_wait, rombug_resume): Likewise.
  4660. * remote-rdi.c (arm_rdi_wait, arm_rdi_resume): Likewise.
  4661. * remote-rdp.c (remote_rdp_resume, remote_rdp_wait): Likewise.
  4662. * remote-sds.c (sds_wait, sds_resume): Likewise.
  4663. * remote-sim.c (gdbsim_wait, gdbsim_resume): Likewise.
  4664. * remote-st.c (st2000_wait, st2000_resume): Likewise.
  4665. * remote-udi.c (udi_wait, udi_resume): Likewise.
  4666. * remote-vx.c (vx_wait, vx_resume): Likewise.
  4667. * remote.c (remote_current_thread, remote_resume, remote_wait)
  4668. (remote_async_resume, remote_async_wait, remote_cisco_wait)
  4669. (remote_thread_alive): Likewise.
  4670. * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_resume)
  4671. (sol_thread_wait, sol_thread_notice_signals, sol_thread_alive)
  4672. (solaris_pid_to_str): Likewise.
  4673. * symm-nat.c (child_wait, child_resume): Likewise.
  4674. * target.c (debug_to_resume, debug_to_wait, debug_to_post_wait)
  4675. (debug_to_notice_signals, debug_to_thread_alive)
  4676. (normal_target_post_startup_inferior, normal_pid_to_str)
  4677. (debug_to_post_startup_inferior): Likewise.
  4678. * target.h (to_resume, to_wait, to_post_wait)
  4679. (to_post_startup_inferior, to_notice_signals, to_thread_alive)
  4680. (to_pid_to_str [all in struct target_ops]): Likewise.
  4681. (child_post_wait, child_thread_alive, normal_pid_to_str): Likewise.
  4682. * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait)
  4683. (attach_thread, detach_thread, thread_db_resume, check_event)
  4684. (thread_db_post_startup_inferior, thread_db_thread_alive)
  4685. (thread_db_pid_to_str): Likewise.
  4686. * thread.c (add_thread, delete_thread, find_thread_pid)
  4687. (pid_to_thread_id, in_thread_list, load_infrun_state)
  4688. (save_infrun_state, switch_to_thread, restore_current_thread)
  4689. (make_cleanup_restore_current_thread): Likewise.
  4690. * top.c (target_wait_hook): Likewise.
  4691. * uw-thread.c (dbgpid, thr_to_lwp, lwp_to_thr, add_thread_uw)
  4692. (uw_thread_resume, libtrhead_stub, uw_thread_wait, uw_thread_alive)
  4693. (uw_thread_pid_to_str): Likewise.
  4694. * v850ice.c (v850ice_wait, v850ice_resume): Likewise.
  4695. * win32-nat.c (child_wait, child_resume, win32_child_thread_alive)
  4696. (cywin_pid_to_str): Likewise.
  4697. * wince.c (child_wait, child_resume, win32_child_thread_alive):
  4698. Likewise.
  4699. * config/nm-linux.h (linuxthreads_pid_to_str): Likewise.
  4700. * config/nm-lynx.h (child_wait, lynx_pid_to_str): Likewise.
  4701. * config/alpha/nm-linux.h (lin_lwp_attach_lwp): Likewise.
  4702. * config/arm/nm-linux.h (lin_lwp_attach_lwp): Likewise.
  4703. * config/h8500/tm-h8500.h (h8500_read_pc, h8500_write_pc): Likewise.
  4704. * config/i386/nm-i386sol2.h (procfs_stopped_by_watchpoint)
  4705. (procfs_set_watchpoint): Likewise.
  4706. * config/i386/nm-linux.h (lin_lwp_attach_lwp): Likewise.
  4707. * config/i386/nm-ptx4.h (child_wait): Likewise.
  4708. * config/i386/nm-symmetry.h (child_wait): Likewise.
  4709. * config/i386/tm-cygwin.h (cygwin_pid_to_str): Likewise.
  4710. * config/ia64/nm-linux.h (ia64_linux_stopped_by_watchpoint)
  4711. (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint)
  4712. (lin_lwp_attach_lwp): Likewise.
  4713. * config/mips/nm-irix4.h, config/mips/nm-irix5.h
  4714. (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Likewise.
  4715. * config/pa/nm-hppah.h (child_pid_to_str, hppa_tid_to_str)
  4716. (hppa_pid_or_tid_to_str): Likewise.
  4717. * config/pa/tm-hppa.h (target_read_pc, target_write_pc): Likewise.
  4718. * config/powerpc/nm-linux.h (lin_lwp_attach_lwp): Likewise.
  4719. * config/sparc/nm-sun4sol2.h (procfs_stopped_by_watchpoint)
  4720. (procfs_set_watchpoint): Likewise.
  4721. * gdbthread.h (thread_id_to_pid): Change return type which
  4722. represents a combined process/thread id from ``int'' to
  4723. ``ptid_t''.
  4724. * gnu-nat.c (gnu_wait): Likewise.
  4725. * go32-nat.c (go32_wait): Likewise.
  4726. * hpux-thread.c (hpux_thread_wait): Likewise.
  4727. * inferior.h (procfs_first_available): Likewise.
  4728. * inftarg.c (child_wait): Likewise.
  4729. * infttrace.c (ptrace_wait): Likewise.
  4730. * lin-lwp.c (lin_lwp_wait): Likewise.
  4731. * lin-thread.c (thread_db_wait): Likewise.
  4732. * linux-thread.c (linuxthreads_wait): Likewise.
  4733. * lynx-nat.c (child_wait): Likewise.
  4734. * m3-nat.c (mach_really_wait): Likewise.
  4735. * mac-nat.c (child_wait): Likewise.
  4736. * monitor.c (monitor_wait): Likewise.
  4737. * ppc-bdm.c (bdm_ppc_wait): Likewise.
  4738. * procfs.c (do_attach, procfs_wait, procfs_first_available): Likewise.
  4739. * remote-adapt.c (adapt_wait): Likewise.
  4740. * remote-array.c (array_wait): Likewise.
  4741. * remote-bug.c (bug_wait): Likewise.
  4742. * remote-e7000.c (e7000_wait): Likewise.
  4743. * remote-eb.c (eb_wait): Likewise.
  4744. * remote-es.c (es1800_wait): Likewise.
  4745. * remote-mips.c (mips_wait): Likewise.
  4746. * remote-mm.c (mm_wait): Likewise.
  4747. * remote-nindy.c (nindy_wait): Likewise.
  4748. * remote-os9k (rombug_wait): Likewise.
  4749. * remote-rdi.c (arm_rdi_wait): Likewise.
  4750. * remote-rdp.c (remote_rdp_wait): Likewise.
  4751. * remote-sds.c (sds_wait): Likewise.
  4752. * remote-sim.c (gdbsim_wait): Likewise.
  4753. * remote-st.c (st2000_wait): Likewise.
  4754. * remote-udi.c (udi_wait): Likewise.
  4755. * remote-vx.c (vx_wait): Likewise.
  4756. * remote.c (remote_wait, remote_async_wait, remote_current_thread)
  4757. (remote_cisco_wait): Likewise.
  4758. * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_wait):
  4759. Likewise.
  4760. * symm-nat.c (child_wait): Likewise.
  4761. * target.c (debug_to_wait): Likewise.
  4762. * target.h (to_wait [in struct target_ops]): Likewise.
  4763. * thread.c (thread_id_to_pid): Likewise.
  4764. * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait):
  4765. Likewise.
  4766. * top.c (*target_wait_hook): Likewise.
  4767. * uw-thread.c (lwp_to_thr, uw_thread_wait): Likewise.
  4768. * v850ice.c (v850ice_wait): Likewise.
  4769. * win32-nat.c (child_wait): Likewise.
  4770. * wince.c (child_wait): Likewise.
  4771. * config/nm-lynx.h (child_wait): Likewise.
  4772. * config/i386/nm-ptx4.h (child_wait): Likewise.
  4773. * config/i386/nm-symmetry.h (child_wait): Likewise.
  4774. * arch-utils.c (generic_prepare_to_proceed): Rename wait_pid
  4775. to wait_ptid and change its type from ``int'' to ``ptid_t''.
  4776. * breakpoint.c (reattach_breakpoints, detach_breakpoints): Likewise,
  4777. but rename saved_inferior_pid to saved_inferior_ptid.
  4778. * d10v-tdep.c (d10v_read_pc, d10_write_pc): Likewise, but rename
  4779. save_pid to save_ptid.
  4780. * gdbthread.h (struct thread_info): Likewise, but rename pid to ptid.
  4781. * hppah-nat.c (child_pid_to_exec): Likewise, but rename
  4782. saved_inferior_pid to saved_inferior_ptid.
  4783. * hpux-thread.c (main_ptid): Likewise, but rename from main_pid.
  4784. * infrun.c (previous_inferior_pid [static global]): Likewise,
  4785. but rename to previous_inferior_ptid.
  4786. (resume): Likewise, but rename resume_pid to resume_ptid.
  4787. (struct execution_control_state): Likewise, but rename
  4788. pid to ptid, saved_inferior_pid to saved_inferior_ptid,
  4789. and waiton_pid to waiton_ptid.
  4790. (target_last_wait_pid): Likewise, but rename to
  4791. target_last_wait_ptid.
  4792. * infttrace.c (saved_real_pid): Likewise, but rename to
  4793. saved_real_ptid.
  4794. (child_pid_to_exec_file): Likewise, but rename saved_inferior_pid
  4795. to saved_inferior_ptid.
  4796. * lin-lwp.c (struct lwp_info): Likewise, but rename pid to ptid.
  4797. (trap_ptid): Likewise, but renamed from trap_pid.
  4798. * lin-thread.c (handle_new_thread): Likewise, but rename gdb_pid
  4799. to gdb_ptid.
  4800. * linux-thread.c (detach_thread): Likewise, but rename pid to ptid.
  4801. (thread_db_wait): Likewise, but rename ret_pid to retptid.
  4802. * procfs.c (procfs_wait): Likewise, for retval whose name
  4803. doesn't change. Also, ``temp'' becomes two separate variables,
  4804. one named temp_tid (an int) and the other temp_ptid.
  4805. (procfs_notice_thread): Likewise (type change) for gdb_threadid
  4806. whose name does not change.
  4807. * regcache.c (registers_ptid): Likewise, but renamed from
  4808. registers_pid.
  4809. (read_register_pid, read_signed_register_pid, write_register_pid):
  4810. Likewise, but rename save_pid to save_ptid.
  4811. (read_pc_pid, write_pc_pid): Likewise, but rename saved_inferior_pid
  4812. to saved_inferior_ptid.
  4813. * remote.c (remote_newthread_step): Likewise, but rename pid to ptid.
  4814. * sol-thread.c (struct ps_prochandle): Likewise.
  4815. (sol_thread_resume): Likewise, for save_pid which becomes save_ptid.
  4816. (sol_thread_wait): Likewise, for rtnval whose name does not
  4817. change, and for save_pid which becomes save_ptid.
  4818. (solaris_pid_to_str): Likewise for lwp whose name does not change.
  4819. (sol_find_new_threads_callback): Likewise, for pid which becomes
  4820. ptid.
  4821. * target.h (target_resume, target_wait, target_post_wait)
  4822. (target_post_startup_inferior, target_notice_signals)
  4823. (target_thread_alive): Likewise.
  4824. * thread.c (info_threads_command): Likewise, but rename
  4825. current_pid to current_ptid.
  4826. (struct current_thread_cleanup): Likewise, but rename field
  4827. inferior_pid to inferior_ptid.
  4828. * thread-db.c (find_new_threads_callback): Likewise, but rename
  4829. pid to ptid.
  4830. * uw-thread.c (thr_to_lwp): Likewise for lid whose name does not
  4831. change.
  4832. (lwp_to_tr): Likewise fo tid whose name remains unchanged.
  4833. (thr_infpid, lwp_infpid, notice_thread, libthread_stub): Likewise,
  4834. but rename pid to ptid.
  4835. * config/alpha/nm-linux.h (ATTACH_LWP): Likewise.
  4836. * config/arm/nm-linux.h (ATTACH_LWP): Likewise.
  4837. * config/i386/nm-linux.h (ATTACH_LWP): Likewise.
  4838. * config/ia64/nm-linux.h (ATTACH_LWP): Likewise.
  4839. * config/pa/nm-hppah.h (target_tid_to_str): Likewise.
  4840. * config/powerpc/nm-linux.h (ATTACH_LWP): Likewise.
  4841. * arch-utils.c (generic_prepare_to_proceed): Test for the
  4842. "zero" ptid by using ptid_equal() to test to see if variable
  4843. in question is the same as null_ptid. This replaces a direct
  4844. test against zero.
  4845. * cxux-nat.c (add_shared_symbol_files): Likewise.
  4846. * i386aix-nat.c, i386b-nat.c (i386_float_info): Likewise.
  4847. * infcmd.c (run_command): Likewise.
  4848. * inflow.c (kill_command): Likewise.
  4849. * infttrace.c (call_ttrace): Likewise.
  4850. * lin-lwp.c (lin_lwp_prepare_to_proceed): Likewise.
  4851. * lin-thread.c (thread_db_kill): Likewise.
  4852. * procfs.c (procfs_kill_inferior, procfs_mourn_inferior): Likewise.
  4853. * remote-es.c (es1800_kill): Likewise.
  4854. * sol-thread.c (sol_thread_create_inferior): Likewise.
  4855. * solib.c (locate_base): Likewise.
  4856. * target.c (nosupport_runtime): Likewise.
  4857. * thread-db.c (thread_db_wait): Likewise.
  4858. * top.c (quit_confirm, quit_force): Likewise.
  4859. * uw-thread (lwp_infpid, uw_thread_resume): Likewise.
  4860. * infrun.c (handle_inferior_event, stop_stepping, normal_stop):
  4861. Use ptid_equal to compare value of process/thread ids instead of
  4862. ``=='' and ``!='' operators.
  4863. lin-lwp.c (delete_lwp, lin_lwp_prepare_to_proceed)
  4864. (stop_wait_callback, lin_lwp_wait): Likewise.
  4865. * procfs.c (procfs_wait): Likewise.
  4866. * regcache.c (read_register_bytes, read_register_gen)
  4867. (write_register_gen, read_register, read_register_pid)
  4868. (read_signed_register, read_signed_register_pid, write_register)
  4869. (write_register_pid, supply_register): Likewise.
  4870. * remote-vx.c (vx_resume): Likewise.
  4871. * sol-thread.c (sol_thread_wait): Likewise.
  4872. * symm-nat.c (kill_inferior): Likewise.
  4873. * thread.c (delete_thread, find_thread_pid, pid_to_thread_id)
  4874. (in_thread_list, info_threads_command, switch_to_thread)
  4875. (restore_current_thread): Likewise.
  4876. * uw-thread (libtread_stub): Likewise.
  4877. * arm-linux-nat.c (GET_THREAD_ID): Change PID to PTID.
  4878. * corelow.c (add_to_thread_list): Convert argument in add_thread()
  4879. call to a ptid_t.
  4880. * gnu-nat.c (inf_validate_procs): Likewise.
  4881. * linux-thread.c (stop_thread, update_stop_threads): Likewise.
  4882. * remote.c (record_currthread, remote_threads_info): Likewise.
  4883. * win32-nat.c (child_add_thread): Likewise.
  4884. * hpux-thread.c (save_inferior_pid, restore_inferior_pid): Rename,
  4885. respectively, to save_inferior_ptid() and restore_inferior_ptid().
  4886. Adjust implementations to operate on ``ptid_t'' instead of ``int''.
  4887. * lin-lwp.c (save_inferior_pid, restore_inferior_pid): Likewise.
  4888. * lin-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
  4889. * linux-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
  4890. * proc-service.c (save_inferior_pid, restore_inferior_pid): Likewise.
  4891. * sol-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
  4892. * thread-db.c (save_inferior_pid, restore_inferior_pid): Likewise.
  4893. * infrun.c (RESUME_ALL): New macro representing the -1 ptid
  4894. to be passed to target_resume() when all threads should resume.
  4895. (resume): Set resume_ptid to RESUME_ALL rather than -1.
  4896. (handle_inferior_event): Invoke target_resume() with RESUME_ALL
  4897. instead of -1.
  4898. * irix5-nat.c (solib_create_inferior_hook): Convert -1 to
  4899. a ptid_t in target_resume() call.
  4900. * osfsolib.c (solib_create_inferior_hook): Likewise.
  4901. * solib-svr4.c (solib_create_inferior_hook): Likewise.
  4902. * lin-lwp.c (PIDGET, PIDGET0): Rename original PIDGET macro to
  4903. PIDGET0. Define new PIDGET macro which uses PIDGET0, the only
  4904. difference being that the 0xffff pattern will be interpreted
  4905. as -1.
  4906. * lin-thread.c (PIDGET, PIDGET0): Likewise.
  4907. * thread-db.c (PIDGET, PIDGET0): Likewise.
  4908. * config/nm-linux.h (PIDGET, PIDGET0): Likewise.
  4909. * config/i386/tm-i386sol2.h (PIDGET, PIDGET0): Likewise.
  4910. * config/i386/tm-i386v42mp.h (PIDGET, PIDGET0): Likewise.
  4911. * config/sparc/tm-sun4sol2.h (PIDGET, PIDGET0): Likewise.
  4912. * m3-nat.c (init_m3_ops): Fix typo; initialize to_wait field to
  4913. mach_really_wait rather than mach_really__wait.
  4914. * lin-thread.c (check_for_thread_event): Fix warning; make function
  4915. actually return a value.
  4916. * gdbarch.sh (TARGET_READ_PC, TARGET_WRITE_PC): Change type of
  4917. ``pid'' arguments from ``int'' to ``ptid_t''. Also renamed
  4918. pid to ptid.
  4919. * gdbarch.h, gdbarch.c: Regenerated.
  4920. 2001-05-03 Jonathan Larmour <jlarmour@redhat.com>
  4921. * rdi-share/devsw.c: Include <time.h> for struct tm
  4922. 2001-05-03 Eli Zaretskii <eliz@is.elta.co.il>
  4923. * config/djgpp/fnchange.lst: Add mappings for the new
  4924. opcodes/openrisc-* files.
  4925. 2001-05-01 Michael Snyder <msnyder@redhat.com>
  4926. * lin-lwp.c: Change printf to fprintf_unfiltered.
  4927. * Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
  4928. 2001-05-01 Nicholas Duffek <nsd@redhat.com>
  4929. * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
  4930. (rs6000_in_solib_return_trampoline): Declare.
  4931. * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New
  4932. function.
  4933. (rs6000_skip_trampoline_code): Skip bigtoc fixup code.
  4934. * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function
  4935. check after the CSECT check rather than before it. Allocate
  4936. separate symtabs for CSECTs whose names begin with '@'.
  4937. (scan_xcoff_symtab): Don't ignore symbols beginning with '@'.
  4938. Activate the misc_func_recorded mechanism for whose names begin
  4939. with '@'.
  4940. 2001-04-30 J.T. Conklin <jtc@redback.com>
  4941. * ppcnbsd-nat.c (fetch_inferior_registers)
  4942. (store_inferior_registers, fetch_core_registers): Changed to use
  4943. fpreg[] instead of r_regs[] to access floating point registers.
  4944. 2001-04-30 Elena Zannoni <ezannoni@redhat.com>
  4945. * sh-tdep.c: Get rid of the function prototypes.
  4946. (sh_sh4_build_float_register_type): Move earlier in file.
  4947. (fv_reg_base_num): Ditto.
  4948. (dr_reg_base_num): Ditto.
  4949. 2001-04-30 Michael Snyder <msnyder@redhat.com>
  4950. * thread-db.c: Revert 2001-04-26 change for debugging output.
  4951. * lin-lwp.c: Ditto.
  4952. * lin-lwp.c: Add set/show debug lin-lwp command. Use this
  4953. command to turn extra debugging output on / off.
  4954. 2001-04-30 Eli Zaretskii <eliz@is.elta.co.il>
  4955. * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
  4956. (top-level): #include filenames.h.
  4957. * dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and
  4958. FILENAME_CMP, to DTRT on non-Posix platforms.
  4959. (top-level): #include filenames.h.
  4960. 2001-04-27 Andrew Cagney <ac131313@redhat.com>
  4961. * gdbtypes.c (check_stub_method): Always initialize ``p''.
  4962. 2001-04-27 Andrew Cagney <ac131313@redhat.com>
  4963. * configure.host: Delete romp host.
  4964. * TODO: Update.
  4965. 2001-04-27 Andrew Cagney <ac131313@redhat.com>
  4966. * TODO: Updates to 5.1. No more targets to obsolete.
  4967. 2001-04-27 Don Howard <dhoward@redhat.com>
  4968. (Changes from Kevin Buettner, with minor update by Don Howard.)
  4969. * i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix
  4970. typos in which hexadecimal constants were really intended to be
  4971. binary constants.
  4972. (i387_tag): Swap logic regarding zero vs non-zero exponents.
  4973. * MAINTAINERS (Misc): Added myself to the write-after-approval
  4974. list.
  4975. 2001-04-26 Jim Blandy <jimb@redhat.com>
  4976. (Changes from Daniel Berlin, with revisions by Jim Blandy.)
  4977. Abstract out operations specific to particular C++ ABI's, and
  4978. invoke them through a function table. This removes the C++ ABI
  4979. dependencies scattered throughout the code, and allows us to
  4980. cleanly add support for new C++ ABI's.
  4981. * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
  4982. * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
  4983. jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
  4984. #include "cp-abi.h". These files all use functions now declared
  4985. there.
  4986. * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
  4987. Deleted. These services are now provided by functions declared in
  4988. cp-abi.h.
  4989. * value.h (value_rtti_type, value_virtual_fn_field): Same.
  4990. * values.c (value_virtual_fn_field): Same, for this definition.
  4991. * valops.c (value_rtti_type): Same.
  4992. * c-typeprint.c (c_type_print_base): Use the functions from
  4993. "cp-abi.h", instead of the old macros, or hard-coded ABI-specific
  4994. tests.
  4995. * dbxread.c (record_minimal_symbol): Same.
  4996. * gdbtypes.c (get_destructor_fn_field, virtual_base_index,
  4997. virtual_base_index_skip_primaries): Same.
  4998. * jv-typeprint.c (java_type_print_base): Same.
  4999. * linespec.c (find_methods, decode_line_1): Same.
  5000. * symtab.c (gdb_mangle_name): Same.
  5001. * Makefile.in (SFILES): Add the new .c files mentioned above.
  5002. (cp_abi_h): New variable.
  5003. (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
  5004. (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
  5005. (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
  5006. jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
  5007. dependency on $(cp_abi_h).
  5008. 2001-04-26 Michael Snyder <msnyder@redhat.com>
  5009. * thread-db.c (_initialize_thread_db): Add set/show command
  5010. "debug-linux-threads" for debugging output.
  5011. * lin-lwp.c (various): Use global "debug_linux_threads to
  5012. turn on extra debugging output.
  5013. * lin-lwp.c: Minor cleanups in comments.
  5014. * target.c (normal_pid_to_str): Get rid of an ancient hack.
  5015. * remote.c (remote_pid_to_str): New function for remote target.
  5016. 2001-04-24 Jim Blandy <jimb@redhat.com>
  5017. * c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
  5018. qualifier on C++ references; all references are innately const.
  5019. 2001-04-20 Mark Kettenis <kettenis@gnu.org>
  5020. * event-top.h: Fix formatting.
  5021. 2001-04-17 Andrew Cagney <ac131313@redhat.com>
  5022. * source.c (openp): Obsolete #ifdef MPW code.
  5023. (open_source_file): Ditto.
  5024. * event-top.c (display_gdb_prompt): Ditto.
  5025. * utils.c (query): Ditto.
  5026. (init_page_info): Ditto.
  5027. (init_page_info): Delete #ifndef MPW.
  5028. * top.c (gdb_readline): Ditto.
  5029. * mac-xdep.c: Obsolete.
  5030. * mac-gdb.r: Obsolete.
  5031. * config/powerpc/xm-mpw.h: Obsolete.
  5032. * config/xm-mpw.h: Obsolete.
  5033. * mpw-make.sed: Obsolete.
  5034. * mpw-config.in: Obsolete.
  5035. * TODO: Update
  5036. * NEWS: Update
  5037. 2001-04-19 Mark Kettenis <kettenis@gnu.org>
  5038. * i386-tdep.c (i386_frameless_function_invocation): New function.
  5039. * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
  5040. in terms of i386_frameless_function_invocation. Adjust comment.
  5041. (i386_frameless_function_invocation): New prototype.
  5042. 2001-04-18 Martin M. Hunt <hunt@redhat.com>
  5043. * top.c (gdb_init): Don't call cli_out_new() to
  5044. create global uiout if init_ui_hook is set. uiout will
  5045. have to be initialized there.
  5046. 2001-04-18 Andrew Cagney <ac131313@redhat.com>
  5047. * arch-utils.c: Include "regcache.h".
  5048. 2001-04-18 Mark Kettenis <kettenis@gnu.org>
  5049. * i386-tdep.c (i386_saved_pc_after_call): New function.
  5050. * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
  5051. of i386_saved_pc_after_call.
  5052. (i386_saved_pc_after_call): New prototype.
  5053. 2001-04-17 Michael Snyder <msnyder@redhat.com>
  5054. * i386-nat.c: Fix typo in comment.
  5055. * solib.c (no_shared_libraries): New function. Discard all symbols
  5056. from shared libraries.
  5057. (_initialize_solib): Add command "nosharedlibrary" as complement
  5058. to the command "sharedlibrary". Unloads symbols for all solibs.
  5059. 2001-04-16 Andrew Cagney <ac131313@redhat.com>
  5060. * configure.host (m68030-sony-*, m68*-isi-*, m68*-sony-*):
  5061. * configure.tgt (m68*-rom68k-*, m68*-*bug-*, m68*-monitor-*)
  5062. (m68*-est-*, m68*-sony-*, m68*-isi-*):
  5063. * Makefile.in (xm-news1000.h, tm-news.h, xm-news.h): Obsolete..
  5064. * config/m68k/xm-news.h: Obsolete.
  5065. * config/m68k/tm-news.h:
  5066. * config/m68k/xm-news1000.h: Obsolete.
  5067. * config/m68k/news.mh: Obsolete.
  5068. * config/m68k/news.mt: Obsolete.
  5069. * config/m68k/nm-news.h: Obsolete.
  5070. * config/m68k/news1000.mh: Obsolete.
  5071. * news-xdep.c: Obsolete.
  5072. * Makefile.in (isi-xdep.o): Obsolete.
  5073. (ALLDEPFILES): Delete isi-xdep.c.
  5074. (tm-isi.h): Obsolete.
  5075. * m68k-tdep.c (altos_skip_prologue): Update comments.
  5076. (isi_skip_prologue): Obsolete.
  5077. * isi-xdep.c: Obsolete.
  5078. * config/m68k/xm-isi.h: Obsolete.
  5079. * config/m68k/isi.mh: Obsolete.
  5080. * config/m68k/tm-isi.h: Obsolete.
  5081. * config/m68k/isi.mt: Obsolete.
  5082. * TODO: Update.
  5083. * NEWS: Update.
  5084. 2001-04-17 Michael Snyder <msnyder@redhat.com>
  5085. * remote.c (remote_open_1): On opening the remote target, activate
  5086. the solib_create_inferior_hook, so that it can detect when the
  5087. target loads shared libraries.
  5088. (remote_async_open_1): Ditto.
  5089. 2001-04-17 Michael Snyder <msnyder@redhat.com>
  5090. * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
  5091. * tracepoint.c (tracepoints_info): Handle 64-bit addresses.
  5092. 2001-04-17 Michael Snyder <msnyder@redhat.com>
  5093. * thread-db.c (check_thread_signals): When looping over all
  5094. signals, ignore signal zero.
  5095. (disable_thread_signals): Ditto.
  5096. 2001-04-17 Eirik Fuller <eirik@netapp.com>
  5097. * thread.c (do_captured_thread_select): Allow the argument to the
  5098. thread command to be an expression rather than a literal integer.
  5099. 2001-04-17 Mark Kettenis <kettenis@gnu.org>
  5100. * i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
  5101. read_memory_unsigned_integer instead of read_memory_integer.
  5102. 2001-04-16 Kevin Buettner <kevinb@redhat.com>
  5103. * solib-aix5.c (map_index_vs_section_name_okay): New function.
  5104. (aix5_relocate_main_executable): Don't use file offsets for
  5105. determining corresponding sections and map file entries. Call
  5106. map_index_vs_section_name_okay() to do this instead.
  5107. 2001-04-16 Kevin Buettner <kevinb@redhat.com>
  5108. * procfs.c (open_with_retry): New function.
  5109. (open_procinfo_files, load_syscalls, proc_iterate_over_mappings)
  5110. (proc_get_LDT_entry): Call open_with_retry() instead of open().
  5111. 2001-04-16 Kevin Buettner <kevinb@redhat.com>
  5112. * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Adjust
  5113. comparison against TRAP_HWBKPT constant yet again to account
  5114. for the various values used by different kernel versions.
  5115. 2001-04-16 Daniel Berlin <dan@cgsoftware.com>
  5116. * demangle.c (_initialize_demangler): Use xcalloc on the
  5117. demangling_style_names, and make it a null terminated array of
  5118. names, to avoid a crash.
  5119. 2001-04-16 Mark Kettenis <kettenis@gnu.org>
  5120. * i386-tdep.c (i386_frame_chain): New function.
  5121. * config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
  5122. i386_frame_chain.
  5123. (i386_frame_chain): New prototype.
  5124. 2001-04-14 J.T. Conklin <jtc@redback.com>
  5125. * target.h (target_ops): Removed to_core_file_to_sym_file vector
  5126. function.
  5127. * corelow.c (core_ops): Updated for above change.
  5128. * gnu-nat.c (core_ops): Likewise.
  5129. * inftarg.c (child_ops): Likewise.
  5130. * monitor.c (monitor_ops): Likewise.
  5131. * ppc-bdm.c (bdm_ppc_ops): Likewise.
  5132. * remote-adapt.c (adapt_ops): Likewise.
  5133. * remote-bug.c (bug_ops): Likewise.
  5134. * remote-e7000.c (e7000_ops): Likewise.
  5135. * remote-eb.c (eb_ops): Likewise.
  5136. * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
  5137. * remote-mm.c (mm_ops): Likewise.
  5138. * remote-nindy.c (nindy_ops): Likewise.
  5139. * remote-nrom.c (nrom_ops): Likewise.
  5140. * remote-os9k.c (rombug_ops): Likewise.
  5141. * remote-rdp.c (remote_rdp_ops): Likewise.
  5142. * remote-sim.c (gdbsim_ops): Likewise.
  5143. * remote-st.c (st2000_ops): Likewise.
  5144. * v850ice.c (v850ice_ops): Likewise.
  5145. * target.c (cleanup_target): Likewise
  5146. (update_current_target): Likewise.
  5147. (setup_target_debug): Likewise
  5148. (debug_to_core_file_to_sym_file): Removed.
  5149. * corefile.c (core_file_command) [HPUXHPPA]: Removed code that
  5150. sets symbol file from information obtained from the core file.
  5151. * corelow.c (core_file_to_sym_file): Removed.
  5152. 2001-04-13 Fernando Nasser <fnasser@redhat.com>
  5153. From Adam Mirowski <Adam.Mirowski@Sun.COM>
  5154. Fixed Insight on Solaris. It was not possible to debug a process
  5155. because of EINTR "errors".
  5156. * procfs.c: (procfs_wait): if proc_wait_for_stop() fails
  5157. with EINTR, retry the call.
  5158. 2001-04-12 Kevin Buettner <kevinb@redhat.com>
  5159. * solib-aix5.c (enum maptype): Delete.
  5160. (struct lm_info): Add new member ``nmappings''. Make ``mapping''
  5161. member a pointer instead of a statically sized array.
  5162. (build_so_list_from_mapfile): Dynamically allocate ``mapping''
  5163. array.
  5164. (aix5_relocate_main_executable, aix5_relocate_section_addresses,
  5165. aix5_find_global_pointer): Search for correct mapping to use
  5166. based on file offset instead of knowledge of whether the section
  5167. is read-only or read/write.
  5168. (aix5_find_gate_addresses): Use the first mapping instead of
  5169. the (now defunct) MT_READONLY mapping.
  5170. 2001-04-12 Nicholas Duffek <nsd@redhat.com>
  5171. * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
  5172. "@".
  5173. 2001-04-12 Kevin Buettner <kevinb@redhat.com>
  5174. * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
  5175. 2001-04-09 Andrew Cagney <ac131313@redhat.com>
  5176. Obsolete i[3456]86-*-sunos* (aka Sun386) host and target.
  5177. * config/i386/sun386.mh: Obsolete.
  5178. * config/i386/sun386.mt: Obsolete.
  5179. * config/i386/xm-sun386.h: Obsolete.
  5180. * config/i386/tm-sun386.h: Obsolete.
  5181. * config/i386/nm-sun386.h: Obsolete.
  5182. * Makefile.in (ALLDEPFILES): Delete sun386-nat.c.
  5183. (sun386-nat.o): Target is obsolete.
  5184. * sun386-nat.c: Obsolete.
  5185. * configure.tgt (i[3456]86-*-sunos*): Obsolete.
  5186. * configure.host (i[3456]86-*-sunos*): Obsolete.
  5187. * NEWS: Update.
  5188. * TODO: Update.
  5189. 2001-04-10 J.T. Conklin <jtc@redback.com>
  5190. * maint.c: Fix typo in comment.
  5191. 2001-04-09 Keith Seitz <keiths@cygnus.com>
  5192. * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
  5193. 2001-04-08 Kevin Buettner <kevinb@redhat.com>
  5194. * fork-child.c (fork_inferior, clone_and_follow_inferior):
  5195. Document fact that apparent call to vfork() might actually be
  5196. a call to fork() instead.
  5197. * ser-pipe.c (pipe_open): Likewise.
  5198. 2001-04-08 Kevin Buettner <kevinb@redhat.com>
  5199. * printcmd.c (print_frame_args): Use a cleanup to invoke
  5200. ui_out_list_end() so that the list count nesting flag will
  5201. be decremented properly when an error occurs.
  5202. * stack.c (print_frame): Likewise.
  5203. 2001-04-06 J.T. Conklin <jtc@redback.com>
  5204. * dcache.c (dcache_write_line): Fixed bugs where cache line was
  5205. not written to target correctly.
  5206. * gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
  5207. void return value;
  5208. * gdbserver/low-nbsd.c: Likewise.
  5209. * gdbserver/low-sparc.c: Likewise.
  5210. * gdbserver/low-sun3.c: Likewise.
  5211. 2001-04-06 Geoffrey Keating <geoffk@redhat.com>
  5212. * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
  5213. (PTRACE_DETACH): Don't define.
  5214. 2001-04-06 David Smith <dsmith@redhat.com>
  5215. * arch-utils.c (default_prepare_to_proceed)
  5216. (generic_prepare_to_proceed): Added new functions.
  5217. * arch-utils.h: New function declarations for
  5218. default_prepare_to_proceed() and generic_prepare_to_proceed().
  5219. * gdbarch.sh: Added PREPARE_TO_PROCEED.
  5220. * gdbarch.c: Regenerated.
  5221. * gdbarch.h: Regenerated.
  5222. * inferior.h: Added get_last_target_status() declaration.
  5223. * infrun.c (get_last_target_status): Added new function.
  5224. (handle_inferior_event): Saves last pid and waitstatus, which will
  5225. get returned by get_last_target_status().
  5226. * hppa-tdep.c (prepare_to_proceed): Added comment stating that
  5227. prepare_to_proceed() is potentially redundant since
  5228. default_prepare_to_proceed() has been added.
  5229. * linux-thread.c (prepare_to_proceed): Ditto.
  5230. * lin-lwp.c (prepare_to_proceed): Ditto.
  5231. * m3-nat.c (prepare_to_proceed): Ditto.
  5232. 2001-04-05 Andrew Cagney <ac131313@redhat.com>
  5233. Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
  5234. and powerpc-*-netware* target.
  5235. * configure.host (powerpcle-*-cygwin*, powerpcle-*-solaris*):
  5236. Obsolete.
  5237. * configure.tgt (powerpc-*-netware*, powerpcle-*-cygwin*)
  5238. (powerpcle-*-solaris*): Obsolete.
  5239. * config/powerpc/tm-cygwin.h: Obsolete.
  5240. * config/powerpc/cygwin.mt: Obsolete.
  5241. * config/powerpc/xm-cygwin.h: Obsolete.
  5242. * config/powerpc/cygwin.mh: Obsolete.
  5243. * config/powerpc/nm-solaris.h: Obsolete.
  5244. * config/powerpc/xm-solaris.h: Obsolete.
  5245. * config/powerpc/tm-solaris.h: Obsolete.
  5246. * config/powerpc/solaris.mt: Obsolete.
  5247. * config/powerpc/tm-ppc-nw.h: Obsolete.
  5248. * config/powerpc/ppc-nw.mt: Obsolete.
  5249. * TODO: Update.
  5250. * NEWS: Update.
  5251. 2001-04-06 Fernando Nasser <fnasser@redhat.com>
  5252. * buildsym.c (record_line): Turn off unused addr bits.
  5253. 2001-04-06 Fernando Nasser <fnasser@redhat.com>
  5254. From David Deephanphongs <deephan@telocity.com>
  5255. * inferior.h: Fix declarations of get_inferior_args and
  5256. set_inferior_args, which were missing the trailing 's'.
  5257. 2001-04-05 Jeff Holcomb <jeffh@redhat.com>
  5258. * monitor.c (monitor_supply_register): Only report an error if we
  5259. don't get a valid value.
  5260. 2001-04-05 Eli Zaretskii <eliz@is.elta.co.il>
  5261. * README: Don't mention gdba.el.
  5262. 2001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5263. From Jimmy Guo <guo@cup.hp.com>
  5264. * top.c (init_main): set prompt if annotation_level>1,
  5265. this is necessary when annotation_level is set to 2 via
  5266. --annotate=2 command line option.
  5267. 2001-04-04 Andrew Cagney <ac131313@redhat.com>
  5268. Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
  5269. * configure.tgt (a29k-*-sym1*, a29k-*-kern*): Obsolete.
  5270. * configure.host (a29k-*-*): Obsolete.
  5271. * Makefile.in (ALLDEPFILES): Remove ultra3-nat.c and
  5272. ultra3-xdep.c.
  5273. (ultra3-nat.o, ultra3-xdep.o): Obsolete.
  5274. * config/a29k/tm-ultra3.h: Obsolete.
  5275. * config/a29k/ultra3.mt: Obsolete.
  5276. * config/a29k/ultra3.mh: Obsolete.
  5277. * config/a29k/nm-ultra3.h: Obsolete.
  5278. * config/a29k/xm-ultra3.h: Obsolete.
  5279. * ultra3-xdep.c: Obsolete.
  5280. * ultra3-nat.c: Obsolete.
  5281. * config/a29k/a29k-kern.mt: Obsolete.
  5282. * NEWS: Update.
  5283. * TODO: Update.
  5284. Wed Apr 4 21:48:42 2001 Christopher Faylor <cgf@cygnus.com>
  5285. * main.c: Remove windows.h use.
  5286. (gdbtk_test): Use PATH_MAX for home var calculation.
  5287. * remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as
  5288. Win32 in colon test.
  5289. * ser-tcp.c: Use modern __CYGWIN__ conditional.
  5290. * source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
  5291. (openp): Ditto.
  5292. * symfile.c (symfile_bfd_open): Ditto.
  5293. 2001-04-04 Martin M. Hunt <hunt@redhat.com>
  5294. * main.c (captured_main): For GDBtk, don't use tui_fileopen().
  5295. Handle all stream setup in gdbtk_init
  5296. 2001-04-04 Mark Kettenis <kettenis@gnu.org>
  5297. * i386-tdep.c (i386_extract_return_value): Don't return the return
  5298. value of a void function.
  5299. (i386_store_return_value): Likewise.
  5300. 2001-04-03 Andrew Cagney <ac131313@redhat.com>
  5301. Obsolete w65-*-* target.
  5302. * configure.tgt (w65-*-*): Obsolete.
  5303. * config/w65/w65.mt: Obsolete.
  5304. * config/w65/tm-w65.h: Obsolete.
  5305. * w65-tdep.c: Obsolete.
  5306. * NEWS: Update. Fix TiC80 description.
  5307. * TODO: Update.
  5308. 2001-04-03 Andrew Cagney <ac131313@redhat.com>
  5309. Obsolete tic80-*-* target.
  5310. * configure.tgt (tic80-*-*): Obsolete.
  5311. * config/tic80/tic80.mt: Obsolete.
  5312. * config/tic80/tm-tic80.h: Obsolete.
  5313. * tic80-tdep.c: Obsolete.
  5314. * TODO: Update
  5315. * NEWS: Update.
  5316. 2001-04-02 J.T. Conklin <jtc@redback.com>
  5317. * remote-mips.c (S_IROTH): Moved definition from here.
  5318. * gdb_stat.h (S_IROTH): to here.
  5319. * remote.c (remote_protocol_e, remote_protocol_E): Define.
  5320. (set_remote_protocol_e_packet_cmd)
  5321. (set_remote_protocol_E_packet_cmd)
  5322. (show_remote_protocol_e_packet_command)
  5323. (show_remote_protocol_E_packet_command): New functions.
  5324. (init_all_packet_configs): Initialize remote_protocol_e and
  5325. remote_protocol_E.
  5326. (remote_resume, remote_async_resume): Support e/E command
  5327. packets.
  5328. (show_remote_cmd): Show state of remote_protocol_e and
  5329. remote_protocol_E.
  5330. (_initialize_remote): Add "set remote step-over-range-packet"
  5331. and "set remote step-over-range-w-signal-packet" to CLI.
  5332. 2001-04-01 Andrew Cagney <ac131313@redhat.com>
  5333. Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
  5334. ns32k-utek-*.
  5335. * Makefile.in (ALLDEPFILES): Delete umax-xdep.c and ns32km3-nat.c.
  5336. (umax-xdep.o, ns32km3-nat.o): Obsolete.
  5337. * configure.tgt (ns32k-*-mach3*, ns32k-utek-sysv*, ns32k-utek-*):
  5338. Obsolete.
  5339. * configure.host (ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*):
  5340. Obsolete.
  5341. * config/ns32k/merlin.mh: Obsolete.
  5342. * config/ns32k/merlin.mt: Obsolete.
  5343. * config/ns32k/xm-merlin.h: Obsolete.
  5344. * config/ns32k/tm-merlin.h: Obsolete.
  5345. * config/ns32k/nm-umax.h: Obsolete.
  5346. * config/ns32k/umax.mh: Obsolete.
  5347. * config/ns32k/umax.mt: Obsolete.
  5348. * config/ns32k/xm-umax.h: Obsolete.
  5349. * umax-xdep.c: Obsolete.
  5350. * config/ns32k/ns32km3.mh: Obsolete.
  5351. * config/ns32k/ns32km3.mt: Obsolete.
  5352. * config/ns32k/tm-ns32km3.h: Obsolete.
  5353. * config/ns32k/xm-ns32km3.h: Obsolete.
  5354. * ns32km3-nat.c: Obsolete.
  5355. * ns32k-tdep.c (merlin_skip_prologue): Obsolete.
  5356. (merlin_frame_num_args): Ditto.
  5357. * NEWS: Update.
  5358. * TODO: Update.
  5359. 2001-04-02 Eli Zaretskii <eliz@is.elta.co.il>
  5360. * config/djgpp/fnchange.lst: Tweak due to
  5361. expect/example/chesslib.c.
  5362. 2001-04-02 Kevin Buettner <kevinb@redhat.com>
  5363. * m88k-tdep.c (examine_prologue): Change type of ``insn'' from
  5364. unsigned int to unsigned long. Also, fix format string.
  5365. (pop_frame): Fix PC_IN_CALL_DUMMY() call so that it doesn't
  5366. use an undeclared variable. Also, delete declaration and
  5367. initialization of ``fp'' because it is otherwise unused.
  5368. * remote-bug.c (sleep): Delete declaration.
  5369. (bug_store_register, bug_write_memory, bug_read_memory)
  5370. (bug_insert_breakpoint, bug_remove_breakpoint): Fix sprintf()
  5371. format statements and cast certain sprintf() arguments to
  5372. eliminate warnings.
  5373. (bug_load): Likewise for call to printf_filtered().
  5374. * config/m88k/tm-m88k.h (FIX_CALL_DUMMY): Eliminate
  5375. assignment to ``pc''. The necessary assignment is done in
  5376. hand_function_call() after the invocation of FIX_CALL_DUMMY().
  5377. 2001-03-20 Daniel Berlin <dberlin@redhat.com>
  5378. * symtab.c (completion_list_add_name): Remove duplicate string checks,
  5379. readline already does this, and it's much faster at it, too.
  5380. 2001-04-01 Eli Zaretskii <eliz@is.elta.co.il>
  5381. * go32-nat.c: Minor tweaks, to pacify the ari script.
  5382. 2001-04-01 Mark Kettenis <kettenis@gnu.org>
  5383. * i386-tdep.c (i386_extract_struct_value_address): New function.
  5384. * config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine
  5385. in terms of i386_extract_struct_value_address.
  5386. (i386_extract_struct_value_address): New prototype.
  5387. * i386-linux-nat.c (i386_linux_dr_get): Change type of return
  5388. value to `unsigned long'. Change type of `value' to `unsigned
  5389. long'.
  5390. (i386_linux_dr_set): Change type of second argument to `unsigned
  5391. long'.
  5392. (i386_linux_dr_set_control): Change type of first argument to
  5393. `unsigned long'.
  5394. (i386_linux_dr_get_status): Change type of return value to
  5395. unsigned long.
  5396. * config/i386/nm-linux.h (i386_linux_dr_set_control,
  5397. i386_linux_dr_get_status): Adjust prototypes accordingly.
  5398. 2001-03-31 Kevin Buettner <kevinb@redhat.com>
  5399. * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Change
  5400. TRAP_HWBKPT constant to match that in the kernel headers for
  5401. Linux/IA-64.
  5402. 2001-03-31 Mark Kettenis <kettenis@gnu.org>
  5403. * i386bsd-nat.c: Include "gdb_assert.h".
  5404. [HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not
  5405. already defined.
  5406. [HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control,
  5407. i386bsd_dr_set_addr, i386bsd_dr_reset_addr,
  5408. i386bsd_dr_get_status): New functions.
  5409. * config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS]
  5410. (I386_USE_GENERIC_WATCHPOINTS): Define.
  5411. Include "i386/nm-i386.h".
  5412. (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
  5413. I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
  5414. (i386bsd_dr_set_control, i386bsd_dr_set_addr,
  5415. i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes.
  5416. * acconfig.h (HAVE_PT_GETDBREGS): New configure macro.
  5417. * configure.in: Cleanup a few comments. Check for PT_GETDBREGS
  5418. ptrace request.
  5419. * config.in, configure: Regenerate.
  5420. * i386-nat.c (i386_insert_aligned_watchpoint): Set address
  5421. register before enabling it by setting the control register.
  5422. (i386_remove_aligned_watchpoint): Reset address register after
  5423. disabling it by setting the control register.
  5424. * i386-tdep.c (i386_extract_return_value): If the type of the
  5425. return value is TYPE_STRUCT and the number of fields is one, call
  5426. ourselves with TYPE set tp the type of the first field.
  5427. (i386_store_return_value): Likewise.
  5428. This fixes a problem with returning structs consisting of a single
  5429. `float' or `double' on *BSD.
  5430. 2001-03-30 Mark Kettenis <kettenis@gnu.org>
  5431. * lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
  5432. we're absolutely sure we're going to resume it.
  5433. * thread-db.c (check_event): Don't report an error if we encounter
  5434. a thread creation event for a thread that's already in the thread
  5435. list, since that may legitemately happen. Instead only call
  5436. attach_thread if it's not already in the thread list.
  5437. 2001-03-28 Andrew Cagney <ac131313@redhat.com>
  5438. * config/pa/xm-hppah.h (malloc): Really delete declaration
  5439. (MALLOC_INCOMPATIBLE): Really delete macro.
  5440. * cli/cli-cmds.c (apropos_command): Use xcalloc.
  5441. 2001-03-28 Andrew Cagney <ac131313@redhat.com>
  5442. * configure.in (build_warnings): Add -Wuninitialized.
  5443. * configure: Regenerate.
  5444. * v850-tdep.c (v850_scan_prologue): Initialize ``insn2''.
  5445. * sparc-tdep.c (sparc64_push_arguments): Add default case to
  5446. switch.
  5447. * sh-tdep.c (sh_do_fp_register): Replace ``?:'' printf format
  5448. expression with if statement.
  5449. * mn10200-tdep.c (mn10200_analyze_prologue): Initialize
  5450. ``stack_size''.
  5451. * mips-tdep.c (show_mipsfpu_command): Add default case to switch.
  5452. (mips_dump_tdep): Fix setting of ef_mips_arch.
  5453. * mcore-tdep.c (mcore_analyze_prologue): Initialize ``fp_regnum''.
  5454. * dsrec.c (make_srec): Always initialize ``binbuf''.
  5455. * monitor.c (monitor_read_memory_single): Do not pass an
  5456. uninitialized buffer to monitor_error. Make ``i'' more local.
  5457. 2001-03-28 Andrew Cagney <ac131313@redhat.com>
  5458. * MAINTAINERS: Change ns32k target to ,-Werror.
  5459. * ns32k-tdep.c: Include "gdbcore.h"
  5460. (flip_bytes): Change first argument to void*. Add forward
  5461. declaration.
  5462. (sign_extend): Add declaration.
  5463. (merlin_frame_num_args): Add final else clause to if-else chain.
  5464. (umax_frame_num_args): Ditto.
  5465. * config/ns32k/tm-umax.h (ns32k_localcount): Declare.
  5466. (flip_bytes): Ditto.
  5467. 2001-03-28 Mark Kettenis <kettenis@gnu.org>
  5468. * i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
  5469. config/i386/nm-linux.h (including comment).
  5470. (i386_linux_frame_chain): New function implementing guts of the
  5471. former FRAME_CHAIN macro, but using read_memory_unsigned_integer
  5472. instead of read_memory_integer.
  5473. (i386_linux_frame_saved_pc): Removed doc pointing to
  5474. i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that
  5475. now lives in this file.
  5476. * config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to
  5477. i386-linux-tdep.c (including comment).
  5478. (FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain.
  5479. (i386_linux_frame_chain): New prototype.
  5480. * gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
  5481. make it work again.
  5482. (NUM_FREGS): Redefine to 0.
  5483. (NUM_REGS): Redefine as NUM_GREGS.
  5484. (i386_register_byte, i386_register_raw_size): Update from
  5485. i386-tdep.c. Add comment about their origin.
  5486. (regmap, register_u_addr): Take these from i386-linux-nat.c.
  5487. (i386_register_u_addr): Removed.
  5488. * i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
  5489. fails instead of calling perror_with_name. This should fix
  5490. debugging remote i386 targets with a native Linux/x86 GDB. Add
  5491. FIXME for this hack.
  5492. 2001-03-19 J.T. Conklin <jtc@redback.com>
  5493. * arch-utils.c (#include "gdbthread.h"): Removed.
  5494. (#include "symfile.h"): Removed.
  5495. (XMALLOC): Removed unused macro.
  5496. * breakpoint.c (tbreak_command): Removed local declaration.
  5497. (awatch_command, do_enable_breakpoint, set_breakpoint_count):
  5498. Remove duplicate declarations.
  5499. (bpstat_should_step, bpstat_have_active_hw_watchpoints)
  5500. (remove_solib_event_breakpoints): Fix indentation botch.
  5501. * c-typeprint.c (#include "command.h"): Removed.
  5502. (#include "gdbcmd.h"): Removed.
  5503. * ch-exp.c (ch_terminal_match_float_literal, parse_expr)
  5504. (parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
  5505. Removed duplicate declarations.
  5506. * ch-typeprint.c (#include "command.h"): Removed.
  5507. (#include "gdbcmd.h"): Removed.
  5508. * corefile.c (#include "frame.h"): Removed
  5509. (#include "symfile.h"): Removed.
  5510. (#include "language.h"): Removed.
  5511. * dbxread.c (#include "command.h"): Removed.
  5512. * environ.c (#include "gdbcore.h"): Removed.
  5513. * event-loop.c (#include "top.h"): Removed.
  5514. * f-typeprint.c (#include "command.h"): Removed.
  5515. (#include "gdbcmd.h"): Removed.
  5516. (#include "language.h"): Removed.
  5517. (#include "typeprint.h"): Removed.
  5518. (#include "frame.h"): Removed.
  5519. * gdbtypes.h (print_type_scalar): Removed declaration.
  5520. * infcmd.c (#include "completer.h"): Removed.
  5521. * language.c (#include "frame.h"): Removed.
  5522. * m2-typeprint.c (#include "command.h"): Removed.
  5523. (#include "gdbcmd.h"): Removed.
  5524. (#include "language.h"): Removed.
  5525. * m2-valprint.c (#include "valprint.h"): Removed.
  5526. * p-typeprint.c (#include "command.h"): Removed.
  5527. (#include "gdbcmd.h"): Removed.
  5528. * p-valprint.c (#include "typeprint.h"): Removed.
  5529. * parse.c (#include "linespec.h"): Removed.
  5530. * regcache.c (#include "frame.h"): Removed.
  5531. * remote.c (#include "frame.h"): Removed.
  5532. (getpkt_sane): Make static.
  5533. * source.c (#include "completer.h"): Removed.
  5534. * stack.c (#include "symfile.h"): Removed.
  5535. (#include "objfiles.h"): Removed.
  5536. * symfile.c (#include "completer.h"): Removed.
  5537. * tracepoint.c (#include "completer.h"): Removed.
  5538. * values.c (#include "frame.h"): Removed.
  5539. * varobj.c (#include "valprint.h"): Removed.
  5540. * wrapper.c (#include "frame.h"): Removed.
  5541. * memattr.c (create_mem_region): Removed unused variable.
  5542. * remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
  5543. 2001-03-27 Nick Clifton <nickc@redhat.com>
  5544. * remote-rdp.c (rdp_set_command_line): Add missing double quote.
  5545. 2001-03-27 Kevin Buettner <kevinb@redhat.com>
  5546. * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
  5547. of free().
  5548. 2001-03-27 Eli Zaretskii <eliz@is.elta.co.il>
  5549. * TODO (Cleanups): Remove the item about converting docs to GFDL.
  5550. 2001-03-26 Kevin Buettner <kevinb@redhat.com>
  5551. * ia64-tdep.c (slotN_contents, replace_slotN_contents): Change
  5552. type of ``bundle'' from unsigned char * to char *.
  5553. (ia64_get_saved_register): Use alloca() to allocate register
  5554. buffers.
  5555. * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
  5556. 2001-03-26 Kevin Buettner <kevinb@redhat.com>
  5557. * proc-utils.h (procfs_ctl_t): New typedef.
  5558. * proc-api.c (write_with_trace): Change type of ``opcode'' from
  5559. long to procfs_ctl_t. Don't assume that the target has defined
  5560. BREAKPOINT. Handle case in which PCRESET is the same as PCUNSET.
  5561. * proc-events.c (sys/syscall.h, sys/fault.h): Include conditionally.
  5562. * procfs.c (sys/fault.h, sys/syscall.h): Include conditionally.
  5563. (gdb_sigset_t, gdb_sigaction_t, gdb_siginfo_t, gdb_premptysysset)
  5564. (gdb_praddsysset, gdb_prdelsysset, gdb_pr_issyssetmember):
  5565. Conditionally define as appropriate for AIX/non-AIX systems. Use
  5566. these defines/typedefs as appropriate elsewhere in file.
  5567. (struct procinfo): Change type of saved_sigset and saved_sighold
  5568. from sigset_t to gdb_sigset_t. Make saved_exitset and
  5569. saved_entryset pointer variables. Add two new fields, num_syscalls
  5570. and syscall_names.
  5571. (DYNAMIC_SYSCALLS): Define when HAVE_PRSYSENT_T is defined.
  5572. (sysset_t_size, sysset_t_alloc): New functions.
  5573. (load_syscalls, free_syscalls, find_syscall): New functions for
  5574. platforms which define DYNAMIC_SYSCALLS.
  5575. (create_procinfo): Call load_syscalls.
  5576. (destroy_one_procinfo): Call free_syscalls.
  5577. (GDBRESET): Don't define twice.
  5578. (proc_modify_flag): Change type of operation code array `arg'
  5579. from long to procfs_ctl_t.
  5580. (proc_stop_process, proc_wait_for_stop, proc_run_process)
  5581. (proc_set_traced_signals, proc_set_traced_faults)
  5582. (proc_set_traced_sysentry, proc_set_traced_sysexit)
  5583. (proc_set_held_signals, proc_clear_current_fault)
  5584. (proc_set_current_signal, proc_clear_current_signal, proc_set_gregs)
  5585. (proc_set_fpregs, proc_kill, proc_set_watchpoint): Likewise for `cmd'.
  5586. (proc_set_traced_sysentry): Dynamically allocate variable sized
  5587. struct gdb_proc_ctl_pcsentry. Also, free it at function exit.
  5588. (proc_set_traced_sysexit): Dynamically allocate variable
  5589. sized struct gdb_proc_ctl_pcsexit. Also, free it at
  5590. function exit.
  5591. (proc_get_traced_sysentry, proc_get_traced_sysexit): Add new code
  5592. for reading the sysset_t struct on AIX5.
  5593. (procfs_debug_inferior): Don't assume that SYS_exit will be
  5594. defined. Add new code for finding certain syscalls on AIX5.
  5595. (syscall_is_lwp_exit, syscall_is_exit, syscall_is_exec)
  5596. (syscall_is_lwp_create): New functions.
  5597. (procfs_wait): Restructured code which checks for certain
  5598. system calls to use the new syscall_is_... functions.
  5599. (procfs_notice_signals): Account for the fact that saved_entryset
  5600. and saved_exitset in struct procinfo are now pointers.
  5601. 2001-03-26 Kevin Buettner <kevinb@redhat.com>
  5602. * symtab.c (find_pc_sect_line): Revise method used for finding
  5603. the ending pc.
  5604. 2001-03-26 Mark Kettenis <kettenis@gnu.org>
  5605. * i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
  5606. i386_linux_sigtramp_saved_sp): Make static.
  5607. (i386_linux_frame_saved_pc): New function based on the old
  5608. FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead
  5609. of read_memory_integer.
  5610. * config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition.
  5611. (i386_linux_sigtramp_saved_pc): Remove prototype.
  5612. (FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc.
  5613. (i386_linux_frame_saved_pc): New prototype.
  5614. 2001-03-26 Andrew Cagney <ac131313@redhat.com>
  5615. * MAINTAINERS: Document m88k as a ``Known problem in 5.1''.
  5616. * TODO (GDB 5.1 - Cleanups): Update.
  5617. 2001-03-26 Andrew Cagney <ac131313@redhat.com>
  5618. * fork-child.c (clone_and_follow_inferior): Delete #ifdef
  5619. HAVE_VFORK.
  5620. 2001-03-26 Mark Kettenis <kettenis@gnu.org>
  5621. * config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
  5622. * i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
  5623. functions.
  5624. * config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro.
  5625. (STORE_STRUCT_RETURN): Redefine in terms of
  5626. i386_store_struct_return.
  5627. (i386_push_arguments, i386_store_struct_return): New prototypes.
  5628. * config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's
  5629. definition was identical to the definition in "i386/tm-i386.h" so
  5630. the new definition should suffice too.
  5631. 2001-03-26 Eli Zaretskii <eliz@is.elta.co.il>
  5632. * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
  5633. definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
  5634. * config/djgpp/djconfig.sh: Add copyright notice.
  5635. * ser-go32.c (rawclock): Remove prototype; include time.h instead.
  5636. (ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C.
  5637. (top level) <string.h>: Include gdb_string.h instead.
  5638. (dos_noop, dos_raw, dos_noflush_set_tty_state)
  5639. (dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED.
  5640. * go32-nat.c (go32_create_inferior): Move the declaration of
  5641. `environ' to here from the top level.
  5642. (top level) <_initialize_go32_nat>: Remove redundant prototype.
  5643. <gdb_string.h>: Include it instead of string.h.
  5644. (store_register): Call register_buffer instead of accessing
  5645. registers[] directly.
  5646. (redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger)
  5647. (redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put
  5648. the function names at the start of the line.
  5649. (go32_set_dr): Throw internal_error if the argument is not a valid
  5650. debug register number.
  5651. (go32_open, go32_close, go32_attach, go32_detach, go32_resume)
  5652. (go32_wait, go32_xfer_memory, go32_files_info)
  5653. (go32_terminal_info): Remove ATTRIBUTE_UNUSED.
  5654. 2001-03-25 Jim Blandy <jimb@redhat.com>
  5655. * mips-tdep.c (mips_gdbarch_init): Tweak indentation.
  5656. 2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5657. From Andrew Cagney <ac131313@redhat.com>
  5658. * coffread.c: Include "gdb_assert.h".
  5659. (coff_symtab_read): Cast the integer s_sclass to a long before
  5660. casting it to a pointer.
  5661. 2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5662. From Andrew Cagney <ac131313@redhat.com>
  5663. * coffread.c (coff_symtab_read): Initialize
  5664. ``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
  5665. the ``.ef'' info.
  5666. * dbxread.c (find_text_range): Initialize ``start'' and ``end''.
  5667. 2001-03-23 Andrew Cagney <ac131313@redhat.com>
  5668. * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
  5669. GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not
  5670. multi-arch.
  5671. * gdbarch.sh (SOFTWARE_SINGLE_STEP): Add.
  5672. * gdbarch.h, gdbarch.c: Re-generate.
  5673. * target.h (SOFTWARE_SINGLE_STEP_P)
  5674. (SOFTWARE_SINGLE_STEP): Delete macro definitions.
  5675. 2001-03-23 Andrew Cagney <ac131313@redhat.com>
  5676. * gdbarch.sh (gdbarch_register_read, gdbarch_register_write): Add.
  5677. * gdbarch.h, gdbarch.c: Regenerate.
  5678. * regcache.h (regcache_read, regcache_write): Declare.
  5679. (registers, register_valid, register_buffer): Add note that these
  5680. interfaces are deprecated.
  5681. * regcache.c: Include "gdb_assert.h".
  5682. (legacy_write_register_gen): Rename write_register_gen.
  5683. (legacy_read_register_gen): Rename read_register_gen.
  5684. (regcache_read, regcache_write): New function.
  5685. (read_register_gen, write_register_gen): New function.
  5686. (write_register): Simplify. Use write_register_gen.
  5687. (read_register): Ditto using read_register_gen.
  5688. (read_signed_register): Ditto.
  5689. (read_register_bytes): Ditto!!!!
  5690. (supply_register): Add note that CLEANUP_REGISTER_VALUE is being
  5691. replaced by gdbarch_register_read.
  5692. * TODO (GDB 5.2 - Cleanups): Add list of gdbarch methods to
  5693. deprecate.
  5694. 2001-03-23 Jim Blandy <jimb@redhat.com>
  5695. Fix from Dan Berlin:
  5696. * stabsread.c (read_cpp_abbrev): Properly construct the names of
  5697. virtual function table pointer fields.
  5698. 2001-03-19 Andrew Cagney <ac131313@redhat.com>
  5699. * defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
  5700. xmrealloc): Move existing declarations to the one place and
  5701. re-order to be consistent.
  5702. (xmcalloc, xmfree): Declare.
  5703. (xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
  5704. declaration.
  5705. * utils.c (size_t): Delete #ifdef defining size_t.
  5706. (mmalloc, mrealloc, mcalloc, mfree): Re-order.
  5707. (mmalloc, mrealloc, mcalloc): Document as only calls in GDB
  5708. corresponding malloc, realloc, calloc.
  5709. (mfree): Call free directly.
  5710. (xmmalloc, xmrealloc): Clean up. Assume ISO-C.
  5711. (xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
  5712. function bodies to here.
  5713. (xcalloc, xfree): Call xmcalloc and xmfree respectfully.
  5714. 2001-03-23 Andrew Cagney <ac131313@redhat.com>
  5715. * fork-child.c (fork_inferior): Make ``argv'', ``exec_file'' and
  5716. ``shell_file'' static locals.
  5717. * jv-lang.c (java_link_class_type): Initialize ``field'' and
  5718. ``method''.
  5719. * jv-valprint.c (java_value_print): Initialize ``next_element''.
  5720. 2001-03-23 Mark Kettenis <kettenis@gnu.org>
  5721. * config/i386/nm-i386.h: Fix formatting and change reference to
  5722. i386-tdep.c to i386-nat.c.
  5723. 2001-03-23 David Smith <dsmith@redhat.com>
  5724. * configure.in: Corrected spelling errors.
  5725. * configure: Regenerated.
  5726. 2001-03-22 Andrew Cagney <ac131313@redhat.com>
  5727. * TODO (GDB 5.1 - Cleanups): Add more targets to obsolete.
  5728. 2001-03-22 Andrew Cagney <ac131313@redhat.com>
  5729. * Makefile.in (NTSSTART): Delete.
  5730. (NTSOBS): Delete.
  5731. (kdb): Delete target.
  5732. * kdb-start.c, stuff.c: Mark as obsolete.
  5733. * NEWS: Update.
  5734. 2001-03-22 Andrew Cagney <ac131313@redhat.com>
  5735. * config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB only
  5736. compiles using an ISO-C compiler.
  5737. (MALLOC_INCOMPATIBLE): Ditto.
  5738. * linespec.c (decode_line_1): Delete hack to work around
  5739. HPPA_COMPILER_BUG.
  5740. 2001-03-22 Andrew Cagney <ac131313@redhat.com>
  5741. * exec.c (xfer_memory): Always initialize section.
  5742. * infrun.c (normal_stop): Always initialize source_flag.
  5743. 2001-03-22 Andrew Cagney <ac131313@redhat.com>
  5744. * TODO (Remote Protocol Support): Review. Add notes about ``!'',
  5745. non-use of a continue address and typical use of ``q'' packet.
  5746. 2001-03-22 Eli Zaretskii <eliz@is.elta.co.il>
  5747. Make DJGPP use the new unified support for hardware
  5748. breakpoints and watchpoints on x86 targets:
  5749. * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
  5750. include nm-i386.h instead.
  5751. (TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT)
  5752. (TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT)
  5753. (TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK)
  5754. (target_stopped_data_address, target_insert_watchpoint)
  5755. (target_remove_watchpoint, target_insert_hw_breakpoint)
  5756. (target_remove_hw_breakpoint): Don't define.
  5757. (I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL)
  5758. (I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR)
  5759. (I386_DR_LOW_GET_STATUS): Define to call appropriate go32_*
  5760. functions from go32-nat.c.
  5761. * config/i386/go32.mh (NATDEPFILES): Add i386-nat.o.
  5762. * go32-nat.c <top level>: Remove prototypes for watchpoint-
  5763. related functions. Remove definitions of watchpoint-related
  5764. macros.
  5765. (go32_mourn_inferior): Call i386_cleanup_dregs instead of the
  5766. private cleanup_dregs function.
  5767. (cleanup_dregs, go32_insert_watchpoint)
  5768. (go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint)
  5769. (go32_remove_watchpoint, go32_remove_aligned_watchpoint)
  5770. (go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint)
  5771. (go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove.
  5772. (go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
  5773. 2001-03-21 Kevin Buettner <kevinb@redhat.com>
  5774. * ia64-tdep.c (fetch_instruction): Warn about slot numbers greater
  5775. than two instead of generating an error.
  5776. 2001-03-21 Jim Blandy <jimb@redhat.com>
  5777. * cp-valprint.c: Reformat to bring into line with GNU coding
  5778. standards.
  5779. 2001-03-21 Mark Kettenis <kettenis@gnu.org>
  5780. Make Linux use the new unified support for hardware breakpoints
  5781. and watchpoints on x86 targets.
  5782. * i386-linux-nat.c: Doc fixes. Include "gdb_assert.h".
  5783. [HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>.
  5784. (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to
  5785. appropriate value if not already defined.
  5786. (register_u_addr): New function.
  5787. (kernel_u_size): New function.
  5788. (i386_linux_dr_get, i386_linux_dr_set): New functions.
  5789. (i386_linux_dr_set_control, i386_linux_dr_set_addr,
  5790. i386_linux_reset_addr, i386_linux_dr_get_status): New functions.
  5791. * config/i386/nm-linux.h: Don't include "nm-i386v.h".
  5792. (I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h".
  5793. (TARGET_HAS_HARDWARE_WATCHPOINTS,
  5794. TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT,
  5795. STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
  5796. target_remove_watchpoint): Remove macros.
  5797. (i386_stopped_by_watchpoint, i386_insert_watchpoint,
  5798. i386_remove_watchpoint): Remove prototypes.
  5799. (register_u_addr): New prototype.
  5800. (REGISTER_U_ADDR): Define in terms of register_u_addr.
  5801. (i386_linux_dr_set_control, i386_linux_dr_set_addr,
  5802. i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes.
  5803. (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
  5804. I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
  5805. * config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with
  5806. i386-nat.o.
  5807. 2001-03-21 Jim Blandy <jimb@redhat.com>
  5808. Fix from Dan Berlin:
  5809. * linespec.c (find_methods): Whitespace differences aren't
  5810. significant in *un*mangled method names. Use strcmp_iw to compare
  5811. them, not STREQ.
  5812. 2001-03-21 Andrew Cagney <ac131313@redhat.com>
  5813. * gdbarch.sh: Allow a non- multi-arch target to override a
  5814. predicate.
  5815. * gdbarch.h: Regenerate.
  5816. 2001-03-21 Andrew Cagney <ac131313@redhat.com>
  5817. * gdbarch.sh: Avoid use of ``!''.
  5818. 2001-03-20 Andrew Cagney <ac131313@redhat.com>
  5819. * target.h (enum target_signal): Move definition from here.
  5820. * defs.h (enum target_signal): To here.
  5821. * config/arc/tm-arc.h (arc_software_single_step): Change type of
  5822. first parameter to enum target_signal.
  5823. * config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto.
  5824. * config/sparc/tm-sparc.h (sparc_software_single_step): Ditto.
  5825. * rs6000-tdep.c (rs6000_software_single_step): Update.
  5826. 2001-03-20 Andrew Cagney <ac131313@redhat.com>
  5827. * frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
  5828. already defined.
  5829. From 2000-08-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
  5830. * stabsread.c (define_symbol): A parameter ('R'), a local ('r'),
  5831. or a reference ('a') can be in a pseudo register.
  5832. * infcmd.c (do_registers_info): Must take into account the pseudo
  5833. registers to print their value.
  5834. (registers_info): Likewise.
  5835. * stack.c (frame_info): Likewise.
  5836. * frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
  5837. 2001-03-21 Eli Zaretskii <eliz@is.elta.co.il>
  5838. Unified support for hardware breakpoints and watchpoints on
  5839. x86 targets:
  5840. * config/i386/nm-i386.h: New file.
  5841. * config/i386/nm-i386.h: (i386_cleanup_dregs)
  5842. (i386_insert_watchpoint, i386_remove_watchpoint)
  5843. (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
  5844. (i386_stopped_data_address, i386_insert_hw_breakpoint)
  5845. (i386_remove_hw_breakpoint): Declare prototypes.
  5846. [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
  5847. Define if not already defined.
  5848. (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
  5849. (STOPPED_BY_WATCHPOINT, target_stopped_data_address)
  5850. (target_insert_watchpoint, target_remove_watchpoint)
  5851. (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
  5852. to call the appropriate i386_* functions.
  5853. * i386-nat.c: New file.
  5854. * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
  5855. (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
  5856. (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
  5857. (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
  5858. (maint_show_dr): New variables.
  5859. (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
  5860. (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
  5861. (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
  5862. (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
  5863. (i386_stopped_data_address, i386_stopped_by_hwbp)
  5864. (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
  5865. functions.
  5866. (_initialize_i386_nat): New function.
  5867. [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
  5868. `show-debug-regs', sets maint_show_dr to non-zero value and
  5869. activates debugging print-outs in functions which insert, remove,
  5870. and test watchpoints and hardware breakpoints.
  5871. * Makefile.in (i386-nat.o): New target.
  5872. (ALLDEPFILES): Add i386-nat.o.
  5873. 2001-03-21 Mark Kettenis <kettenis@gnu.org>
  5874. * i386-tdep.c: Add back _initialize_i386_tdep prototype with
  5875. appropriate comment.
  5876. 2001-03-20 Kevin Buettner <kevinb@redhat.com>
  5877. * config/alpha/alpha-linux.mh (NATDEPFILES): Use proc-service.o,
  5878. thread-db.o, and lin-lwp.o for thread support instead of
  5879. linux-thread.o and lin-thread.o.
  5880. * config/alpha/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS)
  5881. (ATTACH_LWP): Define to use the following lin-lwp.c functions...
  5882. (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals)
  5883. (lin_lwp_attach_lwp): Declare.
  5884. 2001-03-20 Jim Blandy <jimb@redhat.com>
  5885. Fix from Dan Berlin:
  5886. * Makefile.in: Clean up dependencies on ../include/demangle.h.
  5887. (demangle_h): New variable.
  5888. (jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
  5889. 2001-03-20 Andrew Cagney <ac131313@redhat.com>
  5890. * target.h (SOFTWARE_SINGLE_STEP_P): Add empty parameter list.
  5891. * breakpoint.c (bpstat_stop_status): Update.
  5892. * infrun.c (handle_inferior_event): Ditto.
  5893. * mips-tdep.c (mips_dump_tdep): Ditto.
  5894. * infrun.c (resume): Ditto.
  5895. * infptrace.c (child_resume): Ditto.
  5896. * config/mips/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
  5897. * config/sh/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
  5898. * config/sparc/tm-sparc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
  5899. * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP_P): Ditto.
  5900. * config/arm/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
  5901. * config/arc/tm-arc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
  5902. * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
  5903. 2001-03-20 Andrew Cagney <ac131313@redhat.com>
  5904. * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Replace abort
  5905. with internal_error.
  5906. 2001-03-20 Jim Blandy <jimb@redhat.com>
  5907. Fix from Dan Berlin:
  5908. * linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
  5909. than asking for sym_class's type; that's circuitous. Remove
  5910. sym_class, since the last use of it is gone.
  5911. 2001-03-20 Eli Zaretskii <eliz@is.elta.co.il>
  5912. * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
  5913. Correct the order of calls to ui_out_field_string and
  5914. ui_out_list_begin when bs->old_val is NULL.
  5915. 2001-03-19 Kevin Buettner <kevinb@redhat.com>
  5916. * configure.in (AC_CHECK_HEADERS): Check for existence of nlist.h.
  5917. * configure: Regenerate.
  5918. * config.in: Regenerate.
  5919. * solib-legacy.c (nlist.h): Include if HAVE_NLIST_H is defined.
  5920. 2001-03-19 Kevin Buettner <kevinb@redhat.com>
  5921. * config/i386/i386v42mp.mh (NATDEPFILES): List all files on
  5922. same line to avoid problems with Unixware 7's make when building
  5923. a cross debugger.
  5924. 2001-03-19 Andrew Cagney <ac131313@redhat.com>
  5925. * defs.h (malloc): Move declaration from here.
  5926. * utils.c (malloc): To here.
  5927. * config/pa/xm-hppah.h (malloc): Delete declaration.
  5928. * gnu-nat.c (make_proc): Use xmalloc instead of malloc.
  5929. * hp-psymtab-read.c (hpread_call_pxdb): Ditto.
  5930. (hpread_quick_traverse): Ditto.
  5931. * infttrace.c (create_thread_info): Ditto.
  5932. (kill_inferior): Ditto.
  5933. * gnu-nat.c (make_inf): Ditto, and don't check return value.
  5934. * procfs.c (proc_update_threads): Ditto.
  5935. * valprint.c (print_decimal_chars): Ditto.
  5936. * gdbtypes.c (cfront_mangle_name): Use xasprintf instead of
  5937. malloc and sprintf.
  5938. * remote-rdp.c (rdp_set_command_line): Ditto.
  5939. 2001-03-19 Andrew Cagney <ac131313@redhat.com>
  5940. * defs.h (realloc): Move declaration from here.
  5941. * utils.c (realloc): To here.
  5942. * config/pa/xm-hppah.h (realloc): Delete declaration.
  5943. * lin-thread.c (insert_thread): Use xrealloc instead of realloc.
  5944. * symfile.c (add_filename_language): Ditto.
  5945. * event-loop.c (create_file_handler): Ditto.
  5946. 2001-03-19 Andrew Cagney <ac131313@redhat.com>
  5947. * defs.h (free): Move declaration from here.
  5948. * utils.c (free): To here.
  5949. (xfree): Document as the only call to free().
  5950. * config/pa/xm-hppah.h (free): Delete declaration.
  5951. 2001-03-19 Kevin Buettner <kevinb@redhat.com>
  5952. * config/ia64/linux.mh (NATDEPFILES): Add proc-service.o to
  5953. this list.
  5954. 2001-03-19 Andrew Cagney <ac131313@redhat.com>
  5955. * eval.c (evaluate_subexp): Remove #ifdef __STDC__ and ``inline''.
  5956. * config/mips/xm-mips.h (offsetof): Define when !GNUC not !STDC.
  5957. * cli/cli-cmds.c (init_cli_cmds): Remove #ifdef __STDC__
  5958. 2001-03-19 Andrew Cagney <ac131313@redhat.com>
  5959. * TODO: List known problems with TUI.
  5960. 2001-03-19 Andrew Cagney <ac131313@redhat.com>
  5961. * MAINTAINERS: Jimmy Guo stepped down as a maintiner (TUI,
  5962. gdb.hp).
  5963. 2001-03-19 Andrew Cagney <ac131313@redhat.com>
  5964. * remote.c (remote_cisco_section_offsets): Do not cast result from
  5965. bfd_get_section_name.
  5966. (compare_sections_command): Ditto.
  5967. (remote_cisco_section_offsets): Make ``p'' a const pointer.
  5968. (compare_sections_command): Ditto for ``sectname''.
  5969. 2001-03-19 Andrew Cagney <ac131313@redhat.com>
  5970. From Mon Nov 20 13:59:29 2000 Andrew Cagney <cagney@b1.cygnus.com>:
  5971. * valops.c (hand_function_call): Simplify computation of the
  5972. address of the pushed argument.
  5973. 2001-03-17 Andrew Cagney <ac131313@redhat.com>
  5974. * p-exp.y (parse_number): Avoid shift overflow when ``long''.
  5975. Code copied from c-exp.y.
  5976. 2001-03-18 Kevin Buettner <kevinb@redhat.com>
  5977. * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
  5978. (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
  5979. (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros.
  5980. * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out
  5981. of the Solaris procfs testing section. Instead, group with...
  5982. (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
  5983. (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
  5984. (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New <link.h> tests.
  5985. * configure: Regenerate.
  5986. * config.in: Regenerate.
  5987. * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use
  5988. new configure macros to choose which (if any) code to
  5989. compile in. Added code to explicitly handle *BSD systems;
  5990. these systems were previously handled only through macro
  5991. redefinition. Also, due to the way the autoconf tests are set
  5992. up, this function will no longer return a non-zero value when
  5993. GDB is configured as a cross debugger. I.e, cross debuggers
  5994. will no longer be able to "accidentally" get the host system's
  5995. link map offsets.
  5996. 2001-03-18 Kevin Buettner <kevinb@redhat.com>
  5997. * config/i386/nbsd.mh (NATDEPFILES): List all files on the same
  5998. line to avoid build problem on NetBSD 1.4.
  5999. 2001-03-17 Michael Chastain <chastain@redhat.com>
  6000. * win32-nat.c (child_attach): check args for NULL before passing
  6001. to strtoul. This fixes PR gdb/43.
  6002. 2001-03-17 Mark Kettenis <kettenis@gnu.org>
  6003. * i387-nat.h: Doc Fix.
  6004. * i386-tdep.c: Fix formatting.
  6005. (i386_get_frame_setup, i386_follow_jump, codestream_read,
  6006. codestream_seek, codestream_fill, skip_trampoline_code,
  6007. gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
  6008. prototypoes.
  6009. 2001-03-17 Mark Kettenis <kettenis@gnu.org>
  6010. * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
  6011. no longer used. Also remove associated FIXME.
  6012. 2001-03-16 Andrew Cagney <ac131313@redhat.com>
  6013. * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
  6014. not generate macro wrappers for multi-arch functions or
  6015. predicates.
  6016. (class_is_info_p, class_is_predicate_p): Update.
  6017. (class_is_function_p, class_is_variable_p): Ditto.
  6018. (class_is_multiarch_p): New class function.
  6019. 2001-03-16 J.T. Conklin <jtc@redback.com>
  6020. * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
  6021. h8300_frame_args_address from frame_args_address.
  6022. (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
  6023. from frame_locals_address.
  6024. (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
  6025. from print_register_hook.
  6026. (h8300_frame_args_address): Declare.
  6027. (h8300_frame_find_saved_regs): Declare.
  6028. (h8300_frame_locals_address): Declare.
  6029. (h8300_frame_saved_pc): Declare.
  6030. (h8300_pop_frame): Declare.
  6031. (h8300_print_register_hook): Declare.
  6032. * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
  6033. (h8300_frame_args_address): Renamed from frame_args_address.
  6034. (h8300_frame_locals_address): Renamed from frame_locals_address.
  6035. (h8300_pop_frame): Renamed from pop_frame.
  6036. (h8300_print_register_hook): Renamed from print_register_hook.
  6037. 2001-03-16 Kevin Buettner <kevinb@redhat.com>
  6038. * solib-svr4.c (bfd_lookup_symbol): Change type of
  6039. ``storage_needed'' from unsigned int to long in order to
  6040. match return type of bfd_get_symtab_upper_bound() and
  6041. bfd_get_dynamic_symtab_upper_bound().
  6042. * solib-aix5.c (bfd_lookup_symbol): Likewise. Also, eliminate
  6043. REASONABLE_LIMIT hack which had been added to work around this
  6044. problem.
  6045. 2001-03-15 Kevin Buettner <kevinb@redhat.com>
  6046. * solib-aix5.c (bfd_lookup_symbol, build_so_list_from_mapfile)
  6047. (aix5_relocate_main_executable, aix5_clear_solib): Replace calls
  6048. to free() with calls to xfree().
  6049. (bfd_lookup_symbol): Eliminate use of PTR.
  6050. (build_so_list_from_mapfile): Use xasprintf() instead of sprintf().
  6051. 2001-03-15 Martin Hunt <hunt@redhat.com>
  6052. * linespec.c (decode_line_1): Remove trailing quote
  6053. when parsing double quotes.
  6054. 2001-03-15 Kevin Buettner <kevinb@redhat.com>
  6055. * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
  6056. (libthread_stub, libthread_init): Pass NULL for the mem_attrib
  6057. argument in the to_xfer_memory calls.
  6058. 2001-03-15 Andrew Cagney <ac131313@redhat.com>
  6059. * MAINTAINERS: Fix typo - w65 not w64. Still doesn't build.
  6060. * TODO (GDB 5.1 - Cleanups): Add status of targets being obsoleted.
  6061. 2001-03-15 Andrew Cagney <ac131313@redhat.com>
  6062. * wince.c (child_xfer_memory): Add attrib parameter.
  6063. * symm-nat.c (child_xfer_memory): Ditto.
  6064. * mac-nat.c (child_xfer_memory): Ditto.
  6065. * infttrace.c (child_xfer_memory): Ditto.
  6066. * procfs.c (procfs_xfer_memory): Ditto.
  6067. * lin-thread.c (thread_db_xfer_memory): Ditto.
  6068. * gnu-nat.c (gnu_xfer_memory): Ditto.
  6069. 2001-03-14 Andrew Cagney <ac131313@redhat.com>
  6070. * NEWS: Mention that Harris/CXUX m88k is obsolete.
  6071. 2001-03-13 Andrew Cagney <ac131313@redhat.com>
  6072. * config/mips/tm-mips.h: Include "regcache.h" for macros refering
  6073. to regcache functions.
  6074. * config/m68k/tm-m68k.h: Ditto.
  6075. * config/i386/tm-i386v.h: Ditto.
  6076. * config/mcore/tm-mcore.h: Ditto.
  6077. * config/m88k/tm-m88k.h: Ditto.
  6078. * config/m68k/tm-news.h: Ditto.
  6079. * config/m68k/tm-linux.h: Ditto.
  6080. * config/m68k/tm-delta68.h: Ditto.
  6081. * config/m68k/nm-sun3.h: Ditto.
  6082. * config/m32r/tm-m32r.h: Ditto.
  6083. * config/i386/tm-symmetry.h: Ditto.
  6084. * config/i386/tm-sun386.h: Ditto.
  6085. * config/i386/tm-i386.h: Ditto.
  6086. * config/i386/nm-symmetry.h: Ditto.
  6087. * config/i386/nm-sun386.h: Ditto.
  6088. * config/i386/nm-ptx4.h: Ditto.
  6089. * config/i386/nm-i386mach.h: Ditto.
  6090. * config/h8500/tm-h8500.h: Ditto.
  6091. * config/h8300/tm-h8300.h: Ditto.
  6092. * config/fr30/tm-fr30.h: Ditto.
  6093. * config/d30v/tm-d30v.h: Ditto.
  6094. * config/arm/tm-arm.h: Ditto.
  6095. * config/arc/tm-arc.h: Ditto.
  6096. * config/alpha/tm-alpha.h: Ditto.
  6097. * config/a29k/tm-vx29k.h: Ditto.
  6098. * config/a29k/tm-a29k.h: Ditto.
  6099. * config/w65/tm-w65.h: Ditto.
  6100. * config/vax/tm-vax.h: Ditto.
  6101. * config/v850/tm-v850.h: Ditto.
  6102. * config/tic80/tm-tic80.h: Ditto.
  6103. * config/sparc/tm-sparclite.h: Ditto.
  6104. * config/sparc/tm-sparclet.h: Ditto.
  6105. * config/sparc/tm-sparc.h: Ditto.
  6106. * config/sparc/nm-sun4sol2.h: Ditto.
  6107. * config/sparc/nm-sun4os4.h: Ditto.
  6108. * config/sparc/nm-nbsd.h: Ditto.
  6109. * config/powerpc/nm-solaris.h: Ditto.
  6110. * config/pa/tm-hppao.h: Ditto.
  6111. * config/pa/tm-hppa.h: Ditto.
  6112. * config/pa/nm-hppab.h: Ditto.
  6113. * config/ns32k/tm-umax.h: Ditto.
  6114. * config/ns32k/tm-merlin.h: Ditto.
  6115. * config/nm-m3.h: Ditto.
  6116. * config/nm-gnu.h: Ditto.
  6117. 2001-03-14 Andrew Cagney <ac131313@redhat.com>
  6118. * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
  6119. broken. Mark sh-*, ia64-linux and ns32k-netbsd as buildable.
  6120. Specify an m88k target. Include sample GAWK script to generate
  6121. target list. Delete non-existant romp target.
  6122. * TODO (GDB 5.1 - Cleanups): Update.
  6123. 2001-03-14 Keith Seitz <keiths@cygnus.com>
  6124. * linespec.c (decode_line_1): Skip argptr over a leading
  6125. double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
  6126. 2001-03-14 Kevin Buettner <kevinb@redhat.com>
  6127. * config/djgpp/fnchange.lst (ia64-aix-nat.c): Add entry.
  6128. 2001-03-13 Andrew Cagney <ac131313@redhat.com>
  6129. * ui-out.h: Remove #if __STDC__, assume an ISO-C compiler.
  6130. * m3-nat.c: Ditto.
  6131. * p-lang.h: Ditto.
  6132. * printcmd.c (printf_command): Ditto.
  6133. * ch-exp.c (match_integer_literal): Ditto.
  6134. * scm-tags.h: Ditto.
  6135. * ser-go32.c: Ditto.
  6136. * hppa-tdep.c (unwind_command): Ditto.
  6137. * defs.h (volatile): Delete macro definition. Assume __STDC__.
  6138. * remote-adapt.c (volatile): Ditto.
  6139. * remote-eb.c (volatile): Ditto.
  6140. * remote-mm.c (volatile): Ditto.
  6141. * defs.h (alloca): Assume __STDC__, declare returning void *.
  6142. 2001-03-08 Andrew Cagney <ac131313@redhat.com>
  6143. * inferior.h (ARCH_NUM_REGS): Delete definition.
  6144. * stack.c (frame_info): Use NUM_REGS, not ARCH_NUM_REGS.
  6145. * regcache.c (registers_changed): Ditto.
  6146. (registers_fetched): Ditto.
  6147. * infptrace.c (fetch_inferior_registers): Ditto.
  6148. (store_inferior_registers): Ditto.
  6149. * infcmd.c (do_registers_info): Ditto.
  6150. (registers_info): Ditto.
  6151. * i386-linux-nat.c (old_fetch_inferior_registers): Ditto.
  6152. (old_store_inferior_registers): Ditto.
  6153. * gdbserver/low-linux.c (register_addr): Ditto.
  6154. * gdbserver/low-hppabsd.c (register_addr): Ditto.
  6155. * core-aout.c: Don't include "inferior.h".
  6156. (fetch_core_registers): Use NUM_REGS not ARCH_NUM_REGS.
  6157. (register_addr): Ditto.
  6158. 2001-03-13 Fernando Nasser <fnasser@redhat.com>
  6159. From Steven Johnson <sjohnson@neurizon.net>
  6160. * cli/cli-script.c (define_command): Fix setting of post hooks.
  6161. 2001-03-13 Mark Kettenis <kettenis@gnu.org>
  6162. * i386-linux-tdep.c: Fix formatting and clarify comments.
  6163. (i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
  6164. where appropriate.
  6165. 2001-03-12 Andrew Cagney <ac131313@redhat.com>
  6166. * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
  6167. (proc_update_sc): Use gdb_assert instead of assert.
  6168. (proc_abort): Ditto.
  6169. (inf_set_step_thread): Ditto.
  6170. (gnu_wait): Ditto.
  6171. (S_exception_raise_request): Ditto.
  6172. (gnu_terminal_init_inferior): Ditto.
  6173. 2001-03-09 Kevin Buettner <kevinb@redhat.com>
  6174. * Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
  6175. (solib-legacy.o): New makefile target.
  6176. * solib-legacy.c: New file.
  6177. * solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
  6178. (default_svr4_fetch_link_map_offsets): Delete.
  6179. (set_solib_svr4_fetch_link_map_offsets): Declare.
  6180. (legacy_svr4_fetch_link_map_offsets_hook): Declare.
  6181. * solib-svr4.c (elf/common.h): Include.
  6182. (link.h): Only include for SunOS shared library support.
  6183. (_SYSCALL32): Don't define.
  6184. (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
  6185. (default_svr4_fetch_link_map_offsets): Made static; added forward
  6186. declaration.
  6187. (fetch_link_map_offsets): New static global.
  6188. (legacy_svr4_fetch_link_map_offsets_hook): New global variable.
  6189. (default_svr4_fetch_link_map_offsets): Rewritten. The guts
  6190. of what used to be in this function now reside in
  6191. legacy_svr4_fetch_link_map_offsets() in solib-legacy.c.
  6192. (open_symbol_file_object): Fix declaration in SunOS section
  6193. of the code.
  6194. (set_solib_svr4_fetch_link_map_offsets): New extern function.
  6195. (init_fetch_link_map_offsets): New static function.
  6196. (_initialize_svr4_solib): Put static global fetch_link_map_offsets
  6197. under multiarch control.
  6198. * config/alpha/alpha-linux.mt (TDEPFILES): Add solib-legacy.o to
  6199. list.
  6200. * config/alpha/fbsd.mh (NATDEPFILES): Likewise.
  6201. * config/arm/linux.mt (TDEPFILES): Likewise.
  6202. * config/i386/fbsd.mh (NATDEPFILES): Likewise.
  6203. * config/i386/i386dgux.mh (NATDEPFILES): Likewise.
  6204. * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
  6205. * config/i386/i386sco5.mh (NATDEPFILES): Likewise.
  6206. * config/i386/i386sol2.mt (TDEPFILES): Likewise.
  6207. * config/i386/i386v4.mh (NATDEPFILES): Likewise.
  6208. * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
  6209. * config/i386/linux.mt (TDEPFILES): Likewise.
  6210. * config/i386/nbsd.mh (NATDEPFILES): Likewise.
  6211. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
  6212. * config/i386/ncr3000.mt (TDEPFILES): Likewise.
  6213. * config/i386/ptx4.mh (XDEPFILES): Likewise.
  6214. * config/i386/sun386.mt (TDEPFILES): Likewise.
  6215. * config/ia64/linux.mt (TDEPFILES): Likewise.
  6216. * config/m68k/linux.mt (TDEPFILES): Likewise.
  6217. * config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
  6218. * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
  6219. * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
  6220. * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
  6221. * config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
  6222. * config/mips/mipsv4.mh (NATDEPFILES): Likewise.
  6223. * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
  6224. * config/powerpc/linux.mt (TDEPFILES): Likewise.
  6225. * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
  6226. * config/powerpc/solaris.mh (NATDEPFILES): Likewise.
  6227. * config/sh/linux.mt (TDEPFILES): Likewise.
  6228. * config/sparc/linux.mt (TDEPFILES): Likewise.
  6229. * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
  6230. * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
  6231. * config/sparc/sp64linux.mt (TDEPFILES): Likewise.
  6232. * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
  6233. * config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.
  6234. 2001-03-09 Kevin Buettner <kevinb@redhat.com>
  6235. * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests.
  6236. 2001-03-09 Andrew Cagney <ac131313@redhat.com>
  6237. * MAINTAINERS (Write After Approval): Update Philip Blundell.
  6238. 2001-03-09 Keith Seitz <keiths@cygnus.com>
  6239. * MAINTAINERS: Add myself to write after approval list.
  6240. 2001-03-09 Mark Kettenis <kettenis@gnu.org>
  6241. * i387-tdep.c (print_i387_status_word): Fix printing of Stack
  6242. fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
  6243. 2001-03-08 Andrew Cagney <ac131313@redhat.com>
  6244. * configure.host (m88*-harris-cxux*): Mark as obsolete.
  6245. * configure.tgt: Ditto.
  6246. * config/m88k/xm-cxux.h: Ditto.
  6247. * config/m88k/tm-cxux.h: Ditto.
  6248. * config/m88k/nm-cxux.h: Ditto.
  6249. * config/m88k/cxux.mt: Ditto.
  6250. * config/m88k/cxux.mh: Ditto.
  6251. 2001-03-08 Andrew Cagney <ac131313@redhat.com>
  6252. * Makefile.in: Delete rules for obsolete files.
  6253. Thu Mar 8 15:43:40 2001 David Taylor <taylor@redhat.com>
  6254. * stack.c (parse_frame_specification): For one argument case,
  6255. handle the situation where the argument is an integer, not an
  6256. address -- arguably the most common case. This matters on
  6257. targets where pointers and addresses are different.
  6258. 2001-03-08 Andrew Cagney <ac131313@redhat.com>
  6259. * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
  6260. review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
  6261. general.
  6262. 2001-03-07 Andrew Cagney <ac131313@redhat.com>
  6263. * TODO (GDB 5.1 Known Problems): Document problem of building GDB
  6264. with SID on Solaris 8.
  6265. 2001-03-07 Mark Kettenis <kettenis@gnu.org>
  6266. * defs.h: Provide prototypes for floatformat_is_negative,
  6267. floatformat_is_nan and floatformat_mantissa.
  6268. * utils.c: Include "gdb_assert.h".
  6269. (floatformat_is_negative): New function.
  6270. (floatformat_is_nan): New function.
  6271. (floatformat_mantissa): New function.
  6272. * valprint.c: Include "floatformat.h".
  6273. (print_floating): Get rid of the Linux-specific
  6274. TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
  6275. help these new functions. Print NaN's in a format conforming to
  6276. ISO C99.
  6277. 2001-03-07 Eli Zaretskii <eliz@is.elta.co.il>
  6278. * top.c (init_main): Make `set history file name' complete on file
  6279. names.
  6280. 2001-03-06 J.T. Conklin <jtc@redback.com>
  6281. * Makefile.in (LINTFLAGS): Update to contain all of the macros
  6282. which define include paths used when compiling.
  6283. * util.c (savestring, msavestring): Change type of length argument.
  6284. * defs.h (savestring, msavestring): Update to match.
  6285. * symtab.h (decode_line_1): Removed declaration.
  6286. * symfile.c (#include <assert.h>): Removed.
  6287. * arch-utils.c (#include <ctype.h>): Removed.
  6288. * c-typeprint.c: Likewise.
  6289. * dbxread.c: Likewise.
  6290. * gdbtypes.c: Likewise.
  6291. * target.c: Likewise.
  6292. * os9kread.c: Likewise.
  6293. * c-valprint.c (#include "demangle.h"): Removed.
  6294. * ch-typeprint.c: Likewise.
  6295. * eval.c: Likewise.
  6296. * f-typeprint.c: Likewise.
  6297. * f-valprint.c: Likewise.
  6298. * m2-typeprint.c: Likewise.
  6299. * typeprint.c: Likewise.
  6300. * p-typeprint.c: Likewise.
  6301. * valarith.c: Likewise.
  6302. * valprint.c: Likewise.
  6303. * m2-typeprint.c (#include "gdb_string.h"): Removed.
  6304. * nlmread.c: Likewise.
  6305. * mdebugread.c (#include "gdb-stabs.h"): Removed.
  6306. * minsyms.c: Likewise.
  6307. * mipsread.c: Likewise.
  6308. * nlmread.c: Likewise.
  6309. * m2-typeprint.c (#include "obstack.h"): Removed.
  6310. * m2-valprint.c: Likewise.
  6311. * event-loop.c (#include <setjmp.h>): Removed.
  6312. 2001-03-06 Stan Shebs <shebs@apple.com>
  6313. * MAINTAINERS: Remove self from specific maintenance domains
  6314. (macos, gdbserver, documentation, testsuite).
  6315. 2001-03-06 Kevin Buettner <kevinb@redhat.com>
  6316. * 29k-share/udi/udip2soc.c, Makefile.in, a29k-tdep.c,
  6317. a68v-nat.c, abug-rom.c, aclocal.m4, alpha-nat.c, alpha-tdep.c,
  6318. annotate.c, annotate.h, arc-tdep.c, arch-utils.c,
  6319. arch-utils.h, arm-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
  6320. ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
  6321. breakpoint.h, buildsym.c, buildsym.h, c-exp.y, c-lang.c,
  6322. c-lang.h, c-typeprint.c, c-valprint.c, call-cmds.h, ch-exp.c,
  6323. ch-lang.c, ch-lang.h, ch-typeprint.c, ch-valprint.c,
  6324. cli/cli-cmds.h, cli/cli-decode.c, cli/cli-decode.h,
  6325. cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.h,
  6326. cli/cli-utils.h, cli-out.c, cli-out.h, coff-solib.c,
  6327. coff-solib.h, coffread.c, command.h, complaints.c,
  6328. complaints.h, completer.c, completer.h,
  6329. config/a29k/nm-ultra3.h, config/a29k/tm-a29k.h,
  6330. config/a29k/tm-ultra3.h, config/a29k/tm-vx29k.h,
  6331. config/a29k/xm-ultra3.h, config/alpha/nm-fbsd.h,
  6332. config/alpha/nm-linux.h, config/alpha/nm-osf.h,
  6333. config/alpha/nm-osf2.h, config/alpha/nm-osf3.h,
  6334. config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h,
  6335. config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h,
  6336. config/alpha/xm-fbsd.h, config/arc/tm-arc.h,
  6337. config/arm/nm-linux.h, config/arm/tm-arm.h,
  6338. config/arm/tm-embed.h, config/d10v/tm-d10v.h,
  6339. config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
  6340. config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
  6341. config/i386/nm-fbsd.h, config/i386/nm-gnu.h,
  6342. config/i386/nm-i386bsd.h, config/i386/nm-i386mach.h,
  6343. config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
  6344. config/i386/nm-i386v.h, config/i386/nm-i386v4.h,
  6345. config/i386/nm-i386v42mp.h, config/i386/nm-linux.h,
  6346. config/i386/nm-nbsd.h, config/i386/nm-nbsdelf.h,
  6347. config/i386/nm-ptx4.h, config/i386/nm-sun386.h,
  6348. config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
  6349. config/i386/tm-fbsd.h, config/i386/tm-i386.h,
  6350. config/i386/tm-i386aix.h, config/i386/tm-i386bsd.h,
  6351. config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h,
  6352. config/i386/tm-i386m3.h, config/i386/tm-i386mk.h,
  6353. config/i386/tm-i386nw.h, config/i386/tm-i386os9k.h,
  6354. config/i386/tm-i386sco5.h, config/i386/tm-i386sol2.h,
  6355. config/i386/tm-i386v.h, config/i386/tm-i386v4.h,
  6356. config/i386/tm-i386v42mp.h, config/i386/tm-linux.h,
  6357. config/i386/tm-nbsd.h, config/i386/tm-ptx.h,
  6358. config/i386/tm-ptx4.h, config/i386/tm-sun386.h,
  6359. config/i386/tm-symmetry.h, config/i386/tm-vxworks.h,
  6360. config/i386/xm-fbsd.h, config/i386/xm-i386bsd.h,
  6361. config/i386/xm-i386gnu.h, config/i386/xm-i386m3.h,
  6362. config/i386/xm-i386mach.h, config/i386/xm-i386mk.h,
  6363. config/i386/xm-i386sco.h, config/i386/xm-i386v4.h,
  6364. config/i386/xm-linux.h, config/i386/xm-nbsd.h,
  6365. config/i386/xm-ptx.h, config/i386/xm-ptx4.h,
  6366. config/i386/xm-sun386.h, config/i386/xm-symmetry.h,
  6367. config/i960/tm-i960.h, config/i960/tm-mon960.h,
  6368. config/i960/tm-nindy960.h, config/i960/tm-vx960.h,
  6369. config/ia64/nm-aix.h, config/ia64/nm-linux.h,
  6370. config/ia64/tm-aix.h, config/ia64/tm-ia64.h,
  6371. config/ia64/tm-linux.h, config/ia64/xm-aix.h,
  6372. config/ia64/xm-linux.h, config/m68k/nm-apollo68b.h,
  6373. config/m68k/nm-delta68.h, config/m68k/nm-dpx2.h,
  6374. config/m68k/nm-hp300bsd.h, config/m68k/nm-hp300hpux.h,
  6375. config/m68k/nm-linux.h, config/m68k/nm-sun3.h,
  6376. config/m68k/tm-apollo68b.h, config/m68k/tm-cisco.h,
  6377. config/m68k/tm-dpx2.h, config/m68k/tm-es1800.h,
  6378. config/m68k/tm-hp300bsd.h, config/m68k/tm-hp300hpux.h,
  6379. config/m68k/tm-isi.h, config/m68k/tm-linux.h,
  6380. config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
  6381. config/m68k/tm-mac.h, config/m68k/tm-monitor.h,
  6382. config/m68k/tm-nbsd.h, config/m68k/tm-news.h,
  6383. config/m68k/tm-os68k.h, config/m68k/tm-sun3.h,
  6384. config/m68k/tm-vx68.h, config/m68k/xm-3b1.h,
  6385. config/m68k/xm-apollo68b.h, config/m68k/xm-dpx2.h,
  6386. config/m68k/xm-hp300bsd.h, config/m68k/xm-hp300hpux.h,
  6387. config/m68k/xm-linux.h, config/m68k/xm-m68kv4.h,
  6388. config/m68k/xm-mpw.h, config/m68k/xm-news.h,
  6389. config/m68k/xm-sun2.h, config/m68k/xm-sun3.h,
  6390. config/m68k/xm-sun3os4.h, config/m88k/nm-delta88v4.h,
  6391. config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h,
  6392. config/m88k/tm-m88k.h, config/m88k/xm-cxux.h,
  6393. config/m88k/xm-delta88.h, config/m88k/xm-delta88v4.h,
  6394. config/m88k/xm-dgux.h, config/mcore/tm-mcore.h,
  6395. config/mips/nm-irix3.h, config/mips/nm-irix4.h,
  6396. config/mips/nm-irix5.h, config/mips/nm-mips.h,
  6397. config/mips/nm-news-mips.h, config/mips/tm-bigmips.h,
  6398. config/mips/tm-embed.h, config/mips/tm-embed64.h,
  6399. config/mips/tm-embedl.h, config/mips/tm-embedl64.h,
  6400. config/mips/tm-irix3.h, config/mips/tm-irix5.h,
  6401. config/mips/tm-mips.h, config/mips/tm-mips64.h,
  6402. config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h,
  6403. config/mips/tm-tx39.h, config/mips/tm-tx39l.h,
  6404. config/mips/tm-vr4100.h, config/mips/tm-vr4300.h,
  6405. config/mips/tm-vr4300el.h, config/mips/tm-vr4xxx.h,
  6406. config/mips/tm-vr4xxxel.h, config/mips/tm-vr5000.h,
  6407. config/mips/tm-vr5000el.h, config/mips/xm-irix3.h,
  6408. config/mips/xm-irix4.h, config/mips/xm-irix5.h,
  6409. config/mips/xm-mips.h, config/mips/xm-mipsm3.h,
  6410. config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h,
  6411. config/mips/xm-riscos.h, config/mn10200/tm-mn10200.h,
  6412. config/mn10300/tm-mn10300.h, config/nm-gnu.h,
  6413. config/nm-linux.h, config/nm-lynx.h, config/nm-m3.h,
  6414. config/nm-sysv4.h, config/none/nm-none.h,
  6415. config/none/tm-none.h, config/none/xm-none.h,
  6416. config/ns32k/nm-nbsd.h, config/ns32k/nm-umax.h,
  6417. config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
  6418. config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
  6419. config/ns32k/xm-merlin.h, config/ns32k/xm-ns32km3.h,
  6420. config/pa/nm-hppab.h, config/pa/nm-hppah.h,
  6421. config/pa/nm-hppao.h, config/pa/tm-hppa.h,
  6422. config/pa/tm-hppa64.h, config/pa/tm-hppah.h,
  6423. config/pa/xm-hppab.h, config/pa/xm-hppah.h,
  6424. config/powerpc/nm-aix.h, config/powerpc/nm-linux.h,
  6425. config/powerpc/nm-macos.h, config/powerpc/nm-nbsd.h,
  6426. config/powerpc/tm-cygwin.h, config/powerpc/tm-linux.h,
  6427. config/powerpc/tm-macos.h, config/powerpc/tm-ppc-aix.h,
  6428. config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h,
  6429. config/powerpc/tm-ppcle-eabi.h, config/powerpc/tm-solaris.h,
  6430. config/powerpc/xm-aix.h, config/powerpc/xm-linux.h,
  6431. config/powerpc/xm-mpw.h, config/rs6000/nm-rs6000.h,
  6432. config/rs6000/tm-rs6000.h, config/rs6000/tm-rs6000ly.h,
  6433. config/rs6000/xm-aix4.h, config/rs6000/xm-rs6000.h,
  6434. config/sh/tm-linux.h, config/sh/tm-sh.h, config/sh/tm-wince.h,
  6435. config/sparc/nm-linux.h, config/sparc/nm-nbsd.h,
  6436. config/sparc/nm-nbsdelf.h, config/sparc/nm-sparclynx.h,
  6437. config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
  6438. config/sparc/tm-linux.h, config/sparc/tm-sp64.h,
  6439. config/sparc/tm-sp64sim.h, config/sparc/tm-sparc.h,
  6440. config/sparc/tm-sparclet.h, config/sparc/tm-sparclite.h,
  6441. config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
  6442. config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
  6443. config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
  6444. config/tic80/tm-tic80.h, config/tm-linux.h, config/tm-lynx.h,
  6445. config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
  6446. config/w65/tm-w65.h, config/xm-aix4.h, config/xm-lynx.h,
  6447. config/xm-mpw.h, config/xm-nbsd.h, config/xm-sysv4.h,
  6448. config/z8k/tm-z8k.h, configure.in, core-aout.c, core-regset.c,
  6449. core-sol2.c, corefile.c, corelow.c, cp-valprint.c,
  6450. cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
  6451. dbug-rom.c, dbxread.c, dcache.c, dcache.h, defs.h,
  6452. delta68-nat.c, demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c,
  6453. dstread.c, dve3900-rom.c, dwarf2read.c, dwarfread.c,
  6454. elfread.c, environ.c, environ.h, eval.c, event-loop.c,
  6455. event-loop.h, event-top.c, exec.c, expprint.c, f-exp.y,
  6456. f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, findvar.c,
  6457. fork-child.c, fr30-tdep.c, frame.c, frame.h, gdb-events.c,
  6458. gdb-events.h, gdb-events.sh, gdb-stabs.h, gdb.1, gdb_string.h,
  6459. gdb_thread_db.h, gdbcmd.h, gdbcore.h, gdbserver/Makefile.in,
  6460. gdbserver/gdbreplay.c, gdbserver/gdbserver.1,
  6461. gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
  6462. gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
  6463. gdbserver/low-sim.c, gdbserver/low-sparc.c,
  6464. gdbserver/low-sun3.c, gdbserver/remote-utils.c,
  6465. gdbserver/server.c, gdbserver/server.h, gdbserver/utils.c,
  6466. gdbthread.h, gdbtypes.c, gdbtypes.h, gnu-nat.c, gnu-nat.h,
  6467. gnu-regex.c, gnu-regex.h, h8300-tdep.c, h8500-tdep.c,
  6468. hp-psymtab-read.c, hp-symtab-read.c, hp300ux-nat.c,
  6469. hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c, hpread.c,
  6470. hpread.h, hpux-thread.c, i386-tdep.c, i386aix-nat.c,
  6471. i386b-nat.c, i386gnu-nat.c, i386ly-tdep.c, i386m3-nat.c,
  6472. i386mach-nat.c, i386nbsd-nat.c, i386nbsd-tdep.c, i386v-nat.c,
  6473. i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c, inferior.h,
  6474. inflow.c, infptrace.c, infrun.c, inftarg.c, infttrace.c,
  6475. irix4-nat.c, irix5-nat.c, isi-xdep.c, jv-exp.y, jv-lang.c,
  6476. jv-lang.h, jv-typeprint.c, jv-valprint.c, kdb-start.c,
  6477. kod-cisco.c, kod.c, language.c, language.h, lin-thread.c,
  6478. linespec.c, linespec.h, linux-thread.c, lynx-nat.c, m2-exp.y,
  6479. m2-lang.c, m2-lang.h, m2-typeprint.c, m2-valprint.c, m3-nat.c,
  6480. m32r-rom.c, m32r-tdep.c, m68k-tdep.c, m68klinux-nat.c,
  6481. m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
  6482. mac-xdep.c, main.c, maint.c, mcore-rom.c, mcore-tdep.c,
  6483. mdebugread.c, mem-break.c, minimon.h, minsyms.c, mips-nat.c,
  6484. mips-tdep.c, mipsm3-nat.c, mipsread.c, mipsv4-nat.c,
  6485. mn10200-tdep.c, mn10300-tdep.c, mon960-rom.c, monitor.c,
  6486. monitor.h, news-xdep.c, nindy-share/env.h, nindy-tdep.c,
  6487. nlm/Makefile.in, nlmread.c, ns32k-tdep.c, ns32km3-nat.c,
  6488. ns32knbsd-nat.c, objfiles.c, objfiles.h, ocd.c, ocd.h,
  6489. op50-rom.c, os9kread.c, osfsolib.c, p-exp.y, pa64solib.c,
  6490. pa64solib.h, parse.c, parser-defs.h, partial-stab.h,
  6491. ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
  6492. ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
  6493. proc-flags.c, proc-utils.h, proc-why.c, procfs.c, ptx4-nat.c,
  6494. rdi-share/Makefile.in, rdi-share/aclocal.m4, regcache.c,
  6495. regcache.h, remote-adapt.c, remote-array.c, remote-bug.c,
  6496. remote-e7000.c, remote-eb.c, remote-es.c, remote-est.c,
  6497. remote-hms.c, remote-mips.c, remote-mm.c, remote-nindy.c,
  6498. remote-nrom.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
  6499. remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
  6500. remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
  6501. remote.h, reply_mig_hack.awk, rom68k-rom.c, rs6000-nat.c,
  6502. rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h,
  6503. scm-valprint.c, ser-e7kpc.c, ser-mac.c, ser-ocd.c, ser-pipe.c,
  6504. ser-tcp.c, ser-unix.c, serial.c, serial.h, sh-tdep.c,
  6505. sh3-rom.c, sol-thread.c, solib-aix5.c, solib-svr4.c, solib.c,
  6506. solib.h, solist.h, somread.c, somsolib.c, somsolib.h,
  6507. source.c, sparc-nat.c, sparc-tdep.c, sparcl-tdep.c,
  6508. sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
  6509. standalone.c, stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c,
  6510. symfile.c, symfile.h, symm-nat.c, symm-tdep.c, symmisc.c,
  6511. symtab.c, symtab.h, target.c, target.h, terminal.h, thread.c,
  6512. tic80-tdep.c, top.c, top.h, tracepoint.c, tracepoint.h,
  6513. typeprint.c, ui-file.c, ui-file.h, ui-out.h, ultra3-nat.c,
  6514. ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
  6515. valarith.c, valops.c, valprint.c, value.h, values.c, varobj.h,
  6516. vax-tdep.c, version.h, vx-share/vxWorks.h, vx-share/xdr_ld.c,
  6517. vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
  6518. vx-share/xdr_rdb.c, w65-tdep.c, w89k-rom.c, win32-nat.c,
  6519. wrapper.c, wrapper.h, xcoffread.c, xcoffsolib.c, xcoffsolib.h,
  6520. xmodem.c, xmodem.h, z8k-tdep.c: Update/correct copyright
  6521. notices.
  6522. 2001-03-05 Kevin Buettner <kevinb@redhat.com>
  6523. * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
  6524. HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
  6525. macros.
  6526. * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
  6527. pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
  6528. (sys/fault.h, sys/select.h): Test for presence of these
  6529. header files.
  6530. (ia64-*-aix*): Define NEW_PROC_API for this host.
  6531. * configure: Regenerate.
  6532. * config.in: Regenerate.
  6533. * configure.host (ia64-*-aix*): New host.
  6534. * configure.tgt (ia64-*-aix*): New target.
  6535. 2001-03-05 Andrew Cagney <ac131313@redhat.com>
  6536. * TODO (GDB 5.1 Known Problems): Document z8k as broken.
  6537. Mon Mar 5 11:56:09 2001 Christopher Faylor <cgf@cygnus.com>
  6538. * wince.c: Change realloc to xrealloc throughout.
  6539. (handle_load_dll): Use void * rather than PTR in argument.
  6540. 2001-03-04 Andrew Cagney <ac131313@redhat.com>
  6541. * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
  6542. * ocd.c (ocd_xfer_memory): Ditto.
  6543. * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
  6544. * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
  6545. buildable with ,-Werror.
  6546. * Makefile.in (symfile_h): Define.
  6547. (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
  6548. * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
  6549. * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
  6550. ,-Werror.
  6551. * dsrec.c (make_srec): Fix internal_error fmt arg.
  6552. * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
  6553. 2001-03-03 Kevin Buettner <kevinb@redhat.com>
  6554. * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
  6555. as an lvalue.
  6556. 2001-03-02 Andrew Cagney <ac131313@redhat.com>
  6557. * MAINTAINERS (paper trail): Update.
  6558. * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
  6559. 2001-03-02 Andrew Cagney <ac131313@redhat.com>
  6560. From 2001-03-01 Tom Rix <trix@redhat.com>:
  6561. * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
  6562. parameter to mn10200_analyze_prologue.
  6563. * config/mn10200/tm-mn10200.h: Include "regcache.h".
  6564. * MAINTAINERS: Document that mn10200-elf target is buildable.
  6565. 2001-03-02 Kevin Buettner <kevinb@redhat.com>
  6566. * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
  6567. from here...
  6568. * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
  6569. (MONTEREY): Don't define.
  6570. (AIX5): Define.
  6571. 2001-03-02 Matt Hiller <hiller@redhat.com>
  6572. * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
  6573. 2001-03-02 Kevin Buettner <kevinb@redhat.com>
  6574. * sparc-nat.c (sparc-nat.c): Don't include self.
  6575. 2001-03-01 J.T. Conklin <jtc@redback.com>
  6576. * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
  6577. if __CYGWIN32__ is set from here.
  6578. * config/i386/xm-cygwin.h: To here.
  6579. * config/powerpc/xm-cygwin.h: To here.
  6580. * i386-stub.c (handle_exception): Use 'T' response packet.
  6581. 2001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
  6582. * m32r-tdep.c: Fix cut and paste error in comment.
  6583. 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
  6584. * symtab.c (print_msymbol_info): Print addresses by portable method
  6585. longest_local_hex_string_custom. Allow for 64-bit addresses.
  6586. 2001-03-01 J.T. Conklin <jtc@redback.com>
  6587. * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
  6588. (MAX_OF_TYPE): Wrap macro definition in parenthesis.
  6589. (MIN_OF_TYPE): Likewise.
  6590. * memattr.h (mem_access_mode): Removed extraneous trailing comma.
  6591. 2001-03-01 Andrew Cagney <ac131313@redhat.com>
  6592. * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
  6593. * os9kread.c (os9k_process_one_symbol): Add assert to detect
  6594. ``loses if sizeof (char *) > sizeof (int)''.
  6595. 2001-03-01 Andrew Cagney <ac131313@redhat.com>
  6596. * gdb_assert.h: Document pragmatics behind gdb_assert's case.
  6597. 2001-03-01 Andrew Cagney <ac131313@redhat.com>
  6598. * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
  6599. lists.
  6600. (mi-main.o): Ditto.
  6601. 2001-03-01 Andrew Cagney <ac131313@redhat.com>
  6602. * Makefile.in (regcache_h): Define. Add $(regcache_h) to
  6603. dependency lists.
  6604. 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
  6605. * printcmd.c (print_address_numeric): Update comments to refer
  6606. to sizeof addr, not sizeof pointer.
  6607. (x_command): Remove needless whitespace (shorten long line).
  6608. * breakpoint.c (print_one_breakpoint): Formatting clean-up.
  6609. (read_memory_nobpt): Ditto.
  6610. (ep_is_catchpoint): Ditto.
  6611. (ep_is_shlib_catchpoint): Ditto.
  6612. (ep_is_exception_catchpoint): Ditto.
  6613. (describe_other_breakpoints): Ditto.
  6614. Wed Feb 28 20:37:36 2001 Andrew Cagney <ac131313@redhat.com>
  6615. * regcache.h (register_valid): Fix comment documenting valid
  6616. states.
  6617. Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
  6618. From Steven Johnson:
  6619. * regcache.h: New file.
  6620. * value.h (read_register_bytes, read_register_gen)
  6621. (write_register_gen, write_register_bytes)
  6622. (read_register, read_register_pid)
  6623. (read_signed_register, read_signed_register_pid)
  6624. (write_register, write_register_pid)
  6625. (register_cached, set_register_cached)
  6626. (register_changed, register_buffer)
  6627. (registers_changed, supply_register): Move declaration from here.
  6628. * regcache.h: To here.
  6629. * gdbcore.h (registers_fetched): Ditto.
  6630. * inferior.h (registers, registers_valid): Ditto.
  6631. * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
  6632. generic_target_write_pc, write_pc_pid, write_pc,
  6633. generic_target_read_sp, read_sp, generic_target_write_sp,
  6634. write_sp, generic_target_read_fp, read_fp,
  6635. generic_target_write_fp, write_fp): Add note that these functions
  6636. will be moved from this file.
  6637. * a29k-tdep.c: Include "regcache.h".
  6638. * a68v-nat.c: Ditto.
  6639. * abug-rom.c: Ditto.
  6640. * alpha-nat.c: Ditto.
  6641. * alpha-tdep.c: Ditto.
  6642. * alphabsd-nat.c: Ditto.
  6643. * arc-tdep.c: Ditto.
  6644. * arm-linux-nat.c: Ditto.
  6645. * arm-linux-tdep.c: Ditto.
  6646. * arm-tdep.c: Ditto.
  6647. * blockframe.c: Ditto.
  6648. * core-aout.c: Ditto.
  6649. * core-sol2.c: Ditto.
  6650. * corelow.c: Ditto.
  6651. * cpu32bug-rom.c: Ditto.
  6652. * cxux-nat.c: Ditto.
  6653. * d10v-tdep.c: Ditto.
  6654. * d30v-tdep.c: Ditto.
  6655. * dbug-rom.c: Ditto.
  6656. * dink32-rom.c: Ditto.
  6657. * dve3900-rom.c: Ditto.
  6658. * findvar.c: Ditto.
  6659. * fr30-tdep.c: Ditto.
  6660. * frame.c: Ditto.
  6661. * go32-nat.c: Ditto.
  6662. * h8300-tdep.c: Ditto.
  6663. * h8500-tdep.c: Ditto.
  6664. * hp300ux-nat.c: Ditto.
  6665. * hppa-tdep.c: Ditto.
  6666. * hppab-nat.c: Ditto.
  6667. * hppah-nat.c: Ditto.
  6668. * hppam3-nat.c: Ditto.
  6669. * hpux-thread.c: Ditto.
  6670. * i386-linux-nat.c: Ditto.
  6671. * i386-linux-tdep.c: Ditto.
  6672. * i386-tdep.c: Ditto.
  6673. * i386aix-nat.c: Ditto.
  6674. * i386b-nat.c: Ditto.
  6675. * i386bsd-nat.c: Ditto.
  6676. * i386gnu-nat.c: Ditto.
  6677. * i386ly-tdep.c: Ditto.
  6678. * i386m3-nat.c: Ditto.
  6679. * i386mach-nat.c: Ditto.
  6680. * i386nbsd-nat.c: Ditto.
  6681. * i386v4-nat.c: Ditto.
  6682. * i387-nat.c: Ditto.
  6683. * i387-tdep.c: Ditto.
  6684. * i960-tdep.c: Ditto.
  6685. * ia64-aix-nat.c: Ditto.
  6686. * ia64-linux-nat.c: Ditto.
  6687. * ia64-tdep.c: Ditto.
  6688. * infptrace.c: Ditto.
  6689. * infrun.c: Ditto.
  6690. * irix4-nat.c: Ditto.
  6691. * irix5-nat.c: Ditto.
  6692. * lin-lwp.c: Ditto.
  6693. * lin-thread.c: Ditto.
  6694. * lynx-nat.c: Ditto.
  6695. * m3-nat.c: Ditto.
  6696. * m32r-rom.c: Ditto.
  6697. * m32r-tdep.c: Ditto.
  6698. * m68hc11-tdep.c: Ditto.
  6699. * m68k-tdep.c: Ditto.
  6700. * m68klinux-nat.c: Ditto.
  6701. * m68knbsd-nat.c: Ditto.
  6702. * m68knbsd-tdep.c: Ditto.
  6703. * m88k-nat.c: Ditto.
  6704. * m88k-tdep.c: Ditto.
  6705. * mac-nat.c: Ditto.
  6706. * mcore-rom.c: Ditto.
  6707. * mcore-tdep.c: Ditto.
  6708. * mi/mi-main.c: Ditto.
  6709. * mips-nat.c: Ditto.
  6710. * mips-tdep.c: Ditto.
  6711. * mipsm3-nat.c: Ditto.
  6712. * mipsv4-nat.c: Ditto.
  6713. * mn10200-tdep.c: Ditto.
  6714. * mn10300-tdep.c: Ditto.
  6715. * monitor.c: Ditto.
  6716. * ns32km3-nat.c: Ditto.
  6717. * ns32knbsd-nat.c: Ditto.
  6718. * ocd.c: Ditto.
  6719. * pa64solib.c: Ditto.
  6720. * ppc-bdm.c: Ditto.
  6721. * ppc-linux-nat.c: Ditto.
  6722. * ppc-linux-tdep.c: Ditto.
  6723. * ppcbug-rom.c: Ditto.
  6724. * ppcnbsd-nat.c: Ditto.
  6725. * ptx4-nat.c: Ditto.
  6726. * regcache.c: Ditto.
  6727. * remote-adapt.c: Ditto.
  6728. * remote-array.c: Ditto.
  6729. * remote-bug.c: Ditto.
  6730. * remote-e7000.c: Ditto.
  6731. * remote-eb.c: Ditto.
  6732. * remote-es.c: Ditto.
  6733. * remote-est.c: Ditto.
  6734. * remote-hms.c: Ditto.
  6735. * remote-mips.c: Ditto.
  6736. * remote-mm.c: Ditto.
  6737. * remote-nindy.c: Ditto.
  6738. * remote-os9k.c: Ditto.
  6739. * remote-rdi.c: Ditto.
  6740. * remote-rdp.c: Ditto.
  6741. * remote-sds.c: Ditto.
  6742. * remote-sim.c: Ditto.
  6743. * remote-st.c: Ditto.
  6744. * remote-udi.c: Ditto.
  6745. * remote-utils.c: Ditto.
  6746. * remote-vx.c: Ditto.
  6747. * remote-vx29k.c: Ditto.
  6748. * remote-vx68.c: Ditto.
  6749. * remote-vx960.c: Ditto.
  6750. * remote-vxmips.c: Ditto.
  6751. * remote-vxsparc.c: Ditto.
  6752. * remote.c: Ditto.
  6753. * rom68k-rom.c: Ditto.
  6754. * rs6000-nat.c: Ditto.
  6755. * rs6000-tdep.c: Ditto.
  6756. * sh-tdep.c: Ditto.
  6757. * sh3-rom.c: Ditto.
  6758. * sol-thread.c: Ditto.
  6759. * solib-svr4.c: Ditto.
  6760. * somsolib.c: Ditto.
  6761. * sparc-nat.c: Ditto.
  6762. * sparc-tdep.c: Ditto.
  6763. * sparcl-tdep.c: Ditto.
  6764. * sparclet-rom.c: Ditto.
  6765. * sun3-nat.c: Ditto.
  6766. * sun386-nat.c: Ditto.
  6767. * symm-nat.c: Ditto.
  6768. * target.c: Ditto.
  6769. * thread-db.c: Ditto.
  6770. * thread.c: Ditto.
  6771. * tic80-tdep.c: Ditto.
  6772. * tracepoint.c: Ditto.
  6773. * ultra3-nat.c: Ditto.
  6774. * umax-xdep.c: Ditto.
  6775. * uw-thread.c: Ditto.
  6776. * v850-tdep.c: Ditto.
  6777. * v850ice.c: Ditto.
  6778. * valops.c: Ditto.
  6779. * w65-tdep.c: Ditto.
  6780. * w89k-rom.c: Ditto.
  6781. * win32-nat.c: Ditto.
  6782. * wince.c: Ditto.
  6783. * z8k-tdep.c: Ditto.
  6784. 2001-02-28 Matt Hiller <hiller@redhat.com>
  6785. * MAINTAINERS: Add Matt Hiller to Write After Approval list.
  6786. 2001-02-27 Matt Hiller <hiller@redhat.com>
  6787. * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
  6788. (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
  6789. mn10300_stab_reg_to_regnum.
  6790. Tue Feb 27 16:56:13 2001 David Taylor <taylor@redhat.com>
  6791. * symtab.c (search_symbols): Fix off by one error in test for
  6792. error.
  6793. 2001-02-23 Andrew Cagney <ac131313@redhat.com>
  6794. * config/sparc/sp64linux.mt: New file.
  6795. * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
  6796. * configure.host: Recognize sparc64-*-linux* as a linux host.
  6797. From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
  6798. * config/sparc/tm-sp64linux.h: New file.
  6799. 2001-02-24 Kevin Buettner <kevinb@redhat.com>
  6800. * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
  6801. with call to internal_error().
  6802. * dbxread.c (process_one_symbol): Likewise.
  6803. * exec.c (build_section_table, xfer_memory): Likewise.
  6804. * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
  6805. Likewise.
  6806. * hpread.c (hpread_type_translate, hpread_read_array_type)
  6807. (hpread_type_lookup): Likewise.
  6808. * i386-tdep.c (gdb_print_insn_i386): Likewise.
  6809. * i960-tdep.c (mem): Likewise
  6810. * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
  6811. * infptrace.c (child_resume): Likewise.
  6812. * infttrace.c (_initialize_infttrace): Likewise.
  6813. * language.c (binop_result_type, add_language): Likewise.
  6814. * lynx-nat.c (store_inferior_registers): Likewise.
  6815. * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
  6816. * mdebugread.c (parse_partial_symbols): Likewise.
  6817. * monitor.c (monitor_printf_noecho, monitor_printf)
  6818. (monitor_dump_regs): Likewise.
  6819. * ocd.c (stu_put_packet): Likewise.
  6820. * printcmd.c (decode_format, print_scalar_formatted): Likewise.
  6821. * remote-bug.c (bug_open): Likewise.
  6822. * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
  6823. * remote-es.c (es1800_read_bytes): Likewise.
  6824. * remote-mips.c (common_breakpoint): Likewise.
  6825. * remote-rdp.c (send_rdp): Likewise.
  6826. * remote-sds.c (putmessage): Likewise.
  6827. * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
  6828. Likewise.
  6829. * sparcl-tdep.c (sparclite_download): Likewise.
  6830. * symtab.c (lookup_partial_symbol): Likewise.
  6831. * target.c (push_target, pop_target, initialize_targets): Likewise.
  6832. * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
  6833. Likewise.
  6834. * valprint.c (print_decimal, print_longest, print_longest)
  6835. (strcat_longest): Likewise.
  6836. * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
  6837. * xmodem.c (xmodem_send_packet): Likewise.
  6838. * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
  6839. * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
  6840. * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
  6841. (STORE_RETURN_VALUE): Likewise.
  6842. * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
  6843. * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
  6844. * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
  6845. Likewise.
  6846. 2001-02-23 Andrew Cagney <ac131313@redhat.com>
  6847. * CONTRIBUTE: Document how to cite a problem report.
  6848. * TODO: Note need to replace CONTRIBUTE with generated file.
  6849. * CONTRIBUTE: Mention that patches do not need to include the
  6850. generated files gdbarch.h and gdbarch.c.
  6851. 2001-02-21 Andrew Cagney <ac131313@redhat.com>
  6852. * value.h (get_saved_register): Move from here.
  6853. * frame.h: To here.
  6854. 2001-02-21 Kevin Buettner <kevinb@redhat.com>
  6855. * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
  6856. (in_solib_dynsym_resolve_code): Add declaration.
  6857. (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
  6858. in_solib_dynsym_resolve_code() rather than
  6859. in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
  6860. which caused this macro to only be defined when
  6861. SVR4_SHARED_LIBS is defined.
  6862. * solib.c (in_solib_dynsym_resolve_code): New function.
  6863. * solist.h (struct target_so_ops): Add new member
  6864. in_dynsym_resolve_code.
  6865. * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
  6866. in_svr4_dynsym_resolve_code. Also, made static.
  6867. (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
  6868. member in aix5_so_ops.
  6869. * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
  6870. in_svr4_dynsym_resolve_code. Also, added second version
  6871. of this function which will be used when SVR4_SHARED_LIBS
  6872. is not defined.
  6873. (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
  6874. member in svr4_so_ops.
  6875. * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
  6876. config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
  6877. config/ia64/xm-aix.h: New files.
  6878. * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
  6879. (ia64_aix_sigcontext_register_address): New declaration.
  6880. (ia64_gdbarch_init): Provide for initialization of
  6881. sigcontext_register_address member of struct tdep when
  6882. on target is detected to be running AIX.
  6883. * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
  6884. this list.
  6885. 2001-02-20 Kevin Buettner <kevinb@redhat.com>
  6886. * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
  6887. * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
  6888. for thread support instead of linux-thread.o and lin-thread.o.
  6889. * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
  6890. ATTACH_LWP): Define to use the following lin-lwp.c functions...
  6891. (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
  6892. lin_lwp_attach_lwp): Declare.
  6893. 2001-02-20 Andrew Cagney <ac131313@redhat.com>
  6894. * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
  6895. formatting.
  6896. 2001-02-20 Kevin Buettner <kevinb@redhat.com>
  6897. * solib-aix5.c (solib-svr4.h): Remove include.
  6898. (solib_break_names): Delete names which aren't actually
  6899. used by AIX5.
  6900. (bkpt_names): Remove.
  6901. (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
  6902. to STREQ() with equivalent calls to strcmp().
  6903. (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
  6904. aix5_solib_create_inferior_hook): Revise comments.
  6905. (enable_break): Remove old ``bkpt_names'' code.
  6906. 2001-02-19 Andrew Cagney <ac131313@redhat.com>
  6907. * Makefile.in (SFILES): Add frame.c .
  6908. (COMMON_OBS): Add frame.o .
  6909. (frame.o): New target.
  6910. * frame.c (find_saved_register):
  6911. (default_get_saved_register):
  6912. (get_saved_register):
  6913. (read_relative_register_raw_bytes_for_frame):
  6914. (read_relative_register_raw_bytes): Moved to here.
  6915. * regcache.c: From here.
  6916. 2001-02-20 Kevin Buettner <kevinb@redhat.com>
  6917. * solib-aix5.c: New file.
  6918. 2001-02-20 Martin M. Hunt <hunt@redhat.com>
  6919. * solib.c (info_sharedlibrary_command): Don't assume pointers
  6920. are the same size of long, call longest_local_hex_string_custom().
  6921. * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
  6922. extract_signed_integer() should be called instead of
  6923. extract_address().
  6924. 2001-02-20 Martin M. Hunt <hunt@redhat.com>
  6925. * MAINTAINERS: Add Martin Hunt to Write After Approval list.
  6926. 2001-02-19 Andrew Cagney <ac131313@redhat.com>
  6927. Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
  6928. * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
  6929. then floating point registers are 8 bytes.
  6930. 2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
  6931. * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
  6932. accomodate 64-bit addresses.
  6933. 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6934. From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
  6935. * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
  6936. lookup_symbol, when trying to find a symbol with a mangled name,
  6937. to avoid infinite recursion.
  6938. 2001-02-18 Andrew Cagney <ac131313@redhat.com>
  6939. * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
  6940. 2001-02-19 Jonathan Larmour <jlarmour@redhat.com>
  6941. * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
  6942. (save_prologue_cache): Ditto.
  6943. 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6944. From: innadadadavida@yahoo.com:
  6945. * partial-stab.h (switch): Check that pst is not null
  6946. before dereferencing it.
  6947. 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6948. From Andrew Cagney <cagney@b1.cygnus.com>:
  6949. * symfile.c (add_symbol_file_command): Always initialize
  6950. my_cleanup using a NULL cleanup.
  6951. 2001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
  6952. * demangle.c (demangling_style_names): New variable.
  6953. (_initialize_demangler): Fill demangling_style_names with the
  6954. names of known demangling styles from libiberty_demanglers[]. Use
  6955. add_set_enum_cmd instead of add_set_cmd, to get completion on
  6956. demangling style names.
  6957. * proc-api.c (_initialize_proc_api): Make `procfs-file' use
  6958. file-name completion.
  6959. * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
  6960. * solib.c (_initialize_solib): Ditto for `solib-search-path' and
  6961. `solib-absolute-prefix'.
  6962. * tracepoint.c (_initialize_tracepoint): Ditto for
  6963. `save-tracepoints'.
  6964. * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
  6965. * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
  6966. file-name completion.
  6967. * infcmd.c (_initialize_infcmd): Make the following commands use
  6968. the file-name completer: `tty', `args', `path', `paths', and
  6969. `run'.
  6970. 2001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
  6971. * go32-nat.c: Include i387-nat.h.
  6972. (fetch_register): New function, uses some of the guts of
  6973. go32_fetch_registers and calls i387_supply_register.
  6974. (go32_fetch_registers): Most of the code moved into
  6975. fetch_register. Use i387_supply_fsave.
  6976. (store_register): Use i387_fill_fsave instead of custom code.
  6977. (go32_store_registers): Use i387_fill_fsave.
  6978. * Makefile.in (go32-nat.o): Depend on i387-nat.h.
  6979. * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
  6980. * completer.c (gdb_completer_file_name_break_characters): Remove
  6981. slash from file-name break characters.
  6982. [__MSDOS__]: Special definition for DOS/Windows file names.
  6983. (line_completion_function): When completing on file names, bump
  6984. `p' to the first file-name constituent character of `word', before
  6985. invoking the completer.
  6986. 2001-02-17 Mark Kettenis <kettenis@gnu.org>
  6987. * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
  6988. consistently for parameter names. Fix comments accordingly.
  6989. (i387_supply_register): New function.
  6990. (i387_supply_fsave): Implement using i387_supply_register.
  6991. * i387-nat.h: Use regnum instead of regno consistently for
  6992. parameter names. Fix comments accordingly.
  6993. (i387_supply_register): New prototype.
  6994. 2001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
  6995. * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
  6996. instead of TARGET_PTR_BIT (to support Harvard architectures).
  6997. 2001-02-16 Andrew Cagney <ac131313@redhat.com>
  6998. From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
  6999. * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
  7000. argument to parameter list and to call in order to conform to
  7001. to_xfer_memory field of struct target_ops.
  7002. 2001-02-12 Michael Chastain <chastain@redhat.com>
  7003. * somsolib.c (som_solib_add_solib_objfile): Do not use
  7004. section relocation feature of syms_from_objfile. Do my own
  7005. section relocation, offsetting each section of the som by
  7006. either text_addr - text_link_addr or data_start.
  7007. 2001-02-16 Andrew Cagney <ac131313@redhat.com>
  7008. * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
  7009. 2001-02-16 Andrew Cagney <ac131313@redhat.com>
  7010. * MAINTAINERS (paper trail): Update.
  7011. 2001-02-16 Mark Kettenis <kettenis@gnu.org>
  7012. * target.h (target_fetch_registers): Fix comment.
  7013. 2001-02-15 Andrew Cagney <ac131313@redhat.com>
  7014. * f-exp.y: Include <ctype.h>.
  7015. (parse_number): Ensure that ``i'' is always initialized.
  7016. 2001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
  7017. * MAINTAINERS: Add myself to paper trail section.
  7018. 2001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  7019. * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
  7020. * configure, config.in: Regenerate.
  7021. * corelow.c: Include <sys/file.h> if present.
  7022. 2001-02-14 Andrew Cagney <ac131313@redhat.com>
  7023. * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
  7024. declare when have SIGTTOU.
  7025. 2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
  7026. * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
  7027. 2001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
  7028. * MAINTAINERS: Update my email address.
  7029. 2001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
  7030. * NEWS: Document that "info symbol" works with COFF debug info and
  7031. its variants.
  7032. * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
  7033. symbols whose SYMBOL_BFD_SECTION is NULL.
  7034. 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  7035. Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
  7036. * xcoffsolib.c (xcoff_solib_address): Renamed from
  7037. pc_load_segment_name. Return NULL if address is not in a shared
  7038. library. Cleanup shared library name construction, using xasprintf.
  7039. Format shared library member names consistent with format in exec.c.
  7040. (solib_info): Format shared library member names consistent with
  7041. format in exec.c.
  7042. * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
  7043. using xcoff_solib_address for PC_SOLIB definition.
  7044. * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
  7045. needed.
  7046. 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  7047. * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
  7048. with xmalloc calls and cleanups.
  7049. 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  7050. * rs6000-nat.c (child_xfer_memory): Add missing parameter
  7051. 'struct mem_attrib *' required by 2001-01-23 change.
  7052. 2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
  7053. Updates to "make TAGS":
  7054. * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
  7055. arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
  7056. tahoe-tdep.c.
  7057. (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
  7058. 2001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
  7059. * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
  7060. Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
  7061. From Dean Luick <luick@cray.com>:
  7062. * defs.h (continuation): Remove unused global variable.
  7063. Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
  7064. * configure.tgt: Remove references to convex, pyramid, altos and
  7065. tahoe.
  7066. * configure.host: Ditto.
  7067. * MAINTAINERS: Ditto.
  7068. * NEWS: Update.
  7069. * tahoe-tdep.c: Delete obsolete file.
  7070. * pyr-xdep.c: Ditto.
  7071. * pyr-tdep.c: Ditto.
  7072. * convex-tdep.c: Ditto.
  7073. * convex-xdep.c: Ditto.
  7074. * config/tahoe/xm-tahoe.h: Ditto.
  7075. * config/tahoe/tm-tahoe.h: Ditto.
  7076. * config/tahoe/tahoe.mt: Ditto.
  7077. * config/tahoe/tahoe.mh: Ditto.
  7078. * config/pyr/xm-pyr.h: Ditto.
  7079. * config/pyr/tm-pyr.h: Ditto.
  7080. * config/pyr/pyramid.mt: Ditto.
  7081. * config/pyr/pyramid.mh: Ditto.
  7082. * config/m68k/xm-altos.h: Ditto.
  7083. * config/m68k/tm-altos.h: Ditto.
  7084. * config/m68k/altos.mt: Ditto.
  7085. * config/m68k/altos.mh: Ditto.
  7086. * config/convex/xm-convex.h: Ditto.
  7087. * config/convex/tm-convex.h: Ditto.
  7088. * config/convex/convex.mt: Ditto.
  7089. * config/convex/convex.mh: Ditto.
  7090. * config/convex/Convex.notes: Ditto.
  7091. * config/arm/xm-arm.h: Ditto.
  7092. * config/arm/nm-arm.h: Ditto.
  7093. * config/arm/arm.mt: Ditto.
  7094. * config/arm/arm.mh: Ditto.
  7095. * arm-convert.s: Ditto.
  7096. * arm-xdep.c: Ditto.
  7097. * altos-xdep.c: Ditto.
  7098. Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
  7099. * defs.h (internal_error, internal_verror): Add __FILE__ and
  7100. __LINE__ parameter.
  7101. * utils.c (internal_error, internal_verror): Update.
  7102. * v850-tdep.c: Update calls to internal_error.
  7103. * utils.c: Ditto.
  7104. * ui-out.c: Ditto.
  7105. * ui-file.c: Ditto.
  7106. * target.h: Ditto.
  7107. * symtab.h: Ditto.
  7108. * symm-nat.c: Ditto.
  7109. * sparc-tdep.c: Ditto.
  7110. * source.c: Ditto.
  7111. * serial.c: Ditto.
  7112. * rs6000-tdep.c: Ditto.
  7113. * rs6000-nat.c: Ditto.
  7114. * remote.c: Ditto.
  7115. * remote-vx.c: Ditto.
  7116. * remote-sim.c: Ditto.
  7117. * remote-mips.c: Ditto.
  7118. * regcache.c: Ditto.
  7119. * objfiles.h: Ditto.
  7120. * objfiles.c: Ditto.
  7121. * mn10300-tdep.c: Ditto.
  7122. * mips-tdep.c: Ditto.
  7123. * maint.c: Ditto.
  7124. * m68k-tdep.c: Ditto.
  7125. * m3-nat.c: Ditto.
  7126. * language.c: Ditto.
  7127. * infptrace.c: Ditto.
  7128. * inferior.h: Ditto.
  7129. * infcmd.c: Ditto.
  7130. * ia64-tdep.c: Ditto.
  7131. * i386-tdep.c: Ditto.
  7132. * i386-linux-nat.c: Ditto.
  7133. * hppah-nat.c: Ditto.
  7134. * go32-nat.c: Ditto.
  7135. * findvar.c: Ditto.
  7136. * f-lang.c: Ditto.
  7137. * elfread.c: Ditto.
  7138. * event-loop.c: Ditto.
  7139. * dwarf2read.c: Ditto.
  7140. * dsrec.c: Ditto.
  7141. * d30v-tdep.c: Ditto.
  7142. * d10v-tdep.c: Ditto.
  7143. * cli/cli-setshow.c: Ditto.
  7144. * cli/cli-script.c: Ditto.
  7145. * ch-exp.c: Ditto.
  7146. * breakpoint.c: Ditto.
  7147. * ax-gdb.c: Ditto.
  7148. * arch-utils.c: Ditto.
  7149. * a29k-tdep.c: Ditto.
  7150. * gdb_assert.h: Ditto.
  7151. * gdbarch.sh: Ditto.
  7152. * gdbarch.h, gdbarch.c: Re-generate.
  7153. 2001-02-07 Andrew Cagney <ac131313@redhat.com>
  7154. From Mark Kettenis <kettenis@gnu.org>:
  7155. * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
  7156. 2001-02-07 Andrew Cagney <ac131313@redhat.com>
  7157. * remote-sim.c (dump_mem): Cleanup printf format argument.
  7158. * MAINTAINERS: Update, mn10300-elf now builds.
  7159. 2001-02-07 Mark Kettenis <kettenis@gnu.org>
  7160. * event-top.c: Remove duplicate #include <signal.h>.
  7161. 2001-02-06 Andrew Cagney <ac131313@redhat.com>
  7162. * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
  7163. allocated buffer.
  7164. (save_inferior_pid): Restore the PID from that tempoary
  7165. buffer. Delete the buffer.
  7166. * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
  7167. 2001-02-06 Andrew Cagney <ac131313@redhat.com>
  7168. * MAINTAINERS: Add ``The Obvious Fix Rule''.
  7169. 2001-02-06 Andrew Cagney <ac131313@redhat.com>
  7170. * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
  7171. 2001-02-06 Andrew Cagney <ac131313@cygnus.com>
  7172. * gdbarch.sh: Include "gdb_assert.h".
  7173. (struct gdbarch): Change ``nr_data'' to unsigned.
  7174. (alloc_gdbarch_data, free_gdbarch_data): New functions.
  7175. (gdbarch_free): Free the data-pointer vector. Use xfree to delete
  7176. architecture vector.
  7177. (struct gdbarch_data, struct gdbarch_data_registration): Move init
  7178. method to gdbarch_data. Add free method, make index unsigned.
  7179. (struct gdbarch_data_registry): Make nr unsigned.
  7180. (register_gdbarch_data): Add free parameter. Store in
  7181. gdbarch_data.
  7182. (init_gdbarch_data): Use set_gdbarch_data.
  7183. (set_gdbarch_data): New function.
  7184. * gdbarch.h, gdbarch.c: Re-generate.
  7185. 2001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  7186. * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
  7187. fprintf_filtered with correct arguments.
  7188. 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
  7189. Submitted by Paul Hilfinger (hilfingr@gnat.com)
  7190. and Andrei Petrov (and@genesyslab.com).
  7191. * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
  7192. must be allocated dynamically, since these are no longer constants.
  7193. * infcmd.c: Ditto.
  7194. * regcache.c: Ditto.
  7195. * remote.c: Ditto.
  7196. * sol-thread.c: Ditto.
  7197. * valops.c: Ditto.
  7198. * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
  7199. work-around for a missing Sun header file in solaris for sparc64.
  7200. 2001-02-04 Philip Blundell <philb@gnu.org>
  7201. * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
  7202. thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
  7203. * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
  7204. GET_THREAD_SIGNALS): Define.
  7205. * arm-linux-nat.c (fill_gregset): Correct type of argument.
  7206. (supply_gregset): Likewise.
  7207. (fill_fpregset): Likewise.
  7208. (supply_fpregset): Likewise.
  7209. Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
  7210. * valops.c (value_cast): If casting a scalar to a pointer, do not
  7211. issue a message about truncation unless it exceeds the length of
  7212. an address, not the length of a pointer. This is because what the
  7213. user gives us is an address, not a pointer, and we will ultimately
  7214. convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
  7215. to a pointer. This allows things like "print *(int *)0x01000234"
  7216. to work without generating a misleading message on a target having
  7217. two byte pointers and four byte addresses.
  7218. 2001-02-05 Christopher Faylor <cgf@cygnus.com>
  7219. * win32-nat.c: Change PTR to void * throughout.
  7220. 2001-02-05 J.T. Conklin <jtc@redback.com>
  7221. * signals.h: Removed.
  7222. * event-top.c (#include <signal.h>): Changed from signals.h.
  7223. * inflow.c: Likewise.
  7224. * mac-xdep.c: Likewise.
  7225. * ser-pipe.c: Likewise.
  7226. * ser-tcp.c: Likewise.
  7227. * standalone.c: Likewise.
  7228. * top.c: Likewise.
  7229. * utils.c: Likewise.
  7230. * Makefile.in: Removed signals.h from dependencies.
  7231. 2001-02-05 Christopher Faylor <cgf@cygnus.com>
  7232. Change suggested by Dean Luick <luick@cray.com>
  7233. * inferior.h (step_over_calls_kind): Remove trailing comma from
  7234. last enum element.
  7235. (step_over_calls): Declare as extern rather than global.
  7236. 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  7237. * sh-tdep.c: Update copyright.
  7238. (sh_extract_return_value): Rewrite.
  7239. (sh3e_sh4_extract_return_value): New function.
  7240. (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
  7241. version of the function for sh3e and sh4 CPUs.
  7242. 2001-02-05 Michael Chastain <chastain@redhat.com>
  7243. * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
  7244. to conform with interface change.
  7245. 2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
  7246. * config/djgpp/fnchange.lst: Tweak to make consistent with the
  7247. new files.
  7248. * config/djgpp/djconfig.sh: Use explicit absolute file name when
  7249. invoking `find'.
  7250. * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
  7251. UART_FIFO_WORKS is defined. Otherwise use outportb.
  7252. From Francisco Pastor <fpastor.etra-id@etra.es>
  7253. * go32-nat.c (go32_xfer_memory): Make the argument list consistent
  7254. with target.h's `to_xfer_memory' member.
  7255. 2001-02-02 J.T. Conklin <jtc@redback.com>
  7256. * ppc-bdm.c (#include <signal.h>): Removed.
  7257. * remote-array.c: Likewise.
  7258. * remote-bug.c: Likewise.
  7259. * remote-e7000.c: Likewise.
  7260. * remote-mips.c: Likewise.
  7261. * remote-os9k.c: Likewise.
  7262. * remote-st.c: Likewise.
  7263. * remote-udi.c: Likewise.
  7264. * remote-vx29k.c: Likewise.
  7265. * remote-vx68.c: Likewise.
  7266. * remote-vx960.c: Likewise.
  7267. * remote-vxmips.c: Likewise.
  7268. * remote-vxsparc.c: Likewise.
  7269. 2001-02-02 John Moore <jmoore@redhat.com>
  7270. * remote-utils.h (sr_set_device): Changed free() to xfree() where
  7271. appropriate. Also changed Copyright to include 2001.
  7272. * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
  7273. * value.h (value_free): Likewise.
  7274. * gdbarch.sh (gdbarch_free): Likewise.
  7275. * gdbarch.c, gdbarch.h: Regenerated.
  7276. 2001-02-02 John Moore <jmoore@redhat.com>
  7277. * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
  7278. xfree(). Also changed Copyright to include 2001.
  7279. 2001-02-02 J.T. Conklin <jtc@redback.com>
  7280. * monitor.c (#include "gdb_wait.h"): Removed.
  7281. * ocd.c: Likewise.
  7282. * ppc-bdm.c: Likewise.
  7283. * remote-adapt.c: Likewise.
  7284. * remote-array.c: Likewise.
  7285. * remote-bug.c: Likewise.
  7286. * remote-e7000.c: Likewise.
  7287. * remote-eb.c: Likewise.
  7288. * remote-es.c: Likewise.
  7289. * remote-mips.c: Likewise.
  7290. * remote-mm.c: Likewise.
  7291. * remote-nindy.c: Likewise.
  7292. * remote-os9k.c: Likewise.
  7293. * remote-rdi.c: Likewise.
  7294. * remote-rdp.c: Likewise.
  7295. * remote-sds.c: Likewise.
  7296. * remote-sim.c: Likewise.
  7297. * remote-st.c: Likewise.
  7298. * remote-udi.c: Likewise.
  7299. * remote-vx.c: Likewise.
  7300. * remote-vx29k.c: Likewise.
  7301. * remote-vx68.c: Likewise.
  7302. * remote-vx960.c: Likewise.
  7303. * remote-vxmips.c: Likewise.
  7304. * remote-vxsparc.c: Likewise.
  7305. * remote.c: Likewise.
  7306. * ser-pipe.c: Likewise.
  7307. * ser-unix.c: Likewise.
  7308. * Makefile.in: Updated dependencies.
  7309. 2001-01-31 David Smith <dsmith@redhat.com>
  7310. * event-loop.c: Change inclusion of string.h to gdb_string.h and
  7311. updated the copyright notice.
  7312. * ser-pipe.c: Ditto.
  7313. * mi/mi-cmds.c: Ditto.
  7314. * mi/mi-console.c: Ditto.
  7315. * mi/mi-getopt.c: Ditto.
  7316. * mi/mi-parse.c: Ditto.
  7317. 2001-01-31 David Smith <dsmith@redhat.com>
  7318. * MAINTAINERS: Add David Smith to Write After Approval list.
  7319. Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
  7320. * cli/cli-utils.c (putchar_filtered): Move function from here.
  7321. * utils.c (putchar_filtered): To here.
  7322. * cli/cli-utils.h (putchar_filtered): Move declaration from here.
  7323. * defs.h (putchar_filtered): To here.
  7324. Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
  7325. * configure.in (AC_CHECK_FUNCS): Replace vfork test with
  7326. AC_FUNC_VFORK macro.
  7327. * config.in, configure: Re-generate.
  7328. * gdb_vfork.h: New file.
  7329. * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
  7330. * fork-child.c (fork_inferior): Ditto.
  7331. Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
  7332. * defs.h (strsave): Delete declaration.
  7333. * utils.c (strsave): Delete definition.
  7334. * TODO (strsave): Update
  7335. * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
  7336. * sparcl-tdep.c (sparclite_open): Ditto.
  7337. * mips-tdep.c (mips_set_processor_type_command): Ditto.
  7338. (_initialize_mips_tdep): Ditto.
  7339. * solib.c (solib_open): Ditto.
  7340. * symfile.c (add_filename_language): Ditto.
  7341. (set_ext_lang_command): Ditto.
  7342. * source.c (init_source_path): Ditto.
  7343. (mod_path): Ditto.
  7344. * sh3-rom.c (sh3_open): Ditto.
  7345. (sh3e_open): Ditto.
  7346. * serial.c (serial_open): Ditto.
  7347. * remote-mips.c (common_open): Ditto.
  7348. * monitor.c (monitor_open): Ditto.
  7349. * m32r-rom.c (m32r_upload_command): Ditto.
  7350. * infcmd.c (path_command): Ditto.
  7351. * f-exp.y (parse_number): Ditto.
  7352. * breakpoint.c (create_longjmp_breakpoint): Ditto.
  7353. (create_thread_event_breakpoint): Ditto.
  7354. * arc-tdep.c (arc_set_cpu_type_command): Ditto.
  7355. (_initialize_arc_tdep): Ditto.
  7356. Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
  7357. * cli/cli-script.c (define_command): Check for a bad hook value in
  7358. switch statement.
  7359. 2001-01-30 J.T. Conklin <jtc@redback.com>
  7360. * configure/sh/embed.mt: New file.
  7361. * configure/sh/linux.mt: New file.
  7362. * configure/sh/sh.mt: Removed.
  7363. * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
  7364. (sh-*-*): Removed.
  7365. 2001-01-29 Michael Chastain <chastain@redhat.com>
  7366. * symtab.c (lookup_block_symbol): Use 'namespace' parameter in
  7367. symbol comparisons in binary search.
  7368. 2001-01-27 Christopher Faylor <cgf@cygnus.com>
  7369. * win32-nat.c (child_xfer_memory): Add missing argument required by
  7370. 2001-01-23 change.
  7371. 2001-01-27 Mark Kettenis <kettenis@gnu.org>
  7372. * ui-out.c (do_list_end): New function.
  7373. (make_cleanup_ui_out_list_end): New function.
  7374. * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
  7375. * stack.c (print_frame) [UI_OUT]: Call
  7376. make_cleanup_ui_out_list_end to make sure we mark the end of the
  7377. list if we do a non-local exit. At the end of the function,
  7378. instead of calling ui_out_list_end directly, let do_cleanups
  7379. handle it.
  7380. 2001-01-26 Fernando Nasser <fnasser@redhat.com>
  7381. Fix double parsing of filenames passed as command line arguments
  7382. to GDB (causes weird handling of escape characters).
  7383. Also, remove dependencies on the CLI from libgdb.
  7384. * call-cmds.h: Remove declaration of exec_file_command().
  7385. * gdbcore.h: Remove declaration of exec_file_command().
  7386. Add declarations for exec_open() and exec_file_clear().
  7387. * symfile.h: Add declarations for symbol_file_add_main() and
  7388. symbol_file_clear().
  7389. * exec.c (exec_open): New function. Implements to_open for exec
  7390. targets.
  7391. (exec_file_clear): New function. Makes GDB forget about a previously
  7392. specified executable file.
  7393. (exec_file_attach): Move parsing of arguments from here ...
  7394. (exec_file_command): ... to here.
  7395. (init_exec_ops): Use exec_open(), not exec_file_command() to
  7396. implement to_open for exec targets.
  7397. * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
  7398. with default values. Used when the file name has already been parsed.
  7399. (symbol_file_clear): New function. Makes GDB forget about previously
  7400. read symbols.
  7401. (symbol_file_command): Call the above function instead of inline code.
  7402. * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
  7403. "call-cmds.h".
  7404. (captured_main): Call exec_file_attach() and symbol_file_add_main()
  7405. instead of exec_file_command() and symbol_file_command().
  7406. (captured_main): Add comment.
  7407. * corefile.c: Include "symfile.h".
  7408. (core_file_command): Call symbol_file_add_main() instead of
  7409. symbol_file_command().
  7410. (reopen_exec_file): Call exec_open() instead of exec_file_command().
  7411. * infcmd.c: Include "symfile.h".
  7412. (attach_command): Call symbol_file_add_main() instead of
  7413. symbol_file_command().
  7414. * infrun.c: Remove comment about the inclusion of "symfile.h",
  7415. not any longer appropriate.
  7416. (follow_exec): Call symbol_file_add_main() instead of
  7417. symbol_file_command().
  7418. * remote-es.c: Include "symfile.h".
  7419. (es1800_load): Call symbol_file_add_main() instead of
  7420. symbol_file_command().
  7421. * remote-vx.c: Remove comment about the inclusion of "symfile.h",
  7422. not any longer appropriate.
  7423. (vx-wait): Call symbol_file_add_main() instead of
  7424. symbol_file_command().
  7425. * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
  7426. instead of symbol_file_command().
  7427. * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
  7428. symbol_file_add_main() instead of exec_file_command() and
  7429. symbol_file_command().
  7430. * Makefile.in: Update dependencies.
  7431. 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
  7432. * remote-udi.c (udi_open): Change strdup to xstrdup.
  7433. * thread.c (thread_apply_all_command): Change strdup to xstrdup.
  7434. Update copyright message.
  7435. * varobj.c (delete_variable_1): Likewise.
  7436. * gdb_string.h: Remove declaration of strdup. Update copyright
  7437. message.
  7438. * config/xm-mpw.h: Likewise.
  7439. * config/i386/xm-i386mach.h: Likewise.
  7440. * config/m68k/xm-apollo68b.h: Likewise.
  7441. * config/m68k/xm-hp300bsd.h: Likewise.
  7442. * config/rs6000/xm-rs6000.h: Likewise.
  7443. * config/vax/xm-vaxult.h: Remove declaration of strdup.
  7444. * config/vax/xm-vaxult2.h: Likewise.
  7445. 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
  7446. * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
  7447. 2001-01-25 J.T. Conklin <jtc@redback.com>
  7448. * target.c (target_xfer_memory_partial): Return -1 on failure due
  7449. to invalid access mode attribute.
  7450. 2001-01-25 Christopher Faylor <cgf@cygnus.com>
  7451. * win32-nat.c (_initialize_core_win32): Prototype correctly.
  7452. 2001-01-25 Mark Kettenis <kettenis@gnu.org>
  7453. * config/alpha/tm-fbsd.h: Update copyright.
  7454. (USE_STRUCT_CONVENTION): Define in terms of
  7455. alphabsd_use_struct_convention.
  7456. * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
  7457. * alphafbsd-tdep.c: New file.
  7458. 2001-01-24 Fernando Nasser <fnasser@redhat.com>
  7459. * top.c (print_gdb_version): Update Copyright year.
  7460. 2001-01-24 J.T. Conklin <jtc@redback.com>
  7461. * dcache.c (dcache_write_line): Fix typo.
  7462. * memattr.c (delete_mem_region): Replace free() with xfree().
  7463. (mem_number): Add explicit type.
  7464. * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
  7465. (rw_common): Likewise.
  7466. 2001-01-24 Fernando Nasser <fnasser@redhat.com>
  7467. * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
  7468. for the inferior program arguments.
  7469. (run_command, run_no_args_command, init_infcmd)): Use accessor
  7470. functions to set the inferior program arguments.
  7471. * inferior.h: Add definitions to the accessor functions above.
  7472. 2001-01-23 Jim Blandy <jimb@redhat.com>
  7473. * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
  7474. Implement these correctly, using make_cv_type.
  7475. 2001-01-23 J.T. Conklin <jtc@redback.com>
  7476. * exec.c (xfer_memory): Add attrib argument.
  7477. * infptrace.c (child_xfer_memory): Likewise.
  7478. * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
  7479. * monitor.c (monitor_xfer_memory): Likewise.
  7480. * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
  7481. * remote-array.c (array_xfer_memory): Likewise.
  7482. * remote-bug.c (bug_xfer_memory): Likewise.
  7483. * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
  7484. * remote-eb.c (eb_xfer_inferior_memory): Likewise.
  7485. * remote-es.c (es1800_xfer_inferior_memory): Likewise.
  7486. * remote-mips.c (mips_xfer_memory): Likewise.
  7487. * remote-mm.c (mm_xfer_inferior_memory): Likewise.
  7488. * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
  7489. * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
  7490. * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
  7491. * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
  7492. * remote-sds.c (sds_xfer_memory): Likewise.
  7493. * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
  7494. * remote-st.c (st2000_xfer_inferior_memory): Likewise.
  7495. * remote-udi.c (udi_xfer_inferior_memory): Likewise.
  7496. * remote-vx.c (vx_xfer_memory): Likewise.
  7497. * remote.c (remote_xfer_memory): Likewise.
  7498. * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
  7499. * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
  7500. * thread-db.c (thread_db_xfer_memory): Likewise.
  7501. * target.h (#include "memattr.h"): Added.
  7502. (target_ops.to_xfer_memory): Add attrib argument.
  7503. * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
  7504. * dcache.h (set_dcache_state): Removed declaration.
  7505. * dcache.c (set_dcache_state): Removed definition
  7506. * dcache.c: Update module comment, as dcache is now enabled and
  7507. disabled with memory region attributes instead of by the global
  7508. variable "remotecache". Add comment describing the interaction
  7509. between dcache and memory region attributes.
  7510. (dcache_xfer_memory): Add comment describing benefits of moving
  7511. cache writeback to a higher level.
  7512. (dcache_struct): Removed cache_has_stuff field. This was used to
  7513. record whether the cache had been accessed in order to invalidate
  7514. it when it was disabled. However, this is not needed because the
  7515. cache is write through and the code that enables, disables, and
  7516. deletes memory regions invalidate the cache. Add comment which
  7517. suggests that we could be more selective and only invalidate those
  7518. cache lines containing data from those memory regions.
  7519. (dcache_invalidate): Updated.
  7520. (dcache_xfer_memory): Updated.
  7521. (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
  7522. (dcache_xfer_memory): Removed code that called do_xfer_memory() to
  7523. perform a uncached transfer if dcache_enabled_p was clear. This
  7524. function is now only called if caching is enabled for the memory
  7525. region.
  7526. (dcache_info): Always print cache info.
  7527. * target.c (do_xfer_memory): Add attrib argument.
  7528. (target_xfer_memory, target_xfer_memory_partial): Break transfer
  7529. into chunks defined by memory regions, pass region attributes to
  7530. do_xfer_memory().
  7531. * dcache.c (dcache_read_line, dcache_write_line): Likewise.
  7532. * Makefile.in (SFILES): Add memattr.c.
  7533. (COMMON_OBS): Add memattr.o.
  7534. (dcache.o): Add target.h to dependencies.
  7535. * memattr.c: New file.
  7536. * memattr.h: Likewise.
  7537. * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
  7538. * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
  7539. * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
  7540. * gdbserver/low-sim.c (#include "defs.h"): Removed.
  7541. (mygeneric_load): Rename from generic_load.
  7542. * gdbserver/low-hppabsd.c (#include "server.h"): Added.
  7543. (#include "defs.h"): Removed.
  7544. (inferior_pid, perror_with_name): Remove declarations.
  7545. * gdbserver/low-linux.c: Likewise.
  7546. * gdbserver/low-nbsd.c: Likewise.
  7547. * gdbserver/low-sparc.c: Likewise.
  7548. * gdbserver/low-sun3.c: Likewise.
  7549. * i386-stub.c: Re-indent.
  7550. * m68k-stub.c: Re-indent.
  7551. 2001-01-22 Nicholas Duffek <nsd@redhat.com>
  7552. * gdbarch.sh (PARM_BOUNDARY): Define.
  7553. * gdbarch.c: Regenerate.
  7554. * gdbarch.h: Regenerate.
  7555. 2001-01-22 J.T. Conklin <jtc@redback.com>
  7556. * ns32k-tdep.c: #include "frame.h"
  7557. * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
  7558. appears to have been inadvertantly removed sometime in May 1999.
  7559. * Revert 2000-11-09 changes where shared library objects were
  7560. moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
  7561. we'd like to be able to debug dynamically linked executables,
  7562. this makes it impossible to build a cross debugger on a many
  7563. hosts.
  7564. * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
  7565. * config/i386/nbsdelf.mt: Likewise.
  7566. * config/m68k/nbsd.mt: Likewise.
  7567. * config/ns32k/nbsd.mt: Likewise.
  7568. * config/powerpc/nbsd.mt: Likewise.
  7569. * config/sparc/nbsd.mt: Likewise.
  7570. * config/sparc/nbsdelf.mt: Likewise.
  7571. * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
  7572. * config/i386/nbsdelf.mh: Likewise.
  7573. * config/m68k/nbsd.mh: Likewise.
  7574. * config/ns32k/nbsd.mh: Likewise.
  7575. * config/powerpc/nbsd.mh: Likewise.
  7576. * config/sparc/nbsd.mh: Likewise.
  7577. 2001-01-19 Jason Merrill <jason@redhat.com>
  7578. * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
  7579. (process_one_symbol): Likewise.
  7580. * dwarfread.c (handle_producer): Likewise.
  7581. Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
  7582. * configure.in (build_warnings): Disable -Wuninitialized until GDB
  7583. compiles with -Wuninitialized,-Werror.
  7584. * configure: Regenerate.
  7585. * MAINTAINERS: Add list of buildable targets.
  7586. Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
  7587. * defs.h (STRCMP): Delete macro.
  7588. * objfiles.c (objfile_relocate): Replace STRCMP with call to
  7589. strcmp.
  7590. * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
  7591. * symfile.c (compare_symbols): Ditto.
  7592. * standalone.c (open): Ditto.
  7593. * remote-es.c (verify_break): Ditto.
  7594. * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
  7595. * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
  7596. Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
  7597. * varobj.c (FREEIF): Delete macro.
  7598. (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
  7599. call.
  7600. 2001-01-18 Nick Clifton <nickc@redhat.com>
  7601. * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
  7602. (arc_print_insn): No bfd available, so pass NULL to
  7603. arc_get_disassembler.
  7604. 2001-01-09 James Ingham <jingham@inghji.apple.com>
  7605. * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
  7606. a mangled symbol rather than recursing into lookup_symbol, since
  7607. this will just re-unmangle the name & call lookup_symbol_aux -
  7608. leading to an infinite recursion.
  7609. 2001-01-18 Mark Kettenis <kettenis@gnu.org>
  7610. * infcmd.c (print_return_value): Restore another space lost by
  7611. switch to UIOUT. ``$NN='' should be ``$NN =''.
  7612. Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
  7613. * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
  7614. * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
  7615. definition in parenthesis.
  7616. Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
  7617. From 2000-10-27 Mark Salter <msalter@redhat.com>:
  7618. * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
  7619. packet.
  7620. (remote_insert_hw_breakpoint): Ditto.
  7621. 2001-01-17 J.T. Conklin <jtc@redback.com>
  7622. * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
  7623. (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
  7624. * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
  7625. * m68knbsd-tdep.c: New file.
  7626. * i386nbsd-tdep.c: Remove #if 0'd out #includes.
  7627. * m68knbsd-nat.c: #include gdbcore.h.
  7628. Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
  7629. * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
  7630. 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
  7631. * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
  7632. goes away -- just return false (ie. not stopped by watchpoint).
  7633. * source.c (openp): Fix typo in comment.
  7634. 2001-01-12 Nicholas Duffek <nsd@redhat.com>
  7635. * blockframe.c (generic_get_saved_register): Spelling fix.
  7636. * frame.h (FRAME_FP): Spelling fix.
  7637. Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
  7638. * infcmd.c (print_return_value): Restore space lost by switch to
  7639. UIOUT. ``$NN='' should be ``$NN =''.
  7640. 2001-01-08 Nicholas Duffek <nsd@redhat.com>
  7641. * regcache.c (set_register_cached, register_buffer,
  7642. real_register, pseudo_register fetch_register, store_register):
  7643. New functions.
  7644. (register_changed, read_relative_register_raw_bytes_for_frame,
  7645. registers_changed, registers_fetched, read_register_bytes,
  7646. read_register_gen, write_register_gen, read_register,
  7647. read_signed_register, write_register, supply_register): Replace
  7648. register_valid[] with register_cached() and
  7649. set_register_cached().
  7650. (read_register_bytes, read_register_gen, write_register_gen,
  7651. read_register, read_signed_register, write_register,
  7652. supply_register): Replace registers[] with register_buffer().
  7653. (read_register_bytes, read_register_gen, read_register,
  7654. read_signed_register): Call fetch_register().
  7655. (write_register_gen, write_register): Call real_register() and
  7656. store_register().
  7657. (write_register_bytes): Call store_register().
  7658. * value.h (set_register_cached, register_buffer): Prototype.
  7659. * remote.c (remote_fetch_registers): Allocate regs[] with a
  7660. run-time size. Replace register_valid[] with
  7661. set_register_cached().
  7662. (store_register_using_P, remote_store_registers): Replace
  7663. registers[] with register_buffer().
  7664. 2001-01-08 Nicholas Duffek <nsd@redhat.com>
  7665. * regcache.c: Change "write-back" comment to "write-through".
  7666. Change "regno" to "regnum".
  7667. (read_register, read_signed_register): Remove "raw" from return
  7668. value description.
  7669. (supply_register): Spelling fix.
  7670. * value.h: Change "regno" to "regnum".
  7671. 2001-01-08 Fernando Nasser <fnasser@redhat.com>
  7672. * Makefile.in (install-gdbtk): Add .itcl files to the list of files
  7673. to be installed.
  7674. 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
  7675. * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
  7676. 2001-01-04 Nicholas Duffek <nsd@redhat.com>
  7677. * valops.c (VALUE_SUBSTRING_START): Delete.
  7678. 2001-01-04 Nicholas Duffek <nsd@redhat.com>
  7679. * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
  7680. (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
  7681. (cli_utils_h): New variable.
  7682. (cli/cli-utils.o): New rule.
  7683. * cli/cli-utils.c: New file.
  7684. * cli/cli-utils.h: New file.
  7685. 2001-01-04 Nicholas Duffek <nsd@redhat.com>
  7686. * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
  7687. REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
  7688. 2001-01-03 J.T. Conklin <jtc@redback.com>
  7689. * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
  7690. comment.
  7691. 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
  7692. * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
  7693. (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
  7694. non-float types.
  7695. * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
  7696. Update copyright notice.
  7697. For older changes see ChangeLog-2000
  7698. Local Variables:
  7699. mode: change-log
  7700. left-margin: 8
  7701. fill-column: 74
  7702. version-control: never
  7703. End: