ChangeLog-2003 594 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447
  1. 2003-12-30 Eli Zaretskii <eliz@elta.co.il>
  2. * configure.in: Check for st_blocks member in struct stat and
  3. define HAVE_STRUCT_STAT_ST_BLOCKS accordingly.
  4. * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): New undef.
  5. * configure, config.in: Regenerated.
  6. * remote-fileio.c (remote_fileio_to_fio_stat)
  7. (remote_fileio_func_fstat) [HAVE_STRUCT_STAT_ST_BLOCKS]: Support
  8. systems that don't have `st_blocks' member in `struct stat'.
  9. 2003-12-29 Eli Zaretskii <eliz@elta.co.il>
  10. * go32-nat.c (go32_sldt, go32_sgdt, go32_sidt, go32_pte): Fix
  11. mismatches between format string and arguments (avoids compiler
  12. warnings).
  13. * configure.in: Set ac_cv_search_tgetent to "none required" for
  14. "*djgpp*" targets as well (DJGPP doesn't have termcap and doesn't
  15. need one).
  16. * config/djgpp/config.sed: Tweak to adapt to the changes in
  17. configury.
  18. * config/djgpp/djconfig.sh: Fix the test of unpacked
  19. distribution, since there's no gdb.cxx directory anymore.
  20. 2003-12-28 Mark Kettenis <kettenis@gnu.org>
  21. * i386-sol2-tdep.c (i386_sol2_mcontext_addr): New function.
  22. (i386_sol2_init_abi): Initialize TDEP->sigcontext_addr,
  23. TDEP->sc_reg_offset and TDEP->sc_num_regs.
  24. * i386-tdep.h (i386_regnum): Add I386_CS_REGNUM and
  25. I386_SS_REGNUM.
  26. 2003-12-27 Mark Kettenis <kettenis@gnu.org>
  27. * dwarf2-frame.c (dwarf2_reg_rule): Add REG_RA and REG_CFA.
  28. (dwarf2_frame_cache): Initialize PC_REGNUM with REG_RA and
  29. SP_REGNUM with REG_CFA. Don't overwrite the initialized register
  30. rule for registers left unspecified by the CFI. Remove the
  31. special handling of PC_REGNUM. Add code to eleminate any REG_RA
  32. rules.
  33. (dwarf2_frame_prev_register): Remove the special handling of
  34. SP_REGNUM. Add support for the REG_CFA rule.
  35. 2003-12-26 Mark Kettenis <kettenis@gnu.org>
  36. * i386obsd-tdep.c: Include "regset.h", "gdb_assert.h" and
  37. "gdb_string.h".
  38. (i386obsd_r_reg_offset): New variable.
  39. (i386obsd_aout_supply_regset)
  40. (i386obsd_aout_regset_from_core_section): New functions.
  41. (i386obsd_supply_reg, fetch_core_registers): Remove functions.
  42. (i286obsd_core_fns): Remove variable.
  43. (i386obsd_init_abi): Initialize TDEP->gregset_reg_offset,
  44. TDEP->gregset_num_regs and TDEP->sizeof_gregset. Set
  45. regset_from_core_section. Use ARRAY_SIZE to initialize
  46. TDEP->sc_num_regs.
  47. (_initialize_i386obsd_tdep): Don't call add_core_fns.
  48. * i386bsd-tdep.c (i386bsd_core_osabi_sniffer): New function.
  49. (_initialize_i386bsd_tdep): Register i386bsd_core_osabi_sniffer.
  50. * i386-linux-nat.c: Add comment.
  51. 2003-12-26 Christopher Faylor <cgf@redhat.com>
  52. * win32-nat.c: Add some comments about below change.
  53. 2003-12-25 Christopher Faylor <cgf@redhat.com>
  54. Fix for PR threads/1048
  55. * win32-nat.c (thread_info_struct): Add reload_context flag.
  56. (thread_rec): Don't reload thread context here. Just set a flag.
  57. (do_child_fetch_inferior_registers): Reload thread context here if
  58. appropriate. Avoid doing anything if current_thread is NULL thanks to
  59. strange Windows behavior.
  60. (child_fetch_inferior_registers): Avoid doing anything if
  61. current_thread is NULL.
  62. (do_child_store_inferior_registers): Ditto.
  63. (child_store_inferior_registers): Ditto.
  64. (child_kill_inferior): Ditto.
  65. (fake_create_process): Pretend to create a process for pathological
  66. windows attach situation.
  67. (get_child_debug_event): Call fake_create_process when the first event
  68. noticed is thread creation rather than process creation.
  69. (child_attach): Always set attach_flag when attaching.
  70. (child_create_inferior): Set attach_flag to zero since we're not
  71. attaching.
  72. 2003-12-25 Christopher Faylor <cgf@redhat.com>
  73. * win32-nat.c (get_child_debug_event): Keep main thread id around even
  74. after thread exits since Windows insists on continuing to report events
  75. against it.
  76. 2003-12-22 Mark Kettenis <kettenis@gnu.org>
  77. * dwarf2-frame.c (dwarf2_frame_cache): Don't skip the return
  78. address column.
  79. 2003-12-21 Jim Blandy <jimb@redhat.com>
  80. * breakpoint.c (bpstat_do_actions): To ensure that
  81. clear_proceed_status doesn't free the command tree we're
  82. evaluating out from under us, zero the bpstat's pointer to it, and
  83. take care of freeing it ourselves.
  84. * cli/cli-script.c (make_cleanup_free_command_lines): Make this
  85. function externally visible.
  86. * cli/cli-script.h (make_cleanup_free_command_lines): New
  87. declaration.
  88. 2003-12-20 Mark Kettenis <kettenis@gnu.org>
  89. * x86-64-tdep.c (x86_64_dwarf_regmap): Map the Return Address to
  90. RIP.
  91. 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
  92. * hppa-tdep.c (hppa_gdbarch_init): Set long double floating
  93. point type to floatformat_ia64_quad_big.
  94. 2003-12-18 Kevin Buettner <kevinb@redhat.com>
  95. * frv-tdep.c (skip_prologue_using_sal): New function. Taken verbatim
  96. from mips-tdep.c.
  97. (frv_analyze_prologue): Rework to account for intermixed prologue /
  98. body instructions.
  99. 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
  100. * hppa-tdep.c (hppa_gdbarch_init): Set sizeof(long_double) to 128.
  101. Document type sizes for hppa*-*-hpux* compilers available to me.
  102. 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
  103. * hppam3-nat.c: Delete obsolete file.
  104. * hppab-nat.c: Delete obsolete file.
  105. * Makefile.in: Remove references.
  106. 2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
  107. * symtab.c (decode_line_spec): Change call to decode_line_1.
  108. 2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
  109. * linespec.h (decode_line_1): Add new not_found_ptr parameter.
  110. * linespec.c (decode_line_1): Add new parameter. Pass on
  111. new parameter to decode_variable and symtab_from_filename
  112. functions.
  113. (decode_variable): Add new not_found_ptr parameter. Throw exception
  114. rather than failing if the not_found_ptr is non-null and the
  115. function is not found.
  116. (symtab_from_filename): Add new not_found_ptr parametr. Throw
  117. exception rather than failing if the not_found_ptr is non-null and
  118. the source file is not found.
  119. * breakpoint.c: Change all callers of decode_line_1 to add default
  120. extra parameter for decode_line_1 calls.
  121. * tracepoint.c: Ditto.
  122. * cli/cli-cmds.c: Ditto.
  123. 2003-12-16 J. Brobecker <brobecker@gnat.com>
  124. * irix5-nat.c: Include mips-tdep.h.
  125. 2003-12-16 Mark Kettenis <kettenis@gnu.org>
  126. * solib.h (SOLIB_CREATE_CATCH_LOAD_HOOK)
  127. (SOLIB_CREATE_CATCH_UNLOAD_HOOK, SOLIB_LOADED_LIBRARY_PATHNAME)
  128. (SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_HAVE_LOAD_EVENT)
  129. (SOLIB_HAVE_UNLOAD_EVENT): Remove defines.
  130. * blockframe.c (inside_main_func): Don't treat a zero PC specially.
  131. Needed to fix PR backtrace/1476.
  132. 2003-12-16 David Carlton <carlton@kealia.com>
  133. * cp-support.c (class_name_from_physname): Add DMGL_PARAMS.
  134. (method_name_from_physname): Ditto.
  135. 2003-12-15 Mark Kettenis <kettenis@gnu.org>
  136. * i386-sol2-tdep.c (i386_sol2_gregset_reg_offset): New variable.
  137. (i386_sol2_init_abi): Initialize TDEP->gregset_reg_offset,
  138. TDEP->gregset_num_regs, TDEP->sizeof_gregset and
  139. TDEP->sizeof_fpregset.
  140. * config/i386/i386sol2.mh (XM_FILE): Set to xm-i386.h.
  141. (XM_CLIBS): Remove.
  142. (NATDEPFILES): Remove core-regset.o and corelow.o.
  143. * config/i386/i386sol2.mt (TDEPFILES): Add corelow.o.
  144. 2003-12-14 Mark Kettenis <kettenis@gnu.org>
  145. * proc-api.c (procfs_note): Add format string to fprintf call.
  146. * i386-tdep.c (i386_analyze_frame_setup): Add missing encodings
  147. for `subl' and `xorl' instructions.
  148. 2003-12-13 Jim Blandy <jimb@redhat.com>
  149. * dwarf2read.c (dwarf2_add_member_fn, read_structure_scope):
  150. Replace uses of DEPRECATED_STREQ and DEPRECATED_STREQN with calls
  151. to strcmp and strncmp.
  152. * osabi.c (gdbarch_init_osabi): Reformat error message with better
  153. line breaks.
  154. 2003-12-13 Mark Kettenis <kettenis@gnu.org>
  155. * blockframe.c (inside_main_func): Reformat. Introduce new local
  156. variables to prevent long lines. Update comments to reflect
  157. reality.
  158. 2003-12-12 Kevin Buettner <kevinb@redhat.com>
  159. From David Mosberger <davidm@hpl.hp.com>:
  160. * libunwind-frame.c (unw_find_dyn_list_p): Replace most arguments
  161. with a single unw_dyn_info_t pointer.
  162. (libunwind_find_dyn_list): Likewise.
  163. * libunwind-frame.h: Likewise.
  164. * ia64-tdep.c (ia64_find_unwind_table): Switch to using
  165. UNW_INFO_FORMAT_REMOTE_TABLE so we can avoid having to read in the
  166. entire unwind-table at once. Support for this table format has
  167. been added to libunwind v0.95.
  168. (ia64_find_proc_info_x): Adjust for remote-unwind-table changes.
  169. (ia64_get_dyn_info_list): Adjust for interface change for
  170. libunwind_find_dyn_list().
  171. 2003-12-12 Jeff Johnston <jjohnstn@redhat.com>
  172. * breakpoint.c (breakpoint_enabled): New function to test whether
  173. breakpoint is active and enabled.
  174. (insert_bp_location, insert_breakpoints): Call new function to test
  175. for enabled breakpoint.
  176. (remove_breakpoint, breakpoint_here_p, breakpoint_thread_match)
  177. (bpstat_should_step, bpstat_have_active_hw_watchpoints)
  178. (disable_breakpoints_in_shlibs, hw_watchpoint_used_count)
  179. (disable_watchpoints_before_interactive_call_start)
  180. (breakpoint_re_set_one): Ditto.
  181. (bpstat_stop_status): Use new function and simplify test.
  182. 2003-12-11 Mark Kettenis <kettenis@gnu.org>
  183. * observer.c (observer_test_first_observer)
  184. (observer_test_second_observer, observer_test_third_observer):
  185. Don't define as `static'.
  186. (observer_test_first_notification_function)
  187. (observer_test_second_notification_function)
  188. (observer_test_third_notification_function): Likewise.
  189. 2003-12-10 Mark Kettenis <kettenis@gnu.org>
  190. * solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "" instead
  191. of (0).
  192. 2003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
  193. * MAINTAINERS (write after approval): Add myself.
  194. 2003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
  195. * config/h8300/tm-h8300.h (h8300hmode): Remove.
  196. (h8300hmode): Likewise.
  197. (h8300smode): Likewise.
  198. (h8300sxmode): Likewise.
  199. (h8300_normal_mode): Likewise.
  200. (GDB_TARGET_IS_H8300): Likewise.
  201. (NUM_REALREGS): Use TARGET_ARCHITECTURE->mach instead of global.
  202. * h8300-tdep.c (is_h8300hmode): New function.
  203. (is_h8300smode): New function.
  204. (is_h8300sxmode): New function.
  205. (is_h8300_normal_mode): New function.
  206. (BINWORD): Use new functions.
  207. (h8300_examine_prologue): Likewise.
  208. (h8300_print_register): Likewise.
  209. (h8300_print_registers_info): Likewise.
  210. (h8300_register_type): Likewise.
  211. (h8300_gdbarch_init): Remove use of globals like h8300hmode.
  212. * remote-e7000.c (e7000_open): Remove use of GDB_TARGET_IS_H8300.
  213. (e7000_fetch_registers): Use TARGET_ARCHITECTURE->mach instead.
  214. (e7000_wait): Use TARGET_ARCHITECTURE->mach instead of global.
  215. 2003-12-10 J. Brobecker <brobecker@gnat.com>
  216. * frame.c (select_frame): Get the current frame PC using
  217. get_frame_address_in_block() instead of get_frame_pc().
  218. * stack.c (get_frame_language): Likewise.
  219. 2003-12-08 Kevin Buettner <kevinb@redhat.com>
  220. * remote.c (remote_open_1, remote_cisco_open): Avoid closing
  221. remote_desc more than once.
  222. 2003-12-07 Andrew Cagney <cagney@redhat.com>
  223. * defs.h (DEPRECATED_STREQN, DEPRECATED_STREQ): Simplify by
  224. directly calling strcmp equivalents. Add disclaimer.
  225. 2003-12-06 Andrew Cagney <cagney@redhat.com>
  226. * remote.c (remote_fetch_registers): For short packets, explicitly
  227. supply a zero value. Use regcache_raw_supply. Fix suggested by
  228. Jonathan Larmour.
  229. 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
  230. * ia64-tdep.c (ia64_gdbarch_init): Set up the gdbarch long double
  231. format to be the i387 extended float format which is used for
  232. long doubles stored in memory.
  233. 2003-12-05 Mark Kettenis <kettenis@gnu.org>
  234. From Ulrich Weigand <weigand@informatik.uni-erlangen.de>:
  235. * dwarf2-frame.c (dwarf2_frame_cache): Use the untranslated RA
  236. column instead of translating it.
  237. 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
  238. Partial fix for PR c++/1465.
  239. Fix for PR c++/1377.
  240. * cp-support.h (cp_lookup_rtti_type): New function.
  241. * cp-support.c (cp_lookup_rtti_type): New function.
  242. * gnu-v2-abi.c: Update copyright years.
  243. (gnuv2_rtti_type): Call cp_lookup_rtti_type.
  244. * gnu-v3-abi.c: Update copyright years.
  245. (gnuv3_rtti_type): Call cp_lookup_rtti_type.
  246. 2003-12-04 J. Brobecker <brobecker@gnat.com>
  247. * stabsread.c (read_type): Save a reference to types that are defined
  248. as cross references to other types.
  249. 2003-12-02 Roland McGrath <roland@redhat.com>
  250. * thread-db.c (enable_thread_event): Change return type to
  251. td_err_e. Return TD_OK or error code.
  252. (enable_thread_event_reporting): Update callers.
  253. 2003-12-03 Ian Lance Taylor <ian@wasabisystems.com>
  254. * NEWS: Mention new C++ demangler code.
  255. 2003-12-03 Andrew Cagney <cagney@redhat.com>
  256. * ppc-linux-nat.c (store_register, fetch_register): Convert
  257. between ptrace and regcache's wordsize.
  258. (ppc_register_u_addr): Use the ptrace wordsize.
  259. 2003-12-02 Kevin Buettner <kevinb@redhat.com>
  260. * frv-tdep.c (frv_gdbarch_init): Add case for fr550.
  261. 2003-12-02 Daniel Jacobowitz <drow@mvista.com>
  262. * dwarf2read.c (dwarf_info_offset, dwarf_abbrev_offset)
  263. (dwarf_line_offset, dwarf_pubnames_offset, dwarf_aranges_offset)
  264. (dwarf_loc_offset, dwarf_macinfo_offset, dwarf_str_offset)
  265. (dwarf_ranges_offset, dwarf_frame_offset, dwarf_eh_frame_offset):
  266. Delete.
  267. (dwarf2_read_section): Remove offset and size arguments. Use
  268. bfd_get_section_size_before_reloc and sectp->filepos.
  269. (dwarf2_has_info): Clear section variables instead of offsets.
  270. (dwarf2_locate_sections): Don't initialize the deleted variables.
  271. (dwarf2_build_psymtabs): Update calls to dwarf2_read_section.
  272. (dwarf2_build_psymtabs_easy): Likewise.
  273. * dwarf2-frame.c (dwarf_frame_offset, dwarf_frame_size)
  274. (dwarf_eh_frame_offset, dwarf_eh_frame_size): Remove extern
  275. declarations.
  276. (dwarf2_read_section): Update prototype.
  277. (dwarf2_build_frame_info): Update calls to dwarf2_read_section.
  278. Use bfd_get_section_size_before_reloc instead of global size
  279. variables.
  280. 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
  281. * dwarfread.c: Update documentation on the state of dwarf-1.
  282. 2003-12-01 Andrew Cagney <cagney@redhat.com>
  283. Obsolete old MIPS SVr3 and SVr4 systems.
  284. * NEWS: Mention obsoleted systems.
  285. * configure.tgt: Mark mips*-*-sysv4* as obsolete.
  286. * configure.host: Mark mips-dec-*, mips-little-*, mips-sony-*,
  287. mips-*-sysv4*, mips-*-sysv*, mips-*-riscos* and mips-*-mach3* as
  288. obsolete.
  289. * config/mips/decstation.mh: Mark as obsolete.
  290. * config/mips/littlemips.mh: Mark as obsolete.
  291. * config/mips/nm-mips.h: Mark as obsolete.
  292. * config/mips/xm-mips.h: Mark as obsolete.
  293. * config/mips/news-mips.mh: Mark as obsolete.
  294. * config/mips/nm-news-mips.h: Mark as obsolete.
  295. * config/mips/riscos.mh: Mark as obsolete.
  296. * config/mips/nm-riscos.h: Mark as obsolete.
  297. * config/mips/xm-riscos.h: Mark as obsolete.
  298. * config/mips/mipsv4.mt: Mark as obsolete.
  299. * config/mips/tm-mipsv4.h: Mark as obsolete.
  300. * config/mips/xm-mipsv4.h: Mark as obsolete.
  301. Obsolete old m68k systems.
  302. * configure.host: Mark m68*-sun-*, m68*-sun-sunos4*,
  303. m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*,
  304. m68*-bull*-sysv*, m68*-att-*, m680[01]0-sun-sunos4*, and
  305. m680[01]0-sun-sunos3* as obsolete.
  306. * configure.tgt: Mark m68*-*-lynxos*, m68*-*-sunos3*,
  307. m68*-*-sunos4*, m68*-*-sysv4*, m68000-*-sunos3*, m68000-*-sunos4*,
  308. m68*-bull-sysv*, m68*-att-*, and m68*-motorola-*, as obsolete.
  309. * config/m68k/sun3os4.mh: Mark file obsolete.
  310. * config/m68k/xm-sun3os4.h: Mark file obsolete.
  311. * config/m68k/sun3os3.mh: Mark file obsolete.
  312. * config/m68k/nm-sun3.h: Mark file obsolete.
  313. * config/m68k/xm-sun3.h: Mark file obsolete.
  314. * config/m68k/sun2os4.mh: Mark file obsolete.
  315. * config/m68k/sun2os3.mh: Mark file obsolete.
  316. * config/m68k/nm-sun2.h: Mark file obsolete.
  317. * config/m68k/xm-sun2.h: Mark file obsolete.
  318. * config/m68k/m68kv4.mh: Mark file obsolete.
  319. * config/m68k/nm-sysv4.h: Mark file obsolete.
  320. * config/m68k/xm-m68kv4.h: Mark file obsolete.
  321. * config/m68k/m68klynx.mh: Mark file obsolete.
  322. * config/m68k/nm-m68klynx.h: Mark file obsolete.
  323. * config/m68k/dpx2.mh: Mark file obsolete.
  324. * config/m68k/xm-dpx2.h: Mark file obsolete.
  325. * config/m68k/nm-dpx2.h: Mark file obsolete.
  326. * config/m68k/delta68.mh: Mark file obsolete.
  327. * config/m68k/xm-delta68.h: Mark file obsolete.
  328. * config/m68k/nm-delta68.h: Mark file obsolete.
  329. * config/m68k/3b1.mh: Mark file obsolete.
  330. * config/m68k/xm-3b1.h: Mark file obsolete.
  331. * config/m68k/sun3os4.mt: Mark file obsolete.
  332. * config/m68k/tm-sun3os4.h: Mark file obsolete.
  333. * config/m68k/sun3os3.mt: Mark file obsolete.
  334. * config/m68k/tm-sun3.h: Mark file obsolete.
  335. * config/m68k/sun2os4.mt: Mark file obsolete.
  336. * config/m68k/tm-sun2os4.h: Mark file obsolete.
  337. * config/m68k/sun2os3.mt: Mark file obsolete.
  338. * config/m68k/tm-sun2.h: Mark file obsolete.
  339. * config/m68k/m68kv4.mt: Mark file obsolete.
  340. * config/m68k/tm-m68kv4.h: Mark file obsolete.
  341. * config/m68k/m68klynx.mt: Mark file obsolete.
  342. * config/m68k/tm-m68klynx.h: Mark file obsolete.
  343. * config/m68k/dpx2.mt: Mark file obsolete.
  344. * config/m68k/tm-dpx2.h: Mark file obsolete.
  345. * config/m68k/delta68.mt: Mark file obsolete.
  346. * config/m68k/tm-delta68.h: Mark file obsolete.
  347. * config/m68k/3b1.mt: Mark file obsolete.
  348. * config/m68k/tm-3b1.h: Mark file obsolete.
  349. 2003-11-29 Mark Kettenis <kettenis@gnu.org>
  350. * x86-64-tdep.c (MAX_CLASSES): Remove macro.
  351. (x86_64_reg_class): Remove enum.
  352. (merge_classes, classify_argument, examine_argument): Remove
  353. functions.
  354. (INT_REGS, SSE_REGS): Remove macros.
  355. (x86_64_push_arguments): Remove function.
  356. (amd64_push_arguments): New function.
  357. (x86_64_push_dummy_call): Call amd64_push_arguments instead of
  358. x86_64_push_arguments.
  359. 2003-11-28 Mark Kettenis <kettenis@gnu.org>
  360. * x86-64-tdep.c (x86_64_frame_cache): Don't bail out if %rbp is
  361. zero. Reorganize code a bit.
  362. 2003-11-27 Mark Kettenis <kettenis@gnu.org>
  363. * dwarf2-frame.c: Fix another comment.
  364. * x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines.
  365. (x86_64_use_struct_convention, x86_64_extract_return_value,
  366. x86_64_store_return_value): Remove.
  367. (amd64_reg_class): New enum.
  368. (amd64_merge_classes, amd64_classify_aggregate, amd64_classify,
  369. amd64_return_value): New functions.
  370. (x86_64_init_abi): Don't set extract_return_value,
  371. store_return_value and use_struct_convention. Set return_value to
  372. amd64_return_value.
  373. * i387-tdep.h (i387_return_value): New prototype.
  374. * i387-tdep.c (i387_return_value): New function.
  375. * dwarf2-frame.c: Fix some comments and whitespace problems.
  376. * i386nbsd-tdep.c: Don't include "gdbtypes.h". Include
  377. "gdb_assert.h" and "gdb_string.h".
  378. (i386nbsd_r_reg_offset): Rename from regmap.
  379. (SIZEOF_STRUCT_REG): Remove.
  380. (i386nbsd_supply_reg, fetch_core_registers,
  381. fetch_elfcore_registers, i386nbsd_core_fns, i386nbsd_elfcore_fns):
  382. Remove.
  383. (i386nbsd_aout_supply_regset,
  384. i386nbsd_aout_regset_from_core_section): New functions.
  385. (i386nbsd_sc_reg_offset): Don't explicitly specify size of array.
  386. (i386nbsd_init_abi): Initialize TDEP->gregset_reg_offset,
  387. TDEP->gregset_num_regs amd sizeof_gregset. Use ARRAY_SIZE to
  388. initialize TDEP->sc_num_regs.
  389. (i386nbsdaout_init_abi): New function.
  390. (i386nbsdelf_init_abi): Remove initialization of
  391. TDEP->num_xmm_regs. Don't set num_regs here.
  392. (_initialize_i386nbsd_tdep): Don't call add_core_fns. Use
  393. i386nbsd_aout_init to register NetBSD a.out OS/ABI.
  394. * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use
  395. .note.netbsdcore.procinfo section to recognize NetBSD core files.
  396. 2003-11-26 Michael Chastain <mec.gnu@mindspring.com>
  397. * cp-abi.c: Update copyright years.
  398. 2003-11-25 Andrew Cagney <cagney@redhat.com>
  399. * thread-db.c (enable_thread_event): New function. Ensure that BP
  400. is a code address.
  401. (enable_thread_event_reporting): Use enable_thread_event.
  402. 2003-11-25 Michael Snyder <msnyder@redhat.com>
  403. * mips-tdep.c (mips_o64_extract_return_value): Correct for
  404. NUM_REGS (see changes 2003-06-21).
  405. (mips_eabi_extract_return_value): Ditto.
  406. 2003-11-25 Andrew Cagney <cagney@redhat.com>
  407. * infrun.c: Don't include "exec.h".
  408. (handle_inferior_event): Pass current_target, instead of exec_ops,
  409. to SOLIB_ADD. Add comments.
  410. * Makefile.in (infrun.o): Update dependencies.
  411. 2003-11-24 Daniel Jacobowitz <drow@mvista.com>
  412. * NEWS: Mention improved location expression support.
  413. 2003-11-23 Andrew Cagney <cagney@redhat.com>
  414. * Makefile.in (infrun.o): Update dependencies.
  415. * infrun.c: Include "exec.h".
  416. (handle_inferior_event): Pass exec_ops to SOLIB_ADD.
  417. 2003-11-23 Andrew Cagney <cagney@redhat.com>
  418. * frame.c (frame_unwind_signed_register): Delete function.
  419. * frame.h (frame_unwind_register_signed): Delete declaration.
  420. * mips-tdep.c (mips_frame_saved_pc): Use frame_unwind_register_signed.
  421. * arch-utils.h (generic_cannot_extract_struct_value_address):
  422. Delete declaration.
  423. * defs.h (DEPRECATED_STREQN): Rename STREQN.
  424. (DEPRECATED_STREQ): Rename STREQ.
  425. * ada-exp.y, ada-lang.c, ada-lex.l, coffread.c: Update.
  426. * config/mips/tm-irix5.h, config/mips/tm-irix6.h: Update.
  427. * config/mips/tm-mipsv4.h, config/sparc/tm-sun4sol2.h: Update.
  428. * dbxread.c, dwarf2read.c, dwarfread.c, environ.c: Update.
  429. * eval.c, exec.c, f-lang.c, hppa-tdep.c, hpread.c: Update.
  430. * jv-exp.y, language.c, m2-exp.y, mcore-rom.c: Update.
  431. * mdebugread.c, mipsread.c, objc-exp.y, objfiles.c: Update.
  432. * p-exp.y, p-typeprint.c, p-valprint.c, rs6000-nat.c: Update.
  433. * source.c, sparc-tdep.c, stack.c, target.c: Update.
  434. * symfile.c (symbol_file_command): Replace STREQ with strcmp.
  435. * elfread.c (elf_symtab_read): Delete STREQ from comment.
  436. 2003-11-22 Andrew Cagney <cagney@redhat.com>
  437. * frame.c (deprecated_frame_xmalloc): Delete function.
  438. (deprecated_set_frame_extra_info_hack): Delete function.
  439. (deprecated_set_frame_saved_regs_hack): Delete function.
  440. * frame.h (deprecated_frame_xmalloc): Delete declaration.
  441. (deprecated_set_frame_extra_info_hack): Delete declaration.
  442. (deprecated_set_frame_saved_regs_hack): Delete declaration.
  443. * mcore-tdep.c (analyze_dummy_frame): Instead of
  444. deprecated_frame_xmalloc, deprecated_set_frame_saved_regs_hack,
  445. and deprecated_set_frame_extra_info_hack use
  446. deprecated_frame_xmalloc_with_cleanup.
  447. * mn10300-tdep.c (analyze_dummy_frame): Ditto.
  448. * mips-tdep.c (mips_init_extra_frame_info): Delete call to
  449. deprecated_set_frame_saved_regs_hack.
  450. * mips-tdep.c (mips_frame_chain): Delete call to
  451. deprecated_inside_entry_file.
  452. * frame.h (deprecated_set_frame_next_hack): Delete declaration.
  453. (deprecated_set_frame_prev_hack): Delete declaration.
  454. * frame.c (deprecated_set_frame_next_hack): Delete function.
  455. (deprecated_set_frame_prev_hack): Delete function.
  456. * mcore-tdep.c (analyze_dummy_frame): Delete calls to
  457. "deprecated_set_frame_next_hack" and
  458. "deprecated_set_frame_prev_hack".
  459. * mn10300-tdep.c (analyze_dummy_frame): Ditto.
  460. * mips-tdep.c (mips_register_convertible): Delete function.
  461. (mips_register_convert_to_virtual): Delete function.
  462. (mips_register_convert_to_raw): Delete function.
  463. (mips_gdbarch_init): Do not set "deprecated_register_convertible",
  464. "deprecated_register_convert_to_virtual", or
  465. "deprecated_register_convert_to_raw".
  466. (mips_pseudo_register_write, mips_pseudo_register_read): Handle
  467. 32/64 cooked to raw register conversions.
  468. * frame.c (deprecated_get_frame_context): Delete function.
  469. (deprecated_set_frame_context): Delete function.
  470. (struct frame_info): Delete member "context".
  471. * frame.h (deprecated_get_frame_context): Delete declaration.
  472. (deprecated_set_frame_context): Delete declaration.
  473. * procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment.
  474. * config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro.
  475. * config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro.
  476. * config/alpha/nm-osf2.h (FAULTED_USE_SIGINFO): Delete macro.
  477. * mips-tdep.c (SIGFRAME_REG_SIZE): Delete macro.
  478. (mips_find_saved_regs): Replace SIGFRAME_REG_SIZE with
  479. mips_regsize.
  480. (mips_dump_tdep): Do not print SIGFRAME_REG_SIZE.
  481. * config/mips/tm-irix6.h (SIGFRAME_REG_SIZE): Delete macro.
  482. * config/mips/tm-irix5.h: Update copyright.
  483. (SIGFRAME_REG_SIZE): Delete macro.
  484. * hppa-tdep.c (hppa_value_returned_from_stack): Delete function.
  485. * config/pa/tm-hppa.h (hppa_value_returned_from_stack): Delete
  486. declaration.
  487. (DEPRECATED_VALUE_RETURNED_FROM_STACK): Delete macro.
  488. * infcall.c (call_function_by_hand): Delete #ifdef
  489. DEPRECATED_VALUE_RETURNED_FROM_STACK code.
  490. * infcmd.c (print_return_value): Ditto.
  491. * mips-tdep.c (skip_prologue_using_sal): New function.
  492. (mips32_skip_prologue, mips16_skip_prologue): Use
  493. skip_prologue_using_sal to get an upper bound on the search.
  494. * config/powerpc/tm-linux.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete
  495. #if 0'ed macro.
  496. * infrun.c (step_into_function): Delete #ifdef
  497. PROLOGUE_FIRSTLINE_OVERLAP code.
  498. * symtab.c (find_function_start_sal): Ditto.
  499. * remote-rdp.c: Update copyright.
  500. (rdp_init): #if 0 references to "target_byte_order".
  501. * mips-tdep.c (mips_o32_store_return_value): Delete function.
  502. (mips_o32_return_value): Replace mips_o32_xfer_return_value.
  503. (mips_o32_extract_return_value): Delete function.
  504. (mips_n32n64_return_value): Replace mips_n32n64_xfer_return_value.
  505. (mips_n32n64_extract_return_value): Delete function.
  506. (mips_n32n64_store_return_value): Delete function.
  507. (mips_gdbarch_init): For o32 and n32n64, set "return_value"
  508. instead of "store_return_value", "extract_return_value", and
  509. "use_struct_convention".
  510. (mips_n32n64_use_struct_convention): Delete function.
  511. 2003-11-21 Kevin Buettner <kevinb@redhat.com>
  512. * frv-tdep.c (frv_frame_this_id): Eliminate call to
  513. inside_entry_func().
  514. 2003-11-20 Mark Kettenis <kettenis@gnu.org>
  515. * i386-tdep.c (i386_extract_return_value,
  516. i386_store_return_value): Add gdbarch argument. Use it instead of
  517. determining it from REGCACHE. Remove recursive call for
  518. structures with a single member.
  519. (i386_use_struct_convention): Remove.
  520. (i386_reg_struct_return_p): New function.
  521. (i386_return_value): New function.
  522. (i386_gdbarch_init): Set return_value, don't set
  523. extract_return_value, store_return_value and
  524. use_struct_convention.
  525. * x86-64-tdep.c (x86_64_init_abi): Set return_value to NULL.
  526. 2003-11-20 Jim Blandy <jimb@redhat.com>
  527. * osabi.c (_initialize_gdb_osabi): Don't return before registering
  528. the 'set osabi' and 'show osabi' commands.
  529. 2003-11-19 Mark Kettenis <kettenis@gnu.org>
  530. * frame.c (get_prev_frame): Use result from
  531. get_frame_address_in_block instead of get_frame_pc as argument to
  532. inside_main_func. Fixes PR backtrace/1435.
  533. 2003-11-19 Andrew Cagney <cagney@redhat.com>
  534. * stack.c (return_command): Handle "void", "legacy" and "unknown
  535. location" return values separatly.
  536. * values.c (using_struct_return): Return 0 for a "void" return
  537. type. Mention "register_value_being_returned".
  538. (register_value_being_returned): Mention "using_struct_return".
  539. 2003-11-19 Daniel Jacobowitz <drow@mvista.com>
  540. * dwarf2read.c (offreg, basereg, isderef, frame_base_reg)
  541. (frame_base_offset): Delete.
  542. (read_func_scope): Delete call to decode_locdesc.
  543. (decode_locdesc): Update comments. Don't set the removed variables.
  544. Complain for DW_OP_reg* not at the end. Remove DW_OP_breg* and
  545. DW_OP_fbreg support.
  546. 2003-11-18 Daniel Jacobowitz <drow@mvista.com>
  547. * dwarf2read.c (optimized_out, islocal): Remove.
  548. (decode_locdesc): Update comments. Don't set optimized_out
  549. or islocal.
  550. 2003-11-17 Jeff Johnston <jjohnstn@redhat.com>
  551. David Mosberger <davidm@hpl.hp.com>
  552. * ia64-tdep.c: Include elf.h.
  553. [HAVE_LIBUNWIND_IA64_H]: Include libunwind-frame.h and
  554. libunwind-ia64.h.
  555. (ia64_rse_slot_num, ia64_rse_skip_regs): New for libunwind support.
  556. (ia64_gdb2uw_regnum, ia64_uw2gdb_regnum): Ditto.
  557. (ia64_is_fpreg, ia64_access_reg): Ditto.
  558. (ia64_access_fpreg, ia64_access_mem): Ditto.
  559. (get_kernel_table): Ditto.
  560. (ia64_find_unwind_table): Ditto.
  561. (ia64_find_proc_info_x, ia64_put_unwind_info): Ditto.
  562. (ia64_get_dyn_info_list, ia64_libunwind_frame_this_id): Ditto.
  563. (ia64_libunwind_frame_prev_register): Ditto.
  564. (ia64_libunwind_frame_sniffer): Ditto.
  565. (ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Add libunwind frame
  566. sniffer. Register libunwind functions needed by generic
  567. libunwind frame code using libunwind_frame_set_descr().
  568. 2003-11-16 Daniel Jacobowitz <drow@mvista.com>
  569. * breakpoint.c (re_enable_breakpoints_in_shlibs): Only re-enable a
  570. bp_shlib_disabled breakpoint if there is a shared library mapped
  571. at its expected address.
  572. 2003-11-16 Andrew Cagney <cagney@redhat.com>
  573. * configure.tgt: Delete mips*tx39*-elf*.
  574. * config/mips/tm-tx39.h: Delete file.
  575. * config/mips/tx39.mt: Delete file.
  576. * config/mips/tx39.mt: Delete file.
  577. * mips-tdep.h (deprecated_mips_set_processor_regs_hack): Declare.
  578. * remote-mips.c (common_open): Instead of
  579. "mips_read_register_type" and "mips_set_processor_type_command"
  580. call "deprecated_mips_set_processor_regs_hack".
  581. * config/mips/tm-mips.h (mips_read_processor_type): Delete
  582. declaration.
  583. (mips_set_processor_type_command): Delete declaration.
  584. * mips-tdep.c (mips_gdbarch_init): Update comment.
  585. (mips_dump_tdep): Do not print MIPS_REGISTER_NAMES.
  586. (mips_set_processor_type): Delete function.
  587. (NUM_MIPS_PROCESSOR_REGS): Define.
  588. (mips_show_processor_type_command): Delete function.
  589. (mips_set_processor_type_command): Delete function.
  590. (tmp_mips_processor_type): Delete.
  591. (mips_processor_type): Delete.
  592. (mips_processor_type_table): Delete.
  593. (mips_r3051_reg_names): Delete.
  594. (mips_r3081_reg_names): Delete.
  595. (mips_lsi33k_reg_names): Delete.
  596. (mips_processor_reg_names): Delete.
  597. (mips_read_processor_type): Delete function.
  598. (deprecated_mips_set_processor_regs_hack): New function.
  599. (struct gdbarch_tdep): Add member "mips_processor_reg_names".
  600. (mips_register_name): Get the processor names from the tdep.
  601. (mips_tx39_reg_names): New array.
  602. (mips_generic_reg_names): Wire to a standard set of names.
  603. (mips_gdbarch_init): Set "mips_processor_reg_names".
  604. * config/mips/tm-irix5.h (MIPS_REGISTER_NAMES): Delete macro.
  605. * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Delete macro.
  606. * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Delete macro.
  607. 2003-11-16 Andrew Cagney <cagney@redhat.com>
  608. * mips-tdep.c (struct gdbarch_tdep): Add field "regnum".
  609. (mips_fpa0_regnum, mips_regnum): New function.
  610. (mips_gdbarch_init): Fill in the "regnum" fields.
  611. * mips-tdep.h (struct mips_regnum): Define.
  612. (mips_regnum): Declare.
  613. * config/mips/tm-mips.h (BADVADDR_REGNUM): Delete macro.
  614. (LO_REGNUM, HI_REGNUM, BADVADDR_REGNUM): Ditto.
  615. (CAUSE_REGNUM, PC_REGNUM, FP0_REGNUM): Ditto.
  616. (FCRCS_REGNUM, FCRIR_REGNUM, FPA0_REGNUM): Ditto.
  617. * config/mips/tm-irix6.h (FP0_REGNUM): Delete macro.
  618. (PC_REGNUM, CAUSE_REGNUM, BADVADDR_REGNUM): Ditto.
  619. (HI_REGNUM, LO_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): Ditto.
  620. * config/mips/tm-irix5.h (FP0_REGNUM): Delete macro.
  621. (PC_REGNUM, CAUSE_REGNUM, BADVADDR_REGNUM): Ditto.
  622. (HI_REGNUM, LO_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): Ditto.
  623. * remote-mips.c: Include "mips-tdep.h". Update.
  624. * mipsnbsd-tdep.c: Update.
  625. * mipsv4-nat.c: Update.
  626. * mips-tdep.c: Update.
  627. * mips-nat.c: Update.
  628. * mips-linux-tdep.c: Update.
  629. * mips-linux-nat.c: Update.
  630. * irix5-nat.c: Update.
  631. * dve3900-rom.c: Include "mips-tdep.h". Update.
  632. (ignore_packet): Supress GCC warning.
  633. * config/mips/nm-riscos.h: Update.
  634. 2003-11-16 Andrew Cagney <cagney@redhat.com>
  635. * mips-tdep.c: Replace DEPRECATED_REGISTER_RAW_SIZE with
  636. register_size.
  637. (mips_register_raw_size): Delete function.
  638. (mips_register_type): Handle "mips64_transfers_32bit_regs_p".
  639. (mips_gdbarch_init): Do not set "deprecated_register_raw_size".
  640. Check and set "mips64_transfers_32bit_regs_p".
  641. (struct gdbarch_tdep): Add "mips64_transfers_32bit_regs_p".
  642. (mips_register_convertible): Check the architecture's
  643. "mips64_transfers_32bit_regs_p".
  644. (set_mips64_transfers_32bit_regs): New function.
  645. (_initialize_mips_tdep): Use "add_setshow_cmd" when adding the
  646. "set remote-mips64-transfers-32bit-regs" command. Specify
  647. set_mips64_transfers_32bit_regs as the set function.
  648. * Makefile.in (dve3900-rom.o, remote-mips.o): Update dependencies.
  649. 2003-11-16 Mark Kettenis <kettenis@gnu.org>
  650. * i386-tdep.h (i386_supply_gregset): Provide prototype.
  651. * i386-tdep.c (i386_supply_gregset): Make public.
  652. 2003-11-16 Andrew Cagney <cagney@redhat.com>
  653. * mips-tdep.c (mips_register_byte): Delete function.
  654. (mips_gdbarch_init): Do not set "deprecated_register_byte".
  655. * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Delete macro.
  656. * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Delete macro.
  657. * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Delete macro.
  658. 2003-11-16 Mark Kettenis <kettenis@gnu.org>
  659. * i386-tdep.c (i386_extract_return_value): Don't use bfd_byte.
  660. 2003-11-16 Andrew Cagney <cagney@redhat.com>
  661. * config/mips/linux64.mt: Delete file.
  662. * config/mips/tm-linux64.h: Delete file.
  663. * config/mips/tm-mips64.h: Delete file.
  664. * config/mips/embed64.mt: Delete file.
  665. * config/djgpp/fnchange.lst: Update.
  666. * configure.tgt: Delete explicit patterns for mipsisa64*-*-linux*,
  667. mips64*-*-linux*, mips64*-*-*, and mipsisa64*-*-*.
  668. * config/mips/tm-irix6.h: Update copyright. Include
  669. "mips/tm-mips.h" instead of "mips/tm-mips64.h".
  670. * mips-tdep.c (mips_dump_tdep): Do not print "OP_LDFPR" or
  671. "OP_LDGPR".
  672. 2003-11-15 Andrew Cagney <cagney@redhat.com>
  673. * mips-tdep.c (mips_register_type): Simplify. Eliminate reference
  674. to MIPS_REGISTER_TYPE. Make integer registers signed. Make IRIX
  675. n32 registers 64 bit.
  676. (mips_register_raw_size, mips_register_byte): For pseudo
  677. registers, use the register's pseudo size and not the
  678. corresponding raw register's size.
  679. * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Delete macro.
  680. * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Delete macro.
  681. * config/mips/tm-irix6.h: Don't #undef MIPS_REGISTER_TYPE.
  682. * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Delete macro.
  683. 2003-11-15 Andrew Cagney <cagney@redhat.com>
  684. * mips-tdep.c (struct gdbarch_tdep): Delete member
  685. gdb_target_is_mips64.
  686. (GDB_TARGET_IS_MIPS64): Delete macro.
  687. (mips_gdbarch_init): Do not set tdep's gdb_target_is_mips64.
  688. (mips_dump_tdep): Do not print GDB_TARGET_IS_MIPS64.
  689. (mips_addr_bits_remove): Simplify.
  690. * mips-tdep.c: Replace DEPRECATED_REGISTER_VIRTUAL_SIZE with
  691. register_size.
  692. Replace MIPS_REGSIZE with mips_regsize.
  693. * mips-tdep.c (mips_regsize): New function.
  694. * mips-tdep.h (mips_regsize): Declare.
  695. * mipsnbsd-tdep.h (SIZEOF_STRUCT_FPREG): Update.
  696. (SIZEOF_STRUCT_REG): Update.
  697. * mipsnbsd-tdep.c (mipsnbsd_supply_reg): Update.
  698. (mipsnbsd_fill_reg): Update.
  699. (mipsnbsd_supply_fpreg): Update.
  700. (mipsnbsd_fill_fpreg): Update.
  701. (NBSD_MIPS_JB_ELEMENT_SIZE): Update.
  702. * mips-tdep.c (mips_register_raw_size): Update.
  703. (mips_register_type): Update.
  704. (SIGFRAME_BASE): Update.
  705. (SIGFRAME_PC_OFF): Update.
  706. (SIGFRAME_REGSAVE_OFF): Update.
  707. (SIGFRAME_FPREGSAVE_OFF): Update.
  708. (SIGFRAME_REG_SIZE): Update.
  709. (mips32_heuristic_proc_desc): Update.
  710. (print_gp_register_row): Update.
  711. (mips_dump_tdep): Do not print MIPS_REGSIZE.
  712. * irix5-nat.c (supply_gregset): Update.
  713. (fetch_core_registers): Update.
  714. * config/mips/tm-mips64.h (MIPS_REGSIZE): Delete macro.
  715. * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Update.
  716. * config/mips/tm-mips.h (MIPS_REGSIZE): Delete macro.
  717. (MIPS_REGISTER_BYTE): Update.
  718. * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Update.
  719. 2003-11-15 Andrew Cagney <cagney@redhat.com>
  720. * config/sparc/tm-sparc.h (DEPRECATE_USE_REGISTER_NOT_ARG): Rename
  721. USE_REGISTER_NOT_ARG.
  722. * stabsread.c (define_symbol): Update.
  723. 2003-11-15 Andrew Cagney <cagney@redhat.com>
  724. * bcache.h (deprecated_bcache): Declare.
  725. (bcache): Make returned buffer constant.
  726. * bcache.c (deprecated_bcache): New function.
  727. (bcache_data): New function.
  728. (bcache): Call bcache data.
  729. * symfile.c (add_psymbol_to_list): Use deprecated_bcache.
  730. (add_psymbol_with_dem_name_to_list): Ditto.
  731. 2003-11-15 Mark Kettenis <kettenis@gnu.org>
  732. * glibc-tdep.h (struct gdbarch): Declare opaque.
  733. (glibc_skip_solib_resolver): Adjust prototype.
  734. * glibc-tdep.c (glibc_skip_solib_resolver): Adjust.
  735. * arm-linux-tdep.c (arm_linux_skip_solib_resolver): Remove.
  736. (arm_linux_init_abi): Set skip_solib_resolver.
  737. * i386-linux-tdep.c (i386_linux_skip_solib_resolver): Remove.
  738. (i386_linux_init_abi): Set skip_solib_resolver.
  739. * config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove.
  740. (arm_linux_skip_solib_resolver): Remove prototype.
  741. * config/i386/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove.
  742. (i386_linux_skip_solib_resolver): Remove prototype.
  743. 2003-11-14 Mark Kettenis <kettenis@gnu.org>
  744. * gdbarch.sh (skip_solib_resolver): Change into a multi-arch
  745. function.
  746. * gdbarch.c, gdbarch.h: Regenerate.
  747. * infrun.c (handle_inferior_event): Call
  748. gdbarch_skip_solib_resolver instead of SKIP_SOLIB_RESOLVER.
  749. * arch-utils.c (generic_in_solib_call_trampoline): Adjust function
  750. definition.
  751. * arch-utils.h (generic_in_solib_call_trampoline): Adjust function
  752. prototype.
  753. 2003-11-14 Jeff Johnston <jjohnstn@redhat.com>
  754. * libunwind-frame.c: New file.
  755. * libunwind-frame.h: New file.
  756. * acconfig.h (HAVE_LIBUNWIND): #undef reference added.
  757. * configure.in: Add --with-libunwind option support. Define
  758. HAVE_LIBUNWIND if libunwind support selected / defaulted.
  759. Also check for libunwind.h and libunwind-ia64.h headers.
  760. * configure: Regenerated.
  761. * Makefile.in: Add support for libunwind-frame.o.
  762. * config.in: Regenerated.
  763. 2003-11-14 Jeff Johnston <jjohnstn@redhat.com>
  764. * config/ia64/nm-linux.h (NATIVE_XFER_UNWIND_TABLE): New macro to
  765. set up the ia64 linux native target method for getting the kernel
  766. unwind table.
  767. * ia64-linux-nat.c (ia64_linux_xfer_unwind_table): New function.
  768. * inftarg.c (child_xfer_partial): Enable section of code to
  769. handle TARGET_OBJECT_UNWIND_TABLE.
  770. * target.h (target_object): Add new TARGET_OBJECT_UNWIND_TABLE macro.
  771. 2003-11-14 Ian Lance Taylor <ian@wasabisystems.com>
  772. * config/arm/nbsd.mt (TM_FILE): Define.
  773. * config/arm/tm-nbsd.h: New file.
  774. 2003-11-14 Andrew Cagney <cagney@redhat.com>
  775. * Makefile.in (ppc-sysv-tdep.o): Update dependencies.
  776. * ppc-sysv-tdep.c: Include "objfiles.h".
  777. (ppc64_sysv_abi_push_dummy_call): Provide the
  778. the FN's objfile when looking for the descriptor.
  779. * ppc-linux-tdep.c (ppc_linux_init_abi): Set PPC64's
  780. "name_of_malloc" to ".malloc".
  781. 2003-11-13 Mark Kettenis <kettenis@gnu.org>
  782. * config/i386/x86-64linux.mt (TDEPFILES): Add glibc-tdep.o.
  783. 2003-11-13 David Carlton <carlton@kealia.com>
  784. * cp-namespace.c (lookup_namespace_scope): Fix typo in comment.
  785. 2003-11-13 Andrew Cagney <cagney@redhat.com>
  786. * arch-utils.h (selected_architecture_name): Declare.
  787. (selected_byte_order): Declare.
  788. * arch-utils.c (selected_byte_order): New function.
  789. (selected_architecture_name): New function.
  790. (target_architecture_auto): Make static.
  791. (set_architecture_string): Make static.
  792. (target_byte_order): Make static.
  793. (target_byte_order_auto): Make static.
  794. * gdbarch.sh (TARGET_BYTE_ORDER, TARGET_ARCHITECTURE): Delete
  795. non-multi-arch definition.
  796. (TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_AUTO): Delete.
  797. (target_byte_order, target_architecture): Delete declaration.
  798. (target_byte_order_auto, target_architecture_auto): Ditto.
  799. * gdbarch.h: Re-generate.
  800. * remote-sim.c (gdbsim_open): Use "selected_architecture_name" and
  801. "selected_byte_order".
  802. 2003-11-13 Andrew Cagney <cagney@redhat.com>
  803. * ppc-linux-tdep.c (ppc_linux_return_value): Fix parameter order.
  804. 2003-11-13 Jim Blandy <jimb@redhat.com>
  805. * cp-namespace.c: Doc fix.
  806. 2003-11-12 Michael Snyder <msnyder@redhat.com>
  807. * sh64_tdep.c: Regularize some names.
  808. (sh_sh64_register_name): Rename to sh64_register_name.
  809. (sh_sh64_breakpoint_from_pc): Rename to sh64_breakpoint_from_pc.
  810. (sh_sh64_register_byte): Rename to sh64_register_byte.
  811. (sh_sh64_build_float_register_type):
  812. Rename to sh64_build_float_register_type.
  813. (sh_sh64_register_convert_to_virtual):
  814. Rename to sh64_register_convert_to_virtual.
  815. (sh_sh64_register_convert_to_raw):
  816. Rename to sh64_register_convert_to_raw.
  817. * sh64-tdep.c (translate_insn_rn, is_media_pseudo,
  818. sh64_media_reg_base_num, sh64_compact_reg_base_num,
  819. sh64_nofp_frame_init_saved_regs, sh64_push_arguments,
  820. sh64_extract_return_value, sh64_show_media_regs,
  821. sh64_show_compact_regs, sh_sh64_register_byte, sh64_register_type,
  822. sh_sh64_register_convert_to_virtual, sh_sh64_register_convert_to_raw,
  823. sh64_pseudo_register_read, sh64_pseudo_register_write,
  824. sh64_do_pseudo_register, sh_compact_print_registers_info):
  825. Delete unused variable 'tdep'.
  826. * sh64-tdep.c: Coding standard and spelling comment fixes.
  827. (sh64_extract_return_value): Replace deprecated_store_floating
  828. with store_typed_floating.
  829. (sh_sh64_register_convert_to_raw): Replace
  830. deprecated_store_floating with store_typed_floating.
  831. (sh_sh64_register_virtual_type): Convert to sh64_register_type.
  832. (sh64_frame_chain, sh64_get_saved_pr, sh64_get_saved_register,
  833. sh64_nofp_frame_init_saved_regs, sh64_push_arguments,
  834. sh64_extract_struct_value_address, sh64_pop_frame,
  835. sh64_extract_return_value, sh64_store_return_value,
  836. sh_sh64_register_convert_to_virtual, sh64_pseudo_register_read,
  837. sh_sh64_register_convert_to_raw, sh_pseudo_register_write):
  838. Replace DEPRECATED_REGISTER_RAW_SIZE with register_size.
  839. Replace DEPRECATED_REGISTER_VIRTUAL_TYPE with register_type.
  840. (sh64_gdbarch_init): Don't set deprecated_register_bytes,
  841. deprecated_register_virtual_type, deprecated_register_raw_size,
  842. deprecated_max_register_raw_size, or
  843. deprecated_max_register_virtual_size. Instead, just set
  844. gdbarch_register_type.
  845. (sh_sh64_register_raw_size): Delete.
  846. (sh_sh64_register_virtual_size): Delete.
  847. 2003-11-12 Daniel Jacobowitz <drow@mvista.com>
  848. * dwarf2read.c (struct dwarf2_cu): New type.
  849. (dwarf2_build_psymtabs_hard, psymtab_to_symtab_1): Create a
  850. dwarf2_cu structure to pass down.
  851. (scan_partial_symbols, add_partial_symbol, add_partial_namespace)
  852. (add_partial_enumeration, locate_pdi_sibling, process_die)
  853. (read_file_scope, read_func_scope)
  854. (read_lexical_block_scope, dwarf2_get_pc_bounds)
  855. (dwarf2_add_field, dwarf2_attach_fields_to_type)
  856. (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type)
  857. (read_structure_scope, read_enumeration, read_array_type)
  858. (read_common_block, read_namespace, read_tag_pointer_type)
  859. (read_tag_ptr_to_member_type, read_tag_reference_type)
  860. (read_tag_const_type, read_tag_volatile_type, read_tag_string_type)
  861. (read_subroutine_type, read_typedef, read_base_type, read_comp_unit)
  862. (read_die_and_children, read_die_and_siblings, dwarf2_read_section)
  863. (dwarf2_read_abbrevs, dwarf2_lookup_abbrev, read_partial_die)
  864. (read_full_die. read_attribute_value, read_attribute)
  865. (read_address, dwarf_decode_line_header, dwarf_decode_lines)
  866. (var_decode_location, new_symbol, dwarf2_const_value, die_type)
  867. (die_containing_type, type_at_offset, tag_type_to_type)
  868. (read_type_die, dwarf_base_type, decode_locdesc, dwarf_decode_macros)
  869. (dwarf2_symbol_mark_computed): Accept and use a dwarf2_cu object.
  870. 2003-11-12 Daniel Jacobowitz <drow@mvista.com>
  871. PR breakpoints/1450
  872. * breakpoint.c (insert_bp_location): Fix a logic error by returning
  873. 0 after a catchpoint fails.
  874. 2003-11-11 Michael Chastain <mec.gnu@mindspring.com>
  875. * mips-tdep.c (msymbol_size): Delete.
  876. 2003-11-07 Michael Chastain <mec@shout.net>
  877. * symtab.h (struct minimal_symbol): Add size.
  878. * dbxread.c: Use it.
  879. * elfread.c: (record_minimal_symbol_and_info): Do not use info.
  880. Rename to record_minimal_symbol.
  881. (elf_symtab_read): Set MSYMBOL_SIZE explicitly.
  882. * minsyms.c (prim_record_minimal_symbol_and_info): Initialize MSYMBOL_SIZE.
  883. (install_minimal_symbols): Ditto.
  884. * objfiles.c (terminate_minimal_symbol_table): Ditto.
  885. * arm-tdep.c: Delete unused MSYMBOL_SIZE.
  886. * m68hc11-tdep.c: Ditto.
  887. * mips-tdep.c: Ditto.
  888. * sh64-tdep.c: Ditto.
  889. 2003-11-10 Michael Chastain <mec.gnu@mindspring.com>
  890. * MAINTAINERS: Change my e-mail address.
  891. 2003-11-10 Andrew Cagney <cagney@redhat.com>
  892. * gdbarch.sh (return_value): Replace "inval" and "outval" with
  893. "readbuf" and "writebuf".
  894. * ppcnbsd-tdep.c (ppcnbsd_return_value): Ditto.
  895. * d10v-tdep.c (d10v_return_value): Ditto.
  896. * ppc-tdep.h (ppc_sysv_abi_return_value): Ditto.
  897. (ppc_sysv_abi_broken_return_value): Ditto.
  898. (ppc64_sysv_abi_return_value): Ditto.
  899. * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Ditto.
  900. (ppc_sysv_abi_return_value): Ditto.
  901. (ppc_sysv_abi_broken_return_value): Ditto.
  902. (ppc64_sysv_abi_return_value): Ditto.
  903. * values.c (register_value_being_returned): Update call.
  904. * stack.c (return_command): Update call.
  905. * gdbarch.h, gdbarch.c: Re-generate.
  906. * target.h (struct target_ops): Order xfer buffer parameters "read
  907. write" not "write read".
  908. * bfd-target.c (target_bfd_xfer_partial): Update.
  909. * remote.c (remote_xfer_partial): Update.
  910. * inftarg.c (child_xfer_partial): Update.
  911. * target.c (default_xfer_partial): Update.
  912. (target_read_partial, target_write_partial): Update.
  913. (debug_to_xfer_partial): Update.
  914. * arch-utils.h, arch-utils.c: Fix typo in comment.
  915. * arch-utils.c (deprecated_select_gdbarch_hack): Delete function.
  916. (gdbarch_from_bfd): Call gdbarch_find_by_info.
  917. (set_gdbarch_from_file): Call
  918. "deprecated_current_gdbarch_select_hack".
  919. 2003-11-09 Andrew Cagney <cagney@redhat.com>
  920. * arch-utils.c (gdbarch_update_p): New function.
  921. * gdbarch.sh (gdbarch_update_p): Delete function.
  922. (find_arch_by_info, gdbarch_find_by_info): New functions.
  923. (deprecated_current_gdbarch_select_hack): New function.
  924. * gdbarch.c: Re-generate.
  925. * gdbarch.sh (clear_gdbarch_swap): Delete function.
  926. (swapout_gdbarch_swap): Delete function.
  927. (swapin_gdbarch_swap): Delete function.
  928. (init_gdbarch_swap): Delete function.
  929. (initialize_non_multiarch): Delete function.
  930. (current_gdbarch_swap_in_hack): New function.
  931. (current_gdbarch_swap_out_hack): New function.
  932. (current_gdbarch_swap_init_hack): New function.
  933. * gdbarch.c: Re-generate.
  934. * gdbarch.sh (verify_gdbarch, gdbarch_dump): Rename "gdbarch"
  935. parameter to "current_gdbarch". Add comment explaining why.
  936. (TARGET_FLOAT_FORMAT: Pass "current_gdbarch" to default_double_format.
  937. (TARGET_DOUBLE_FORMAT,TARGET_LONG_DOUBLE_FORMAT): Ditto.
  938. * gdbarch.c: Re-generate.
  939. * config/s390/s390.mh (XM_FILE, XM_CLIBS): Delete macros.
  940. * config/s390/nm-linux.h (KERNEL_U_ADDR): Define.
  941. * config/s390/xm-linux.h: Delete file.
  942. * config/m88k/xm-delta88v4.h: Delete stray.
  943. * Makefile.in (arch-utils.o): Update dependencies.
  944. * arch-utils.c: Include "osabi.h".
  945. (gdbarch_info_fill): New function.
  946. * arch-utils.h (gdbarch_info_fill): Declare.
  947. * gdbarch.sh (gdbarch_update_p): Call "gdbarch_info_fill".
  948. * gdbarch.c: Re-generate.
  949. 2003-11-09 Mark Kettenis <kettenis@gnu.org>
  950. David S. Miller <davem@redhat.com>
  951. * glibc-tdep.c, glibc-tdep.h: New files.
  952. * config/arm/linux.mt (TDEPFILES): Add glibc-tdep.o
  953. * config/i386/linux.mt (TDEPFILES): Likewise.
  954. * i386-linux-tdep.c (glibc-tdep.h): Include.
  955. (find_minsym_and_objfile, skip_hurd_resolver): Delete.
  956. (i386_linux_skip_solib_resolver): Call glibc_skip_solib_resolver.
  957. * arm-linux-tdep.c (glibc-tdep.h): Include.
  958. (find_minsym_and_objfile, skip_hurd_resolver): Delete.
  959. (arm_linux_skip_solib_resolver): Call glibc_skip_solib_resolver.
  960. * Makefile.in (ALLDEPFILES): Add glibc-tdep.c
  961. (glibc_tdep_h): Define.
  962. (glibc-tdep.o): Add dependencies.
  963. (arm-linux-tdep.o): Update dependencies.
  964. (i386-linux-tdep.o): Likewise.
  965. 2003-11-09 Andrew Cagney <cagney@redhat.com>
  966. * config/mips/irix6.mh (NAT_FILE): Set to "nm-irix5.h".
  967. * config/mips/nm-irix6.h: Delete file.
  968. * config/mips/nm-linux.h: Update copyright.
  969. (MIPS_GNULINUX_TARGET): Delete macro.
  970. * config/mips/irix6.mh (XM_FILE): Set to "xm-irix5.h".
  971. * config/mips/xm-irix6.h: Delete file.
  972. * config/mips/linux.mh (XM_FILE): Delete definition.
  973. * config/mips/xm-linux.h: Delete file.
  974. 2003-11-09 Andrew Cagney <cagney@redhat.com>
  975. * d10v-tdep.c (d10v_return_value): New function.
  976. (d10v_use_struct_convention): Delete function.
  977. (d10v_store_return_value): Delete function.
  978. (d10v_extract_struct_value_address): Delete function.
  979. (d10v_gdbarch_init): Set "return_value" instead of
  980. "extract_return_value", "store_return_value",
  981. "extract_struct_value_address", and "use_struct_convention".
  982. (RET1_REGNUM): Delete const.
  983. 2003-11-09 Mark Kettenis <kettenis@gnu.org>
  984. From David S. Miller <davem@redhat.com>:
  985. * gdbarch.sh (SKIP_SOLIB_RESOLVER): New method.
  986. * gdbarch.c, gdbarch.h: Regenerated.
  987. * arch-utils.c (generic_skip_solib_resolver): New function.
  988. * arch-utils.h (generic_skip_solib_resolver): New prototype.
  989. * infrun.c (SKIP_SOLIB_RESOLVER): Don't define.
  990. 2003-11-07 Andrew Cagney <cagney@redhat.com>
  991. * top.c (print_gdb_version): Replace STREQ with strcmp.
  992. * valops.c (value_struct_elt_for_reference): Ditto.
  993. (value_struct_elt_for_reference): Ditto.
  994. * symtab.c (gdb_mangle_name): Ditto.
  995. (find_line_symtab): Ditto.
  996. * symmisc.c (maintenance_print_symbols): Ditto.
  997. * symfile.c (symbol_file_command): Ditto.
  998. * stabsread.c (define_symbol, read_type): Ditto.
  999. (cleanup_undefined_types, scan_file_globals): Ditto.
  1000. * solib.c (solib_map_sections): Ditto.
  1001. * solib-svr4.c (bfd_lookup_symbol): Ditto.
  1002. * rs6000-tdep.c (skip_prologue): Ditto.
  1003. * p-valprint.c (pascal_value_print): Ditto.
  1004. (pascal_object_is_vtbl_ptr_type): Ditto.
  1005. * objfiles.c (in_plt_section): Ditto.
  1006. * minsyms.c (lookup_minimal_symbol): Ditto.
  1007. (compact_minimal_symbols): Ditto.
  1008. (find_solib_trampoline_target): Ditto.
  1009. * mdebugread.c (parse_type): Ditto.
  1010. * language.c (set_language_command): Ditto.
  1011. (set_type_command, set_range_command): Ditto.
  1012. * f-lang.c (add_common_block): Ditto.
  1013. (add_common_block): Ditto.
  1014. (find_first_common_named): Ditto.
  1015. (patch_all_commons_by_name): Ditto.
  1016. * elfread.c (elf_locate_sections): Ditto.
  1017. (elf_locate_sections): Ditto.
  1018. (elfstab_offset_sections): Ditto.
  1019. * dwarf2read.c (dwarf2_locate_sections): Ditto.
  1020. * dbxread.c (add_old_header_file): Ditto.
  1021. (find_corresponding_bincl_psymtab): Ditto.
  1022. (read_dbx_symtab, process_one_symbol): Ditto.
  1023. * coffread.c (patch_opaque_types): Ditto.
  1024. * cli/cli-decode.c (delete_cmd): Ditto.
  1025. * cli/cli-cmds.c (pwd_command, list_command): Ditto.
  1026. * c-typeprint.c (c_type_print_base): Ditto.
  1027. * breakpoint.c (bpstat_stop_status): Ditto.
  1028. (clear_command, breakpoint_re_set_one): Ditto.
  1029. 2003-11-07 Andrew Cagney <cagney@redhat.com>
  1030. * bcache.h: Update copyright. Add comments on bcache VS hashtab.
  1031. * bcache.c (struct bstring): Make "length" an unsigned short, add
  1032. "half_hash".
  1033. (struct bcache): Add "half_hash_error_count".
  1034. (bcache): Compute and save the "half_hash". Compare the
  1035. "half_hash" before comparing the length. Update
  1036. half_hash_error_count.
  1037. 2003-11-07 Andrew Cagney <cagney@redhat.com>
  1038. * inftarg.c (child_xfer_partial): New function
  1039. (init_child_ops): Set "to_xfer_partial".
  1040. 2003-11-07 Andrew Cagney <cagney@redhat.com>
  1041. * ppc-linux-tdep.c (ppc_linux_init_abi): When 32-bit GNU/Linux,
  1042. set "return_value" instead of "use_struct_convention".
  1043. (ppc_linux_use_struct_convention): Delete function.
  1044. (ppc_linux_return_value): New function.
  1045. * ppc-sysv-tdep.c (ppc_sysv_abi_return_value): New function.
  1046. (ppc_sysv_abi_broken_return_value): New function.
  1047. (do_ppc_sysv_return_value): Add "gdbarch" parameter.
  1048. (ppc64_sysv_abi_push_dummy_call): Add "gdbarch" parameter, drop
  1049. static.
  1050. (ppc_sysv_abi_extract_return_value): Delete function.
  1051. (ppc_sysv_abi_broken_extract_return_value): Delete function.
  1052. (ppc_sysv_abi_store_return_value): Delete function.
  1053. (ppc_sysv_abi_broken_store_return_value): Delete function.
  1054. (ppc_sysv_abi_use_struct_convention): Delete function.
  1055. (ppc64_sysv_abi_use_struct_convention): Delete function.
  1056. (ppc64_sysv_abi_extract_return_value): Delete function.
  1057. (ppc64_sysv_abi_store_return_value): Delete function.
  1058. * ppcnbsd-tdep.c (ppcnbsd_return_value): New function.
  1059. (ppcnbsd_init_abi): Set "return_value", instead of
  1060. "use_struct_convention", "extract_return_value", and
  1061. "store_return_value".
  1062. (ppcnbsd_use_struct_convention): Delete function.
  1063. * ppc-tdep.h (ppc64_sysv_abi_return_value): Declare.
  1064. (ppc_sysv_abi_return_value): Declare.
  1065. (ppc_sysv_abi_broken_return_value): Declare.
  1066. (ppc_sysv_abi_use_struct_convention): Delete.
  1067. (ppc_sysv_abi_store_return_value): Delete.
  1068. (ppc_sysv_abi_extract_return_value): Delete.
  1069. (ppc_sysv_abi_broken_store_return_value): Delete.
  1070. (ppc_sysv_abi_broken_extract_return_value): Delete.
  1071. (ppc64_sysv_abi_use_struct_convention): Delete.
  1072. (ppc64_sysv_abi_extract_return_value): Delete.
  1073. (ppc64_sysv_abi_store_return_value): Delete.
  1074. * rs6000-tdep.c (rs6000_gdbarch_init): For 32-bit and 64-bit SYSV,
  1075. set "return_value" instead of "extract_return_value",
  1076. "store_return_value", and "use_struct_convention".
  1077. 2003-11-07 Mark Kettenis <kettenis@gnu.org>
  1078. * dwarf2-frame.c (dwarf2_build_frame_info): Wrap comment.
  1079. * fbsd-proc.c (read_mapping): Use sscanf and fgets instead of
  1080. fscanf.
  1081. 2003-11-07 Mark Kettenis <kettenis@gnu.org>
  1082. * fbsd-proc.c: Fix formatting.
  1083. 2003-11-06 Kevin Buettner <kevinb@redhat.com>
  1084. * frv-tdep.c (first_pseudo_regnum, iacc0_regnum, frv_num_pseudo_regs):
  1085. Define.
  1086. (new_variant): Set name for iacc0_regnum.
  1087. (frv_register_name): Accommodate pseudo-registers.
  1088. (frv_register_type): Add case for iacc0_regnum.
  1089. (frv_pseudo_register_read, frv_pseudo_register_write): New functions.
  1090. (frv_gdbarch_init): Set number of pseudo registers. Establish
  1091. pseudo-register read/write methods.
  1092. 2003-11-06 Andrew Cagney <cagney@redhat.com>
  1093. * valops.c (destructor_name_p): Replace STREQN with strncmp.
  1094. * top.c (command_line_input): Ditto.
  1095. * objc-exp.y (yylex): Ditto.
  1096. * minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
  1097. * jv-exp.y (yylex): Ditto.
  1098. * f-exp.y (yylex): Ditto.
  1099. * event-top.c (command_line_handler): Ditto.
  1100. * environ.c (get_in_environ): Ditto.
  1101. (set_in_environ): Ditto.
  1102. * dwarfread.c (handle_producer): Ditto.
  1103. * dbxread.c (process_one_symbol): Ditto.
  1104. * c-typeprint.c (c_type_print_base): Ditto.
  1105. * c-exp.y (yylex): Ditto.
  1106. 2003-11-06 Andrew Cagney <cagney@redhat.com>
  1107. Jeff Johnston <jjohnstn@redhat.com>
  1108. * target.c (add_target): Only set "to_xfer_partial" when NULL.
  1109. (init_dummy_target): Set "to_xfer_partial".
  1110. 2003-11-06 Andrew Cagney <cagney@redhat.com>
  1111. * stack.c (return_command): Warn when STRUCT_CONVENTION, and not
  1112. REGISTER_CONVENTION.
  1113. 2003-11-06 Daniel Jacobowitz <drow@mvista.com>
  1114. * breakpoint.c (insert_bp_location, allocate_bp_location): Make
  1115. static.
  1116. 2003-11-06 Daniel Jacobowitz <drow@mvista.com>
  1117. * breakpoint.c (remove_breakpoint): Take an bp_location
  1118. instead of a breakpoint argument. Check the bp_location's type.
  1119. Fix a reversed condition for hardware breakpoints.
  1120. (insert_bp_location): Update call to remove_breakpoint.
  1121. (remove_breakpoints): Likewise. Use ALL_BP_LOCATIONS.
  1122. (remove_hw_watchpoints): Likewise.
  1123. (reattach_breakpoints): Likewise.
  1124. (detach_breakpoints): Likewise.
  1125. (delete_breakpoint): Likewise.
  1126. 2003-11-06 Daniel Jacobowitz <drow@mvista.com>
  1127. * breakpoint.c (mark_breakpoints_out): Use ALL_BP_LOCATIONS.
  1128. (beakpoint_init_inferior): Likewise.
  1129. (breakpoint_here_p): Likewise. Only check addresses for software
  1130. or hardware breakpoints.
  1131. (breakpoint_inserted_here_p): Likewise.
  1132. (breakpoint_thread_match): Likewise. Correct comment.
  1133. (bpstat_have_active_hw_watchpoints): Likewise.
  1134. (check_duplicates): Likewise.
  1135. 2003-11-06 Daniel Jacobowitz <drow@mvista.com>
  1136. * breakpoints.c (insert_bp_location): New function, broken out
  1137. from insert_breakpoints. Work on an bp_location instead of a
  1138. breakpoint.
  1139. (insert_breakpoints): Use it.
  1140. 2003-11-06 Daniel Jacobowitz <drow@mvista.com>
  1141. * breakpoint.h (struct bp_location): Add section.
  1142. (struct breakpoint): Remove section.
  1143. * breakpoint.c (insert_breakpoints, remove_breakpoint)
  1144. (breakpoint_here_p, breakpoint_inserted_here_p)
  1145. (breakpoint_thread_match, bpstat_stop_status, print_one_breakpoint)
  1146. (describe_other_breakpoints, check_duplicates, set_raw_breakpoint)
  1147. (clear_command, delete_breakpoint, breakpoint_re_set_one): Access
  1148. section through loc.
  1149. 2003-11-06 Daniel Jacobowitz <drow@mvista.com>
  1150. * breakpoint.c (read_memory_nobpt): Use ALL_BP_LOCATIONS
  1151. instead of ALL_BREAKPOINTS. Check for software breakpoints only.
  1152. 2003-11-06 Daniel Jacobowitz <drow@mvista.com>
  1153. * breakpoint.c (allocate_bp_location): Take bpt and bp_type
  1154. arguments. Initialize owner and type for the new breakpoint
  1155. location item.
  1156. (set_raw_breakpoint): Update call to allocate_bp_location.
  1157. 2003-11-06 Daniel Jacobowitz <drow@mvista.com>
  1158. * breakpoint.h (struct bp_location): Add a chain pointer.
  1159. * breakpoint.c (ALL_BP_LOCATIONS, ALL_BP_LOCATIONS_SAFE): New
  1160. macros.
  1161. (bp_location_chain): New variable.
  1162. (allocate_bp_location): New function.
  1163. (set_raw_breakpoint): Use it.
  1164. (delete_breakpoint): Remove ->loc from the bp_location_chain.
  1165. 2003-11-06 Daniel Jacobowitz <drow@mvista.com>
  1166. * breakpoint.h (enum bp_loc_type, struct bp_location): New.
  1167. (struct breakpoint): Remove address, shadow_contents, inserted,
  1168. requested_address, and duplicate. Add a struct bp_location.
  1169. * breakpoint.c (condition_command, read_memory_nobpt)
  1170. (insert_breakpoints, remove_breakpoints, remove_hw_watchpoints)
  1171. (reattach_breakpoints, update_breakpoints_after_exec)
  1172. (detach_breakpoints, remove_breakpoint, mark_breakpoints_out)
  1173. (breakpoint_init_inferior, breakpoint_here_p)
  1174. (breakpoint_inserted_here_p, deprecated_frame_in_dummy)
  1175. (breakpoint_thread_match, bpstat_stop_status)
  1176. (bpstat_have_active_hw_watchpoints, print_one_breakpoint)
  1177. (describe_other_breakpoints, check_duplicates)
  1178. (make_breakpoint_permanent, create_thread_event_breakpoint)
  1179. (disable_breakpoints_in_shlibs, re_enable_berakpoints_in_shlibs)
  1180. (set_longjmp_resume_breakpoint, mention, create_breakpoints)
  1181. (watch_command_1, print_one_exception_catchpoint)
  1182. (clear_command, breakpoint_re_set_one): Adjust member accesses to
  1183. use the breakpoint's ->loc.
  1184. (set_raw_breakpoint): Likewise. Initialize ->loc.
  1185. (delete_breakpoint): Likewise. Free ->loc.
  1186. 2003-11-05 Andrew Cagney <cagney@redhat.com>
  1187. * config/sparc/tm-sparc.h (FRAME_STRUCT_ARGS_ADDRESS): Delete
  1188. macro.
  1189. * config/m68k/tm-sun3.h (SIG_PC_FP_OFFSET): Delete macro.
  1190. * config/i386/tm-cygwin.h
  1191. (LINKER_SYMBOLS_HAVE_WIN32_STDCALL_ARG_SIZES): Delete macro.
  1192. * config/powerpc/tm-linux.h
  1193. (AT_SUBROUTINE_CALL_INSTRUCTION_TARGET): Delete macro.
  1194. (at_subroutine_call_instruction_target): Delete declaration.
  1195. * config/sparc/tm-sp64linux.h (GDB_PTRACE_REGS64): Delete macro.
  1196. * config/m68k/tm-sun3.h (SIG_SP_FP_OFFSET): Delete macro.
  1197. * config/ns32k/tm-ns32k.h (NUM_GENERAL_REGS): Delete macro.
  1198. * xcoffread.c (find_linenos): Replace "sec_ptr" and "bfd" with
  1199. "struct bfd_section" and "struct bfd".
  1200. * target.h (struct section_table): Ditto.
  1201. * rs6000-nat.c (xcoff_relocate_core): Ditto.
  1202. * solib-svr4.c (elf_locate_base): Ditto.
  1203. * pa64solib.c (dld_cache_t): Ditto.
  1204. * objfiles.h (struct obj_section): Ditto.
  1205. * objfiles.c (add_to_objfile_sections): Ditto.
  1206. * exec.c (bfdsec_to_vmap): Ditto.
  1207. (add_to_section_table): Ditto.
  1208. (build_section_table): Ditto.
  1209. * corelow.c (get_core_register_section): Ditto.
  1210. * coffread.c (find_linenos): Ditto.
  1211. * elfread.c (elf_interpreter): Delete #if0'd function.
  1212. * mips-tdep.c (mips_dump_tdep): Delete code prinint VX_NUM_REGS.
  1213. * config/sparc/tm-vxsparc.h (VX_NUM_REGS): Delete macro.
  1214. * config/mips/tm-vxmips.h (VX_NUM_REGS): Delete macro.
  1215. * config/m68k/tm-vx68.h (VX_NUM_REGS): Delete macro.
  1216. * arch-utils.h (generic_cannot_extract_struct_value_address):
  1217. Delete declaration.
  1218. * wince.c (_initialize_wince): Fix multi-line string.
  1219. * ia64-tdep.c (floatformat_valid): Convert to ISO C.
  1220. 2003-11-05 Elena Zannoni <ezannoni@redhat.com>
  1221. * top.c (execute_command): Fix broken logic for command execution
  1222. while inferior is running in async mode.
  1223. 2003-11-06 Mark Kettenis <kettenis@gnu.org>
  1224. * dwarf2-frame.c (execute_cfa_program): Mark register as
  1225. REG_SAVED_REG for DW_CFA_register opcode.
  1226. 2003-11-05 Mark Kettenis <kettenis@gnu.org>
  1227. * amd64fbsd-tdep.c (amd64fbsd_sc_reg_offset): Adjust offset of
  1228. %rsp, %rip and %eflags to match ABI-change.
  1229. 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
  1230. * ia64-tdep.c (struct gdbarch_tdep): Remove os_ident field.
  1231. (ia64_gdbarch_init): Don't bother calculating the os.
  1232. Instead use the gdbarch_info struct and look at the osabi field.
  1233. Also use gdbarch_list_lookup_by_info() to look for a
  1234. candidate gdbarch.
  1235. 2003-11-05 Kevin Buettner <kevinb@redhat.com>
  1236. * frv-tdep.c (frv_register_byte): Delete.
  1237. (frv_extract_return_value, frv_store_return_value)
  1238. (frv_extract_struct_value_address): Don't call frv_register_byte().
  1239. Convert to non-deprecated form.
  1240. (frv_gdbarch_init): Don't call set_gdbarch_deprecated_register_byte().
  1241. Convert calls to set_gdbarch_deprecated_extract_return_value(),
  1242. set_gdbarch_deprecated_store_return_value(), and
  1243. set_gdbarch_deprecated_extract_struct_value_address() into
  1244. non-deprecated forms.
  1245. 2003-11-05 Andrew Cagney <cagney@redhat.com>
  1246. * mips-tdep.c (mips_dump_tdep): Do not print
  1247. PRINT_EXTRA_FRAME_INFO.
  1248. * config/sparc/tm-sparc.h (DEPRECATED_PRINT_EXTRA_FRAME_INFO):
  1249. Rename PRINT_EXTRA_FRAME_INFO.
  1250. * mips-tdep.c (mips_print_extra_frame_info): Delete function.
  1251. * config/mips/tm-mips.h (PRINT_EXTRA_FRAME_INFO): Delete macro.
  1252. (mips_print_extra_frame_info): Delete declaration.
  1253. * stack.c (frame_info): Use DEPRECATED_PRINT_EXTRA_FRAME_INFO.
  1254. 2003-11-05 Elena Zannoni <ezannoni@redhat.com>
  1255. * coffread.c (coff_symtab_read): Remove passing of info parameter
  1256. to prim_record_minimal_symbol_and_info.
  1257. 2003-11-05 Elena Zannoni <ezannoni@redhat.com>
  1258. * coffread.c (process_coff_symbol): Delete CXUX_TARGET macro use.
  1259. (decode_base_type): Delete ifdeffed out code.
  1260. 2003-11-04 Andrew Cagney <cagney@redhat.com>
  1261. * symtab.c (find_active_alias): Delete function.
  1262. (lookup_block_symbol): Delete alias code.
  1263. * stabsread.c (resolve_live_range): Delete function.
  1264. (add_live_range): Delete function.
  1265. (resolve_symbol_reference): Delete function.
  1266. (define_symbol): Delete live range and alias code.
  1267. (scan_file_globals): Delete alias code.
  1268. * symtab.h (SYMBOL_RANGES): Delete macro.
  1269. (struct range_list): Delete structure.
  1270. (struct symbol): Delete field "ranges".
  1271. (SYMBOL_ALIASES): Delete macro.
  1272. (struct alias_list): Delete structure.
  1273. (struct symbol): Delete field "aliases".
  1274. 2003-11-04 Michael Snyder <msnyder@redhat.com>
  1275. * MAINTAINERS: Remove myself as owner of breakpoints and
  1276. of sparc/solaris.
  1277. 2003-11-03 Corinna Vinschen <vinschen@redhat.com>
  1278. * sh-tdep.c (sh_sh4_nofpu_register_name): New function.
  1279. (sh_sh4al_dsp_register_name): Ditto.
  1280. (sh4_nofpu_show_regs): Ditto.
  1281. (sh_gdbarch_init): Add cases for bfd_mach_sh4al_dsp, bfd_mach_sh4a,
  1282. bfd_mach_sh4_nofpu and bfd_mach_sh4a_nofpu.
  1283. 2003-11-03 Andrew Cagney <cagney@redhat.com>
  1284. * bcache.c: Include "gdb_assert.h".
  1285. (struct bcache): Add fields "expand_count" and
  1286. "expand_hash_count".
  1287. (expand_hash_table): Update the expand counts.
  1288. (print_bcache_statistics): Use XCALLOC, not alloca. Print stats
  1289. on object sizes and hashes.
  1290. * Makefile.in (bcache.o): Update dependencies.
  1291. 2003-11-03 Andrew Cagney <cagney@redhat.com>
  1292. * exec.c (xfer_memory): Eliminate xfer_fn.
  1293. 2003-10-31 Kevin Buettner <kevinb@redhat.com>
  1294. * frv-tdep.c (gdb_assert.h, sim-regno.h, gdb/sim-frv.h)
  1295. (opcodes/frv-desc.h): Include.
  1296. (iacc0h_regnum, iacc0l_regnum): Define.
  1297. (last_spr_regnum, frv_num_regs): Update.
  1298. (new_variant): Don't supply default names for holes in the SPRs.
  1299. Supply names for iacc0h_regnum and iacc0l_regnum.
  1300. (frv_register_type): Use symbolic constants first_fpr_regnum and
  1301. last_fpr_regnum instead of hardcoded constants 64 and 127. Use
  1302. builtin_type_int instead of builtin_type_int32.
  1303. (frv_register_sim_regno): New function.
  1304. (frv_gdbarch_init): Call set_gdbarch_register_sim_regno().
  1305. * Makefile.in (gdb_sim_frv_h): Define.
  1306. (frv-tdep.o): Update dependencies.
  1307. 2003-10-31 Andrew Cagney <cagney@redhat.com>
  1308. * avr-tdep.c (avr_frame_this_id): Do not call
  1309. deprecated_inside_entry_file.
  1310. * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto.
  1311. * m32r-tdep.c (m32r_frame_this_id): Ditto.
  1312. * d10v-tdep.c (d10v_frame_this_id): Ditto.
  1313. * arm-tdep.c (arm_prologue_this_id): Ditto.
  1314. * alpha-tdep.c (alpha_heuristic_frame_this_id): Ditto.
  1315. 2003-10-31 Jim Blandy <jimb@redhat.com>
  1316. * elfread.c (elf_symtab_read): Allocate correct number of tail
  1317. elements to sectinfo structure. (Fix from Woody LaRue.)
  1318. 2003-10-31 Andrew Cagney <cagney@redhat.com>
  1319. * stack.c (return_command): Use get_frame_type, instead of
  1320. CALL_DUMMY_HAS_COMPLETED.
  1321. * inferior.h (CALL_DUMMY_HAS_COMPLETED): Delete definition.
  1322. * config/pa/tm-hppa.h (CALL_DUMMY_HAS_COMPLETED): Delete macro.
  1323. 2003-10-31 Mark Kettenis <kettenis@gnu.org>
  1324. * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): Don't
  1325. explicitly specify size of array.
  1326. (x86_64_linux_init_abi): Use ARRAY_SIZE to initialize
  1327. TDEP->sc_num_regs.
  1328. 2003-10-31 Andrew Cagney <cagney@redhat.com>
  1329. * s390-tdep.c (s390_cannot_extract_struct_value_address): New
  1330. function.
  1331. (s390_gdbarch_init): Set extract_struct_value_address.
  1332. * arch-utils.c (generic_cannot_extract_struct_value_address):
  1333. Delete function.
  1334. * arch-utils.h (generic_cannot_extract_struct_value_address):
  1335. Delete definition.
  1336. 2003-10-31 Mark Kettenis <kettenis@gnu.org>
  1337. * i386-linux-nat.c (fetch_core_registers): Remove.
  1338. (linux_elf_core_fns): Remove.
  1339. (_initialize_i386_linux_nat): Remove.
  1340. 2003-10-31 Andrew Cagney <cagney@redhat.com>
  1341. * solib-svr4.c: Update copyright. Include "bfd-target.h" and
  1342. "exec.h".
  1343. (exec_entry_point): New function.
  1344. (enable_break): Create a "tmp_bfd_target", use that and
  1345. entry_point_address when computing the relocation offset.
  1346. (svr4_relocate_main_executable): Ditto with exec_bfd and exec_ops.
  1347. * Makefile.in (solib-svr4.o): Update dependencies.
  1348. 2003-10-31 Andrew Cagney <cagney@redhat.com>
  1349. * defs.h (XZALLOC): Define.
  1350. * target.h (struct target_ops): Add "to_data";
  1351. * bfd-target.h, bfd-target.c: New files.
  1352. * Makefile.in (SFILES): Add "bfd-target.c".
  1353. (COMMON_OBS): Add "bfd-target.o".
  1354. (bfd-target.o): Specify dependencies.
  1355. (bfd_target_h): Define.
  1356. * defs.h (XZALLOC): Define.
  1357. 2003-10-31 Andrew Cagney <cagney@redhat.com>
  1358. * rs6000-tdep.c (rs6000_gdbarch_init): For 64-bit ABI, set
  1359. adjust_breakpoint_address.
  1360. * Makefile.in (ppc-sysv-tdep.o): Add $(target_h).
  1361. * ppc-tdep.h (ppc64_sysv_abi_adjust_breakpoint_address): Declare.
  1362. * ppc-sysv-tdep.c: Include "target.h". Update copyright.
  1363. (ppc64_sysv_abi_adjust_breakpoint_address): New function.
  1364. 2003-10-31 Andrew Cagney <cagney@redhat.com>
  1365. * target.h (struct target_ops): Replace "to_read_partial" and
  1366. "to_write_partial" with "to_xfer_partial". Update comments.
  1367. * target.c (debug_to_write_partial): Delete function.
  1368. (debug_to_xfer_partial): Replace debug_to_read_partial.
  1369. (add_target, update_current_target, setup_target_debug): Set
  1370. "to_xfer_partial" instead of "to_read_partial" and
  1371. "to_write_partial".
  1372. (default_xfer_partial): Replace "default_write_partial".
  1373. (default_read_partial): Delete.
  1374. (target_read_partial, target_write_partial): Call
  1375. "to_xfer_partial".
  1376. * remote.c (init_remote_ops): Set "to_xfer_partial".
  1377. (init_remote_async_ops): Ditto.
  1378. (remote_xfer_partial): Replace "remote_read_partial".
  1379. 2003-10-31 Mark Kettenis <kettenis@gnu.org>
  1380. * i386-tdep.c (i386_supply_fpregset): Support floating-point
  1381. registers in `fxsave' format.
  1382. (i386_regset_from_core_section): Deal with ".reg-xfp" sections.
  1383. 2003-10-30 Mark Kettenis <kettenis@gnu.org>
  1384. * i386-linux-tdep.c (i386_linux_gregset_reg_offset): New variable.
  1385. (i386_linux_init_abi): Initialize TDEP->gregset_reg_offset,
  1386. TDEP->gregset_num_regs and tdep->sizeof_gregset.
  1387. * i386-linux-tdep.c (i386_linux_sc_reg_offset): Don't explicitly
  1388. specify size of array.
  1389. (i386_linux_init_abi): Remove initialization of
  1390. TDEP->num_xmm_regs. Use I386_LINUX_NUM_REGS for number of
  1391. registers. Use ARRAY_SIZE to initialize TDEP->sc_num_regs.
  1392. * config/i386/fbsd64.mt (TDEPFILES): Add corelow.o.
  1393. * config/i386/fbsd64.mh (NATDEPFILES): Remove corelow.o and
  1394. core-regset.o.
  1395. * fbsd-proc.c (fbsd_make_corefile_notes): Put a "FreeBSD" label in
  1396. the ELF header.
  1397. 2003-10-29 Mark Kettenis <kettenis@gnu.org>
  1398. * config/i386/fbsd.mt (TDEPFILES): Add corelow.o.
  1399. * config/i386/fbsd.mh (NATDEPFILES): Remove corelow.o and
  1400. core-regset.o.
  1401. * fbsd-proc.c (fbsd_make_corefile_notes): Remove unecessary casts.
  1402. * corelow.c: Include "arch-utils.h", "regset.h" and
  1403. "gdb_assert.h".
  1404. (core_gdbarch): New variable.
  1405. (sniff_core_bfd): Don't sniff if we have support for register sets
  1406. in CORE_GDBARCH.
  1407. (core_close): Reset CORE_GDBARCH.
  1408. (core_open): Initialize CORE_GDBARCH.
  1409. (get_core_register_section): Use register sets if they are
  1410. supported by CORE_GDBARCH.
  1411. (get_core_registers): Don't print error message if we have support
  1412. for register sets in CORE_GDBARCH.
  1413. 2003-10-29 Andrew Cagney <cagney@redhat.com>
  1414. * ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Instead of the
  1415. default PPC machine, register 32-bit and 64-bit PPC, and rs6k.
  1416. 2003-10-29 Mark Kettenis <kettenis@gnu.org>
  1417. * objfiles.h (clear_objfile_data): New prototype.
  1418. * objfiles.c (clear_objfile_data): New function.
  1419. * symfile.c (reread_symbols): Clear per-objfile data.
  1420. 2003-10-28 Jeff Johnston <jjohnstn@redhat.com>
  1421. * symfile.c (symbol_file_add_with_addrs_or_offsets): Switch to use
  1422. printf_unfiltered instead of printf_filtered for output messages.
  1423. (add_symbol_file_command): Ditto.
  1424. (reread_symbols): Ditto.
  1425. (overlay_auto_command): Ditto.
  1426. (overlay_manual_command): Ditto.
  1427. (overlay_off_command): Ditto.
  1428. 2003-10-27 Mark Kettenis <kettenis@gnu.org>
  1429. * arch-utils.c (deprecated_select_gdbarch_hack): New function.
  1430. (gdbarch_from_bfd): New function.
  1431. (set_gdbarch_from_file): Re-implement using gdbarch_from_bfd and
  1432. deprecated_select_gdbarch_hack.
  1433. * arch-utils.h (gdbarch_from_bfd): New prototype.
  1434. 2003-10-27 Andrew Cagney <cagney@redhat.com>
  1435. * osabi.c (gdbarch_init_osabi): Use info.bfd_arch_info instead of
  1436. arch_info. Use warning instead of fprintf_filtered. Do not use
  1437. deprecated bfd_printable_arch_mach.
  1438. 2003-10-26 Kevin Buettner <kevinb@redhat.com>
  1439. * frv-tdep.c (frv_register_raw_size, frv_register_virtual_size):
  1440. Delete.
  1441. (frv_register_type): Rename from frv_register_virtual_type. Add
  1442. ``struct gdbarch *'' parameter.
  1443. (frv_gdbarch_init): Delete calls to the following functions:
  1444. set_gdbarch_deprecated_size(),
  1445. set_gdbarch_deprecated_register_bytes(),
  1446. set_gdbarch_deprecated_register_raw_size(),
  1447. set_gdbarch_deprecated_max_register_raw_size(),
  1448. set_gdbarch_deprecated_register_virtual_size(),
  1449. set_gdbarch_deprecated_max_register_virtual_size(),
  1450. set_gdbarch_deprecated_register_virtual_size(),
  1451. set_gdbarch_deprecated_register_virtual_type().
  1452. Add call to function set_gdbarch_register_type().
  1453. 2003-10-26 Mark Kettenis <kettenis@gnu.org>
  1454. * i386-tdep.h (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM,
  1455. FDOFF_REGNUM): Remove defines.
  1456. * win32-nat.c (do_child_fetch_inferior_registers): Include
  1457. "i387-tdep.h".
  1458. (do_child_fetch_inferior_registers): Use I387_FISEG_REGNUM and
  1459. I387_FOP_REGNUM instead of FCS_REGNUM and FOP_REGNUM. Define and
  1460. undefine I387_ST0_REGNUM.
  1461. * i386-tdep.h (FPU_REG_RAW_SIZE): Remove define.
  1462. * x86-64-tdep.c (x86_64_store_return_value): Use
  1463. I386_MAX_REGISTER_SIZE instead of FPU_REG_RAW_SIZE.
  1464. Change register numbers to enumartion values.
  1465. * i386-tdep.h (enum i386_regnum): New.
  1466. (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
  1467. I386_EBP_REGNUM, I386_IP_REGNUM, I386_EFLAGS_REGNUM,
  1468. I386_ST0_REGNUM): Remove defines.
  1469. * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM,
  1470. I386_EDI_REGNUM): Remove defines.
  1471. 2003-10-24 Andrew Cagney <cagney@redhat.com>
  1472. * target.c: Include "gdbcore.h".
  1473. (get_target_memory, get_target_memory_unsigned): New functions.
  1474. * target.h (get_target_memory, get_target_memory_unsigned): Declare.
  1475. * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr):
  1476. Use get_target_memory_unsigned.
  1477. * Makefile.in (target.o): Update dependencies.
  1478. 2003-10-24 Andrew Cagney <cagney@redhat.com>
  1479. * osabi.c (gdbarch_init_osabi): Fix typos, and "fortunatly"[sic].
  1480. * PROBLEMS, arch-utils.c, cli-out.c, command.h: Ditto.
  1481. * complaints.c, cris-tdep.c, disasm.c, dwarf2-frame.c: Ditto.
  1482. * frame.c, frame.h, infcall.c, infcmd.c, infrun.c: Ditto.
  1483. * kod.c, mips-tdep.c, regcache.c, regcache.h, remote.c: Ditto.
  1484. * osabi.c (gdbarch_init_osabi): Add comment on 32-bit vs 64-bit.
  1485. (can_run_code_for): Use the OO term "singleton".
  1486. 2003-10-23 Andrew Cagney <cagney@redhat.com>
  1487. * Makefile.in (stack.o): Add $(regcache_h).
  1488. * stack.c: Include "regcache.h"
  1489. (return_command): Rewrite. Use get_frame_id and
  1490. get_selected_frame. Eliminate "deprecated_selected_frame". Warn
  1491. about unhandled return-values.
  1492. * value.h (set_return_value): Delete declaration.
  1493. * values.c (set_return_value): Delete function.
  1494. 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
  1495. * ia64-tdep.c: (ia64_frame_cache): Add new prev_cfm field.
  1496. (pseudo_regs): Add comment regarding register stack registers.
  1497. (ia64_alloc_frame_cache): Initialize new prev_cfm field to 0.
  1498. (floatformat_valid): New static routine.
  1499. (floatformat_ia64_ext): Add name field and set up is_valid routine
  1500. to floatformat_valid().
  1501. (examine_prologue): For the previous cfm, use
  1502. frame_unwind_register()
  1503. if the cfm is not stored in a register-stack register. Save the
  1504. previous cfm value in the prev_cfm field. Add debug output.
  1505. (ia64_frame_this_id): Use frame_id_build_special() to also register
  1506. the bsp. Add debug output.
  1507. (ia64_sigtramp_frame_this_id): Ditto.
  1508. (ia64_frame_prev_register): Look at cache saved_regs for a few more
  1509. registers and also add some checks for framelessness before accepting
  1510. current register values for fields such as return address. For cfm,
  1511. use the cached prev_cfm field if available. Add comment to explain
  1512. PSR logic. Add debug output.
  1513. (ia64_sigtramp_frame_init_saved_regs): Save the bsp and sp addresses
  1514. as part of initialization.
  1515. (ia64_sigtramp_frame_cache): Hard-code stack size as it can't be
  1516. calculated. Cache the bsp and cfm values.
  1517. (ia64_sigtramp_frame_prev_register): Add logic to this routine out
  1518. instead of using ia64_frame_prev_register() which doesn't expect most
  1519. registers to be saved. The saved values for bsp and sp
  1520. can be taken from the cache. Add debug output.
  1521. (ia64_push_dummy_call): Use frame_id_build_special() to also register
  1522. the bsp.
  1523. 2003-10-23 Jim Blandy <jimb@redhat.com>
  1524. * osabi.c (gdbarch_init_osabi): A handler is okay if it's for an
  1525. architecture the current arch can run code for --- but not if it's
  1526. a superset.
  1527. (can_run_code_for): New function.
  1528. 2003-10-22 James E Wilson <wilson@specifixinc.com>
  1529. * MAINTAINERS: Move myself from paper trail section back to write
  1530. after approval section.
  1531. 2003-10-22 Andrew Cagney <cagney@redhat.com>
  1532. * exec.h: New file.
  1533. * win32-nat.c: Include "exec.h".
  1534. * solib.c: Include "exec.h".
  1535. * target.h (build_section_table): Delete declaration.
  1536. * somsolib.c: Include "exec.h".
  1537. (exec_ops): Delete extern declaration.
  1538. * rs6000-nat.c: Update copyright. Include "exec.h".
  1539. (exec_ops): Delete extern declaration.
  1540. * pa64solib.c: Update copyright. Include "exec.h".
  1541. (exec_ops): Delete extern declaration.
  1542. * exec.c: Update copyright. Include "exec.h".
  1543. * corelow.c: Update dependencies. Include "exec.h".
  1544. * Makefile.in (exec_h): Define.
  1545. (exec.o, somsolib.o): Update dependencies.
  1546. (pa64solib.o, corelow.o): Update dependencies.
  1547. 2003-10-22 Andrew Cagney <cagney@redhat.com>
  1548. * target.c: Include "gdb_assert.h" (target_read): Call
  1549. "target_read_partial", not "target_write_partial".
  1550. (default_read_partial, default_write_partial): New function.
  1551. (target_read_partial, target_write_partial): Simplify, assume that
  1552. there is always a read/write method.
  1553. (update_current_target, add_target): Always set "to_read_partial"
  1554. and "to_write_partial".
  1555. (target_write, target_read): Fail on a zero byte transfer.
  1556. * Makefile.in (target.o): Update dependencies.
  1557. * target.h: Update copyright date.
  1558. (target_object): Fix typo.
  1559. 2003-10-22 Andrew Cagney <cagney@redhat.com>
  1560. * gdbarch.sh (convert_from_func_ptr_addr): Convert to a pure
  1561. multi-arch method, add "targ" parameter.
  1562. (struct target_ops): Declare.
  1563. * gdbarch.h, gdbarch.c: Re-generate.
  1564. * Makefile.in (c-valprint.o): Update dependencies.
  1565. * arch-utils.h: Update copyright.
  1566. (convert_from_func_ptr_addr_identity): Declare.
  1567. * arch-utils.c (convert_from_func_ptr_addr_identity): New function.
  1568. * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
  1569. * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Upate.
  1570. * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Update.
  1571. * infcall.c (find_function_addr, call_function_by_hand): Update.
  1572. * c-valprint.c: Include "target.h".
  1573. (print_function_pointer_address): Update.
  1574. 2003-10-22 Andrew Cagney <cagney@redhat.com>
  1575. * target.c (target_close): New function.
  1576. (debug_to_close): Use "target_close".
  1577. (push_target): Use "target_close".
  1578. (unpush_target): Use "target_close".
  1579. (pop_target): Use "target_close".
  1580. * target.h (struct target_ops): Add "to_xclose".
  1581. (target_open): Delete macro. Move comment to "to_open".
  1582. (target_close): Replace macro with function that takes a target.
  1583. * top.c (quit_target): Pass "current_target" to "target_close".
  1584. 2003-10-21 Elena Zannoni <ezannoni@redhat.com>
  1585. * minsyms.c (lookup_minimal_symbol_text): Remove unused parameter.
  1586. Remove SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code.
  1587. * symtab.h (lookup_minimal_symbol_text): Update.
  1588. * breakpoint.c (create_overlay_event_breakpoint,
  1589. create_longjmp_breakpoint): Update callers.
  1590. * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Update caller.
  1591. * symtab.c (find_pc_sect_line): Ditto.
  1592. 2003-10-21 Andrew Cagney <cagney@redhat.com>
  1593. * target.c (errno): Delete extern declaration.
  1594. 2003-10-20 Jeff Johnston <jjohnstn@redhat.com>
  1595. * ia64-tdep.c: Change all occurrences of
  1596. DEPRECATED_REGISTER_RAW_SIZE to use register_size() instead.
  1597. (ia64_frame_prev_register): Minor whitespace change.
  1598. 2003-10-20 Michael Chastain <mec@shout.net>
  1599. * config/djgpp/fnchange.lst: Add lines for:
  1600. sim/testsuite/sim/frv/interrupts/Ipipe-fr400.cgs,
  1601. sim/testsuite/sim/frv/interrupts/Ipipe-fr500.cgs,
  1602. sim/testsuite/sim/frv/interrupts/badalign-fr550.cgs,
  1603. sim/testsuite/sim/frv/interrupts/compound-fr550.cgs,
  1604. sim/testsuite/sim/frv/interrupts/data_store_error-fr550.cgs,
  1605. sim/testsuite/sim/frv/interrupts/fp_exception-fr550.cgs,
  1606. sim/testsuite/sim/frv/interrupts/insn_access_error-fr550.cgs.
  1607. 2003-10-20 Andrew Cagney <cagney@redhat.com>
  1608. * values.c (register_value_being_returned): Update comments. Use
  1609. "gdbarch_return_value" when available.
  1610. (using_struct_return): Ditto.
  1611. (set_return_value): Ditto. Use "gdbarch_return_value" when
  1612. available.. Print a warning, and not an error, when an unhandled
  1613. return type is encountered.
  1614. * infcmd.c: Include "gdb_assert.h".
  1615. (print_return_value): When gdbarch_return_value_p, and using
  1616. struct return, assume that the value is not available.
  1617. * defs.h (return_value_convention): Define.
  1618. * gdbarch.sh (gdbarch_return_value): New predicate method.
  1619. * gdbarch.h, gdbarch.c: Re-generate
  1620. * ppc-sysv-tdep.c (return_value_convention): Delete definition.
  1621. 2003-10-20 Andrew Cagney <cagney@redhat.com>
  1622. * symtab.c: Replace "struct sec" with "struct bfd_section".
  1623. * objfiles.c, linespec.c, blockframe.c, block.c: Ditto.
  1624. 2003-10-19 Michael Chastain <mec@shout.net>
  1625. * config/djgpp/fnchange.lst: Add lines for:
  1626. gdb/amd64nbsd-nat.c, gdb/amd64nbsd-tdep.c,
  1627. gdb/i386fbsd-nat.c, gdb/i386fbsd-tdep.c,
  1628. gdb/sparc64fbsd-nat.c, gdb/sparc64bsd-tdep.c.
  1629. 2003-10-19 Mark Kettenis <kettenis@gnu.org>
  1630. * amd64fbsd-nat.c (fetch_inferior_registers,
  1631. store_inferior_registers): Remove functions.
  1632. * config/i386/fbsd64.mh (NATDEPFILES): Add amd64bsd-nat.o.
  1633. 2003-10-18 Mark Kettenis <kettenis@gnu.org>
  1634. Add NetBSD/amd64 native configuration:
  1635. * x86-64-tdep.h (amd64nbsd_r_reg_offset): Add extern declarations.
  1636. * amd64nbsd-tdep.c: New file.
  1637. * amd64nbsd-nat.c: New file.
  1638. * amd64bsd-nat.c: New file.
  1639. * config/i386/nbsd64.mh: New file.
  1640. * config/i386/nbsd64.mt: New file.
  1641. * configure.host: Add x86_64-*-netbsd*.
  1642. * configure.tgt: Add x86_64-*-netbsd*.
  1643. * Makefile.in (amd64bsd-nat.o, amd64nbsd-nat.o, amd64nbsd-tdep.o):
  1644. New targets.
  1645. * NEWS (New native configurations): Mention NetBSD/amd64.
  1646. 2003-10-17 Michael Chastain <mec@shout.net>
  1647. * config/djgpp/fnchange.lst: Remove dead lines for:
  1648. bfd/elf32-i386qnx.c, bfd/elf32-ppcqnx.c, bfd/elf32-shqnx.c,
  1649. bfd/elf32-sh-lin.c, bfd/elf32-sh-nbsd.c, bfd/elf32-sh64-nbsd.c,
  1650. bfd/elf64-alpha-fbsd.c, bfd/elf64-sh64-nbsd.c,
  1651. gdb/alphanbsd-nat.c, gdb/config/i386/tm-i386mk.h,
  1652. gdb/config/i386/tm-i386v42mp.h, gdb/config/i386/xm-i386mach.h,
  1653. gdb/config/i386/xm-i386mk.h, gdb/config/i386/xm-i386v32.h,
  1654. gdb/config/m68k/apollo68v.mh, gdb/config/m68k/nm-apollo68v.h,
  1655. gdb/config/m68k/xm-apollo68v.h, gdb/config/m88k/tm-delta88v4.h,
  1656. gdb/config/mips/tm-bigmips64.h, gdb/config/mips/tm-embed64.h,
  1657. gdb/config/mips/tm-embedl.h, gdb/config/mips/tm-embedl64.h,
  1658. gdb/config/mips/tm-vr4300el.h, gdb/config/mips/tm-vr4xxxel.h,
  1659. gdb/config/mips/tm-vr5000el.h, gdb/config/sparc/tm-sparclet.h,
  1660. gdb/config/sparc/tm-sparclite.h,
  1661. gdb/gdbtk/generic/ChangeLog-2001,
  1662. gdb/gdbtk/library/ChangeLog-2001, gdb/remote-adapt.c,
  1663. gdb/remote-eb.c, gdb/remote-mm.c, gdb/remote-nrom.c,
  1664. gdb/remote-udi.c, gdb/remote-vx29k.c, gdb/remote-vx960.c,
  1665. gdb/sparclet-rom.c, gdb/sparclet-stub.c,
  1666. gdb/testsuite/gdb.mi/mi0-var-block.exp,
  1667. gdb/testsuite/gdb.mi/mi0-var-child.exp,
  1668. gdb/testsuite/gdb.mi/mi0-var-cmd.exp,
  1669. gdb/testsuite/gdb.mi/mi0-var-display.exp,
  1670. itcl/iwidgets3.0.0/demos/extfileselectionbox,
  1671. itcl/iwidgets3.0.0/demos/extfileselectiondialog,
  1672. itcl/iwidgets3.0.0/demos/fileselectionbox,
  1673. itcl/iwidgets3.0.0/demos/fileselectiondialog,
  1674. itcl/iwidgets3.0.0/demos/html/buttonbox.n.html,
  1675. itcl/iwidgets3.0.0/demos/html/canvasprintbox.n.html,
  1676. itcl/iwidgets3.0.0/demos/html/canvasprintdialog.n.html,
  1677. itcl/iwidgets3.0.0/demos/html/combobox.n.html,
  1678. itcl/iwidgets3.0.0/demos/html/dialog.n.html,
  1679. itcl/iwidgets3.0.0/demos/html/dialogshell.n.html,
  1680. itcl/iwidgets3.0.0/demos/html/entryfield.n.html,
  1681. itcl/iwidgets3.0.0/demos/html/feedback.n.html,
  1682. itcl/iwidgets3.0.0/demos/html/fileselectionbox.n.html,
  1683. itcl/iwidgets3.0.0/demos/html/fileselectiondialog.n.html,
  1684. itcl/iwidgets3.0.0/demos/html/hyperhelp.n.html,
  1685. itcl/iwidgets3.0.0/demos/html/iwidgets2.2.0UserCmds.html,
  1686. itcl/iwidgets3.0.0/demos/html/labeledwidget.n.html,
  1687. itcl/iwidgets3.0.0/demos/html/menubar.n.html,
  1688. itcl/iwidgets3.0.0/demos/html/messagedialog.n.html,
  1689. itcl/iwidgets3.0.0/demos/html/notebook.n.html,
  1690. itcl/iwidgets3.0.0/demos/html/optionmenu.n.html,
  1691. itcl/iwidgets3.0.0/demos/html/panedwindow.n.html,
  1692. itcl/iwidgets3.0.0/demos/html/promptdialog.n.html,
  1693. itcl/iwidgets3.0.0/demos/html/pushbutton.n.html,
  1694. itcl/iwidgets3.0.0/demos/html/radiobox.n.html,
  1695. itcl/iwidgets3.0.0/demos/html/scrolledcanvas.n.html,
  1696. itcl/iwidgets3.0.0/demos/html/scrolledframe.n.html,
  1697. itcl/iwidgets3.0.0/demos/html/scrolledhtml.n.html,
  1698. itcl/iwidgets3.0.0/demos/html/scrolledlistbox.n.html,
  1699. itcl/iwidgets3.0.0/demos/html/scrolledtext.n.html,
  1700. itcl/iwidgets3.0.0/demos/html/selectionbox.n.html,
  1701. itcl/iwidgets3.0.0/demos/html/selectiondialog.n.html,
  1702. itcl/iwidgets3.0.0/demos/html/shell.n.html,
  1703. itcl/iwidgets3.0.0/demos/html/spindate.n.html,
  1704. itcl/iwidgets3.0.0/demos/html/spinint.n.html,
  1705. itcl/iwidgets3.0.0/demos/html/spinner.n.html,
  1706. itcl/iwidgets3.0.0/demos/html/spintime.n.html,
  1707. itcl/iwidgets3.0.0/demos/html/tabnotebook.n.html,
  1708. itcl/iwidgets3.0.0/demos/html/tabset.n.html,
  1709. itcl/iwidgets3.0.0/demos/html/toolbar.n.html,
  1710. itcl/iwidgets3.0.0/demos/scrolledcanvas,
  1711. itcl/iwidgets3.0.0/demos/scrolledframe,
  1712. itcl/iwidgets3.0.0/demos/scrolledhtml,
  1713. itcl/iwidgets3.0.0/demos/scrolledlistbox,
  1714. itcl/iwidgets3.0.0/demos/scrolledtext,
  1715. itcl/iwidgets3.0.0/demos/selectionbox,
  1716. itcl/iwidgets3.0.0/demos/selectiondialog,
  1717. itcl/iwidgets3.0.0/doc/canvasprintbox.n,
  1718. itcl/iwidgets3.0.0/doc/canvasprintdialog.n,
  1719. itcl/iwidgets3.0.0/doc/extfileselectionbox.n,
  1720. itcl/iwidgets3.0.0/doc/extfileselectiondialog.n,
  1721. itcl/iwidgets3.0.0/doc/fileselectionbox.n,
  1722. itcl/iwidgets3.0.0/doc/fileselectiondialog.n,
  1723. itcl/iwidgets3.0.0/doc/scopedobject.n.backup,
  1724. itcl/iwidgets3.0.0/doc/scrolledcanvas.n,
  1725. itcl/iwidgets3.0.0/doc/scrolledframe.n,
  1726. itcl/iwidgets3.0.0/doc/scrolledhtml.n,
  1727. itcl/iwidgets3.0.0/doc/scrolledlistbox.n,
  1728. itcl/iwidgets3.0.0/doc/scrolledtext.n,
  1729. itcl/iwidgets3.0.0/doc/selectionbox.n,
  1730. itcl/iwidgets3.0.0/doc/selectiondialog.n,
  1731. itcl/iwidgets3.0.0/generic/canvasprintbox.itk,
  1732. itcl/iwidgets3.0.0/generic/canvasprintdialog.itk,
  1733. itcl/iwidgets3.0.0/generic/extfileselectionbox.itk,
  1734. itcl/iwidgets3.0.0/generic/extfileselectiondialog.itk,
  1735. itcl/iwidgets3.0.0/generic/fileselectionbox.itk,
  1736. itcl/iwidgets3.0.0/generic/fileselectiondialog.itk,
  1737. itcl/iwidgets3.0.0/generic/scrolledcanvas.itk,
  1738. itcl/iwidgets3.0.0/generic/scrolledframe.itk,
  1739. itcl/iwidgets3.0.0/generic/scrolledhtml.itk,
  1740. itcl/iwidgets3.0.0/generic/scrolledlistbox.itk,
  1741. itcl/iwidgets3.0.0/generic/scrolledtext.itk,
  1742. itcl/iwidgets3.0.0/generic/scrolledwidget.itk,
  1743. itcl/iwidgets3.0.0/generic/selectionbox.itk,
  1744. itcl/iwidgets3.0.0/generic/selectiondialog.itk,
  1745. itcl/iwidgets3.0.0/tests/canvasprintbox.test,
  1746. itcl/iwidgets3.0.0/tests/canvasprintdialog.test,
  1747. itcl/iwidgets3.0.0/tests/extfileselectionbox.test,
  1748. itcl/iwidgets3.0.0/tests/extfileselectiondialog.test,
  1749. itcl/iwidgets3.0.0/tests/fileselectionbox.test,
  1750. itcl/iwidgets3.0.0/tests/fileselectiondialog.test,
  1751. itcl/iwidgets3.0.0/tests/scrolledcanvas.test,
  1752. itcl/iwidgets3.0.0/tests/scrolledframe.test,
  1753. itcl/iwidgets3.0.0/tests/scrolledhtml.test,
  1754. itcl/iwidgets3.0.0/tests/scrolledlistbox.test,
  1755. itcl/iwidgets3.0.0/tests/scrolledtext.test,
  1756. itcl/iwidgets3.0.0/tests/selectionbox.test,
  1757. itcl/iwidgets3.0.0/tests/selectiondialog.test,
  1758. itcl/iwidgets3.0.0/unix/iwidgets.tcl.in,
  1759. itcl/iwidgets3.0.0/unix/pkgIndex.tcl.in,
  1760. tix/docs/Release-4.1.0.html, tix/docs/Release-4.1.0.txt,
  1761. tix/docs/Release-4.1a2.html, tix/docs/Release-4.1a2.txt,
  1762. tix/docs/Release-4.1a3.html, tix/docs/Release-4.1a3.txt,
  1763. tix/docs/Release-4.1b1.html, tix/docs/Release-4.1b1.txt,
  1764. tix/docs/Release-4.1b2.html, tix/docs/Release-4.1b2.txt,
  1765. tix/tixConfig.sh.in, tix/unix/tk4.2/pkgIndex.tcl.in,
  1766. tix/unix/tk8.0/pkgIndex.tcl.in, tix/unix/tk8.0/pkgIndex.tcl.in,
  1767. tix/unix/tk8.1/pkgIndex.tcl.in, tix/win/tkConsole41.c,
  1768. tix/win/tkConsole42.c, tix/win/tkConsole80a1.c,
  1769. tix/win/tkConsole80b1.c, tix/win/tkConsole81.c, tk/doc/tk4.0.ps,
  1770. tk/mac/tkMacProjects.sit.hqx.
  1771. 2003-10-17 Andrew Cagney <cagney@redhat.com>
  1772. * target.c (target_section_by_addr): New function.
  1773. (do_xfer_memory): Use "target_section_by_addr".
  1774. * target.h (target_section_by_addr): Declare.
  1775. * target.h (struct target_ops): Add "to_read_partial" and
  1776. "to_write_partial", delete "to_query".
  1777. (target_read_partial, target_write_partial): Declare.
  1778. (target_read, target_write): Declare.
  1779. (target_query): Delete macro.
  1780. * target.c (target_read_partial): New function.
  1781. (target_write_partial, target_read, target_write): New function.
  1782. (update_current_target): Delete inheritance of "to_query". Add
  1783. comments about "to_read_partial" and "to_write_partial".
  1784. (debug_to_partial_read, debug_to_partial_write): New functions.
  1785. (debug_to_query): Delete function.
  1786. (setup_target_debug): Set "to_read_partial" and "to_write_partial"
  1787. instead of "to_query".
  1788. * remote.c (remote_read_partial): Replace "remote_query".
  1789. (init_remote_ops): Set "to_read_partial" instead of "to_query".
  1790. (init_remote_async_ops): Ditto.
  1791. * kod.c (gdb_kod_query): Make "bufsize" a LONGEST. Use
  1792. "target_read_partial" instead of "target_query".
  1793. * avr-tdep.c (avr_io_reg_read_command): Make "bufsize" a LONGEST.
  1794. Use "target_read_partial" instead of "target_query".
  1795. 2003-10-17 Jeff Johnston <jjohnstn@redhat.com>
  1796. * frame.h (struct frame_id): Add new field: special_addr.
  1797. (frame_id_build_special): New prototype.
  1798. * frame.c (frame_id_build_special): New function.
  1799. (frame_id_build): Change to call frame_id_build_special().
  1800. (frame_id_eq): Change to also test special_addr field.
  1801. (frame_id_inner): Update comment.
  1802. 2003-10-17 Andrew Cagney <cagney@redhat.com>
  1803. * target.c (update_current_target): Perform the target cleanup.
  1804. Put the target stack beneath the squashed "current_target".
  1805. (add_target): Delete disabled call to "cleanup_target".
  1806. (cleanup_target): Delete function.
  1807. (push_target, unpush_target): Do not call "cleanup_target".
  1808. 2003-10-17 Andrew Cagney <cagney@redhat.com>
  1809. * target.c (target_stack): Change to a static target_ops.
  1810. (update_current_target): Walk the "struct target_ops" stack.
  1811. (pop_target, do_xfer_memory, target_info): Ditto.
  1812. (find_target_beneath): Ditto.
  1813. (push_target): Rewrite to use the "struct target_ops" stack.
  1814. (unpush_target): Ditto.
  1815. * target.h (struct target_stack_item): Delete definition.
  1816. (target_stack): Delete declaration.
  1817. (struct target_ops): Add field "beneath".
  1818. 2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
  1819. * config/h8300/tm-h8300.h (h8300_normal_mode): Add external
  1820. declaration.
  1821. * h8300-tdep.c (BINWORD): Update BINWORD for h8300_normal_mode
  1822. (h8300_examine_prologue): Use h8300_normal_mode flag
  1823. (h8300_gdbarch_init): Set architecture info for normal mode
  1824. 2003-10-16 Daniel Jacobowitz <drow@mvista.com>
  1825. * remote.c (remote_protocol_vcont): New variable.
  1826. (set_remote_protocol_vcont_packet_cmd): New function.
  1827. (show_remote_protocol_vcont_packet_cmd): New function.
  1828. (init_all_packet_configs): Handle remote_protocol_vcont.
  1829. (remote_vcont_probe): New function.
  1830. (remote_vcont_resume): New function.
  1831. (remote_resume): Use it.
  1832. (remote_async_resume): Call remote_resume.
  1833. (_initialize_remote): Add verbose-resume packet commands.
  1834. 2003-10-16 Andrew Cagney <cagney@redhat.com>
  1835. * infrun.c (handle_inferior_event): Add comment about
  1836. "frame_id_inner" being too weak.
  1837. 2003-10-16 Elena Zannoni <ezannoni@redhat.com>
  1838. * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
  1839. second parameter, which is always null. Remove
  1840. SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code.
  1841. * symtab.h (lookup_minimal_symbol_solib_trampoline): Update
  1842. accordingly.
  1843. * somsolib.c (som_solib_create_inferior_hook,
  1844. som_solib_desire_dynamic_linker_symbols): Update callers.
  1845. * hppa-tdep.c (hppa_fix_call_dummy): Ditto.
  1846. 2003-10-16 Kei Sakamoto <sakamoto.kei@renesas.com>
  1847. * remote-m32r-sdi.c : New file, interface to m32r on-chip
  1848. debug interface, SDI (Scalable Debug Interface).
  1849. * NEWS: Mention m32r SDI protocol was supported.
  1850. * Makefile.in (remote-m32r-sdi.o): Add build rule.
  1851. * config/m32r/m32r.mt (TDEPFILES) : Add remote-m32r-sdi.o.
  1852. 2003-10-15 Jeff Johnston <jjohnstn@redhat.com>
  1853. * ia64-linux-tdep.c: Include gdbcore.h.
  1854. (IA64_LINUX_SIGCONTEXT_OFFSET): Magic constant removed.
  1855. (ia64_linux_sigcontext_register_addr): Find the address of the
  1856. sigcontext area stored in the sigframe instead of using
  1857. a magic offset constant.
  1858. 2003-10-15 Andrew Cagney <cagney@redhat.com>
  1859. * remote.c (remote_search): Delete function.
  1860. * target.h (target_search): Delete disabled macro.
  1861. (struct target_ops): Delete disabled field "to_search".
  1862. 2003-10-14 Kevin Buettner <kevinb@redhat.com>
  1863. * frv-tdep.c (frv_frame_this_id): Call inside_entry_func()
  1864. instead of deprecated_inside_entry_file().
  1865. 2003-10-14 Corinna Vinschen <vinschen@redhat.com>
  1866. * sh-tdep.c: Fix copy/paste hangover in comment.
  1867. (sh_push_dummy_call_fpu): Accomodate double passing in little endian
  1868. mode.
  1869. (sh3e_sh4_extract_return_value): Ditto.
  1870. 2003-10-13 Richard Henderson <rth@redhat.com>
  1871. * f-typeprint.c (f_type_print_base): Handle TYPE_CODE_REF.
  1872. * f-valprint.c (f_val_print): Likewise. Tweak TYPE_CODE_PTR to
  1873. match c_val_print a bit closer.
  1874. 2003-10-13 Kevin Buettner <kevinb@redhat.com>
  1875. * frv-tdep.c (max_instrs_per_bundle, frv_instr_size): New constants.
  1876. (frv_gdbarch_adjust_breakpoint_address): New function.
  1877. (frv_gdbarch_init): Initialize ``gdbarch_adjust_breakpoint_address''
  1878. method.
  1879. 2003-10-13 Kevin Buettner <kevinb@redhat.com>
  1880. * breakpoint.h (struct breakpoint): Add new member
  1881. ``requested_address''.
  1882. * breakpoint.c (breakpoint_adjustment_warning)
  1883. (adjust_breakpoint_address): New static functions.
  1884. (print_it_typical): Issue warning if breakpoint's address is different
  1885. from its requested address.
  1886. (set_raw_breakpoint, set_longjmp_resume_breakpoint, watch_command_1)
  1887. (breakpoint_re_set_one): Set breakpoint's
  1888. ``requested_address'' field. Set ``address'' field to the
  1889. result of calling adjust_breakpoint_address() on the requested
  1890. address.
  1891. 2003-10-13 Kevin Buettner <kevinb@redhat.com>
  1892. * gdbarch.sh (ADJUST_BREAKPOINT_ADDRESS): New method.
  1893. * gdbarch.h, gdbarch.c: Regenerate.
  1894. 2003-10-11 Mark Kettenis <kettenis@gnu.org>
  1895. * i386bsd-tdep.c (i386bsd_init_abi): Use ARRAY_SIZE to initialize
  1896. TDEP->sc_num_regs.
  1897. * i386fbsd-tdep.c: New file.
  1898. (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
  1899. i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
  1900. i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Move here from
  1901. i386bsd-tdep.c.
  1902. (_initialize_i386fbsd_tdep): New function.
  1903. (i386fbsd_r_reg_offset, i386fbsd4_r_reg_offset): New varibles.
  1904. (i386fbsdaout_init_abi): Initialize TDEP->gregset_reg_offset,
  1905. TDEP->gregset_num_regs, TDEP->sizeof_gregset and
  1906. TDEP->sizeof_fpregset. Use ARRAY_SIZE to initialize
  1907. TDEP->sc_num_regs.
  1908. (i386fbsd4_init_abi): Initialize TDEP->gregset_reg_offset,
  1909. TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE
  1910. to initialize TDEP->sc_num_regs.
  1911. * i386bsd-tdep.c (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
  1912. i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
  1913. i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Remove.
  1914. (_initialize_i386bsd_tdep): Don't register FreeBSD a.out and
  1915. FreeBSD ELF OS/ABI's here.
  1916. * Makefile.in (ALLDEPFILES): Add i386fbsd-tdep.c.
  1917. (i386fbsd-tdep.o): New target.
  1918. * config/i386/fbsd.mt (TDEPFILES): Add i386fbsd-tdep.o.
  1919. * config/i386/fbsd64.mt (TDEPFILES): Add i386fbsd-tdep.o.
  1920. * amd64fbsd-tdep.c (amd64fbsd_r_reg_offset): New variable.
  1921. (amd64fbsd_init_abi): Set TDEP->gregset_reg_offset,
  1922. TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE
  1923. in initialization of TDEP->sc_num_regs.
  1924. * x86-64-tdep.c (x86_64_regset_from_core_section): New function.
  1925. (x86_64_init_abi): Initialize regset_from_core_section if
  1926. appropriate.
  1927. * i386-tdep.c (i386_regset_from_core_section): New function.
  1928. (i386_gdbarch_init): Initialize regset_from_core_section if
  1929. appropriate.
  1930. * i386-tdep.h (i386_regset_from_core_section): New declaration.
  1931. * i386-tdep.h (struct regset): Declare opaque.
  1932. * gdbarch.sh (regset_from_core_section): New method.
  1933. (struct regset): Declare opaque.
  1934. * gdbarch.c, gdbarch.h: Regenerated.
  1935. 2003-10-11 Alan Modra <amodra@bigpond.net.au>
  1936. * hppa-tdep.c (hppa_in_solib_call_trampoline): Don't refer directly to
  1937. _cooked_size and vma; Use bfd_section_size and bfd_get_section_vma.
  1938. Correct test for pc within section.
  1939. 2003-10-11 Mark Kettenis <kettenis@gnu.org>
  1940. * gdbarch.sh: Remove trailing whitepsace from comments.
  1941. 2003-10-08 Roland McGrath <roland@redhat.com>
  1942. * gcore.c (make_mem_sec): Function removed, folded into ...
  1943. (gcore_create_callback): ... here. To omit a section, clear its
  1944. SEC_LOAD bit rather than zeroing its size.
  1945. Omit read-only sections only if they correspond to a known disk file.
  1946. (gcore_copy_callback): Ignore sections without SEC_LOAD flag set.
  1947. 2003-10-10 Michael Snyder <msnyder@redhat.com>
  1948. * d10v-tdep.c: Fix typo in comment.
  1949. 2003-10-10 Andrew Cagney <cagney@redhat.com>
  1950. * rs6000-tdep.c (e500_store_return_value): Delete function.
  1951. (e500_extract_return_value): Delete function.
  1952. (rs6000_gdbarch_init): When SYSV, set "extract_return_value" and
  1953. "restore_return_value" to "ppc_sysv_abi_extract_return_value" and
  1954. "ppc_sysv_abi_restore_return_value" where applicable.
  1955. * ppc-tdep.h: (ppc_sysv_abi_store_return_value): Declare.
  1956. (ppc_sysv_abi_extract_return_value): Declare.
  1957. (ppc_sysv_abi_broken_store_return_value): Declare.
  1958. (ppc_sysv_abi_broken_extract_return_value): Declare.
  1959. (ppc_sysv_abi_broken_use_struct_convention:) Delete declaration.
  1960. * ppc-sysv-tdep.c (return_value_convention): Move definition to
  1961. start of file.
  1962. (do_ppc_sysv_return_value): New function.
  1963. (ppc_sysv_abi_extract_return_value): New function.
  1964. (ppc_sysv_abi_store_return_value): New function.
  1965. (ppc_sysv_abi_broken_extract_return_value): New function.
  1966. (ppc_sysv_abi_broken_store_return_value): New function.
  1967. (ppc_sysv_abi_use_struct_convention): Call
  1968. do_ppc_sysv_return_value.
  1969. 2003-10-10 J. Brobecker <brobecker@gnat.com>
  1970. * blockframe.c (inside_main_func): No longer use symbol_lookup()
  1971. to lookup the main function symbol.
  1972. 2003-10-10 Corinna Vinschen <vinschen@redhat.com>
  1973. * sh-tdep.c (sh_treat_as_flt_p): New function to recognize float
  1974. types correctly.
  1975. (sh_push_dummy_call_fpu): Fix argument passing rules.
  1976. (sh3e_sh4_extract_return_value): Call sh_treat_as_flt_p to recognize
  1977. float types.
  1978. (sh3e_sh4_store_return_value): Ditto.
  1979. 2003-10-10 Elena Zannoni <ezannoni@redhat.com>
  1980. * sh-tdep.c (sh_use_struct_convention): Clarify one case in
  1981. comment.
  1982. 2003-10-10 Corinna Vinschen <vinschen@redhat.com>
  1983. * sh-tdep.c (sh_use_struct_convention): Clean up to have a
  1984. more readable code. Accomodate passing of bitfields.
  1985. 2003-10-10 Andrew Cagney <cagney@redhat.com>
  1986. * Makefile.in (ppc-sysv-tdep.o): Add $(gdb_assert_h).
  1987. * rs6000-tdep.c (rs6000_gdbarch_init): When 64 bit SysV ABI, set
  1988. push_dummy_call to ppc64_sysv_abi_push_dummy_call.
  1989. * ppc-sysv-tdep.c: Include "gdb_assert.h".
  1990. (ppc64_sysv_abi_push_dummy_call): New function.
  1991. (ppc64_sysv_abi_broken_push_dummy_call): New function.
  1992. * ppc-tdep.h (ppc64_sysv_abi_push_dummy_call): Declare.
  1993. (ppc64_sysv_abi_broken_push_dummy_call): Declare.
  1994. 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
  1995. * NEWS: Replace "Hitachi" and "Mitsubishi" with "Renesas".
  1996. * README: Ditto.
  1997. * d10v-tdep.c: Ditto.
  1998. * h8300-tdep.c: Ditto.
  1999. * remote-e7000.c: Ditto.
  2000. * remote-hms.c: Ditto.
  2001. * ser-e7kpc.c: Ditto.
  2002. * sh-stub.c: Ditto.
  2003. * sh-tdep.c: Ditto.
  2004. * sh-tdep.h: Ditto.
  2005. * sh3-rom.c: Ditto.
  2006. * sh64-tdep.c: Ditto.
  2007. * top.c: Ditto.
  2008. * wince.c: Ditto.
  2009. * config/d10v/d10v.mt: Ditto.
  2010. * config/sh/embed.mt: Ditto.
  2011. * config/sh/linux.mt: Ditto.
  2012. * config/sh/tm-linux.h: Ditto.
  2013. * config/sh/tm-sh.h: Ditto.
  2014. * config/sh/wince.mt: Ditto.
  2015. 2003-10-09 Andrew Cagney <cagney@redhat.com>
  2016. * ppc-tdep.h (struct type): Declare opaque.
  2017. * x86-64-tdep.h (struct regcache): Declare opaque.
  2018. * sh-tdep.c (sh_do_fp_register): Delete "register" attribute, fix
  2019. coding style.
  2020. 2003-10-09 Andrew Cagney <cagney@redhat.com>
  2021. Changes from 2003-09-09 Jimi Xenidis <jimix@watson.ibm.com>:
  2022. * config/rs6000/tm-rs6000.h (SOFTWARE_SINGLE_STEP): Delete macro.
  2023. (SOFTWARE_SINGLE_STEP_P): Ditto.
  2024. * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
  2025. * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Ditto.
  2026. (SOFTWARE_SINGLE_STEP_P): Ditto.
  2027. * rs6000-tdep.c (rs6000_gdbarch_init): When AIX, set
  2028. software_single_step to rs6000_software_single_step.
  2029. 2003-10-09 Andrew Cagney <cagney@redhat.com>
  2030. * MAINTAINERS: Mark m32r-elf as buildable with -Werror.
  2031. 2003-10-09 Michael Snyder <msnyder@redhat.com>
  2032. * frame.h: Fix typo in comment.
  2033. * dummy-frame.c: Fix typo in comment.
  2034. * d10v-tdep.c: Random whitespace/comment tweaks.
  2035. 2003-10-09 Elena Zannoni <ezannoni@redhat.com>
  2036. * sh-tdep.c (sh_gdbarch_init): Delete setting of push_dummy_code.
  2037. (sh_push_dummy_code): Delete function, it's only used for dummy calls
  2038. on stack.
  2039. Based on input by Stephen Clarke (stephen.clarke@superh.com):
  2040. * sh-tdep.c (sh_use_struct_convention): Add comment explaining ABI
  2041. in detail.
  2042. 2003-10-09 Daniel Jacobowitz <drow@mvista.com>
  2043. * remote-mips.c (mips_initialize): Remove unneeded call to
  2044. get_selected_frame. Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
  2045. 2003-10-09 Daniel Jacobowitz <drow@mvista.com>
  2046. * dwarf2expr.c (execute_stack_op): Don't treat the frame base as
  2047. a memory pointer.
  2048. 2003-10-08 Jeff Johnston <jjohnstn@redhat.com>
  2049. * lin-lwp.c (stop_and_resume_callback): Set the resumed flag
  2050. for any lwp we resume.
  2051. (running_callback): Add lwps that have pending status events
  2052. against them to be considered running.
  2053. 2003-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
  2054. * m32r-tdep.c : Include "dis-asm.h".
  2055. * Makefile.in (m32r-tdep.o): Update dependencies.
  2056. 2003-10-06 J. Brobecker <brobecker@gnat.com>
  2057. * completer.h (get_gdb_completer_word_break_characters): Delete.
  2058. * completer.c: include language.h.
  2059. (gdb_completer_word_break_characters): Delete.
  2060. (get_gdb_completer_word_break_characters): Delete.
  2061. (location_completer): Use the word break characters of the current
  2062. language.
  2063. (complete_line): Likewise.
  2064. (line_completion_function): Likewise.
  2065. (skip_quoted_chars): Likewise.
  2066. * Makefile.in (completer.o): Add dependency on language.h.
  2067. * top.c (init_main): Set the readline word break characters
  2068. to GDB's default word break characters.
  2069. 2003-10-06 J. Brobecker <brobecker@gnat.com>
  2070. * language.h (language_defn): new field, la_word_break_characters.
  2071. * language.c (unknown_language_defn): Set new field to
  2072. default_word_break_characters.
  2073. (auto_language_defn): Likewise.
  2074. (local_language_defn): Likewise.
  2075. * ada-lang.c (ada_language_defn): Likewise.
  2076. * c-lang.c (c_language_defn): Likewise.
  2077. (cplus_language_defn): Likewise.
  2078. (asm_language_defn): Likewise.
  2079. (minimal_language_defn): Likewise.
  2080. * f-lang.c (f_language_defn): Likewise.
  2081. * jv-lang.c (java_language_defn): Likewise.
  2082. * m2-lang.c (m2_language_defn): Likewise.
  2083. * objc-lang.c (objc_language_defn): Likewise.
  2084. * p-lang.c (pascal_language_defn): Likewise.
  2085. * scm-lang.c (scm_language_defn): Likewise.
  2086. 2003-10-06 Andrew Cagney <cagney@redhat.com>
  2087. * ppc-sysv-tdep.c: Re-indent.
  2088. 2003-10-06 J. Brobecker <brobecker@gnat.com>
  2089. * language.h (default_word_break_characters): Add prototype.
  2090. * language.c (default_word_break_characters): New function.
  2091. 2003-10-06 Andreas Schwab <schwab@suse.de>
  2092. * i386-tdep.c (i386_analyze_frame_setup): Also handle xorl/subl
  2093. with %eax.
  2094. 2003-10-06 Andrew Cagney <cagney@redhat.com>
  2095. * Makefile.in (ALLDEPFILES): Remove "z8k-tdep.c" and
  2096. "h8500-tdep.c".
  2097. (z8k-tdep.o): Delete custom build rule.
  2098. 2003-10-06 Andrew Cagney <cagney@redhat.com>
  2099. * Makefile.in: Update all dependencies.
  2100. * MAINTAINERS: Mention that h8500, mn10200, and z8k were deleted.
  2101. No longer list PA as as obsolete candidate. List m32r as
  2102. broken instead of obsolete.
  2103. * config/nm-m3.h, config/h8500/h8500.mt: Delete obsolete files.
  2104. * config/h8500/tm-h8500.h, config/i386/nm-ptx4.h: Ditto.
  2105. * config/i386/nm-symmetry.h, config/i386/ptx.mh: Ditto.
  2106. * config/i386/ptx.mt, config/i386/ptx4.mh: Ditto.
  2107. * config/i386/ptx4.mt, config/i386/symmetry.mh: Ditto.
  2108. * config/i386/symmetry.mt, config/i386/tm-ptx.h: Ditto.
  2109. * config/i386/tm-ptx4.h, config/i386/tm-symmetry.h: Ditto.
  2110. * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto.
  2111. * config/i386/xm-symmetry.h, config/mips/mipsm3.mh: Ditto.
  2112. * config/mips/mipsm3.mt, config/mips/tm-mipsm3.h: Ditto.
  2113. * config/mips/xm-mipsm3.h, config/mn10200/mn10200.mt: Ditto.
  2114. * config/mn10200/tm-mn10200.h, config/pa/hppabsd.mh: Ditto.
  2115. * config/pa/hppabsd.mt, config/pa/hppaosf.mh: Ditto.
  2116. * config/pa/hppaosf.mt, config/pa/hppapro.mt: Ditto.
  2117. * config/pa/nm-hppab.h, config/pa/nm-hppao.h: Ditto.
  2118. * config/pa/tm-hppab.h, config/pa/tm-hppao.h: Ditto.
  2119. * config/pa/tm-pro.h, config/pa/xm-hppab.h: Ditto.
  2120. * config/pa/xm-pa.h, config/sparc/sparclet.mt: Ditto.
  2121. * config/sparc/sparclite.mt, config/sparc/tm-sparclet.h: Ditto.
  2122. * config/sparc/tm-sparclite.h, config/z8k/tm-z8k.h: Ditto.
  2123. * config/z8k/z8k.mt: Ditto.
  2124. * NEWS: Mention that z8k-zilog-none, z8ksim, mn10200-*-*,
  2125. h8500hms, hppa*-*-bsd*, hppa*-*-osf*, hppa*-*-pro*,
  2126. mips*-*-mach3*, i[3456]86-sequent-sysv4*, i[3456]86-sequent-sysv*,
  2127. i[3456]86-sequent-bsd*, sparclet-*-*, sparclite-fujitsu-none, and
  2128. sparclite were removed.
  2129. * configure.host, configure.tgt: Remove corresponding tuples.
  2130. * breakpoint.c, breakpoint.h: Remove obsolete code.
  2131. * buildsym.c, dbxread.c, gdbtypes.c, mdebugread.c: Ditto.
  2132. * monitor.c, sparc-tdep.c, stabsread.c: Ditto.
  2133. * stabsread.h, xcoffread.c: Ditto.
  2134. * z8k-tdep.c, symm-tdep.c, symm-nat.c: Delete obsolete file.
  2135. * sparclet-stub.c, sparclet-rom.c: Delete obsolete file.
  2136. * sparcl-tdep.c, sparcl-stub.c, h8500-tdep.c: Delete obsolete file.
  2137. * m3-nat.c, mipsm3-nat.c, mn10200-tdep.c: Delete obsolete file.
  2138. 2003-10-06 David Lecomber <dsl@sources.redhat.com>
  2139. * f-valprint.c: Reformatting
  2140. 2003-10-06 Mark Kettenis <kettenis@gnu.org>
  2141. * x86-64-tdep.c: Remove duplicate comment.
  2142. * x86-64-tdep.c (x86_64_store_return_value): Don't use
  2143. DEPRECATED_REGISTER_RAW_SIZE. Use symbolic names for register
  2144. names for return values. This fixes a bug since we looked at %rbx
  2145. instead of %rdx.
  2146. 2003-10-05 Mark Kettenis <kettenis@gnu.org>
  2147. * x86-64-tdep.c: Include "regset.h".
  2148. * i386-tdep.h (struct gdbarch_tdep): Add members gregset,
  2149. gregset_reg_offset, gregset_num_regs, sizeof_gregset, fpregset,
  2150. sizeof_fpregset.
  2151. * i386-tdep.c: Include "regset.h".
  2152. (i386_supply_gregset): New function.
  2153. (i386_supply_fpregset): New function.
  2154. (i386_gdbarch_init): Initialze register set-related members of
  2155. TDEP.
  2156. * x86-64-tdep.c (x86_64_supply_fpregset): New function.
  2157. (x86_64_init_abi): Initialize TDEP->sizeof_fpregset.
  2158. 2003-10-03 Andrew Cagney <cagney@redhat.com>
  2159. * rs6000-tdep.c (rs6000_gdbarch_init): When the 64 bit SysV ABI,
  2160. set extract_return_value, store_return_value and
  2161. use_struct_convention to ppc64_sysv_abi_extract_return_value,
  2162. ppc64_sysv_abi_store_return_value and
  2163. ppc64_sysv_abi_use_struct_convention.
  2164. * ppc-tdep.h (ppc64_sysv_abi_extract_return_value): Declare.
  2165. (ppc64_sysv_abi_store_return_value): Declare.
  2166. (ppc64_sysv_abi_use_struct_convention): Declare.
  2167. * ppc-sysv-tdep.c (enum return_value_convention): Define.
  2168. (ppc64_sysv_abi_extract_return_value): New function.
  2169. (ppc64_sysv_abi_store_return_value): New function.
  2170. (ppc64_sysv_abi_use_struct_convention): New function.
  2171. (ppc64_sysv_abi_return_value): New function.
  2172. 2003-10-03 Andrew Cagney <cagney@redhat.com>
  2173. * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Only
  2174. convert a descriptor to a function when it's in the ".opd"
  2175. section.
  2176. 2003-10-03 Corinna Vinschen <vinschen@redhat.com>
  2177. * sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and
  2178. reg_size to keep GCC silent.
  2179. 2003-10-03 Corinna Vinschen <vinschen@redhat.com>
  2180. * dwarf2-frame.c (struct comp_unit): Add tbase member to store
  2181. base for DW_EH_PE_textrel encodings.
  2182. (read_encoded_value): Add a DW_EH_PE_textrel case.
  2183. (dwarf2_build_frame_info): Set unit.tbase to beginning of text
  2184. section.
  2185. 2003-10-03 Mark Kettenis <kettenis@gnu.org>
  2186. * dwarf2-frame.c (dwarf2_build_frame_info): Fix comment.
  2187. 2003-10-02 Andrew Cagney <cagney@redhat.com>
  2188. * gdbarch.sh (DEPRECATED_REGISTER_RAW_SIZE): Rename
  2189. REGISTER_RAW_SIZE.
  2190. * gdbarch.h, gdbarch.c: Re-generate.
  2191. * aix-thread.c, alpha-tdep.h, arm-tdep.c, core-sol2.c: Update.
  2192. * cris-tdep.c, dve3900-rom.c, findvar.c, frame.c: Update.
  2193. * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update.
  2194. * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update.
  2195. * ia64-linux-nat.c, ia64-tdep.c, infcmd.c, infptrace.c: Update.
  2196. * infrun.c, irix5-nat.c, lynx-nat.c, mips-linux-tdep.c: Update.
  2197. * mips-nat.c, mips-tdep.c, mipsv4-nat.c, mn10300-tdep.c: Update.
  2198. * monitor.c, ns32k-tdep.c, ppc-linux-nat.c, regcache.c: Update.
  2199. * remote-e7000.c, remote-mips.c, remote-sim.c: Update.
  2200. * remote-vxmips.c, remote-vxsparc.c, remote.c: Update.
  2201. * rom68k-rom.c, rs6000-nat.c, rs6000-tdep.c, s390-tdep.c: Update.
  2202. * sh64-tdep.c, sparc-nat.c, sparc-tdep.c, stack.c: Update.
  2203. * target.c, tracepoint.c, v850-tdep.c, v850ice.c, valops.c: Update.
  2204. * vax-tdep.c, vax-tdep.h, x86-64-tdep.c, xstormy16-tdep.c: Update.
  2205. * config/m68k/tm-delta68.h, config/m68k/tm-vx68.h: Update.
  2206. * config/sparc/tm-sparc.h, config/sparc/tm-sparclynx.h: Update.
  2207. 2003-10-02 Jim Blandy <jimb@redhat.com>
  2208. * dwarf2read.c (struct die_info): Doc fix.
  2209. 2003-10-02 Corinna Vinschen <vinschen@redhat.com>
  2210. * sh-tdep.c: Running thru gdb_indent.sh.
  2211. 2003-10-02 Corinna Vinschen <vinschen@redhat.com>
  2212. * sh-tdep.c (sh_justify_value_in_reg): New function.
  2213. (sh_stack_allocsize): Ditto.
  2214. (flt_argreg_array): New array used for floating point argument
  2215. passing.
  2216. (sh_init_flt_argreg): New function.
  2217. (sh_next_flt_argreg): Ditto.
  2218. (sh_push_dummy_call_fpu): Simplify. Rename "odd_sized_struct" to
  2219. "pass_on_stack". Use new helper functions. Accomodate Renesas ABI.
  2220. Fix argument passing strategy.
  2221. (sh_push_dummy_call_nofpu): Ditto.
  2222. 2003-10-01 Andrew Cagney <cagney@redhat.com>
  2223. * value.h (register_value_being_returned): Declare. Replace
  2224. "value_being_returned".
  2225. * infcall.c (call_function_by_hand): Use
  2226. register_value_being_returned.
  2227. * infcmd.c (print_return_value): Call
  2228. "register_value_being_returned", handle struct return locally.
  2229. * values.c (register_value_being_returned): New function. Replace
  2230. "value_being_returned".
  2231. 2003-09-30 Elena Zannoni <ezannoni@redhat.com>
  2232. * linux-proc.c (linux_do_registers): New function.
  2233. (linux_make_note_section): Use linux_do_registers in case of
  2234. single threaded inferior programs.
  2235. 2003-10-01 Andrew Cagney <cagney@redhat.com>
  2236. * infcall.c (call_function_by_hand): When STRUCT_RETURN, always
  2237. use STRUCT_ADDR. When not using "struct return convention", pass
  2238. "0" to "value_being_returned". Add FIXMEs.
  2239. * infcmd.c (print_return_value): Pass an explicit 0/1 to
  2240. value_being_returned. Add comments.
  2241. * values.c (value_being_returned): Add fixme.
  2242. * hppa-tdep.c (hppa_extract_struct_value_address): Add FIXME.
  2243. (hppa_value_returned_from_stack): Add FIXME.
  2244. 2003-09-30 David Carlton <carlton@kealia.com>
  2245. * dwarf2read.c (struct die_info): Add 'parent' field; replace
  2246. 'has_children' and 'next' by 'child' and 'sibling'.
  2247. (read_comp_unit): Rework algorithm, breaking body into
  2248. read_die_and_children and read_die_and_siblings.
  2249. (read_die_and_children, read_die_and_siblings): New.
  2250. (read_full_die): Add 'has_children' argument; set it instead of
  2251. the die's 'has_children' field. Minor formatting cleanup.
  2252. (free_die_list): Use die->child and die->sibling instead of
  2253. die->next.
  2254. (dump_die_list): Ditto.
  2255. (sibling_die): Use die->sibling.
  2256. (psymtab_to_symtab_1): Use die's 'child' field in place of its
  2257. 'has_children' and 'next' fields.
  2258. (process_die, read_file_scope, read_func_scope)
  2259. (read_lexical_block_scope, read_structure_scope)
  2260. (read_enumeration, read_array_type, read_common_block)
  2261. (read_namespace, read_subroutine_type, dump_die): Ditto.
  2262. 2003-09-30 Andrew Cagney <cagney@redhat.com>
  2263. * rs6000-tdep.c (rs6000_gdbarch_init): Set the PowerOpen red zone
  2264. to 224, not 220.
  2265. 2003-09-30 Andrew Cagney <cagney@redhat.com>
  2266. * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_SIZE): Rename
  2267. REGISTER_VIRTUAL_SIZE.
  2268. * gdbarch.h, gdbarch.c: Regenerate.
  2269. * vax-tdep.h, sparc-tdep.c, regcache.h: Update.
  2270. * regcache.c, mn10300-tdep.c, mips-tdep.c: Update.
  2271. * infcmd.c, frame.c, findvar.c, cris-tdep.c: Update.
  2272. 2003-09-29 Andrew Cagney <cagney@redhat.com>
  2273. * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_TYPE): Rename
  2274. REGISTER_VIRTUAL_TYPE.
  2275. * gdbarch.h, gdbarch.c: Regenerate.
  2276. * arch-utils.c, hppa-tdep.c, regcache.c, regcache.h: Update.
  2277. * sh64-tdep.c, sparc-tdep.c: Update.
  2278. * remote-vxsparc.c (vx_read_register): Replace bzero with memset.
  2279. * remote-vxmips.c (vx_read_register): Ditto.
  2280. * remote-vx68.c (vx_read_register): Ditto.
  2281. * gnu-nat.c (inf_validate_procs): Ditto.
  2282. 2003-09-29 J. Brobecker <brobecker@gnat.com>
  2283. * infcall.c (call_function_by_hand): Fix build failure
  2284. introduced in the previous change to this file.
  2285. 2003-09-29 Andrew Cagney <cagney@redhat.com>
  2286. * NEWS: Mention Objective-C.
  2287. 2003-09-29 Jerome Guitton <guitton@act-europe.fr>
  2288. * arm-tdep.c (arm_make_prologue_cache): Use trad_frame_addr_p to
  2289. test if the register has been saved on the stack.
  2290. (arm_scan_prologue_cache): When analysing the instruction
  2291. "str lr, [sp, #-4]", save the address where lr has been stored.
  2292. 2003-09-28 Andrew Cagney <cagney@redhat.com>
  2293. * frame.c (frame_read_unsigned_register): Delete function.
  2294. * frame.h (frame_read_unsigned_register): Delete declaration.
  2295. * sparc-tdep.c (sparc_init_extra_frame_info): Use
  2296. get_frame_register_unsigned.
  2297. (sparc_frame_saved_pc, sparc_pop_frame): Ditto.
  2298. * m68hc11-tdep.c (m68hc11_print_register): Ditto.
  2299. * d10v-tdep.c (d10v_print_registers_info): Ditto.
  2300. * frame.h (frame_read_register): Delete declaration.
  2301. * frame.c (frame_read_register): Delete function.
  2302. * arch-utils.c (legacy_register_to_value): Use get_frame_register.
  2303. * sparc-tdep.c (sparc_fetch_pointer_argument): Ditto.
  2304. * rs6000-tdep.c (rs6000_fetch_pointer_argument): Ditto.
  2305. * mips-tdep.c (mips_register_to_value): Ditto.
  2306. * hppa-tdep.c (hppa_fetch_pointer_argument): Ditto.
  2307. * d10v-tdep.c (d10v_print_registers_info): Ditto.
  2308. * frame.c (frame_read_signed_register): Delete function.
  2309. (frame_read_unsigned_register): Update comments.
  2310. * frame.h (frame_read_signed_register): Delete declaration.
  2311. * h8300-tdep.c (h8300_print_register): Use
  2312. get_frame_register_signed.
  2313. * m68hc11-tdep.c (m68hc11_print_register): Ditto.
  2314. * config/pa/tm-hppa.h (DEPRECATED_VALUE_RETURNED_FROM_STACK):
  2315. Rename VALUE_RETURNED_FROM_STACK.
  2316. * infcmd.c (print_return_value): Update.
  2317. * infcall.c (call_function_by_hand): Update.
  2318. 2003-09-28 Mark Kettenis <kettenis@gnu.org>
  2319. * i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add
  2320. regcache argument and reverse the order of the other two
  2321. arguments. Remove local regcache variable. Determine
  2322. architecture from REGCACHE. Update comments.
  2323. * x86-64-tdep.c (x86_64_supply_fxsave): Add regcache argument and
  2324. reverse the order of the other two arguments. Remove local
  2325. regcache variable. Determine architecture from REGCACHE. Update
  2326. comments.
  2327. * i387-tdep.h (i387_supply_fsave, i387_supply_fxsave): Adjust
  2328. prototypes. Update comments.
  2329. * x86-64-tdep.c (x86_64_supply_fxsave): Adjust prototype. Adjust
  2330. comment.
  2331. * amd64fbsd-nat.c (supply_fpregset, fetch_inferior_registers):
  2332. Update.
  2333. * go32-nat.c (fetch_register, go32_fetch_registers): Update.
  2334. * i386-interix-nat.c (supply_fpregset): Update.
  2335. * i386-linux-nat.c (supply_fpregset, supply_fpxregset): Update.
  2336. * i386-nto-tdep.c (i386nto_supply_fpregset): Update.
  2337. * i386gnu-nat.c (fetch_fpregs, supply_fpregset): Update.
  2338. * i386bsd-nat.c (supply_fpregset, fetch_inferior_registers): Update.
  2339. * i386nbsd-tdep.c (fetch_core_registers, fetch_elfcore_registers):
  2340. Update.
  2341. * i386obsd-tdep.c (fetch_core_registers): Update.
  2342. * i386v4-nat.c (supply_fpregset): Update.
  2343. * x86-64-linux-nat.c (supply_fpregset): Update.
  2344. * x86-64-linux-tdep.c (fetch_core_registers): Update.
  2345. 2003-09-27 Mark Kettenis <kettenis@gnu.org>
  2346. * i386-tdep.h: Put opaque declarations in alphabetical
  2347. order. Remove spurious whitespace.
  2348. (struct gdbarch_tdep): add st0_regnum and mm0_regnum members.
  2349. (i386_sse_regnum_p, i386_mxcsr_regnum_p): Remove prototypes.
  2350. * i386-tdep.c (MM0_REGNUM): Remove define.
  2351. (i386_mmx_regnum_p): Add gdbarch argument.
  2352. (i386_sse_regnum_p, i386_mxcsr_regnum_p): Add gdbarch argument.
  2353. Rewrite using new macro definitions for FPU/SSE registers.
  2354. (i386_fp_regnum_p, i386_fpc_regnum_p): Rewrite using new macro
  2355. definitions from i387-tdep.h.
  2356. (i386_register_name): Update.
  2357. (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): Update to use
  2358. new macro definitions for FPU/SSE registers.
  2359. (i386_extract_return_value): Determine whether floating-point
  2360. registers are present by examining REGCACHE's architecture.
  2361. (i386_store_return_value): Likewise. Use I386_MAX_REGISTER_SIZE
  2362. instead of FPU_REG_RAW_SIZE. Use new macro definitions for
  2363. FPU/SSE registers.
  2364. (i386_register_type): Update.
  2365. (i386_mmx_regnum_to_fp_regnum): Rewrite using new macro
  2366. definitions for FPU registers. Use REGCACHE's architecture to
  2367. determine the appropriate register numbers.
  2368. (i386_pseudo_register_read, i386_pseudo_register_write,
  2369. i386_register_reggroup_p): Update.
  2370. (i386_gdbarch_init): Initialize TDEP->st0_regnum and
  2371. TDEP->mm0_regnum.
  2372. * i387-tdep.h (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM,
  2373. I387_FTAG_REGNUM, I387_FISEG_REGNUM, I387_FIOFF_REGNUM,
  2374. I387_FOSEG_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM,
  2375. I387_XMM0_REGNUM, I387_MXCSR_REGNUM): New defines.
  2376. (i387_supply_fsave, i387_fill_fsave, i387_supply_fxsave,
  2377. i387_fill_fxsave): Change type of fsave/fxsave argument from `char
  2378. *' to `void *'.
  2379. * i387-tdep.c (i387_print_float_info, fsave_offset, FSAVE_ADDR,
  2380. i387_supply_fsave, i387_fill_fsave, fxsave_offset, FXSAVE_ADDR,
  2381. i387_supply_fxsave, i387_fill_fxsave): Update to use new macro
  2382. definitions for FPU/SSE registers.
  2383. (FXSAVE_MXCSR_ADDR): New define.
  2384. * x86-64-tdep.c (x86_64_init_abi): Override TDEP->st0_regnum and
  2385. TDEP->mm0_regnum.
  2386. (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Remove defines.
  2387. (I387_ST0_REGNUM): Define.
  2388. * regcache.h (get_regcache_arch): New prototype.
  2389. * regcache.c (get_regcache_arch): New function.
  2390. * x86-64-tdep.c (x86_64_store_return_value): Remove spurious
  2391. whitespace.
  2392. * i386-tdep.c (i386_num_register_names, i386_num_mmx_regs):
  2393. Initialize using ARRAY_SIZE.
  2394. 2003-09-27 Andrew Cagney <cagney@redhat.com>
  2395. * arch-utils.c (deprecated_init_frame_pc_default): Rename
  2396. "init_frame_pc_default".
  2397. * arch-utils.h (deprecated_init_frame_pc_default): Update.
  2398. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  2399. * vax-tdep.c (vax_gdbarch_init): Update.
  2400. * v850-tdep.c (v850_gdbarch_init): Update.
  2401. * sh64-tdep.c (sh64_gdbarch_init): Update.
  2402. * s390-tdep.c (s390_gdbarch_init): Update.
  2403. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  2404. * mcore-tdep.c (mcore_gdbarch_init): Update.
  2405. * h8300-tdep.c (h8300_gdbarch_init): Update.
  2406. * cris-tdep.c (cris_gdbarch_init): Update.
  2407. * config/pa/tm-hppa.h (DEPRECATED_INIT_FRAME_PC): Update.
  2408. 2003-09-26 Mark Kettenis <kettenis@gnu.org>
  2409. * regset.h: New file.
  2410. * Makefile.in (regset_h): Add.
  2411. 2003-09-25 Andrew Cagney <cagney@redhat.com>
  2412. * frame.h (deprecated_frame_saved_regs): Rename
  2413. get_frame_saved_regs.
  2414. * cris-tdep.c, frame.c, h8300-tdep.c, hppa-tdep.c: Update.
  2415. * mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update.
  2416. * ns32k-tdep.c, ppc-linux-tdep.c, rs6000-tdep.c: Update.
  2417. * s390-tdep.c, sh64-tdep.c, stack.c: Update.
  2418. * v850-tdep.c, vax-tdep.c, xstormy16-tdep.c: Update.
  2419. 2003-09-25 Andrew Cagney <cagney@redhat.com>
  2420. * NEWS: Mention the new backtrace mechanism, DWARF 2 CFI, hosted
  2421. file I/O, multi-arch, TLS and NPTL, DWARF 2 Location Expressions,
  2422. and Java.
  2423. * PROBLEMS: Mention that mips*-*-*, powerpc*-*-*, sparc*-*-* and
  2424. arm*-*-* do not use the new frame code.
  2425. 2003-09-25 David Carlton <carlton@kealia.com>
  2426. * c-exp.y: Remove 'register' declarations.
  2427. * f-exp.y, jv-exp.y, m2-exp.y, objc-exp.y, p-exp.y: Ditto.
  2428. 2003-09-25 David Carlton <carlton@kealia.com>
  2429. * c-exp.y: Include cp-support.h. Add qualified_type.
  2430. (yylex): Delete nested type hack; add comments.
  2431. * cp-namespace.c (cp_lookup_nested_type): New function.
  2432. * cp-support.h: Declare cp_lookup_nested_type.
  2433. * eval.c (evaluate_subexp_standard): Call value_aggregate_elt
  2434. instead of value_struct_elt_for_reference.
  2435. * valops.c: Include cp-support.h.
  2436. (value_aggregate_elt): New function.
  2437. (value_namespace_elt): Ditto.
  2438. (value_struct_elt_for_reference): Make static.
  2439. * value.h: Delete declaration of value_struct_elt_for_reference;
  2440. add declaration for value_aggregate_elt.
  2441. * Makefile.in (c-exp.tab.o): Depend on $(cp_support_h).
  2442. (valops.o): Ditto.
  2443. 2003-09-25 Daniel Jacobowitz <drow@mvista.com>
  2444. * stack.c: Include "reggroups.h".
  2445. (frame_info): Only display registers in all_reggroup.
  2446. * Makefile.in (stack.o): Update dependencies.
  2447. 2003-09-25 Jerome Guitton <guitton@act-europe.fr>
  2448. * arm-tdep.c (arm_skip_prologue): Handle "sub ip, sp #n" and
  2449. "add ip, sp #n" in the prologue.
  2450. (arm_scan_prologue): Ditto.
  2451. 2003-09-25 Jerome Guitton <guitton@act-europe.fr>
  2452. * MAINTAINERS (write after approval): Add myself.
  2453. 2003-09-25 Andreas Schwab <schwab@suse.de>
  2454. * m68k-tdep.c: Include "dwarf2-frame.h".
  2455. (m68k_gdbarch_init): Add the DWARF CFI frame unwinder.
  2456. * Makefile.in (m68k-tdep.o): Update dependencies.
  2457. 2003-09-25 Corinna Vinschen <vinschen@redhat.com>
  2458. * sh-tdep.c (struct frame_extra_info): Remove.
  2459. (struct sh_frame_cache): New structure.
  2460. (GET_SOURCE_REG): New macro extracting source register of an opcode.
  2461. (GET_TARGET_REG): Ditto but target register.
  2462. (GET_PUSHED_REG): Remove.
  2463. (IS_MOV_ARG_TO_REG): New macro.
  2464. (IS_MOV_ARG_TO_IND_R14): New macro.
  2465. (IS_MOV_ARG_TO_IND_R14_WITH_DISP): New macro.
  2466. (IS_MOVW_PCREL_TO_REG): New macro.
  2467. (IS_MOVL_PCREL_TO_REG): New macro.
  2468. (IS_SUB_REG_FROM_SP): New macro.
  2469. (IS_ARG_MOV): Remove.
  2470. (IS_MOV_TO_R14): Remove.
  2471. (IS_RESTORE_FP): New macro.
  2472. (IS_RTS): New macro.
  2473. (IS_LDS): New macro.
  2474. (IS_MOV_FP_SP): New macro.
  2475. (IS_ADD_REG_TO_FP): New macro.
  2476. (IS_ADD_IMM_FP): New macro.
  2477. (sh_skip_prologue_hard_way): Remove.
  2478. (sh_saved_pc_after_call): Remove.
  2479. (sh_frame_chain): Remove.
  2480. (sh_find_callers_reg): Remove.
  2481. (sh_nofp_frame_init_saved_regs): Remove.
  2482. (sh_fp_frame_init_saved_regs): Remove.
  2483. (sh_init_extra_frame_info): Remove.
  2484. (sh_analyze_prologue): New function.
  2485. (sh_skip_prologue): Remove deprecated code. Rely on new function
  2486. sh_analyze_prologue when after_prologue fails.
  2487. (sh_frame_saved_pc): Remove.
  2488. (sh_alloc_frame_cache): New function.
  2489. (sh_frame_cache): Ditto.
  2490. (sh_frame_prev_register): Ditto.
  2491. (sh_frame_this_id): Ditto.
  2492. (sh_frame_unwind): New structure defining the heuristic frame
  2493. sniffer interface.
  2494. (sh_frame_sniffer): New function.
  2495. (sh_unwind_sp): Ditto.
  2496. (sh_unwind_pc): Ditto.
  2497. (sh_unwind_dummy_id): Ditto.
  2498. (sh_frame_base_address): Ditto.
  2499. (sh_frame_base): New structure defining new frame base code.
  2500. (sh_in_function_epilogue_p): New function.
  2501. (sh_gdbarch_init): Restructure and simplify to eliminate deprecated
  2502. code and to call all new code instead. Initialize dwarf2 and
  2503. heuristic frame sniffer.
  2504. 2003-09-24 Paul N. Hilfinger <hilfingr@nile.gnat.com>
  2505. * parser-defs.h (struct exp_descriptor): New definition, containing
  2506. language-specific info for printing, prefixifying, dumping, and
  2507. evaluating expressions.
  2508. (exp_descriptor_standard): Declare new variable.
  2509. (print_subexp): Make global and declare here (from expprint.c).
  2510. (dump_subexp): Ditto.
  2511. (dump_subexp_body_standard): Declare.
  2512. (operator_length_standard): Declare.
  2513. (op_name_standard): Declare.
  2514. (print_subexp): Declare.
  2515. (print_subexp_standard): Declare.
  2516. * language.h (struct language_defn): Add la_exp_desc field to hold
  2517. pointer to table for language-specific operators.
  2518. Remove evaluate_exp field, which is now in struct exp_descriptor.
  2519. * parse.c (operator_length): Move most code to new
  2520. operator_length_standard function. Use language-specific information.
  2521. (operator_length_standard): New function taking most code from
  2522. operator_length.
  2523. (exp_descriptor_standard): New constant.
  2524. * expression.h (enum exp_opcode): Add definitions of OP_EXTENDED0
  2525. and OP_EXTENDED_LAST.
  2526. * expprint.c (print_subexp): Use language-specific print_subexp.
  2527. Make global; remove static declaration.
  2528. Move most code to print_subexp_standard.
  2529. (print_subexp_standard): New function, containing code formerly in
  2530. print_subexp.
  2531. (op_name): Add expression to argument signature.
  2532. Use langauge-specific op_name.
  2533. Move most code to op_name_standard.
  2534. (op_name_standard): New function, containing code formerly in op_name.
  2535. (dump_subexp): Use new version of op_name function.
  2536. Use language-specific dump_subexp_body, and move most existing code to
  2537. dump_subexp_body_standard.
  2538. (dump_raw_expression): Use new op_name interface.
  2539. (dump_subexp_body): Move most code to dump_subexp_body_standard.
  2540. (dump_subexp_body_standard): New function, containing code formerly
  2541. in dump_subexp_body.
  2542. * language.c (unknown_language): Add default la_exp_desc field and
  2543. remove evaluate_exp field.
  2544. (auto_language): Ditto.
  2545. (local_language): Ditto.
  2546. * f-lang.c (f_language_defn): Ditto.
  2547. * c-lang.c (c_language_defn): Ditto.
  2548. (cplus_language_defn): Ditto.
  2549. (asm_language_defn): Ditto.
  2550. (minimal_language_defn): Ditto.
  2551. * p-lang.c (pascal_language_defn): Ditto.
  2552. * m2-lang.c (m2_language_defn): Ditto.
  2553. * objc-lang.c (objc_language_defn): Ditto.
  2554. * jv-lang.c (exp_descriptor_java): New variable, containing
  2555. Java-specific expression evaluator.
  2556. (java_language_defn): Add la_exp_desc field and remove evaluate_exp
  2557. field.
  2558. * scm-lang.c (exp_descriptor_scm): New variable, containing
  2559. Scheme-specific expression evaluator.
  2560. (scm_language_defn): Add la_exp_desc field and remove evaluate_exp
  2561. field.
  2562. * objc-lang.c (print_object_command): Take evaluate_exp from the
  2563. la_exp_desc field.
  2564. * Makefile.in (eval.o): Add dependency on parser-defs.h.
  2565. * eval.c: Include parser-defs.h for the full declaration of
  2566. la_exp_desc's type.
  2567. (evaluate_subexp): Get evaluate_exp out of la_exp_desc field.
  2568. 2003-09-23 Paul N. Hilfinger <hilfingr@nile.gnat.com>
  2569. * parser-defs.h (operator_length): Declare.
  2570. * parse.c (length_of_subexp): Use operator_length to get operator
  2571. lengths and arities for operators.
  2572. Move most code to new operator_length function.
  2573. (operator_length): New function absorbing most code from
  2574. length_of_subexp.
  2575. (prefixify_subexp): Remove large case and use operator_length instead.
  2576. (parse_exp_1): Use renamings:
  2577. dump_prefix_expression => dump_raw_expression and
  2578. dump_postfix_expression => dump_prefix_expression.
  2579. * expression.h (dump_prefix_expression): Rename to ...
  2580. (dump_raw_expression): New name.
  2581. (dump_postfix_expression): Rename to ...
  2582. (dump_prefix_expression): New name.
  2583. * expprint.c (dump_subexp): Make global. Add comment.
  2584. Move most existing code to dump_subexp_body.
  2585. (dump_subexp_body): New function.
  2586. (dump_prefix_expression): Rename to dump_raw_expression.
  2587. Remove attempt to print the expression via print_expression: it can't
  2588. work before the expression is prefixified.
  2589. (dump_raw_expression): Renamed from dump_prefix_expression.
  2590. (dump_postfix_expression): Rename to dump_prefix_expression, since
  2591. that's what it does.
  2592. Remove 'note' parameter, since this routine must be used on
  2593. prefixified expression.
  2594. (dump_prefix_expression): Renamed from dump_postfix_expression.
  2595. 2003-09-22 Jim Blandy <jimb@redhat.com>
  2596. * dwarf2read.c (read_array_type): When building the type for an
  2597. array of unspecified length, make sure to choose the upper bound
  2598. so that the array's total length comes out to be zero --- that's
  2599. how we represent such arrays.
  2600. 2003-09-22 Michael Chastain <mec@shout.net>
  2601. * MAINTAINERS: Rename gdb.c++ to gdb.cp.
  2602. 2003-09-22 Jeff Johnston <jjohnstn@redhat.com>
  2603. * top.c (quit_force): Fix indirect call to quit_target so
  2604. a struct qt_args pointer is passed.
  2605. 2003-09-22 Andrew Cagney <cagney@redhat.com>
  2606. * arch-utils.h (init_frame_pc_noop): Delete declaration.
  2607. * arch-utils.c (init_frame_pc_noop): Delete function.
  2608. * mn10300-tdep.c (mn10300_gdbarch_init): Do not set
  2609. "init_frame_pc".
  2610. * mips-tdep.c (mips_gdbarch_init): Ditto.
  2611. * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
  2612. * config/sparc/tm-sparc.h (init_frame_pc_noop): Delete
  2613. declaration.
  2614. (DEPRECATED_INIT_FRAME_PC): Delete macro.
  2615. * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete
  2616. declaration.
  2617. (DEPRECATED_INIT_FRAME_PC): Delete macro.
  2618. 2003-09-22 Anthony Green <green@redhat.com>
  2619. * monitor.c (monitor_expect): Delete unused conflicting targ_ops
  2620. declaration.
  2621. 2003-09-20 Andrew Cagney <cagney@redhat.com>
  2622. * breakpoint.c: Eliminate ARGSUSED.
  2623. * buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto.
  2624. * coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto.
  2625. * exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto.
  2626. * infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto.
  2627. * procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto.
  2628. * remote.c, sol-thread.c, source.c, stabsread.c: Ditto.
  2629. * stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto.
  2630. * utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto.
  2631. * wince.c, remote-vx.c: Ditto.
  2632. * cli/cli-script.c: Remove "register" attributes.
  2633. * config/pa/tm-hppa.h: Ditto.
  2634. * cli/cli-decode.c: Ditto.
  2635. * cli/cli-cmds.c: Ditto.
  2636. 2003-09-19 Andrew Cagney <cagney@redhat.com>
  2637. * sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to
  2638. DEPRECATED_NPC_REGNUM.
  2639. * sparc64nbsd-nat.c (getregs_supplies): Ditto.
  2640. 2003-09-19 Christopher Faylor <cgf@redhat.com>
  2641. * win32-nat.c (mappings): Remove HAVE_SSE conditional.
  2642. 2003-09-19 Jim Blandy <jimb@redhat.com>
  2643. * macrotab.c (macro_include): Use the correct comparison to find
  2644. the appropriate place for this inclusion in the list.
  2645. 2003-09-19 Andrew Cagney <cagney@redhat.com>
  2646. * config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete.
  2647. (DEPRECATED_HPUX_TEXT_END): Define.
  2648. (deprecated_hpux_text_end): Declare.
  2649. (struct target_ops): Declare opaque.
  2650. * hppah-nat.c (text_end): Make static.
  2651. (deprecated_hpux_text_end): New function.
  2652. * exec.c (text_end): Delete global variable.
  2653. (NEED_TEXT_START_END): Do not define.
  2654. (exec_file_attach): Replace code computing "text_end" code with
  2655. call to DEPRECATED_HPUX_TEXT_END.
  2656. 2003-09-19 Andrew Cagney <cagney@redhat.com>
  2657. * utils.c (align_up, align_down): New functions.
  2658. * defs.h (align_up, align_down): Declare.
  2659. * ppc-sysv-tdep.c (align_up, align_down): Delete functions.
  2660. * s390-tdep.c: Replace "round_up" and "round_down" with "align_up"
  2661. and "align_down".
  2662. (round_up, round_down): Delete functions.
  2663. * mips-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and
  2664. "align_down".
  2665. (ROUND_DOWN, ROUND_UP): Delete macros.
  2666. (mips_dump_tdep): Do not print "ROUND_UP" or "ROUND_DOWN".
  2667. * h8300-tdep.c: Replace "round_up" and "round_down" with
  2668. "align_up" and "align_down".
  2669. (round_up, round_down): Delete macros.
  2670. * frv-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and
  2671. "align_down".
  2672. (ROUND_UP, ROUND_DOWN): Delete macros.
  2673. 2003-09-18 J. Brobecker <brobecker@gnat.com>
  2674. * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a
  2675. hard-coded constant. Use the proper machine name instead.
  2676. 2003-09-17 Andrew Cagney <cagney@redhat.com>
  2677. * sparc-tdep.c (legacy_register_name): Delete function.
  2678. * mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME.
  2679. (mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments.
  2680. * infcmd.c (gdb_register_name): Delete variable.
  2681. * gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to
  2682. REGISTER_NAME and "tm.h".
  2683. * gdbarch.h, gdbarch.c: Regenerate.
  2684. * dpx2-nat.c (regmap): Refer to REGISTER_NAME and not
  2685. REGISTER_NAMES in comments.
  2686. * remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto.
  2687. * m68klinux-nat.c (regmap): Ditto.
  2688. 2003-09-17 Jim Blandy <jimb@redhat.com>
  2689. * Makefile.in (dis_asm_h): Note that this #includes "bfd.h".
  2690. 2003-09-17 Andrew Cagney <cagney@redhat.com>
  2691. * ppcnbsd-tdep.c (ppcnbsd_use_struct_convention): New function.
  2692. (ppcnbsd_init_abi): Set "use_struct_convention" to
  2693. "ppcnbsd_use_struct_convention".
  2694. 2003-09-17 Mark Kettenis <kettenis@gnu.org>
  2695. * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.
  2696. * gdbarch.h, gdbarch.c: Regenerate.
  2697. (stabs_argument_has_addr): New architecture method.
  2698. * arch-utils.h (default_stabs_argument_has_addr): New prototype.
  2699. * arch-utils.c: Include "buildsym.h".
  2700. (default_stabs_argument_has_addr): New function.
  2701. * stabsread.c (define_symbol): Use stabs_argument_has_addr
  2702. instead of DEPRECATED_REG_STRUCT_HAS_ADDR.
  2703. 2003-09-17 Andrew Cagney <cagney@redhat.com>
  2704. * gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM.
  2705. * gdbarch.h, gdbarch.c: Regenerate.
  2706. * core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update.
  2707. * regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update.
  2708. * sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update.
  2709. * sparcnbsd-tdep.c: Update.
  2710. 2003-09-17 Andrew Cagney <cagney@redhat.com>
  2711. * gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE.
  2712. * gdbarch.h, gdbarch.c: Regenerate.
  2713. * arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update.
  2714. * d10v-tdep.c, frame.c: Update.
  2715. * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update.
  2716. * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update.
  2717. * ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update.
  2718. * mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update.
  2719. * mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update.
  2720. * ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update.
  2721. * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update.
  2722. * remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update.
  2723. * sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update.
  2724. * v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update.
  2725. * config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update.
  2726. * config/pa/nm-hppah.h: Update.
  2727. 2003-09-16 Andrew Cagney <cagney@redhat.com>
  2728. * ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit
  2729. "use_struct_convention" to "ppc_linux_use_struct_convention".
  2730. (ppc_linux_use_struct_convention): New function.
  2731. * rs6000-tdep.c (rs6000_use_struct_convention): New function.
  2732. (rs6000_gdbarch_init): For AIX, set "use_struct_convention" to
  2733. "rs6000_use_struct_convention".
  2734. * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete
  2735. declaration.
  2736. * ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention):
  2737. Delete function.
  2738. 2003-09-16 Andrew Cagney <cagney@redhat.com>
  2739. * buildsym.c: Remove more occurances of "register".
  2740. * coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto.
  2741. * environ.c, eval.c, f-valprint.c, findvar.c: Ditto.
  2742. * gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto.
  2743. * infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto.
  2744. * printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto.
  2745. * sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto.
  2746. * standalone.c, symfile.c, symmisc.c, symtab.c: Ditto.
  2747. * utils.c, valops.c, values.c, xcoffread.c: Ditto.
  2748. 2003-09-16 Corinna Vinschen <vinschen@redhat.com>
  2749. * sh-tdep.h (struct gdbarch_tdep): Remove. Change all register
  2750. numbers to enumeration values.
  2751. * sh-tdep.c: Accomodate above change.
  2752. (SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS.
  2753. (NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only).
  2754. (NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only).
  2755. (IS_ADD_IMM_SP): Rename from IS_ADD_SP.
  2756. (IS_FPUSH): Rename from IS_FMOV.
  2757. (sh_extract_struct_value_address): Remove useless comment.
  2758. (sh_dsp_register_sim_regno): Use register values from sh-tdep.h
  2759. instead of own local values.
  2760. (sh_dump_tdep): Remove.
  2761. (_initialize_sh_tdep): Accomodate removing sh_dump_tdep.
  2762. * sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes.
  2763. 2003-09-15 Andrew Cagney <cagney@redhat.com>
  2764. * doublest.c (convert_floatformat_to_doublest): No longer need to
  2765. cast "exp_bias" to an int. Reverts 2002-12-04 change.
  2766. 2003-09-15 Daniel Jacobowitz <drow@mvista.com>
  2767. * values.c (unpack_double): Call floatformat_is_valid.
  2768. 2003-09-15 Mark Kettenis <kettenis@gnu.org>
  2769. * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of
  2770. ps_strings into a long.
  2771. * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from
  2772. _initialize_am64fbsd_nat.
  2773. 2003-09-15 Kevin Buettner <kevinb@redhat.com>
  2774. * dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset
  2775. associated with DW_AT_ranges attribute is out of bounds.
  2776. 2003-09-15 David Lecomber <dsl@sources.redhat.com>
  2777. * f-valprint.c: Apply array element printing limits to multi-dimensional arrays
  2778. 2003-09-14 Michael Chastain <mec@shout.net>
  2779. * config/m68k/nm-apollo68v.h: Delete.
  2780. * config/m68k/xm-apollo68v.h: Delete.
  2781. 2003-09-14 Andrew Cagney <cagney@redhat.com>
  2782. * rs6000-tdep.c (rs6000_push_dummy_call): Fix typos.
  2783. * dcache.c: Update copyrights and descriptions.
  2784. * scm-exp.c, ia64-aix-nat.c, hppam3-nat.c: environ.c: Ditto.
  2785. 2003-09-14 Andrew Cagney <cagney@redhat.com>
  2786. * config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and
  2787. "amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c".
  2788. 2003-09-14 Andrew Cagney <cagney@redhat.com>
  2789. * alpha-nat.c: Remove some occurances of "register".
  2790. * alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto.
  2791. * buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto.
  2792. * corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto.
  2793. * dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto.
  2794. * environ.c, eval.c, event-top.c, f-typeprint.c: Ditto.
  2795. * f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto.
  2796. * h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto.
  2797. * hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto.
  2798. * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto.
  2799. * infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto.
  2800. * jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto.
  2801. * mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto.
  2802. * mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto.
  2803. * ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto.
  2804. * p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto.
  2805. * remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto.
  2806. * rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto.
  2807. * solib.c, somread.c, source.c, sparc-tdep.c: Ditto.
  2808. * stabsread.c, stack.c, standalone.c, symfile.c: Ditto.
  2809. * symmisc.c, symtab.c, top.c, tracepoint.c: Ditto.
  2810. * typeprint.c, utils.c, valarith.c, valops.c: Ditto.
  2811. * values.c, vax-tdep.c, xcoffread.c: Ditto.
  2812. 2003-09-13 Andrew Cagney <cagney@redhat.com>
  2813. * config/pa/tm-hppa64.h (struct frame_info): Declare opaque.
  2814. * ppc-tdep.h (struct regcache): Declare opaque.
  2815. * objfiles.h (struct objfile_data): Declare opaque.
  2816. * cp-support.h (struct objfile): Declare opaque.
  2817. * linux-nat.h (target_waitstatus): Declare opaque.
  2818. 2003-09-14 Mark Kettenis <kettenis@gnu.org>
  2819. * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.
  2820. (stabs_argument_has_addr): New architecture method.
  2821. * arch-utils.h (default_stabs_argument_has_addr): New prototype.
  2822. * arch-utils.c: Include "buildsym.h".
  2823. (default_stabs_argument_has_addr): New function.
  2824. * stabsread.c (define_symbol): Use stabs_argument_has_addr
  2825. instead of DEPRECATED_REG_STRUCT_HAS_ADDR.
  2826. * cris-tdep.c (cris_gdbarch_init): Set
  2827. deprecated_reg_struct_has_addr instead of reg_struct_has_addr.
  2828. * hppa-tdep.c (hppa_gdbarch_init): Likewise.
  2829. * mcore-tdep.c (mcore_gdbarch_init): Likewise.
  2830. * mips-tdep.c (mips_gdbarch_init): Likewise.
  2831. * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
  2832. * sparc-tdep.c (sparc_gdbarch_init): Likewise.
  2833. 2003-09-13 Andrew Cagney <cagney@redhat.com>
  2834. * values.c (using_struct_return): Delete "function" and "funcaddr"
  2835. parameters.
  2836. * value.h (using_struct_return): Update declaration.
  2837. * infcmd.c (finish_command_continuation): Update.
  2838. (finish_command): Update.
  2839. * infcall.c (call_function_by_hand): Update.
  2840. * eval.c (evaluate_subexp_standard): Update.
  2841. 2003-09-13 Christopher Faylor <cgf@redhat.com>
  2842. * win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for
  2843. SSE registers since gdb will not operate correctly without this.
  2844. Restore include file ordering munged in previous change.
  2845. * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define.
  2846. 2003-09-13 Mark Kettenis <kettenis@gnu.org>
  2847. * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from
  2848. REG_STRUCT_HAS_ADDR.
  2849. * gdbarch.c, gdbarch.h: Updated.
  2850. * infcall.c (call_function_by_hand): Update.
  2851. * stabsread.c (define_symbol): Updated.
  2852. * Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove.
  2853. 2003-09-12 Christopher Faylor <cgf@redhat.com>
  2854. * win32-nat.c: Reorganize so that defines used by target headers are
  2855. actually defined by the system headers.
  2856. * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather
  2857. than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists.
  2858. 2003-09-12 Jim Blandy <jimb@redhat.com>
  2859. * dbxread.c (read_dbx_symtab): Don't report an internal error if
  2860. the file has no .data, .bss, or .rodata sections. Instead wait
  2861. until we see a variable alleged to live in one of those sections.
  2862. * dbxread.c (read_dbx_symtab): If we have no .data section and no
  2863. .bss section, presume that any variables we find live in the
  2864. .rodata section.
  2865. * dbxread.c (read_dbx_symtab): Add FIXME about finding section
  2866. offsets for global and static variables.
  2867. * dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT
  2868. symbol types are, by definition, in the .data section, so it is
  2869. correct to use SECT_OFF_DATA (objfile) here, not data_sect_index.
  2870. If there is no .data section, there should be no N_DATA or N_DATA
  2871. | N_EXT symbols.
  2872. 2003-09-12 Mark Kettenis <kettenis@gnu.org>
  2873. * amd64fbsd-tdep.c: Fix sigtramp recognition.
  2874. (amd64fbsd_sigcontext_addr): Rewrite.
  2875. (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize
  2876. with correct values.
  2877. (amd64fbsd_sc_reg_offset): Initialize with correct values.
  2878. (amd64fbsd_init_abi): Fix typo.
  2879. 2003-09-12 Andrew Cagney <cagney@redhat.com>
  2880. * ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro.
  2881. (ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop.
  2882. 2003-09-12 Andrew Cagney <cagney@redhat.com>
  2883. * objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and
  2884. "entry_file_highpc". Update comments.
  2885. * defs.h (deprecated_inside_entry_file): Rename
  2886. "inside_entry_file".
  2887. * blockframe.c (deprecated_inside_entry_file): Rename
  2888. "inside_entry_file".
  2889. * frame.c (get_prev_frame): Update. Use if 0 instead of #if 0.
  2890. * vax-tdep.c (vax_frame_chain): Update.
  2891. * sh64-tdep.c (sh64_frame_chain): Update.
  2892. * sh-tdep.c (sh_frame_chain): Update.
  2893. * rs6000-tdep.c (rs6000_frame_chain): Update.
  2894. * ns32k-tdep.c (ns32k_frame_chain): Update.
  2895. * mips-tdep.c (mips_frame_chain): Update.
  2896. * m68hc11-tdep.c (m68hc11_frame_this_id): Update.
  2897. * m32r-tdep.c (m32r_frame_this_id): Update.
  2898. * i386-interix-tdep.c (i386_interix_frame_chain_valid): Update.
  2899. * frv-tdep.c (frv_frame_this_id): Update.
  2900. * d10v-tdep.c (d10v_frame_this_id): Update.
  2901. * cris-tdep.c (cris_frame_chain): Update.
  2902. * blockframe.c (legacy_frame_chain_valid): Update.
  2903. * avr-tdep.c (avr_frame_this_id): Update.
  2904. * arm-tdep.c (arm_prologue_this_id): Update.
  2905. * alpha-tdep.c (alpha_heuristic_frame_this_id): Update.
  2906. * objfiles.c (objfile_relocate): Update.
  2907. * mipsread.c (mipscoff_symfile_read): Update.
  2908. (mipscoff_symfile_read): Update.
  2909. * mdebugread.c (parse_partial_symbols): Update.
  2910. * dwarfread.c (read_file_scope): Update.
  2911. * dwarf2read.c (read_file_scope): Update.
  2912. * dbxread.c (read_dbx_symtab): Update.
  2913. (read_dbx_symtab): Update.
  2914. * coffread.c (complete_symtab): Update.
  2915. 2003-09-12 Jeff Johnston <jjohnstn@redhat.com>
  2916. * top.c (quit_target): New static helper function.
  2917. (quit_force): Moved code to quit_target(). Call quit_target()
  2918. via catch_errors() to catch errors during quit.
  2919. 2003-09-11 David Carlton <carlton@kealia.com>
  2920. * buildsym.c (finish_block): Use allocate_block to allocate the
  2921. block.
  2922. * mdebugread.c (new_block): Add FIXME.
  2923. 2003-09-11 David Carlton <carlton@kealia.com>
  2924. * gdbtypes.h: Add TYPE_CODE_NAMESPACE.
  2925. * gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE.
  2926. (recursive_dump_type): Ditto.
  2927. * printcmd.c (print_formatted): Ditto.
  2928. * typeprint.c (print_type_scalar): Ditto.
  2929. * c-typeprint.c (c_type_print_varspec_prefix): Ditto.
  2930. (c_type_print_varspec_suffix, c_type_print_base): Ditto.
  2931. * cp-support.h: Declare cp_check_possible_namespace_symbols,
  2932. maint_cplus_cmd_list.
  2933. * cp-support.c: Make maint_cplus_cmd_list extern.
  2934. * cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h,
  2935. command.h.
  2936. (lookup_symbol_file): Look in possible namespace blocks when
  2937. appropriate.
  2938. (initialize_namespace_symtab): New.
  2939. (get_possible_namespace_block, free_namespace_block)
  2940. (check_possible_namespace_symbols)
  2941. (check_possible_namespace_symbols_loop)
  2942. (check_one_possible_namespace_symbol)
  2943. (lookup_possible_namespace_symbol, maintenance_cplus_namespace)
  2944. (_initialize_cp_namespace): Ditto.
  2945. * block.h: Declare allocate_block.
  2946. * block.c (allocate_block): New.
  2947. * jv-lang.c (get_java_class_symtab): Allocate blocks via
  2948. allocate_block.
  2949. * symfile.h: Update declaration of add_psymbol_to_list.
  2950. * symfile.c (add_psymbol_to_list): Return the partial symbol in
  2951. question.
  2952. * dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to
  2953. scan_partial_symbols_call.
  2954. (scan_partial_symbols): Add NAMESPACE argument; update calls to
  2955. helper functions.
  2956. (add_partial_symbol): If necessary, scan mangled names for names
  2957. of namespaces.
  2958. (add_partial_namespace): Add NAMESPACE argument; generate partial
  2959. symbols associated to namespaces.
  2960. (add_partial_enumeration): Add NAMESPACE argument.
  2961. (new_symbol): Allow namespace syms.
  2962. (read_namespace): Generate namespace syms.
  2963. * objfiles.h: Add opaque declaration of struct symtab.
  2964. (struct objfile): Add cp_namespace_symtab member.
  2965. * objfiles.c (allocate_objfile): Set
  2966. objfile->cp_namespace_symtab.
  2967. * Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h,
  2968. dictionary_h, command_h.
  2969. 2003-09-11 Andrew Cagney <cagney@redhat.com>
  2970. * rs6000-tdep.c (rs6000_push_dummy_call): Use
  2971. regcache_raw_write_signed to set SP_REGNUM, move the operation to
  2972. near the function's end.
  2973. (rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp".
  2974. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use
  2975. regcache_raw_write_signed to set SP_REGNUM.
  2976. 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
  2977. * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure
  2978. orig_addrs is set up properly.
  2979. 2003-09-11 Andrew Cagney <cagney@redhat.com>
  2980. * gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN.
  2981. * gdbarch.h, gdbarch.c: Re-generate.
  2982. * infcall.c (call_function_by_hand): Update.
  2983. * hppa-tdep.c (hppa_push_arguments): Update.
  2984. * ada-lang.c (place_on_stack): Update.
  2985. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  2986. * sparc-tdep.c (sparc_gdbarch_init): Update.
  2987. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  2988. * hppa-tdep.c (hppa_gdbarch_init): Update.
  2989. * h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to
  2990. stack_align.
  2991. 2003-09-11 Daniel Jacobowitz <drow@mvista.com>
  2992. * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a
  2993. register do need a frame.
  2994. 2003-09-11 Andrew Cagney <cagney@redhat.com>
  2995. Since the IRIX 4 configuration was forcing K&R mode it hasn't been
  2996. buildable since GDB 5.0.
  2997. * NEWS: Mention that IRIX 3 and IRIX 4 support were removed.
  2998. * configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*".
  2999. * configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3.
  3000. * irix4-nat.c: Delete file.
  3001. * config/mips/irix4.mh: Delete file.
  3002. * config/mips/irix3.mh: Delete file.
  3003. * config/mips/irix3.mt: Delete file.
  3004. * config/mips/tm-irix3.h: Delete file.
  3005. * config/mips/nm-irix3.h: Delete file.
  3006. * config/mips/xm-irix3.h: Delete file.
  3007. * config/mips/nm-irix4.h: Delete file.
  3008. * config/mips/xm-irix4.h: Delete file.
  3009. * config/mips/tm-irix5.h: Inline contents of "tm-irix3.h".
  3010. 2003-09-10 J. Brobecker <brobecker@gnat.com>
  3011. * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure.
  3012. * Makefile.in (hppa-tdep.o): Update dependencies.
  3013. 2003-09-10 James E Wilson <wilson@specifixinc.com>
  3014. * MAINTAINERS: Change my e-mail address. Move to paper trail
  3015. section.
  3016. 2003-09-10 Kevin Buettner <kevinb@redhat.com>
  3017. * MAINTAINERS (frv): New ISA entry.
  3018. 2003-09-10 Kevin Buettner <kevinb@redhat.com>
  3019. * frv-tdep.c (dis-asm.h): Include.
  3020. * Makefile.in (frv-tdep.o): Update dependencies.
  3021. 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
  3022. * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs):
  3023. Fix typo for high range of floating registers.
  3024. 2003-09-09 David Carlton <carlton@kealia.com>
  3025. * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and
  3026. highpc initialization here out of scan_partial_symbols.
  3027. (scan_partial_symbols): Restructure into a recursive version,
  3028. calling add_partial_namespace and add_partial_enumeration when
  3029. appropriate.
  3030. (add_partial_namespace): New.
  3031. (add_partial_enumeration, locate_pdi_sibling): Ditto.
  3032. 2003-09-09 Andrew Cagney <cagney@redhat.com>
  3033. * rs6000-tdep.c (ppc_push_return_address): Delete function.
  3034. (rs6000_push_dummy_call): Set LR to BP_ADDR.
  3035. (rs6000_gdbarch_init): Do not set deprecated_push_return_address.
  3036. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.
  3037. * rs6000-tdep.c (rs6000_fix_call_dummy): Delete function.
  3038. (rs6000_push_dummy_call): Set the "TOC" register.
  3039. * rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated
  3040. methods "max_register_raw_size", "max_register_virtual_size" or
  3041. "register_virtual_size".
  3042. 2003-09-09 Ian Lance Taylor <ian@wasabisystems.com>
  3043. * MAINTAINERS: Update my e-mail address.
  3044. 2003-09-09 Andrew Cagney <cagney@redhat.com>
  3045. * rs6000-tdep.c (rs6000_store_struct_return): Delete function.
  3046. (rs6000_push_dummy_call): Store the struct return address.
  3047. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.
  3048. 2003-09-09 Andrew Cagney <cagney@redhat.com>
  3049. * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace
  3050. "ppc_sysv_abi_push_arguments".
  3051. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace
  3052. "ppc_sysv_abi_push_arguments".
  3053. * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call"
  3054. instead of "push_arguments".
  3055. (rs6000_push_dummy_call): Replace "rs6000_push_arguments".
  3056. 2003-09-09 Andrew Cagney <cagney@redhat.com>
  3057. * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS
  3058. instead of CALL_DUMMY_ADDRESS.
  3059. 2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com>
  3060. * p-lang.c: Eliminate "register".
  3061. * c-lang.c: Ditto.
  3062. * expprint.c: Ditto.
  3063. * f-lang.c: Ditto.
  3064. * jv-lang.c: Ditto.
  3065. * language.c: Ditto.
  3066. * m2-lang.c: Ditto.
  3067. * parse.c: Ditto.
  3068. * scm-lang.c: Ditto.
  3069. * objc-lang.c: Ditto.
  3070. 2003-09-09 Nick Clifton <nickc@redhat.com>
  3071. * v850-tdep.c (v850_processor_type_table): Add bfd_mach_v850e1.
  3072. 2003-09-04 Andrew Cagney <cagney@redhat.com>
  3073. * avr-tdep.c: Include "dis-asm.h".
  3074. * cris-tdep.c: Include "dis-asm.h".
  3075. (cris_delayed_get_disassembler): Use "struct disassemble_info"
  3076. instead of corresponding typedef.
  3077. * h8300-tdep.c: Include "dis-asm.h".
  3078. * ia64-tdep.c: Include "dis-asm.h".
  3079. * i386-tdep.c: Include "dis-asm.h".
  3080. (i386_print_insn): Use "struct disassemble_info" instead of
  3081. corresponding typedef.
  3082. * m68k-tdep.c: Include "dis-asm.h".
  3083. * mcore-tdep.c: Include "dis-asm.h".
  3084. * mips-tdep.c: Include "dis-asm.h".
  3085. (gdb_print_insn_mips): Make static, use "struct disassemble_info"
  3086. instead of corresponding typedef.
  3087. * ns32k-tdep.c: Include "dis-asm.h".
  3088. * s390-tdep.c: Include "dis-asm.h".
  3089. * sparc-tdep.c: Include "dis-asm.h".
  3090. * vax-tdep.c: Include "dis-asm.h".
  3091. * v850-tdep.c: Include "dis-asm.h".
  3092. * mn10300-tdep.c: Include "dis-asm.h".
  3093. * rs6000-tdep.c: Include "dis-asm.h".
  3094. * xstormy16-tdep.c: Include "dis-asm.h".
  3095. (_initialize_xstormy16_tdep): Delete "extern" declaration of
  3096. print_insn_xstormy16.
  3097. * Makefile.in (v850-tdep.o): Update dependencies.
  3098. (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
  3099. (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
  3100. (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
  3101. (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
  3102. (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
  3103. (gdbarch_h): Remove $(dis_asm_h).
  3104. * disasm.c: Include "dis-asm.h".
  3105. (dis_asm_read_memory): Use "struct disassemble_info" instead of
  3106. corresponding typedef.
  3107. (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
  3108. (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
  3109. * gdbarch.sh: Do not include "dis-asm.h".
  3110. (struct disassemble_info): Declare opaque.
  3111. (TARGET_PRINT_INSN): Update declaration.
  3112. * gdbarch.h, gdbarch.c: Re-generate.
  3113. 2003-09-08 Andrew Cagney <cagney@redhat.com>
  3114. * gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename
  3115. CALL_DUMMY_ADDRESS, change to a predicate.
  3116. * gdbarch.h, gdbarch.c: Re-generate.
  3117. * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
  3118. Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address.
  3119. * infcall.c (call_function_by_hand): Ditto.
  3120. * sparc-tdep.c (sparc_push_return_address): Ditto.
  3121. (sparc_gdbarch_init): Set deprecated_call_dummy_address.
  3122. * xstormy16-tdep.c (xstormy16_push_return_address): Replace
  3123. CALL_DUMMY_ADDRESS with entry_point_address.
  3124. * v850-tdep.c (v850_push_return_address): Ditto.
  3125. * s390-tdep.c (s390_push_return_address): Ditto.
  3126. * rs6000-tdep.c (ppc_push_return_address): Ditto.
  3127. * mn10300-tdep.c (mn10300_push_return_address): Ditto.
  3128. * mcore-tdep.c (mcore_push_return_address): Ditto.
  3129. * cris-tdep.c (cris_push_return_address): Ditto.
  3130. * arm-tdep.c (arm_push_return_address): Ditto.
  3131. 2003-09-08 Andrew Cagney <cagney@redhat.com>
  3132. * dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous
  3133. enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED
  3134. and REG_UNMODIFIED to REG_SAME_VALUE.
  3135. (execute_cfa_program): Update.
  3136. (dwarf2_frame_cache): Update. Initialize table to
  3137. REG_UNSPECIFIED, complain if CFI fails to specify a register's
  3138. location.
  3139. (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED.
  3140. 2003-09-08 Andrew Cagney <cagney@redhat.com>
  3141. * gnu-nat.c: Remove "inline" function attribute.
  3142. * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto.
  3143. 2003-09-08 Kevin Buettner <kevinb@redhat.com>
  3144. * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V
  3145. target.
  3146. 2003-09-08 Kevin Buettner <kevinb@redhat.com>
  3147. * frv-tdep.c (frame-unwind.h, frame-base.h): Include.
  3148. (frame_extra_info): Rename this struct to frv_unwind_cache.
  3149. Delete fields ``fp_to_callers_sp_offset'' and ``lr_saved_on_stack''.
  3150. Add fields ``prev_sp'' and ``base''.
  3151. (frv_frame_chain, frv_frame_saved_pc, frv_frame_init_saved_regs)
  3152. (frv_saved_pc_after_call, frv_init_extra_frame_info)
  3153. (frv_push_return_address, frv_pop_frame, frv_pop_frame_regular):
  3154. Delete.
  3155. (frv_analyze_prologue): Add ``struct frv_unwind_cache *'' argument.
  3156. Revise all callers. Fill in the unwind cache argument and make
  3157. other adjustments to account for new frame mechanisms.
  3158. (frv_frame_unwind_cache, frv_frame_align, frv_unwind_pc)
  3159. (frv_frame_this_id, frv_frame_prev_register, frv_frame_sniffer)
  3160. (frv_frame_base_address, frv_unwind_dummy_id): New functions.
  3161. (frv_frame_unwind, frv_frame_base): New structs.
  3162. (frv_push_arguments): Change name to frv_push_dummy_call(). Add
  3163. additional arguments expected by this method and adjust function
  3164. body accordingly.
  3165. (frv_gdbarch_init): Remove calls to the following functions:
  3166. set_gdbarch_deprecated_init_frame_pc(),
  3167. set_gdbarch_deprecated_saved_pc_after_call(),
  3168. set_gdbarch_deprecated_frame_chain(),
  3169. set_gdbarch_deprecated_frame_saved_pc(),
  3170. set_gdbarch_deprecated_frame_init_saved_regs(),
  3171. set_gdbarch_deprecated_push_arguments(),
  3172. set_gdbarch_deprecated_push_return_address(),
  3173. set_gdbarch_deprecated_pop_frame(),
  3174. set_gdbarch_deprecated_call_dummy_words(),
  3175. set_gdbarch_deprecated_sizeof_call_dummy_words(),
  3176. set_gdbarch_deprecated_init_extra_frame_info(),
  3177. set_gdbarch_deprecated_dummy_write_sp(), and
  3178. set_gdbarch_deprecated_pc_in_call_dummy().
  3179. Add calls to the following functions:
  3180. set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(),
  3181. set_gdbarch_frame_align(), frame_unwind_append_sniffer(), and
  3182. frame_base_set_default().
  3183. * Makefile.in (frv-tdep.o): Update dependencies.
  3184. 2003-09-09 Mark Kettenis <kettenis@gnu.org>
  3185. * dwarf2-frame.c (read_encoded_value): Add support for
  3186. DW_EH_PE_aligned encoding.
  3187. 2003-09-08 Daniel Jacobowitz <drow@mvista.com>
  3188. * infrun.c (normal_stop): Don't print a message if the inferior
  3189. has exited.
  3190. 2003-09-08 Jim Blandy <jimb@redhat.com>
  3191. * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h).
  3192. * dbxread.c: #include "gdb_assert.h".
  3193. (read_dbx_symtab): If the objfile has no .data section, use the
  3194. section index for the .bss section instead.
  3195. 2003-09-08 Daniel Jacobowitz <drow@mvista.com>
  3196. * frame.c (deprecated_safe_get_selected_frame): New function.
  3197. * frame.h (deprecated_safe_get_selected_frame): Add prototype.
  3198. * findvar.c (read_var_value): Call it.
  3199. 2003-09-08 Corinna Vinschen <vinschen@redhat.com>
  3200. * Makefile.in (ALLDEPFILES): Add sh64-tdep.c.
  3201. (sh64-tdep.o): Add dependencies.
  3202. * configure.tgt: Add FIXME to sh-*-linux*.
  3203. * sh-tdep.c: Move sh64 support to sh64-tdep.c.
  3204. (sh_gdbarch_init): Always set correct sh_show_regs function
  3205. pointer. Call sh64_gdbarch_init() if machine type is sh5.
  3206. * sh-tdep.h: Move sh64 support to sh64-tdep.c.
  3207. * sh64-tdep.c: New file, containing all sh64 related code from
  3208. sh-tdep.c.
  3209. * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
  3210. * config/sh/linux.mt (TDEPFILES): Ditto.
  3211. * config/sh/nbsd.mt (TDEPFILES): Ditto.
  3212. * config/sh/tm-sh.h: Drop REGISTER_TYPE definition.
  3213. * config/sh/wince.mt (TDEPFILES): Ditto.
  3214. 2003-09-07 Daniel Jacobowitz <drow@mvista.com>
  3215. * lin-lwp.c (detach_callback): Don't call stop_wait_callback.
  3216. (stop_wait_callback): Handle !lp->signalled also.
  3217. (lin_lwp_has_pending, flush_callback): New functions.
  3218. (lin_lwp_wait): Call flush_callback.
  3219. * linux-proc.c (linux_proc_add_line_to_sigset): New function.
  3220. (linux_proc_pending_signals): New function.
  3221. * linux-nat.h (linux_proc_pending_signals): Add prototype.
  3222. 2003-09-07 Daniel Jacobowitz <drow@mvista.com>
  3223. From Nick Kelsey <nickk@ubicom.com>:
  3224. * infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE
  3225. when the stop PC is at the beginning of a function also.
  3226. 2003-09-06 Daniel Jacobowitz <drow@mvista.com>
  3227. * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New.
  3228. (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint.
  3229. 2003-09-06 Mark Kettenis <kettenis@gnu.org>
  3230. * sol-thread.c: Include "gdb_string.h".
  3231. 2003-09-03 Mark Kettenis <m.kettenis@osp.nl>
  3232. * gcore.c: Reorder include files in alphabetical order. Include
  3233. "gdb_assert.h". Various coding style fixes.
  3234. (derive_stack_segment, derive_heap_segment): Replace check for
  3235. non-null BOTTOM and TOP with gdb_assert.
  3236. (derive_heap_segment): Replace check for successful creation of
  3237. ZERO with gdb_assert.
  3238. (make_mem_sec): Use bfd_section_lma to set OSEC->lma.
  3239. 2003-09-04 Andrew Cagney <cagney@redhat.com>
  3240. * thread-db.c (verbose_dlsym): New function.
  3241. (thread_db_load): Use verbose_dlsym
  3242. (thread_db_new_objfile): Print that libthread_db was loaded, and
  3243. that thread debugging was enabled.
  3244. 2003-09-04 Andrew Cagney <cagney@redhat.com>
  3245. * configure.tgt: Add "mips64*-*-*" target. Delete
  3246. mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*,
  3247. mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*,
  3248. mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*,
  3249. mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*,
  3250. mips*-sony-*, and mips64*-*-elf* targets.
  3251. * config/mips/embedl.mt: Delete file.
  3252. * config/mips/embedl64.mt: Delete file.
  3253. * config/mips/mips.mt: Delete file.
  3254. * config/mips/mips64.mt: Delete file.
  3255. * config/mips/tm-embed.h: Delete file.
  3256. * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h".
  3257. * config/mips/embed64.mt: Delete out-of-date comment.
  3258. 2003-09-04 Andrew Cagney <cagney@redhat.com>
  3259. * hppa-tdep.c (hppa_gdbarch_init): Set
  3260. "have_nonsteppable_watchpoint".
  3261. * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
  3262. * mips-tdep.c (mips_dump_tdep): Do not print
  3263. HAVE_NONSTEPPABLE_WATCHPOINT.
  3264. (mips_gdbarch_init): Set "have_nonsteppable_watchpoint".
  3265. * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
  3266. * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
  3267. * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
  3268. 2003-09-04 Corinna Vinschen <vinschen@redhat.com>
  3269. * breakpoint.c (watchpoint_check): Remove accidentally checked in
  3270. unused code. Add comment.
  3271. 2003-09-04 Corinna Vinschen <vinschen@redhat.com>
  3272. * breakpoint.c (watchpoint_check): Check for pc being in an
  3273. epilogue if watchpoint frame couldn't be found.
  3274. 2003-09-04 Andrew Cagney <cagney@redhat.com>
  3275. * Makefile.in: Re-generate all dependencies.
  3276. 2003-09-03 Andrew Cagney <cagney@redhat.com>
  3277. * arch-utils.h (legacy_print_insn): Delete declaration.
  3278. * arch-utils.c (legacy_print_insn): Delete function.
  3279. * disasm.c (deprecated_tm_print_insn_info): Delete.
  3280. (_initialize_disasm): Delete function, contained code initializing
  3281. deprecated_tm_print_insn_info.
  3282. * gdbarch.sh (deprecated_tm_print_insn): Delete.
  3283. (deprecated_tm_print_insn_info): Delete.
  3284. (TARGET_PRINT_INSN): Do not provide a default.
  3285. * gdbarch.h, gdbarch.c: Re-generate.
  3286. 2003-09-03 Andrew Cagney <cagney@redhat.com>
  3287. * disasm.c (fprintf_disasm): New function.
  3288. (gdb_disassemble_info): Call "init_disassemble_info", instead of
  3289. INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets",
  3290. reverts 2003-08-14 change.
  3291. (_initialize_disasm): Call "init_disassemble_info", instead of
  3292. INIT_DISASSEMBLE_INFO_NO_ARCH.
  3293. 2003-09-03 Michael Snyder <msnyder@redhat.com>
  3294. * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch].
  3295. 2003-09-03 Andrew Cagney <cagney@redhat.com>
  3296. * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition.
  3297. * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define.
  3298. * symfile.c (syms_from_objfile): Update.
  3299. (reread_symbols): `Update
  3300. * exec.c (exec_file_attach): Update.
  3301. (exec_file_attach): Update.
  3302. * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert
  3303. 2003-08-29 change.
  3304. * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET.
  3305. 2003-09-03 Daniel Jacobowitz <drow@mvista.com>
  3306. * arm-tdep.c: Include frame-unwind.h, frame-base.h, and
  3307. trad-frame.h.
  3308. (arm_get_cache): Delete macro.
  3309. (struct arm_prologue_cache): Update comments. Make saved_regs into
  3310. a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp
  3311. to prev_sp.
  3312. (thumb_scan_prologue): Update for cache changes. Don't call
  3313. DEPRECATED_PC_IN_CALL_DUMMY.
  3314. (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME
  3315. argument and use it in desperation search for our prologue. Do not
  3316. search past the specified PC.
  3317. (arm_make_prologue_cache): Simplify.
  3318. (arm_prologue_this_id, arm_prologue_prev_register)
  3319. (arm_prologue_unwind, arm_prologue_unwind_sniffer)
  3320. (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache)
  3321. (arm_sigtramp_this_id, arm_sigtramp_prev_register)
  3322. (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer)
  3323. (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New.
  3324. (arm_frame_chain_valid, arm_find_callers_reg)
  3325. (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs)
  3326. (arm_pop_frame): Delete obsolete methods.
  3327. (arm_minimal_frame_chain, arm_minimal_frame_info): Delete.
  3328. (arm_gdbarch_init): Update for new frame methods. Register prologue
  3329. and sigtramp unwinders. Set the default frame base method.
  3330. * Makefile.in (arm-tdep.o): Update dependencies.
  3331. * varobj.c (find_frame_addr_in_frame_chain): Call
  3332. get_frame_base_address.
  3333. * std-regs.c (value_of_builtin_frame_fp_reg): Likewise.
  3334. 2003-09-03 Daniel Jacobowitz <drow@mvista.com>
  3335. * arm-tdep.c (arm_minimal_frame_chain): Renamed from
  3336. arm_frame_chain. Take NEXT_FRAME and CACHE arguments.
  3337. Use the cache instead of DEPRECATED_FRAME_SAVED_PC.
  3338. (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info.
  3339. Take NEXT_FRAME and CACHE arguments. Call
  3340. FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument.
  3341. Set unwound_pc in CACHE instead of modifying the frame argument.
  3342. Don't bother checking the frame type when looking for sigtramp
  3343. frames.
  3344. (arm_make_prologue_cache, arm_frame_chain)
  3345. (arm_init_extra_frame_info): New functions.
  3346. 2003-09-03 Daniel Jacobowitz <drow@mvista.com>
  3347. * arm-tdep.c (arm_get_cache): Define.
  3348. (struct arm_prologue_cache): Renamed from frame_extra_info. Add
  3349. unwound_sp, unwound_pc, and saved_regs.
  3350. (thumb_scan_prologue): Take a cache instead of the frame.
  3351. (arm_scan_prologue): Likewise.
  3352. (arm_frame_chain): Create a temporary cache for arm_scan_prologue
  3353. instead of a temporary frame.
  3354. (arm_init_extra_frame_info): Allocate and use a cache.
  3355. (arm_frame_saved_pc, arm_pop_frame): Use the cache.
  3356. 2003-09-03 Andrew Cagney <cagney@redhat.com>
  3357. * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS.
  3358. * config/mips/wince.mt (TM_CLIBS): Ditto.
  3359. * config/sh/wince.mt (TM_CLIBS): Ditto.
  3360. * config/pa/hppa64.mt (TM_CLIBS): Delete.
  3361. * config/sparc/sp64.mt (CC): Delete.
  3362. 2003-09-03 Andrew Cagney <cagney@redhat.com>
  3363. * defs.h: Do not include "arch-utils.h".
  3364. (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or
  3365. GDB_MULTI_ARCH_PURE.
  3366. * configure.in (GDB_MULTI_ARCH): Do not define.
  3367. * configure, config.in: Regenerate.
  3368. * configure.tgt: Do not set variable "gdb_multi_arch".
  3369. * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete.
  3370. * config/s390/s390.mt (GDB_MULTI_ARCH): Delete.
  3371. * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete.
  3372. * config/v850/v850.mt (TM_FILE): Delete disabled definition.
  3373. * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition.
  3374. * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition.
  3375. * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition.
  3376. * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition.
  3377. * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition.
  3378. * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition.
  3379. * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition.
  3380. * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition.
  3381. * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition.
  3382. * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition.
  3383. * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition.
  3384. * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition.
  3385. * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition.
  3386. * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition.
  3387. 2003-08-30 Michael Chastain <mec@shout.net>
  3388. * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h.
  3389. * config/m68k/nm-hp300hpux.h: Delete.
  3390. * config/m68k/tm-hp300hpux.h: Delete.
  3391. * config/m68k/xm-hp300hpux.h: Delete.
  3392. * config/m68k/xm-hp300bsd.h: Delete.
  3393. * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h,
  3394. tm-hp300hpux.h, xm-hp300hpux.h.
  3395. * somsolib.c: Remove comment about hp300 shared libraries.
  3396. 2003-08-31 Mark Kettenis <kettenis@gnu.org>
  3397. * i386-linux-nat.c (ps_get_thread_area): Don't define as extern.
  3398. Only define PTRACE_GET_THREAD_AREA is not already defined.
  3399. Various style fixes in code and comments and some additional
  3400. spelling fixes in comments. Move after functions dealing with
  3401. debug registers.
  3402. * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern.
  3403. Fix coding-style.
  3404. * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use
  3405. frame_unwind_register_unsigned instead of
  3406. frame_unwind_unsigned_register.
  3407. 2003-08-30 Mark Kettenis <kettenis@gnu.org>
  3408. * configure.in: Search for gethostbyname in libnsl.
  3409. * configure: Regenerated.
  3410. 2003-08-29 Mark Kettenis <kettenis@gnu.org>
  3411. * configure.in: Remove redundant AC_MSG_RESULT in check for
  3412. uintptr_t in stdint.h.
  3413. * configure: Regenerated.
  3414. * amd64-nat.h (struct regcache): Add opaque declaration.
  3415. * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.
  3416. * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h".
  3417. Change "register array" to "register cache" in comments.
  3418. (x86_64_linux_gregset64_reg_offset): New variable.
  3419. (GETREGS_SUPPLIES): Remove macro.
  3420. (supply_gregset): Call amd64_supply_native_gregset instead of
  3421. x86_64_linux_supply_gregset.
  3422. (fill_gregset): Rename `regno' to `regnum'. Call
  3423. amd64_collect_native_gregset instead of x86_64_linux_fill_gregset.
  3424. (store_regs): Rename `regno' to `regnum'.
  3425. (store_fpregs): Rename `regno' to `regnum'.
  3426. (fetch_inferior_registers): Rename `regno' to `regnum'. Use
  3427. amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
  3428. Reorganize function a bit.
  3429. (store_inferior_registers): Rename `regno' to `regnum'. Use
  3430. amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
  3431. Reorganize function a bit.
  3432. (_initialize_x86_64_linux_nat): New function.
  3433. * config/i386/x86-64linux.mh.
  3434. 2003-08-29 Andrew Cagney <cagney@redhat.com>
  3435. * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro.
  3436. (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro.
  3437. (target_remove_watchpoint): Delete macro.
  3438. (target_insert_watchpoint): Delete macro.
  3439. (remote_mips_can_use_hardware_watchpoint): Delete declaration.
  3440. (remote_mips_stopped_by_watchpoint): Delete declaration.
  3441. (remote_mips_remove_watchpoint): Delete declaration.
  3442. (remote_mips_set_watchpoint): Delete declaration.
  3443. (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro.
  3444. * remote-mips.c (_initialize_remote_mips): Set
  3445. "to_insert_watchpoint", "to_stopped_by_watchpoint",
  3446. "to_can_use_hardware_watchpoint", and "to_remove_watchpoint".
  3447. (mips_insert_watchpoint): Rename remote_mips_set_watchpoint.
  3448. (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint.
  3449. (mips_stopped_by_watchpoint): Rename
  3450. remote_mips_stopped_by_watchpoint.
  3451. (mips_can_hardware_watchpoint): Rename
  3452. remote_mips_can_use_hardware_watchpoint, update function
  3453. signature.
  3454. 2003-08-29 Mark Kettenis <kettenis@gnu.org>
  3455. * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and
  3456. USER_DS. We haven't given them a register number yet.
  3457. * amd64-nat.h: New file.
  3458. * amd64-nat.c: New file.
  3459. * amd64fbsd-nat.c: Include "amd64-nat.h".
  3460. (REG_ADDR, GETREGS_SUPPLIES): Remove macros.
  3461. (amd64fbsd32_r_reg_offset): New variable.
  3462. (supply_gregset): Simply call amd64_supply_native_gregset.
  3463. (fill_gregset): Rename `regno' to `regnum'. Simply call
  3464. amd64_collect_native_gregset.
  3465. (fill_fpregset): Rename `regno' to `regnum'.
  3466. (fetch_inferior_registers): Rename `regno' to `regnum'. Replace
  3467. usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
  3468. Use `struct reg' and `struct fpreg' instead of `gregset_t' and
  3469. `fpregset_t'. Call amd64_supply_native_gregset instead of
  3470. supply_gregset. Call x86_64_supply_fxsave instead of
  3471. supply_fpregset.
  3472. (store_inferior_registers): Rename `regno' to `regnum'. Replace
  3473. usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
  3474. Use `struct reg' and `struct fpreg' instead of `gregset_t' and
  3475. `fpregset_t'. Call amd64_collect_native_gregset instead of
  3476. fill_gregset. Call x86_64_collect_fxsave instead of
  3477. fill_fpregset.
  3478. (_initialize_am64fbsd_nat): Initialize
  3479. amd64_native_gregset32_reg_offset and
  3480. amd64_native_gregset64_reg_offset.
  3481. * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o.
  3482. * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a
  3483. null pointer. Fix typo in comment.
  3484. * regcache.c (supply_register): Reimplement to call
  3485. regcache_raw_supply.
  3486. (regcache_collect): Reimplement by calling regcache_raw_collect.
  3487. 2003-08-28 Mark Kettenis <kettenis@gnu.org>
  3488. * regcache.c (register_buffer): Consitify first argument.
  3489. (regcache_raw_supply, regcache_raw_collect): New
  3490. functions.
  3491. 2003-08-28 Daniel Jacobowitz <drow@mvista.com>
  3492. * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested
  3493. by Nathan J. Williams.
  3494. 2003-08-28 Daniel Jacobowitz <drow@mvista.com>
  3495. * lin-lwp.c (wait_lwp): New function, copied from
  3496. stop_wait_callback. Clean up.
  3497. (stop_wait_callback): Use wait_lwp.
  3498. 2003-08-28 Andrew Cagney <cagney@redhat.com>
  3499. * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's
  3500. flavour and disassembler options.
  3501. (_initialize_mips_tdep): Do not set deprecated_tm_print_insn.
  3502. (mips_gdbarch_init): Set "print_insn". Delete initialization of
  3503. deprecated_tm_print_insn_info.
  3504. 2003-08-27 Andrew Cagney <cagney@redhat.com>
  3505. * s390-tdep.c (s390_readinstruction): Delete "info" parameter.
  3506. Use target_read_memory.
  3507. (s390_get_frame_info): Update. Do not reference
  3508. deprecated_tm_print_insn_info.
  3509. (s390_check_function_end, s390_is_sigreturn): Ditto.
  3510. 2003-08-27 Andrew Cagney <cagney@redhat.com>
  3511. * Makefile.in (cris-tdep.o): Update dependencies.
  3512. * cris-tdep.c: Include "gdb_assert.h".
  3513. (cris_gdbarch_init): Set print_insn.
  3514. (_initialize_cris_tdep): Do not set deprecated_tm_print_insn.
  3515. (cris_delayed_get_disassembler): Simplify, directly call the
  3516. disassembler returned by cris_get_disassembler.
  3517. * hppa-tdep.c (hppa_gdbarch_init): Set print_insn.
  3518. (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn.
  3519. * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn.
  3520. (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn.
  3521. * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn.
  3522. (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn.
  3523. * mcore-tdep.c (mcore_gdbarch_init): Set print_insn.
  3524. (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn.
  3525. * frv-tdep.c (frv_gdbarch_init): Set print_insn.
  3526. (_initialize_frv_tdep): Do not set deprecated_tm_print_insn.
  3527. * sparc-tdep.c (sparc_gdbarch_init): Set print_insn.
  3528. (gdb_print_insn_sparc): Delete function.
  3529. (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or
  3530. deprecated_tm_print_insn_info.
  3531. * v850-tdep.c (v850_gdbarch_init): Set print_insn.
  3532. (_initialize_v850_tdep): Do not set deprecated_tm_print_insn.
  3533. (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info.
  3534. * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn.
  3535. (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn.
  3536. * s390-tdep.c (gdb_print_insn_s390): Delete function.
  3537. (_initialize_s390_tdep): Do not set deprecated_tm_print_insn.
  3538. (s390_gdbarch_init): Set print_insn.
  3539. 2003-08-27 Andrew Cagney <cagney@redhat.com>
  3540. * ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function.
  3541. (ppc_linux_init_abi): For PPC64, do not set call_dummy_address.
  3542. * infcall.c (call_function_by_hand): Convert the entry point
  3543. address into a code address.
  3544. 2003-08-27 Andrew Cagney <cagney@redhat.com>
  3545. * dsrec.c: Include "gdb_string.h".
  3546. * Makefile.in (dsrec.o): Update dependencies.
  3547. 2003-08-27 Michael Chastain <mec@shout.net>
  3548. * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*.
  3549. 2003-08-27 Andrew Cagney <cagney@redhat.com>
  3550. * alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function.
  3551. (alpha_osf1_init_abi): Do not set call_dummy_address.
  3552. 2003-08-27 David Carlton <carlton@kealia.com>
  3553. From Randolph Chung <tausq@debian.org>:
  3554. * linux-proc.c (linux_info_proc_cmd): rework the code so that it
  3555. compiles with -Wformat-nonliteral -Werror.
  3556. 2003-08-26 Jim Blandy <jimb@redhat.com>
  3557. * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument.
  3558. (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to
  3559. bfd_lookup_symbol, since we only want symbols in code sections.
  3560. (look_for_base): Pass zero as the SECT_FLAGS argument to
  3561. bfd_lookup_symbol, since we're not concerned about which section
  3562. the symbol is in.
  3563. 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
  3564. * ia64-tdep.c (examine_prologue): Only stop at predicated insns if
  3565. we are frameless or the return address register is already known.
  3566. 2003-08-26 Andrew Cagney <cagney@redhat.com>
  3567. * i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s
  3568. in size. Add comments.
  3569. 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
  3570. * ia64-tdep.c (ia64_convert_from_func_addr): New function.
  3571. (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr().
  3572. 2003-08-26 Jason Merrill <jason@redhat.com>
  3573. * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name
  3574. case out of #ifdef MIPS block.
  3575. 2003-08-25 Daniel Jacobowitz <drow@mvista.com>
  3576. PR java/1322
  3577. * dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are
  3578. available before calling SECT_OFF_TEXT.
  3579. * PROBLEMS: Remove description of java/1322.
  3580. 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
  3581. * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63,
  3582. bof, and nat0-nat127 as pseudo-registers.
  3583. (ia64_frame_cache): New struct used to cache frame info.
  3584. (ia64_register_reggroup_p): New routine used to override default
  3585. register grouping so registers without names are still saved and
  3586. restored.
  3587. (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their
  3588. pseudo values.
  3589. (ia64_pseudo_register_read): New routine to read pseudo-registers.
  3590. (ia64_pseudo_register_write): New routine to write pseudo-registers.
  3591. (ia64_alloc_frame_cache): New routine to create a new
  3592. ia64_frame_cache.
  3593. (examine_prologue): Change prototype to add next_frame pointer.
  3594. Assume frameless until otherwise proven. Verify that the cfm for
  3595. current frame matches the cfm that should occur for the prologues
  3596. alloc insn and if equal, mark as not frameless. At end of routine,
  3597. if not frameless, calculate registers for the previous frame and store
  3598. in the cache, if a cache is provided.
  3599. (ia64_skip_prologue): Use new prototype when calling examine_prologue
  3600. and pass 0 for next_frame.
  3601. (ia64_store_return_value): Change to use convert_typed_floating()
  3602. instead of calling ia64_convert_to_raw().
  3603. (ia64_extract_return_value): Change to use convert_typed_floating()
  3604. instead of calling ia64_convert_to_virtual().
  3605. (ia64_frame_cache): New routine to support new frame model.
  3606. (ia64_frame_this_id, ia64_frame_prev_register): Ditto.
  3607. (ia64_frame_sniffer): Ditto.
  3608. (ia64_sigtramp_frame_init_saved_regs): Ditto.
  3609. (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto.
  3610. (ia64_sigtramp_frame_prev_register): Ditto.
  3611. (ia64_sigtramp_frame_sniffer): Ditto.
  3612. (ia64_frame_base_address): Ditto.
  3613. (ia64_extract_struct_value_address): Change to issue error message.
  3614. (ia64_frame_align): New routine to align sp.
  3615. (ia64_push_dummy_call): New routine based on ia64_push_arguments().
  3616. (ia64_push_arguments): Removed. Logic moved to
  3617. ia64_push_dummy_call().
  3618. (ia64_push_return_address): Ditto.
  3619. (ia64_unwind_dummy_id): New function.
  3620. (ia64_unwind_pc): Ditto.
  3621. (ia64_convert_register_p): Ditto.
  3622. (ia64_register_to_value): Ditto.
  3623. (ia64_value_to_register): Ditto.
  3624. (ia64_pop_frame, ia64_pop_frame_regular): Removed.
  3625. (ia64_register_byte, ia64_register_raw_size): Ditto.
  3626. (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto.
  3627. (ia64_saved_pc_after_call): Ditto.
  3628. (ia64_frame_chain, ia64_frame_saved_pc): Ditto.
  3629. (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto.
  3630. (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto.
  3631. (ia64_register_convert_to_raw): Ditto.
  3632. (ia64_store_struct_return, ia64_call_dummy_words): Ditto.
  3633. (ia64_init_extra_frame_info): Ditto.
  3634. (ia64_frame_args_address, ia64_frame_locals_address): Ditto.
  3635. (ia64_gdbarch_init): Remove registering of deprecated functions that
  3636. are no longer used. Add registration of new gdbarch functions.
  3637. Remove registering deprecated_write_sp. Replace
  3638. set_gdbarch_register_virtual_type() with set_gdbarch_register_type().
  3639. Delete set_gdbarch_deprecated_register_convertible(),
  3640. set_gdbarch_deprecated_register_convert_to_virtual(), and
  3641. set_gdbarch_deprecated_register_convert_to_raw() calls. Remove
  3642. set_gdbarch_deprecated_register_size(),
  3643. set_gdbarch_deprecated_register_bytes(),
  3644. set_gdbarch_pcregnum(),
  3645. set_gdbarch_deprecated_register_byte(),
  3646. set_gdbarch_deprecated_register_raw_size(),
  3647. set_gdbarch_deprecated_max_register_raw_size(),
  3648. set_gdbarch_deprecated_register_virtual_size(),
  3649. and set_gdbarch_deprecated_max_register_virtual_size() calls.
  3650. Replace set_gdbarch_deprecated_extract_return_value() with
  3651. set_gdbarch_extract_return_value(). Remove calls to:
  3652. set_gdbarch_deprecated_saved_pc_after_call();
  3653. set_gdbarch_deprecated_frame_chain(),
  3654. set_gdbarch_deprecated_frame_saved_pc(),
  3655. set_gdbarch_deprecated_frame_init_saved_regs(),
  3656. set_gdbarch_deprecated_get_saved_register(),
  3657. set_gdbarch_deprecated_call_dummy_words(),
  3658. set_gdbarch_deprecated_sizeof_call_dummy_words(),
  3659. set_gdbarch_deprecated_init_extra_frame_info(),
  3660. set_gdbarch_deprecated_frame_args_address(),
  3661. set_gdbarch_deprecated_frame_locals_address(),
  3662. and set_gdbarch_deprecated_dummy_write_sp().
  3663. Add set_gdbarch_convert_register_p(),
  3664. set_gdbarch_register_to_value(),
  3665. set_gdbarch_value_to_register(),
  3666. set_gdbarch_push_dummy_call(),
  3667. set_gdbarch_frame_align(),
  3668. set_gdbarch_unwind_dummy_id(),
  3669. set_gdbarch_unwind_pc(),
  3670. frame_unwind_append_sniffer(),
  3671. frame_unwind_append_sniffer(),
  3672. and frame_base_set_default().
  3673. 2003-08-25 Chris Demetriou <cgd@broadcom.com>
  3674. * configure.tgt: Document need for special "mipsisa64" handling.
  3675. (mipsisa64*-*-linux64): Handle as target linux64.
  3676. (mipsisa64*-*-*): Handle as target embed64.
  3677. 2003-08-18 Michael Chastain <mec@shout.net>
  3678. * PROBLEMS: Document pr gdb/1322, the Java anonymous
  3679. objfile bug.
  3680. 2003-08-24 Mark Kettenis <kettenis@gnu.org>
  3681. * i387-tdep.h: Update copyright date.
  3682. (I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines.
  3683. * linux-proc.c (linux_proc_xfer_memory): Remove comment about
  3684. CFLAGS games to reflect reality.
  3685. 2003-08-24 Andrew Cagney <cagney@redhat.com>
  3686. * arm-tdep.c (_initialize_arm_tdep): Simplify by assuming
  3687. GDB_MULTI_ARCH is always non-zero.
  3688. * osabi.c (_initialize_gdb_osabi): Ditto.
  3689. (gdbarch_init_osabi): Ditto.
  3690. * sparc-tdep.c: Ditto for #if code.
  3691. 2003-08-23 Mark Kettenis <kettenis@gnu.org>
  3692. * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument.
  3693. Update comments.
  3694. * x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update
  3695. comments.
  3696. * x86-64-linux-tdep.c (fetch_core_registers): Adjust call to
  3697. x86_64_supply_fxsave.
  3698. * x86-64-linux-nat.c (supply_fpregset): Adjust call to
  3699. x86_64_supply_fxsave.
  3700. * amd64fbsd-nat.c (supply_fpregset): Adjust call to
  3701. x86_64_supply_fxsave.
  3702. 2003-08-23 Andreas Jaeger <aj@suse.de>
  3703. * x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to
  3704. i387_supply_fxsave.
  3705. 2003-08-23 Mark Kettenis <kettenis@gnu.org>
  3706. * go32-nat.c (fetch_register): Call i387_supply_fsave instead of
  3707. i387_supply_register.
  3708. (go32_fetch_registers): Adjust call to i387_supply_fsave.
  3709. * i386nbsd-tdep.c (fetch_core_registers): Adjust call to
  3710. i387_supply_fsave.
  3711. (fetch_elfcore_registers): Adjust call to i387_supply_fsave and
  3712. i387_supply_fxsave.
  3713. * i386obsd-tdep.c (fetch_core_registers): Adjust call to
  3714. i387_supply_fsave.
  3715. * i386bsd-nat.c (supply_fpregset): Adjust call to
  3716. i387_supply_fsave.
  3717. (fetch_inferior_registers): Remove extraneous whitespace. Adjust
  3718. call to i387_supply_fxsave. Call i387_supply_fsave instead of
  3719. supply_fpregset.
  3720. (store_inferior_registers): Remove extraneous whitespace. Call
  3721. i387_fill_fsave instead of fill_fpregset.
  3722. * i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave.
  3723. (supply_fpregset): Likewise.
  3724. * i386v4-nat.c (supply_fpregset): Adjust call to
  3725. i387_supply_fsave.
  3726. * i386-interix-nat.c (supply_fpregset): Adjust call to
  3727. i387_supply_fsave.
  3728. * i386-linux-nat.c (supply_fpregset): Adjust call to
  3729. i387_supply_fsave.
  3730. (supply_fpxregset): Adjust call to i387_adjust_fxsave.
  3731. * i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to
  3732. i387supply_fsave and i387_supply_fxsave.
  3733. * i387-tdep.c (i387_supply_fsave): Add `regnum' argument.
  3734. Incorporate code from `i387_supply_register.
  3735. (i387_supply_register): Remove.
  3736. (i387_supply_fxsave): Add `regnum' argument.
  3737. Update comments.
  3738. * i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust
  3739. prototype.
  3740. (i387_supply_register): remove prototype.
  3741. Update comments.
  3742. 2003-08-22 Michael Chastain <mec@shout.net>
  3743. * config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*.
  3744. Add lines for files in gdb/testsuite/gdb.cp/* that are
  3745. still not 8.3 unique.
  3746. 2003-08-22 Daniel Jacobowitz <drow@mvista.com>
  3747. * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether
  3748. TYPE_VPTR_FIELDNO is valid.
  3749. 2003-08-19 Mark Kettenis <kettenis@gnu.org>
  3750. * utils.c (set_width_command): Remove prototypes.
  3751. (set_screen_size): New prototype.
  3752. (init_page_info): Simplify by fetching the screen size from
  3753. Readline. Call set_screen_size.
  3754. (set_screen_size): New function.
  3755. (set_width): Add missing whitespace in comment.
  3756. (set_width_command): Call set_screen_size.
  3757. (set_height_command): New function.
  3758. (initialize_utils): Fix formatting. Make "set height" command
  3759. call set_height_command. Remove redundant code that turns off
  3760. pagination if output isn't a terminal. Remove redundant call to
  3761. set_width_command.
  3762. 2003-08-22 Mark Kettenis <kettenis@gnu.org>
  3763. * sparc64-tdep.h (sparc64_regnum): Fix comment.
  3764. (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes.
  3765. (sparc_supply_rwindow, sparc_fill_rwindow): New prototypes.
  3766. * sparc64-tdep.c (sparc64_pseudo_register_read): Add missing
  3767. `case' keyword.
  3768. (sparc64_register_info): Give the reister with number
  3769. SPARC64_STATE_REGNUM a name.
  3770. (sparc64_pseudo_register_write): Add support for %cwp, %pstate,
  3771. %asi and %ccr.
  3772. (sparc64_push_dummy_call): Take BIAS into account when checking
  3773. stcak alignment.
  3774. (sparc_software_single_step): Remove assertions that check whether
  3775. NPC and NNPC were zero.
  3776. (sparc_supply_rwindow): Make public. Merge functionality with
  3777. sparc64_supply_rwindow.
  3778. (sparc_fill_rwindow): Make public. Merge functionality with
  3779. sparc64_fill_rwindow.
  3780. (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove.
  3781. * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set
  3782. SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p.
  3783. * sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call
  3784. sparc_supply_rwindow instead of sparc64_supply_rwindow.
  3785. * reggroups.c: Add whitespace after declarations of local
  3786. variables in functions.
  3787. 2003-08-21 Michael Chastain <mec@shout.net>
  3788. * gdbtypes.h: Change array bound type from an int to enum.
  3789. 2003-08-21 Andrew Cagney <cagney@redhat.com>
  3790. * config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code.
  3791. * config/sparc/tm-sparc.h: Ditto.
  3792. * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH
  3793. unconditionally.
  3794. * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto.
  3795. 2003-07-13 Mark Kettenis <kettenis@gnu.org>
  3796. * objfiles.h (struct objfile): Add memebers `data' and `num_data'.
  3797. (register_objfile_data, set_objfile_data, objfile_data): New
  3798. prototypes.
  3799. * objfiles.c (objfile_alloc_data, objfile_free_data): New
  3800. prototypes.
  3801. (allocate_objfile): Call objfile_alloc_data.
  3802. (free_objfile): Call objfile_free_data.
  3803. (struct objfile_data): New.
  3804. (struct objfile_data_registration): New.
  3805. (struct objfile_data_registry): New.
  3806. (objfile_data_registry): New variable.
  3807. (register_objfile_data): New function.
  3808. (objfile_alloc_data, objfile_free_data): New functions.
  3809. (set_objfile_data, objfile_data): New functions.
  3810. * dwarf2-frame.c (dwarf2_frame_data): New variable.
  3811. (dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism.
  3812. (_initialize_dwarf2_frame): New function and prototype.
  3813. 2003-08-21 Andrew Cagney <cagney@redhat.com>
  3814. * sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select
  3815. a specific architecture.
  3816. * arch-utils.h (set_architecture_from_arch_mach): Delete
  3817. declaration.
  3818. (target_architecture_hook): Delete declaration.
  3819. * arch-utils.c: Delete non GDB_MULTI_ARCH includes.
  3820. (default_float_format): Assume GDB_MULTI_ARCH.
  3821. (default_double_format): Assume GDB_MULTI_ARCH.
  3822. (set_endian_from_file): Delete function.
  3823. (arch_ok): Delete function.
  3824. (set_arch): Delete function.
  3825. (set_architecture_from_arch_mach): Delete function.
  3826. (set_architecture_from_file): Delete function.
  3827. (set_architecture): Assume GDB_MULTI_ARCH.
  3828. (set_gdbarch_from_file): Assume GDB_MULTI_ARCH.
  3829. 2003-08-21 Mark Kettenis <kettenis@gnu.org>
  3830. Rewrite FreeBSD/sparc64 native configuration.
  3831. * sparcbsd-nat.c, sparcbsd-nat.h: New files.
  3832. * sparc64fbsd-nat.c: New file.
  3833. * sparc64fbsd-tdep.c: New file.
  3834. * sparc64-tdep.c sparc64-tdep.h: New files.
  3835. * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o,
  3836. sparc64fbsd-tdep.o): New dependencies.
  3837. (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c
  3838. and sparc64fbsd-tdep.c.
  3839. (sparc64_tdep_h, sparcbsd_nat_h): New variables.
  3840. * config/sparc/fbsd.mh: Remove copyright notice.
  3841. (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and
  3842. sparcbsd-nat.o.
  3843. * config/sparc/fbsd.mt: Remove copyright notice.
  3844. (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o,
  3845. solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o.
  3846. * config/sparc/nm-fbsd.h: Don't include "elf/common.h".
  3847. (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS,
  3848. PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T,
  3849. regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu,
  3850. fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines.
  3851. * config/sparc/tm-fbsd.h: Don't include "solib.h" and
  3852. "sparc/tm-sp64.h".
  3853. (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines.
  3854. (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM.
  3855. 2003-08-21 Michael Chastain <mec@shout.net>
  3856. * symtab.h: Add doco on the space critical structures and
  3857. some measurements of space usage.
  3858. 2003-08-21 Michael Snyder <msnyder@redhat.com>
  3859. * tracepoint.c (trace_dump_command): Trace break address
  3860. is subject to DECR_PC_AFTER_BREAK.
  3861. (set_traceframe_context): Make "trace_line" an int.
  3862. Fixes suggested by Mark Newman <mark.newman@lmco.com>
  3863. 2003-08-20 Michael Snyder <msnyder@redhat.com>
  3864. * sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG.
  3865. * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set
  3866. FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for
  3867. argument passing.
  3868. (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New
  3869. functions, replace sh_push_dummy_call.
  3870. (sh_gdbarch_init): Set push_dummy_call to one of new methods.
  3871. 2003-08-20 Michael Chastain <mec@shout.net>
  3872. * gdbtypes.h (struct main_type): Rearrange to save space.
  3873. 2003-08-20 Michael Snyder <msnyder@redhat.com>
  3874. * trad-frame.c: Comment typo fix.
  3875. 2003-08-20 Michael Snyder <msnyder@redhat.com>
  3876. Kevin Buettner <kevinb@redhat.com>
  3877. * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include.
  3878. (frv_frame_init_saved_regs): Add declaration.
  3879. (frame_extra_info): Add new field ``saved_regs''.
  3880. (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue)
  3881. (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular):
  3882. Update frame related code.
  3883. (frv_extract_struct_value_address): Adjust formatting.
  3884. * Makefile.in (frv-tdep.o): Update dependencies.
  3885. * config/frv/tm-frv.h (target_insert_watchpoint)
  3886. (target_remove_watchpoint, target_insert_hw_breakpoint)
  3887. (target_remove_hw_breakpoint): Delete these macros.
  3888. (remote_insert_watchpoint, remote_remove_watchpoint)
  3889. (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove
  3890. these declarations.
  3891. 2003-08-20 Michael Chastain <mec@shout.net>
  3892. * defs.h (ENUM_BITFIELD): New macro.
  3893. * symtab.h (ENUM_BITFIELD): Use it.
  3894. (BYTE_BITFIELD): Remove old macro, which was already disabled.
  3895. 2003-08-19 Shrinivas Atre <shrinivasa@kpitcummins.com>
  3896. * MAINTAINERS (write after approval): Add myself.
  3897. 2003-08-18 Andrew Cagney <cagney@redhat.com>
  3898. * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method.
  3899. * gdbarch.h, gdbarch.c: Re-generate.
  3900. * infcall.c (call_function_by_hand): Adjust the SP by
  3901. frame_red_zone_size before allocating any stack space.
  3902. * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size".
  3903. * x86-64-tdep.c (x86_64_frame_align): New function.
  3904. (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align".
  3905. * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change.
  3906. Remove code adjusting SP so that it skips over the Red Zone.
  3907. 2003-08-18 Mark Kettenis <kettenis@gnu.org>
  3908. * NEWS (New native configurations): Mention FreeBSD/amd64.
  3909. 2003-08-18 Andrew Cagney <cagney@redhat.com>
  3910. * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set
  3911. "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of
  3912. "m68k_frame_p".
  3913. (m68hc11_frame_sniffer): Replace "m68hc11_frame_p".
  3914. 2003-08-18 Mark Kettenis <kettenis@gnu.org>
  3915. * x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace.
  3916. 2003-08-18 Michal Ludvig <mludvig@suse.cz>
  3917. * config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR):
  3918. Define.
  3919. * i386-linux-nat.c: Include "linux-nat.h".
  3920. (child_post_startup_inferior): New function.
  3921. 2003-08-18 Mark Kettenis <kettenis@gnu.org>
  3922. * i386-tdep.c (i386_analyze_register_saves): Handle register saves
  3923. at the start of a frameless function. This probably fixes PR
  3924. backtrace/1338.
  3925. 2003-08-17 Michael Chastain <mec@shout.net>
  3926. * symfile.c (find_sym_fns): Remove special case for apollo target.
  3927. 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
  3928. * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define.
  3929. (PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define.
  3930. (linux_parent_pid, linux_supports_tracevforkdone_flag): New variable.
  3931. (linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag.
  3932. (linux_supports_tracevforkdone): New function.
  3933. (linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and
  3934. TRACEVFORKDONE.
  3935. (child_follow_fork): Handle vfork.
  3936. (linux_handle_extended_wait): Likewise. Also handle exec.
  3937. (child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable.
  3938. * NEWS: Mention fork tracing.
  3939. 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
  3940. * lin-lwp.c (child_wait): Call linux_record_stopped_pid.
  3941. 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
  3942. * Makefile.in (i386-linux-nat.o): Update dependencies.
  3943. * config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define.
  3944. * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH)
  3945. (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define.
  3946. * i386-linux-nat.c: Include "linux-nat.h".
  3947. (child_post_startup_inferior): New function.
  3948. * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef.
  3949. * infptrace.c (kill_inferior): Wrap in #ifdef.
  3950. * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after
  3951. attaching to each LWP.
  3952. (child_wait, lin_lwp_wait): Call linux_handle_extended_wait.
  3953. (init_lin_lwp_ops): Fill in some more operations.
  3954. * linux-nat.h (linux_enable_event_reporting)
  3955. (linux_handle_extended_wait, linux_child_post_startup_inferior): New
  3956. prototypes.
  3957. * linux-nat.c (linux_enable_event_reporting): New function.
  3958. (child_post_attach, linux_child_post_startup_inferior)
  3959. (child_post_startup_inferior, child_follow_fork)
  3960. (linux_handle_extended_wait, kill_inferior): New functions.
  3961. 2003-08-16 Andrew Cagney <cagney@redhat.com>
  3962. * gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code.
  3963. * gdbarch.h, gdbarch.c: Re-generate.
  3964. 2003-08-16 Mark Kettenis <kettenis@gnu.org>
  3965. * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define.
  3966. 2003-08-16 Andrew Cagney <cagney@redhat.com>
  3967. * NEWS: Mention that "set prompt-escape-char" was deleted.
  3968. * top.c (get_prompt_1): Delete function.
  3969. (gdb_prompt_escape):
  3970. (init_main): Do not clear "gdb_prompt_escape". Delete "set
  3971. prompt-escape-char" command.
  3972. (MAX_PROMPT_SIZE): Delete macro.
  3973. (get_prompt): Simplify, do not call get_prompt_1.
  3974. 2003-08-16 Andrew Cagney <cagney@redhat.com>
  3975. * Makefile.in (printcmd.o, valprint.o): Do not try to build with
  3976. -Werror. -Wformat-nonliteral problems.
  3977. 2003-08-15 J. Brobecker <brobecker@gnat.com>
  3978. Further multiarching work mostly for hppa64-*-hpux11:
  3979. * hppa-tdep.h: New file.
  3980. * hppa-tdep.c: #include hppa-tdep.c.
  3981. (hppa32_num_regs): Renamed from hppa_num_regs.
  3982. (hppa64_num_regs): New constant.
  3983. (hppa64_call_dummy_breakpoint_offset): New constant.
  3984. (hppa32_call_dummy_length): New constant.
  3985. (hppa64_call_dummy_length): New constant.
  3986. (hppa32_stack_align): Make name 32bit explicit.
  3987. (hppa32_register_virtual_type): Likewise.
  3988. (hppa32_extract_return_value): Likewise.
  3989. (hppa32_use_struct_convention): Likewise.
  3990. (hppa32_store_return_value): Likewise.
  3991. (hppa64_register_virtual_type): New function.
  3992. (hppa64_extract_return_value): New function.
  3993. (hppa64_use_struct_convention): New function.
  3994. (hppa64_store_return_value): New function.
  3995. (hppa_frame_locals_address): Remove declaration, function does
  3996. not exist anymore.
  3997. (hppa_register_byte): Add support for PA64 ABI.
  3998. (hppa_gdbarch_init): Add support for PA64 ABI.
  3999. * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp):
  4000. Make name 32bit explicit.
  4001. (hppa32_hpux_frame_base_before_sigtramp): Likewise.
  4002. (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise.
  4003. (hppa64_hpux_frame_saved_pc_in_sigtramp): New function.
  4004. (hppa64_hpux_frame_base_before_sigtramp): New function.
  4005. (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function.
  4006. * config/pa/tm-hppa64.h: Remove macros that are no longer
  4007. necessary now that the gdbarch vector is properly setup.
  4008. Transform some macros into function calls. Some minor cleanup.
  4009. * config/pa/tm-hppah.h: Update function calls in macros
  4010. following the function renaming in hppa-hpux-tdep.c.
  4011. * Makefile.in (hppa_tdep_h): New variable.
  4012. (hppa-tdep.o): Add dependency over hppa_tdep_h.
  4013. 2003-08-14 Michael Snyder <msnyder@redhat.com>
  4014. * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero.
  4015. 2003-08-13 J. Brobecker <brobecker@gnat.com>
  4016. * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct
  4017. bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization
  4018. routine.
  4019. 2003-08-13 Michael Snyder <msnyder@redhat.com>
  4020. * frv-tdep.c (frv_push_arguments): Use deprecated ftype.
  4021. (frv_saved_pc_after_call): Use deprecated ftype.
  4022. (stupid_useless_init_extra_frame_info): Remove orphan prototype.
  4023. (frv_remote_translate_xfer_address): Remove.
  4024. (frv_gdbarch_init): Use generic_remote_translate_xfer_address.
  4025. 2003-08-13 J. Brobecker <brobecker@gnat.com>
  4026. * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch
  4027. initialization after the common gdbarch initialization, not before.
  4028. 2003-08-13 J. Brobecker <brobecker@gnat.com>
  4029. * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used.
  4030. (ADDR_BITS_REMOVE): Remove, redundant.
  4031. 2003-08-13 J. Brobecker <brobecker@gnat.com>
  4032. * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove
  4033. gdbarch method to clear the 2 low bits of text addresses.
  4034. 2003-08-12 Andrew Cagney <cagney@redhat.com>
  4035. * Makefile.in (dsrec.o): Update dependencies.
  4036. * dsrec.c: Include "gdb_assert.h".
  4037. (make_srec): Use snprintf instead of sprintf, use a literal format
  4038. string.
  4039. 2003-08-12 Andrew Cagney <cagney@redhat.com>
  4040. * frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of
  4041. FRAME_OBSTACK_ZALLOC.
  4042. 2003-08-12 Kevin Buettner <kevinb@redhat.com>
  4043. * i386-tdep.c (i386_gdbarch_init): Enable default support for
  4044. SSE registers.
  4045. 2003-08-10 Mark Kettenis <kettenis@gnu.org>
  4046. * x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end,
  4047. amd64fbsd_sc_reg_offset): Add extern declarations.
  4048. * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern
  4049. declarations.
  4050. 2003-08-11 Ben Elliston <bje@wasabisystems.com>
  4051. * MAINTAINERS (write after approval): Update my mail address.
  4052. 2003-08-10 Andrew Cagney <cagney@redhat.com>
  4053. * Makefile.in (monitor.o): Do not build monitor.c with -Werror.
  4054. 2003-08-10 Mark Kettenis <kettenis@gnu.org>
  4055. * i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
  4056. i386obsd_sigtramp_start, i386obsd_sigtramp_end,
  4057. i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset,
  4058. i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset,
  4059. i386bsd_sc_reg_offset): Add extern declarations.
  4060. * i386obsd-nat.c: Include "i386-tdep.h"
  4061. (_initialize_i386obsd_nat): Remove extern declarations.
  4062. * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern
  4063. declarations.
  4064. * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern
  4065. declarations.
  4066. * i386-tdep.c (i386_register_to_value): Use get_frame_register
  4067. instead of frame_read_register.
  4068. (i386_fetch_pointer_argument): Use get_frame_register_unsigned
  4069. instead of frame_read_register. Use I386_ESP_REGNUM instead of
  4070. SP_REGNUM.
  4071. (i386_frame_prev_register): Use frame_unwind_register_unsigned
  4072. instead of frame_unwind_unsigned_register. Use
  4073. I386_EFLAGS_REGISTER instead of PS_REGNUM.
  4074. (i386_get_longjmp_target): Use regcache_read_unsigned_register
  4075. instead of read_register. Use builtin_type_void_data_ptr instead
  4076. of builtin_type_void_func_ptr when extracting the address of the
  4077. jmp_buf.
  4078. (i386_extract_return_value, i386_store_return_value,
  4079. i386_pseudo_register_read, i386_pseudo_register_write): Use
  4080. register_size instead REGISTER_RAW_SIZE.
  4081. 2003-08-10 Andrew Cagney <cagney@redhat.com>
  4082. * infcall.c (call_function_by_hand): Use xstrprintf instead of
  4083. sprintf. Make "name" constant.
  4084. 2003-08-10 Mark Kettenis <kettenis@gnu.org>
  4085. * i387-tdep.c (i387_register_to_value): Use get_frame_register
  4086. instead of frame_read_register.
  4087. (i387_print_float_info): Use get_frame_register and
  4088. get_frame_register_unsigned instead of frame_register_read.
  4089. * i386fbsd-nat.c: Include "i386-tdep.h".
  4090. (child_resume): Make `eflags' an ULONGEST. Use
  4091. regcache_cooked_read_unsigned and regcache_cooked_write_unsigned
  4092. instead of register_read and register_write.
  4093. * i386bsd-nat.c (fetch_inferior_registers,
  4094. store_inferior_registers): Don't use && at the end of a line.
  4095. (_initialize_i386bsd_nat): Fix typo.
  4096. * frame.c (_initialize_frame): Add missing backslash.
  4097. From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
  4098. * sol-thread.c (sol_thread_store_registers): Use regcache_collect
  4099. and supply_register instead of manipulating the register buffer
  4100. directly.
  4101. From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
  4102. * config/i386/nm-i386sol2.h
  4103. (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one.
  4104. Based on a patch from Michael Elizabeth Chastain (mec@shout.net):
  4105. * i386-tdep.c (i386_analyze_frame_setup): Recognize more
  4106. instructions that GCC likes to mingle into the prologue. Fixes
  4107. gdb/1253 and gdb/1255.
  4108. 2003-08-09 Andrew Cagney <cagney@redhat.com>
  4109. Fix GDB PR cli/926.
  4110. * cli/cli-decode.c (add_setshow_uinteger_cmd): New function.
  4111. * command.h (add_setshow_uinteger_cmd): Declare.
  4112. * frame.c (set_backtrace_cmd): New function.
  4113. (show_backtrace_cmd): New function.
  4114. * frame.c (_initialize_frame): Replace "set/show
  4115. backtrace-below-main" with "set/show backtrace past-main". Add
  4116. command "set/show backtrace limit".
  4117. (backtrace_past_main): Rename "backtrace_below_main".
  4118. (backtrace_limit): New variable.
  4119. (get_prev_frame): Update. Check the backtrace_limit.
  4120. 2003-08-09 Andrew Cagney <cagney@redhat.com>
  4121. * defs.h (xstrprintf): Declare.
  4122. * utils.c (xstrprintf): New function.
  4123. * breakpoint.c (insert_breakpoints): Replace sprintf and
  4124. non-literal format strings, with xstrprintf and cleanups.
  4125. (delete_breakpoint,breakpoint_re_set): Ditto.
  4126. (commands_command, insert_breakpoints): Ditto.
  4127. (bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto.
  4128. (break_at_finish_command_1): Ditto.
  4129. 2003-08-09 Andrew Cagney <cagney@redhat.com>
  4130. * MAINTAINERS (language support): List Adam Fedor as Objective C
  4131. maintainer.
  4132. 2003-08-08 J. Brobecker <brobecker@gnat.com>
  4133. * NEWS (Multi-arched targets): Document that all hppa-hpux targets
  4134. are now multiarched.
  4135. 2003-08-08 J. Brobecker <brobecker@gnat.com>
  4136. * config/pa/tm-hppa64.h: Remove lots of macros that are no
  4137. longer necessary now that hppa64 is partially multiarch'ed.
  4138. 2003-08-08 Andrew Cagney <cagney@redhat.com>
  4139. * interps.c (interp_set): Check for a NULL "old_interp".
  4140. 2003-08-08 H.J. Lu <hongjiu.lu@intel.com>
  4141. * Makefile.in (FLAGS_TO_PASS): Add DESTDIR.
  4142. (install-only): Support DESTDIR.
  4143. (uninstall): Likewise.
  4144. (install-gdbtk): Likewise.
  4145. 2003-08-08 Elena Zannoni <ezannoni@redhat.com>
  4146. * symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this
  4147. contains something meaningful at all times.
  4148. Fri Aug 8 00:28:46 UTC 2003 Brendan Conoboy <blc@redhat.com>
  4149. * configure.host: Set gdb_host_cpu=arm when host_cpu=xscale.
  4150. Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <blc@redhat.com>
  4151. * MAINTAINERS (write after approval): Added self.
  4152. 2003-08-07 Andrew Cagney <cagney@redhat.com>
  4153. * inferior.h (AT_SYMBOL): Define.
  4154. * blockframe.c (inside_entry_file): Check for AT_SYMBOL.
  4155. * infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL.
  4156. * mips-tdep.c (mips_call_dummy_address): Delete function.
  4157. (mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not
  4158. set call_dummy_address.
  4159. 2003-08-07 Andrew Cagney <cagney@redhat.com>
  4160. * language.c (op_error): Delete function.
  4161. (binop_type_check): Delete function.
  4162. * language.h (type_op_error, range_op_error): Delete macros.
  4163. (op_error): Delete declaration.
  4164. 2003-08-07 Andrew Cagney <cagney@redhat.com>
  4165. * interps.h (INTERP_MI2, INTERP_MI3): Define.
  4166. 2003-08-07 Michal Ludvig <mludvig@suse.cz>
  4167. * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers.
  4168. (x86_64_push_arguments): Skip the red zone.
  4169. 2003-08-05 Andrew Cagney <cagney@redhat.com>
  4170. * reggroups.c (reggroup_next): Check for the final entry.
  4171. 2003-08-04 Andrew Cagney <cagney@redhat.com>
  4172. * monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT.
  4173. * cli/cli-script.c (define_command): Call query directly, instead
  4174. of passing it a buffer.
  4175. * ocd.c (ocd_error): Pass error a constant format string.
  4176. * remote-mips.c (mips_error): Use fputs_filtered.
  4177. * solib-svr4.c (_initialize_svr4_solib): Update
  4178. register_gdbarch_data call.
  4179. * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto.
  4180. * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration.
  4181. (register_gdbarch_data): Delete "free" parameter. Update
  4182. comments.
  4183. * gdbarch.h, gdbarch.c: Re-generate.
  4184. * reggroups.c (_initialize_reggroup): Update.
  4185. * gnu-v3-abi.c (init_gnuv3_ops): Update.
  4186. * frame-base.c (_initialize_frame_base): Update.
  4187. * frame-unwind.c (_initialize_frame_unwind): Update.
  4188. * user-regs.c (_initialize_user_regs): Update.
  4189. * remote.c (_initialize_remote): Update.
  4190. * regcache.c (_initialize_regcache): Update.
  4191. * regcache.c (xfree_regcache_descr): Delete function.
  4192. (_initialize_regcache): Update call to register_gdbarch_data.
  4193. (init_regcache_descr, init_legacy_regcache_descr): Use
  4194. GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC.
  4195. * remote.c (free_remote_state): Delete function.
  4196. (_initialize_remote): Update register_gdbarch_data.
  4197. (init_remote_state): Use GDBARCH_OBSTACK_XALLOC and
  4198. GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc.
  4199. 2003-08-04 Andrew Cagney <cagney@redhat.com>
  4200. * reggroups.c (struct reggroup_el): Define.
  4201. (struct reggroups): Delete field "nr_group". Replace array
  4202. "group" with a "first" to "last" linked list.
  4203. (reggroups_init): Update. Allocate using gdbarch's obstack.
  4204. (reggroups_free): Delete function.
  4205. (add_group): Update. Add "el" parameter.
  4206. (reggroup_add): Pass gdbarch obstack allocated space to add_group.
  4207. (default_groups): Update.
  4208. (reggroup_next): Replace reggroups.
  4209. (reggroups_dump): Update.
  4210. (_initialize_reggroup): Pass XMALLOC allocated space to add_group.
  4211. * regcache.c (regcache_dump): Use reggroup_next instead of reggroups.
  4212. * infcmd.c (registers_info): Use reggroup_next instead of reggroups.
  4213. 2003-08-04 Daniel Jacobowitz <drow@mvista.com>
  4214. * Makefile.in (tui-interp.o): Update dependencies.
  4215. 2003-08-04 David Carlton <carlton@kealia.com>
  4216. * charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args
  4217. to internal_error call.
  4218. * source.c (forward_search_command): Add "%s" format argument.
  4219. (reverse_search_command): Ditto.
  4220. * top.c (quit_confirm): Ditto.
  4221. * cli/cli-setshow.c (do_setshow_command): Ditto.
  4222. * cp-valprint.c (cp_print_class_method): Replace
  4223. {f,}printf_{un,}filtered by {f,}puts_{un,}filtered.
  4224. (cp_print_class_member): Ditto.
  4225. * event-top.c (command_line_handler): Ditto.
  4226. * linux-proc.c (linux_info_proc_cmd): Ditto.
  4227. * p-typeprint.c (pascal_type_print_base): Ditto.
  4228. * p-valprint.c (pascal_object_print_class_method): Ditto.
  4229. (pascal_object_print_class_member): Ditto.
  4230. * printcmd.c (print_scalar_formatted,printf_command): Ditto.
  4231. * remote.c (remote_cisco_section_offsets): Ditto.
  4232. * top.c (command_line_input): Ditto.
  4233. * utils.c (vwarning,error_stream,quit): Ditto.
  4234. * valprint.c (print_floating,print_binary_chars)
  4235. (print_octal_chars,print_decimal_chars,print_hex_chars): Ditto.
  4236. 2003-08-04 Andrew Cagney <cagney@redhat.com>
  4237. * frame.c (frame_func_unwind): Use frame_unwind_address_in_block.
  4238. 2003-08-02 Andrew Cagney <cagney@redhat.com>
  4239. * config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc,
  4240. gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and
  4241. amd64fbsd-nat.c.
  4242. 2003-08-02 Andrew Cagney <cagney@redhat.com>
  4243. * Makefile.in: Update all dependencies and definitions.
  4244. 2003-08-02 Adam Fedor <fedor@gnu.org>
  4245. * linespec.c (is_objc_method_format): New function
  4246. (decode_line_1, locate_first_half): Use it.
  4247. Fixes PR objc/1298
  4248. 2003-08-01 Andrew Cagney <cagney@redhat.com>
  4249. * NEWS: Mention that m32r is multi-arch.
  4250. From 2003-07-28 Kei Sakamoto <sakamoto.kei@renesas.com>:
  4251. * configure.tgt: Recognize m32r-*-*.
  4252. * config/m32r/tm-m32r.h: Delete file.
  4253. * config/m32r/m32r.mt: New file.
  4254. * m32r-rom.c (m32r_upload_command): Use hostent only when
  4255. gethostname succeeds, in order to avoid a compilation
  4256. warning.
  4257. * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a
  4258. compiler warning.
  4259. 2003-08-01 Michael Snyder <msnyder@redhat.com>
  4260. * sh-tdep.c (sh_frame_align): New gdbarch method.
  4261. (sh_gdbarch_init): Set up frame_align method.
  4262. 2003-07-31 Michael Snyder <msnyder@redhat.com>
  4263. * value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change,
  4264. which is already covered by the new frames infrastructure.
  4265. 2003-07-31 Andrew Cagney <cagney@redhat.com>
  4266. * user-regs.c (struct user_reg): Add "next" link.
  4267. (struct user_regs): Replace "user" with "first" and "last" links.
  4268. (append_user_reg): Add pre-allocated "reg" parameter.
  4269. (builtin_user_regs): Provide initial value for "last".
  4270. (user_reg_add_builtin): XMALLOC memory for append_user_reg.
  4271. (user_regs_init): Allocate memory from the gdbarch obstack.
  4272. (user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg.
  4273. (user_reg_map_name_to_regnum): Rewrite to search the user_reg
  4274. linked list.
  4275. (usernum_to_user_reg): New function.
  4276. (user_reg_map_regnum_to_name): Use usernum_to_user_reg.
  4277. (value_of_user_reg): Use usernum_to_user_reg.
  4278. (user_regs_free): Delete function.
  4279. (_initialize_user_regs): Update register_gdbarch_data call.
  4280. 2003-07-31 Daniel Jacobowitz <drow@mvista.com>
  4281. * dwarf2read.c (new_symbol): Use var_decode_location for parameters.
  4282. 2003-07-30 Michael Snyder <msnyder@redhat.com>
  4283. * value.h (value_being_returned): Add a struct_addr argument.
  4284. * infcall.c (call_function_by_hand): Pass struct_addr to
  4285. value_being_returned.
  4286. * infcmd.c (print_return_value): Pass zero as struct_addr.
  4287. * values.c (value_being_returned): If struct_addr is passed,
  4288. use it instead of trying to recover it from the inferior.
  4289. 2003-07-30 Kevin Buettner <kevinb@redhat.com>
  4290. * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that
  4291. the prologue analyzer won't need to attempt to extract the pc
  4292. value from the woefully incomplete dummy frame.
  4293. (mn10300_analyze_prologue): Avoid calls to get_frame_pc() when
  4294. possible. Disable code which modifies the frame.
  4295. 2003-07-28 Andrew Cagney <cagney@redhat.com>
  4296. * annotate.c (annotate_breakpoints_headers): Restrict annotation
  4297. to level 2.
  4298. (annotate_breakpoints_table, annotate_record): Ditto.
  4299. (annotate_breakpoints_table_end, annotate_field_begin): Ditto.
  4300. (annotate_field_name_end, annotate_field_value): Ditto.
  4301. (annotate_field_end, annotate_frame_source_begin): Ditto.
  4302. (annotate_frame_source_file, annotate_frame_source_file_end): Ditto.
  4303. (annotate_frame_source_line, annotate_frame_source_end): Ditto.
  4304. (annotate_frame_begin, annotate_frame_function_name): Ditto.
  4305. (annotate_frame_address_end, annotate_frame_address): Ditto.
  4306. (annotate_frame_args, annotate_frame_end): Ditto.
  4307. (annotate_frame_where, annotate_arg_begin): Ditto.
  4308. (annotate_arg_name_end, annotate_arg_value): Ditto.
  4309. (annotate_arg_end, annotate_signal_handler_caller): Ditto.
  4310. (annotate_function_call, annotate_signal_name): Ditto.
  4311. (annotate_signal_string, annotate_signal_name_end): Ditto.
  4312. (annotate_signal_string_end, annotate_value_history_begin): Ditto.
  4313. (annotate_value_begin, annotate_value_history_value): Ditto.
  4314. (annotate_value_history_end, annotate_value_end): Ditto.
  4315. (annotate_display_begin, annotate_display_number_end): Ditto.
  4316. (annotate_display_format, annotate_display_expression): Ditto.
  4317. (annotate_display_expression_end, annotate_display_value): Ditto.
  4318. (annotate_display_end, annotate_array_section_begin): Ditto.
  4319. (annotate_elt_rep, annotate_elt_rep_end): Ditto.
  4320. (annotate_elt, annotate_array_section_end): Ditto.
  4321. 2003-07-28 Andrew Cagney <cagney@redhat.com>
  4322. * regcache.c (struct regcache_descr): Update comments on
  4323. nr_raw_registers.
  4324. (init_legacy_regcache_descr): Don't set nr_raw_registers or
  4325. sizeof_raw_register_valid_p.
  4326. (init_regcache_descr): Set nr_raw_registers and
  4327. sizeof_raw_register_valid_p before calling
  4328. init_legacy_regcache_descr.
  4329. 2003-07-28 Andrew Cagney <cagney@redhat.com>
  4330. * mips-tdep.c (print_gp_register_row): Print the GPR's register
  4331. MOD NUM_REGS.
  4332. 2003-07-28 Daniel Jacobowitz <drow@mvista.com>
  4333. * thread.c (info_threads_command): Use get_selected_frame ().
  4334. Check that there is at least one non-sentinel frame.
  4335. 2003-07-27 Stephane Carrez <stcarrez@nerim.fr>
  4336. * m68hc11-tdep.c (struct frame_extra_info): Remove.
  4337. (m68hc11_pop_frame): Remove.
  4338. (m68hc11_frame_saved_pc): Remove.
  4339. (m68hc11_frame_chain): Remove.
  4340. (m68hc11_frame_init_saved_regs): Remove.
  4341. (m68hc11_init_extra_frame_info): Remove.
  4342. (m68hc11_store_struct_return): Remove.
  4343. (m68hc11_saved_pc_after_call): Remove.
  4344. 2003-07-27 Stephane Carrez <stcarrez@nerim.fr>
  4345. * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold
  4346. frame unwind information.
  4347. (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue
  4348. and adapted for frame unwinding.
  4349. (m68hc11_skip_prologue): Update to scan prologue in temporary object.
  4350. (m68hc11_unwind_pc): New function.
  4351. (m68hc11_frame_unwind_cache): New function to analyze frames.
  4352. (m68hc11_frame_this_id): New function to create new frame struct.
  4353. (m68hc11_frame_prev_register): New function to unwind a register from
  4354. the frame.
  4355. (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder.
  4356. (m68hc11_frame_p): New function for the above.
  4357. (m68hc11_frame_base_address): New function to return fp of frame.
  4358. (m68hc11_frame_args_address): Update for frame.
  4359. (m68hc11_frame_base): Default 68hc11/68hc12 frame.
  4360. (m68hc11_unwind_sp): New function.
  4361. (m68hc11_unwind_dummy_id): New function.
  4362. (m68hc11_gdbarch_init): Install the above frames; remove deprecated
  4363. calls.
  4364. 2003-07-27 Stephane Carrez <stcarrez@nerim.fr>
  4365. * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc.
  4366. (m68hc11_guess_from_prologue): Advance the pc and frame size only
  4367. when we are beyond the current pc.
  4368. 2003-07-27 Stephane Carrez <stcarrez@nerim.fr>
  4369. * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted
  4370. from m68hc11_push_arguments.
  4371. (m68hc11_push_arguments): Remove.
  4372. (m68hc11_push_return_address): Remove.
  4373. (m68hc11_gdbarch_init): Install the above; remove above deprecated
  4374. handlers; remove deprecated_extra_stack_alignment_needed.
  4375. 2003-07-27 Andrew Cagney <cagney@redhat.com>
  4376. * config/pa/tm-hppa.h (init_frame_pc_default): Declare.
  4377. * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update
  4378. REAL_PC and not the pointer.
  4379. * hppa-hpux-tdep.c: Include frame.h
  4380. 2003-07-27 Andrew Cagney <cagney@redhat.com>
  4381. * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to
  4382. GDB_MULTI_ACH_PARTIAL.
  4383. 2003-07-27 Andrew Cagney <cagney@redhat.com>
  4384. Patch from 2003-07-22 Kei Sakamoto <sakamoto.kei@renesas.com>:
  4385. * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style -
  4386. operator at start and not end of line.
  4387. (decode_prologue): Ditto.
  4388. (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use
  4389. frame_unwind_register_unsigned instead of
  4390. frame_unwind_unsigned_register.
  4391. (m32r_read_pc): Use regcache_cooked_read_unsigned instead of
  4392. read_register.
  4393. (m32r_push_dummy_call): Use register_size instead of
  4394. REGISTER_RAW_SIZE.
  4395. (m32r_frame_sniffer): Replace m32r_frame_p.
  4396. (m32r_gdbarch_init): Call frame_unwind_append_sniffer.
  4397. * m32r-rom.c (report_transfer_performance): Delete extern
  4398. declaration.
  4399. (m32r_load, m32r_upload_command): Use print_transfer_performance
  4400. instead of report_transfer_performance.
  4401. (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd
  4402. / add_show_from_set.
  4403. 2003-07-26 Andrew Cagney <cagney@redhat.com>
  4404. * m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated
  4405. store_return_value and extract_struct_value_address.
  4406. 2003-07-26 Daniel Jacobowitz <drow@mvista.com>
  4407. PR c++/1267
  4408. * minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is
  4409. NULL, default to the section containing PC.
  4410. 2003-07-24 Stephane Carrez <stcarrez@nerim.fr>
  4411. * NEWS: Mention "regs" deprecated for m68hc11 too.
  4412. * m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command.
  4413. (m68hc11_print_register): New function to print out one register.
  4414. (m68hc11_print_registers_info): New function to print registers.
  4415. (show_regs): Deprecate and use the above.
  4416. (m68hc11_gdbarch_init): Install the print_registers_info.
  4417. 2003-07-24 Jeff Johnston <jjohnstn@redhat.com>
  4418. * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify
  4419. that we have a SIGTRAP before returning non-zero.
  4420. 2003-07-23 Michal Ludvig <mludvig@suse.cz>
  4421. Elena Zannoni <ezannoni@redhat.com>
  4422. * linespec.c (decode_line_2): Avoid crash if
  4423. find_function_start_sal() returns empty record.
  4424. 2003-07-23 Andreas Schwab <schwab@suse.de>
  4425. * ia64-tdep.c (ia64_print_insn): New function.
  4426. (ia64_gdbarch_init): Set print_insn to it.
  4427. (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and
  4428. deprecated_tm_print_insn_info.
  4429. 2003-07-22 Michael Snyder <msnyder@redhat.com>
  4430. * h8300-tdep.c (h8300_extract_return_value): Teach it how to
  4431. handle 8-bit returns (long long).
  4432. (h8300h_extract_return_value): Ditto.
  4433. (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned.
  4434. 2003-07-22 Andrew Cagney <cagney@redhat.com>
  4435. * gdbarch.c Include "gdb_obstack.h".
  4436. (struct gdbarch): Add an "obstack".
  4437. (alloc_gdbarch_data): Allocate the gdbarch data using
  4438. GDBARCH_OBSTACK_CALLOC.
  4439. (free_gdbarch_data): Delete function.
  4440. (gdbarch_obstack_zalloc): New function.
  4441. (gdbarch_free): Free the obstack, do not call free_gdbarch_data.
  4442. Assert that the architecture is not initialized.
  4443. (gdbarch_alloc): Allocate an obstack, allocate the architecture
  4444. vector from the obstack.
  4445. (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the
  4446. architecture obstack.
  4447. (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define.
  4448. (set_gdbarch_data): Assert that the data is not initialized.
  4449. (struct gdbarch_data): Delete member "free".
  4450. (register_gdbarch_data): Do not initialize "free".
  4451. * gdbarch.h, gdbarch.c: Re-generate.
  4452. 2003-07-22 Andrew Cagney <cagney@redhat.com>
  4453. * configure.in (build_warnings): Add -Wformat-nonliteral.
  4454. * configure: Re-generate.
  4455. 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
  4456. * dwarf2loc.c (locexpr_describe_location): Fix typos.
  4457. 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
  4458. * findvar.c (read_var_value): Remove case for thread local storage
  4459. variables. It is now entirely handled by the dwarf2 location
  4460. expression code.
  4461. * printcmd.c (address_info): Ditto.
  4462. * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC
  4463. enumeration value.
  4464. (struct symbol): Remove objfile field, which was used by
  4465. LOC_THREAD_LOCAL_STATIC only.
  4466. * dwarf2read.c (decode_locdesc): Remove is_thread_local variable.
  4467. * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about
  4468. usage of objfile pointer.
  4469. * dwarf2loc.c (locexpr_describe_location): Add case to handle
  4470. thread local variables.
  4471. Add include of objfiles.h.
  4472. * dwarf2expr.c (execute_stack_op): Add comments about thread local
  4473. storage variables.
  4474. * Makefile.in (dwarf2loc.o): Update dependencies.
  4475. 2003-07-22 Andrew Cagney <cagney@redhat.com>
  4476. * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use
  4477. get_frame_base.
  4478. (FRAME_BASE_BEFORE_SIGTRAMP): Ditto.
  4479. (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto.
  4480. (struct value): Add opaque declaration.
  4481. (DEPRECATED_FRAME_ARGS_ADDRESS): Delete.
  4482. 2003-07-21 Andrew Cagney <cagney@redhat.com>
  4483. From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>:
  4484. * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite.
  4485. 2003-07-20 Stephane Carrez <stcarrez@nerim.fr>
  4486. * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use
  4487. regcache_cooked_read_unsigned instead of read_register.
  4488. (m68hc11_saved_pc_after_call): Likewise.
  4489. (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned
  4490. instead of write_register.
  4491. (m68hc11_register_type): New function.
  4492. (m68hc11_register_virtual_type): Remove.
  4493. (m68hc11_store_return_value): Convert to use the regcache.
  4494. (m68hc11_extract_struct_value_address): Likewise.
  4495. (m68hc11_gdbarch_init): Remove deprecated ops for register to use
  4496. m68hc11_register_type; undeprecate store_return_value and
  4497. extract_struct_value_address.
  4498. 2003-07-20 Stephane Carrez <stcarrez@nerim.fr>
  4499. * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read
  4500. and translate to use regcache.
  4501. (m68hc11_gdbarch_init): Undeprecate extract_return_value.
  4502. 2003-07-18 Andrew Cagney <cagney@redhat.com>
  4503. * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method.
  4504. * gdbarch.h, gdbarch.c: Re-generate.
  4505. * i386-tdep.c (i386_gdbarch_init): Do not set
  4506. DWARF2_BUILD_FRAME_INFO.
  4507. * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info
  4508. unconditionally.
  4509. * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set
  4510. DWARF2_BUILD_FRAME_INFO.
  4511. 2003-07-18 Andrew Cagney <cagney@redhat.com>
  4512. From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>:
  4513. * disasm.c (gdb_disassemble_info): Initilize di.arch.
  4514. 2003-07-18 Andrew Cagney <cagney@redhat.com>
  4515. * dwarf2-frame.c (dwarf2_frame_sniffer): Use
  4516. frame_unwind_address_in_block, instead of frame_pc_unwind.
  4517. (dwarf2_frame_cache): Ditto.
  4518. 2003-07-18 Andrew Cagney <cagney@redhat.com>
  4519. * user-regs.h (struct gdbarch): Declare opaque.
  4520. * ui-out.h (struct ui_file): Declare opaque.
  4521. * dwarf2-frame.h (struct frame_info): Declare opaque.
  4522. 2003-07-18 Kris Warkentin <kewarken@qnx.com>
  4523. * nto-procfs.c: Clean ARI hits. Change #include <..> to
  4524. #include "...".
  4525. (procfs_meminfo): Change strerror to safe_strerror.
  4526. (procfs_can_run): Remove K&R badness.
  4527. 2003-07-17 Michael Snyder <msnyder@redhat.com>
  4528. * remote-sim.c: Comment typo fix.
  4529. 2003-07-17 Andrew Cagney <cagney@redhat.com>
  4530. * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by
  4531. configure.
  4532. * sparc-tdep.c (sparc_intreg_size): Make non-static.
  4533. * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to
  4534. GDB_MULTI_ARCH_PARTIAL.
  4535. 2003-07-17 Elena Zannoni <ezannoni@redhat.com>
  4536. * Makefile.in (x86-64-linux-nat.o): Update dependencies.
  4537. * x86-64-linux-nat.c (ps_get_thread_area): New function. Add
  4538. include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h.
  4539. 2003-07-16 Theodore A. Roth <troth@openavr.org>
  4540. * avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue
  4541. found.
  4542. (avr_frame_unwind_cache): Don't unwind FP for main.
  4543. Update a comment.
  4544. Save the computed prev_sp.
  4545. (avr_saved_regs_unwinder): Remove function.
  4546. (avr_frame_prev_register): Use PC unwind logic from
  4547. avr_saved_regs_unwinder(), otherwise use trad_frame_prev_register().
  4548. 2003-07-16 Andrew Cagney <cagney@redhat.com>
  4549. * frame-base.h (frame_base_p_ftype): Delete definition.
  4550. (frame_base_append_predicate): Delete declaration.
  4551. * frame-unwind.h (frame_unwind_p_ftype): Delete definition.
  4552. (frame_unwind_append_predicate): Delete declaration.
  4553. * frame-unwind.c (struct frame_unwind_table): Delete field "p".
  4554. (append_predicate): Delete parameter "p".
  4555. (frame_unwind_append_predicate): Delete function.
  4556. (frame_unwind_append_sniffer): Update call to append_predicate.
  4557. (frame_unwind_free): Delete function.
  4558. (_initialize_frame_unwind): Pass NULL as "free" to
  4559. register_gdbarch_data.
  4560. (frame_unwind_init): Append the dummy_frame_sniffer.
  4561. (frame_unwind_find_by_frame): Simplify.
  4562. * frame-base.c (struct frame_base_table): Delete field "p".
  4563. (append_predicate): Delete parameter "p".
  4564. (frame_base_append_predicate): Delete function.
  4565. (frame_base_append_sniffer): Update call to append_predicate.
  4566. (frame_base_free): Delete function.
  4567. (frame_base_find_by_frame): Simplify.
  4568. (_initialize_frame_base): Pass NULL as "free" to
  4569. register_gdbarch_data.
  4570. * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p".
  4571. (x86_64_sigtramp_frame_sniffer): Replace
  4572. "x86_64_sigtramp_frame_p".
  4573. (x86_64_init_abi): Set the frame unwind sniffers.
  4574. * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p".
  4575. (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p"
  4576. (m68k_gdbarch_init): Set the frame unwind sniffers.
  4577. * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace
  4578. "i386_sigtramp_frame_p".
  4579. (i386_frame_sniffer): Replace "i386_frame_p".
  4580. (i386_gdbarch_init): Set the frame unwind sniffers.
  4581. * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer".
  4582. (avr_gdbarch_init): Set the frame unwind sniffers.
  4583. * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace
  4584. "alpha_sigtramp_frame_p"
  4585. (alpha_heuristic_frame_sniffer): Replace
  4586. "alpha_heuristic_frame_p".
  4587. (alpha_gdbarch_init): Set the frame unwind sniffers.
  4588. (alpha_dwarf2_init_abi): Ditto.
  4589. * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace
  4590. "alpha_debug_frame_p".
  4591. (alpha_mdebug_frame_base_sniffer): Replace
  4592. "alpha_mdebug_frame_base_p".
  4593. (alpha_mdebug_init_abi): Set the frame unwind sniffers.
  4594. * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p".
  4595. (d10v_gdbarch_init): Set the frame unwind sniffer.
  4596. * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p".
  4597. (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p".
  4598. * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p".
  4599. (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p".
  4600. * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p".
  4601. * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p".
  4602. 2003-07-16 Michael Snyder <msnyder@redhat.com>
  4603. * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp
  4604. should go thru sh_dsp_register_sim_regno, else the dsp regs
  4605. will not get the right values.
  4606. 2003-07-16 Corinna Vinschen <vinschen@redhat.com>
  4607. * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to
  4608. deprecated_store_floating by call to store_typed_floating.
  4609. (sh_sh4_register_convert_to_raw): Substitute call to
  4610. deprecated_extract_floating by call to extract_typed_floating.
  4611. 2003-07-16 Corinna Vinschen <vinschen@redhat.com>
  4612. * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e.
  4613. 2003-07-16 Corinna Vinschen <vinschen@redhat.com>
  4614. * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to
  4615. register_size and calls to REGISTER_VIRTUAL_TYPE by calls to
  4616. gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch
  4617. as possible.
  4618. (do_pseudo_register): Remove.
  4619. (sh_push_dummy_code): New function.
  4620. (sh64_store_struct_return): Rename from sh_store_struct_return.
  4621. Only called for sh64 now.
  4622. (sh_extract_struct_value_address): Regcache'ify.
  4623. (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify
  4624. and accomodate new tasks.
  4625. (sh64_push_return_address): Rename from sh_push_return_address.
  4626. Only called for sh64 now.
  4627. (sh_default_extract_return_value): Rename from sh_extract_return_value.
  4628. Regcache'ify.
  4629. (sh3e_sh4_extract_return_value): Regcache'ify.
  4630. (sh_default_store_return_value): Ditto.
  4631. (sh3e_sh4_store_return_value): Ditto.
  4632. (sh_default_register_byte): Remove.
  4633. (sh_sh4_register_byte): Remove.
  4634. (sh_default_register_raw_size): Remove.
  4635. (sh_sh4_register_raw_size): Remove.
  4636. (sh_register_virtual_size): Remove.
  4637. (sh_sh3e_register_virtual_type): Remove.
  4638. (sh_sh3e_register_type): New function.
  4639. (sh_sh4_register_virtual_type): Remove.
  4640. (sh_sh4_register_type): New function.
  4641. (sh_default_register_virtual_type): Remove.
  4642. (sh_default_register_type): New function.
  4643. (do_fv_register_info): Add parameters to accomodate call from
  4644. sh_print_registers_info.
  4645. (do_dr_register_info): Ditto.
  4646. (sh_print_pseudo_register): Rename from sh_do_pseudo_register.
  4647. Add parameters to accomodate call from sh_print_registers_info.
  4648. (sh_do_fp_register): Ditto.
  4649. (sh64_do_pseudo_register): Call do_dr_register_info,
  4650. do_fv_register_info and sh_do_fp_register with default parameters.
  4651. (sh_do_register): Add parameters to accomodate call from
  4652. sh_print_registers_info.
  4653. (sh_print_register): Ditto.
  4654. (sh_print_registers_info): Rename from sh_do_registers_info.
  4655. Add parameters to be used as gdbarch_print_registers_info
  4656. implementation. Accomodate removed do_pseudo_register function
  4657. pointer.
  4658. (sh_compact_do_registers_info): Accomodate removed do_pseudo_register
  4659. function pointer. Call sh_print_register with default parameters.
  4660. (sh64_do_registers_info): Call sh_print_registers_info instead of
  4661. sh_do_registers_info.
  4662. (sh_gdbarch_init): Rearrange to cleanup and to allow easier
  4663. detection of deprecated vs. non-deprecated functionality.
  4664. Rename sh_call_dummy_words to sh64_call_dummy_words. Remove
  4665. function pointer assignments by direct function calls.
  4666. 2003-07-15 Andrew Cagney <cagney@redhat.com>
  4667. * frame.c (get_frame_id): Use frame_unwind_find_by_frame.
  4668. (frame_register_unwind, create_new_frame): Ditto.
  4669. (legacy_get_prev_frame, get_frame_type): Ditto.
  4670. (get_frame_base_address): Use frame_base_find_by_frame.
  4671. (get_frame_locals_address): Use frame_base_find_by_frame.
  4672. (get_frame_args_address): Use frame_base_find_by_frame.
  4673. * frame-base.h (frame_base_sniffer_ftype): Declare.
  4674. (frame_base_append_sniffer): Declare.
  4675. (frame_base_find_by_frame): Replace frame_base_find_by_pc.
  4676. * frame-base.c (append_predicate): Add a "sniffer" parameter.
  4677. (frame_base_append_sniffer): New function.
  4678. (frame_base_append_predicate): Add a NULL sniffer.
  4679. (frame_base_find_by_frame): Replace "frame_base_find_by_pc".
  4680. (struct frame_base_table): Add "sniffer".
  4681. (frame_base_free): Free the "sniffer" table.
  4682. * frame-unwind.h (frame_unwind_sniffer_ftype): Define.
  4683. (frame_unwind_append_sniffer): Declare.
  4684. (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc.
  4685. * frame-unwind.c (frame_unwind_free): Free the "sniffer" table.
  4686. (struct frame_unwind_table): Add "sniffer", delete "middle".
  4687. (append_predicate): Add "sniffer" parameter, append the sniffer.
  4688. (frame_unwind_init): Update append_predicate call.
  4689. (frame_unwind_append_sniffer): New function.
  4690. (frame_unwind_append_predicate): Update append_predicate call.
  4691. (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc.
  4692. 2003-07-15 Andrew Cagney <cagney@redhat.com>
  4693. * frame.c (get_prev_frame): Move disabled inside_entry_func to
  4694. before code inhibiting repeated unwind attempts. Add to
  4695. commentary on that test's problems.
  4696. * blockframe.c (inside_main_func): Look for "main" in the minimal
  4697. symbol table.
  4698. * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are
  4699. identical.
  4700. 2003-07-15 Andrew Cagney <cagney@redhat.com>
  4701. * complaints.c (struct explanation): Define.
  4702. (struct complaints): Change type of "explanation" to "struct
  4703. explanation".
  4704. (symfile_explanations): Convert to a "struct explanation" table.
  4705. (vcomplaint): Update.
  4706. 2003-07-15 Michal Ludvig <mludvig@suse.cz>
  4707. * x86-64-linux-nat.c (regmap): Removed.
  4708. (supply_gregset, fill_gregset): Call
  4709. x86_64_linux_(fill,supply)_gregset functions.
  4710. * x86-64-linux-tdep.c (USER_*): New defines.
  4711. (user_to_gdb_regmap, x86_64_core_fns): New structure.
  4712. (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset):
  4713. New functions.
  4714. (fetch_core_registers): Ditto.
  4715. (_initialize_x86_64_linux_tdep): Call add_core_fns().
  4716. * x86-64-linux-tdep.h: New file.
  4717. * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o
  4718. and core-regset.o.
  4719. * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o.
  4720. 2003-07-13 Mark Kettenis <kettenis@gnu.org>
  4721. * x86-64-tdep.c (x86_64_store_return_value): Use
  4722. regcache_cooked_write_part instead of regcache_cooked_write.
  4723. * configure.host: Add x86_64-*-freebsd*.
  4724. * configure.tgt: Add x86_64-*-freebsd*.
  4725. * Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets.
  4726. * amd64fbsd-nat.c: New file.
  4727. * amd64fbsd-tdep.c: New file.
  4728. * config/i386/nm-fbsd64.h: New file.
  4729. * config/i386/fbsd64.mh: New file.
  4730. * config/i386/fbsd64.mt: New file.
  4731. 2003-07-11 Mark Kettenis <kettenis@gnu.org>
  4732. * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset',
  4733. `sc_regs_offset' and `sc_fpregs_offset'.
  4734. * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF,
  4735. SIGFRAME_FPREGSAVE_OFF): Remove defines.
  4736. (alpha_sigtramp_register_address): Rewrite to use new members of
  4737. `struct gdbarch_tdep'.
  4738. (alpha_gdbarch_init): Initialize new members of struct
  4739. gdbarch_tdep'.
  4740. * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use
  4741. ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE.
  4742. (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables.
  4743. (alphafbsd_pc_in_sigtramp): Implement.
  4744. (alphafbsd_sigtramp_offset): New function.
  4745. (alphafbsd_sigcontext_addr): New function.
  4746. (alphafbsd_init_abi): Initialize signal trampoline related members
  4747. of `struct gdbarch_tdep'.
  4748. (_initialize_alphafbsd_tdep): Add prototype.
  4749. 2003-07-11 Theodore A. Roth <troth@openavr.org>
  4750. * Makefile.in (install-only): Quote sed expression when generating
  4751. transformed_name.
  4752. 2003-07-11 Richard Henderson <rth@redhat.com>
  4753. * Makefile.in (dwarf2-frame.o): Add complaints_h.
  4754. * dwarf2-frame.c: Include complaints.h.
  4755. (decode_frame_entry_1): Rename from decode_frame_entry; tidy
  4756. variable initialization; return NULL on error.
  4757. (decode_frame_entry): New.
  4758. 2003-07-11 Andrew Cagney <cagney@redhat.com>
  4759. * frame.h (frame_address_in_block): Delete declaration.
  4760. * blockframe.c (frame_address_in_block): Delete function.
  4761. (get_frame_block): Use get_frame_address_in_block.
  4762. (block_innermost_frame): Ditto.
  4763. * stack.c (print_frame, backtrace_command_1): Ditto.
  4764. * frame.h (get_frame_address_in_block): Declare.
  4765. (frame_unwind_address_in_block): Declare.
  4766. * frame.c (frame_unwind_address_in_block): New function.
  4767. (get_frame_address_in_block): New function.
  4768. 2003-07-10 Andrew Cagney <cagney@redhat.com>
  4769. * gdbarch.sh: Simplify predicate methods. Remove need to provide
  4770. pre-default. Note: re-generate has no effect.
  4771. 2003-07-10 Andrew Cagney <cagney@redhat.com>
  4772. * gdbarch.sh: When a variable, but not a function, compare against
  4773. 0. Fix problem in previous patch.
  4774. * gdbarch.c: Re-generate.
  4775. 2003-07-10 Andrew Cagney <cagney@redhat.com>
  4776. * gdbarch.sh: Use gdb_assert instead of internal_error. Compare
  4777. functions against NULL, not 0.
  4778. * gdbarch.c: Re-generate.
  4779. 2003-07-10 Fred Fish <fnf@ninemoons.com>
  4780. * coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a
  4781. null string instead of a null pointer.
  4782. * solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto.
  4783. 2003-07-09 Michael Snyder <msnyder@redhat.com>
  4784. * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error.
  4785. 2003-07-09 Mark Kettenis <kettenis@gnu.org>
  4786. * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM,
  4787. X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM,
  4788. X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM,
  4789. X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ...
  4790. * x86-64-tdep.c: ... from here.
  4791. 2003-07-09 Andreas Schwab <schwab@suse.de>
  4792. * m68k-tdep.h (enum struct_return): Define.
  4793. (struct gdbarch_tdep): Add struct_return.
  4794. * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4
  4795. bytes are padded to the right, not to the left. Pass struct value
  4796. address in register %a1, not on stack.
  4797. (m68k_use_struct_convention): New function.
  4798. (m68k_gdbarch_init): Set use_struct_convention. Initialize
  4799. struct_return in tdep to pcc_struct_return.
  4800. * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to
  4801. reg_struct_return.
  4802. 2003-07-09 Joel Brobecker <brobecker@gnat.com>
  4803. * somread.c (som_symfile_offsets): Fix compilation error.
  4804. 2003-07-09 Andrew Cagney <cagney@redhat.com>
  4805. * regcache.c (register_size): Only check REGISTER_RAW_SIZE once.
  4806. Add comments about the checks.
  4807. 2003-07-08 Andrew Cagney <cagney@redhat.com>
  4808. * Makefile.in: Make dependency section headers consistent.
  4809. (config_h): Move to $BUILD headers section.
  4810. (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto.
  4811. (msg_U_h, notify_S_h, process_reply_S_h): Ditto.
  4812. (ada-exp.tab.c): Move to YACC/LEX section.
  4813. (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto.
  4814. (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto.
  4815. 2003-07-08 Kris Warkentin <kewarken@qnx.com>
  4816. * nto-procfs.c: Cleaned up a bunch of ARI hits.
  4817. Include "gdb_dirent.h" instead of <dirent.h>, replace all instances
  4818. of strerror with safe_strerror, use ISO C function definitions,
  4819. and replace instances of sprintf with snprintf.
  4820. 2003-07-07 Andrew Cagney <cagney@redhat.com>
  4821. * frame.c (get_prev_frame): Enable check for identical frames.
  4822. Update comments. Update error messages.
  4823. 2003-07-07 Joel Brobecker <brobecker@gnat.com>
  4824. * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure.
  4825. 2003-07-07 Joel Brobecker <brobecker@gnat.com>
  4826. * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to
  4827. sort_symtab_syms, no longer necessary.
  4828. 2003-07-07 Joel Brobecker <brobecker@gnat.com>
  4829. * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment.
  4830. 2003-07-07 Joel Brobecker <brobecker@gnat.com>
  4831. * mips-tdep.c (mips_register_raw_size): Fix compilation failure.
  4832. (mips_register_byte): Likewise.
  4833. 2003-07-07 Daniel Jacobowitz <drow@mvista.com>
  4834. * Makefile.in (sparc_tdep_h): New.
  4835. (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o)
  4836. (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h).
  4837. * sparc-linux-nat.c: Include "sparc-tdep.h".
  4838. * sparc-nat.c: Likewise.
  4839. * sparc-tdep.c: Likewise.
  4840. * sparc64nbsd-nat.c: Likewise.
  4841. * sparcnbsd-nat.c: Likewise.
  4842. * sparcnbsd-tdep.c: Likewise.
  4843. * sparc-tdep.h: New file.
  4844. * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum
  4845. and sparc_npc_regnum.
  4846. 2003-07-07 Daniel Jacobowitz <drow@mvista.com>
  4847. * mips-linux-nat.c (mips_linux_cannot_fetch_register)
  4848. (mips_linux_cannot_store_register): List supported instead of
  4849. unsupported registers.
  4850. 2003-07-07 Daniel Jacobowitz <drow@mvista.com>
  4851. * disasm.c (dump_insns): Separate instructions from addresses.
  4852. 2003-07-07 Andreas Schwab <schwab@suse.de>
  4853. * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update
  4854. dependencies.
  4855. * m68k-tdep.c (NUM_FREGS): Delete.
  4856. (SIG_PC_FP_OFFSET): Delete.
  4857. (TARGET_M68K): Delete.
  4858. (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP,
  4859. P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP,
  4860. P_MOVEL_SP, P_MOVEML_SP): Define.
  4861. (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM,
  4862. P_TRAP): Delete.
  4863. (m68k_register_raw_size): Delete.
  4864. (m68k_register_virtual_size): Delete.
  4865. (m68k_register_type): Renamed from m68k_register_virtual_type and
  4866. add gdbarch argument.
  4867. (m68k_store_struct_return): Delete.
  4868. (m68k_deprecated_extract_return_value): Delete.
  4869. (m68k_deprecated_extract_struct_value_address): Delete.
  4870. (m68k_frame_chain): Delete.
  4871. (m68k_frame_saved_pc): Delete.
  4872. (m68k_fix_call_dummy): Delete.
  4873. (m68k_push_dummy_frame): Delete.
  4874. (m68k_pop_frame): Delete.
  4875. (m68k_extract_return_value): New function.
  4876. (m68k_store_return_value): Rewrite using regcache.
  4877. (m68k_extract_struct_value_address): Rewrite using regcache.
  4878. (m68k_push_dummy_call): New function.
  4879. (struct m68k_frame_cache): Define.
  4880. (m68k_alloc_frame_cache): New function.
  4881. (m68k_analyze_frame_setup): New function.
  4882. (m68k_analyze_register_saves): New function.
  4883. (m68k_analyze_prologue): New function.
  4884. (m68k_skip_prologue): Rewrite using above functions.
  4885. (m68k_unwind_pc): New function.
  4886. (m68k_frame_cache): New function.
  4887. (m68k_frame_this_id): New function.
  4888. (m68k_frame_prev_register): New function.
  4889. (m68k_frame_unwind): New variable.
  4890. (m68k_frame_p): New function.
  4891. (m68k_sigtramp_frame_cache): New function.
  4892. (m68k_sigtramp_frame_this_id): New function.
  4893. (m68k_sigtramp_frame_prev_register): New function.
  4894. (m68k_sigtramp_frame_unwind): New variable.
  4895. (m68k_sigtramp_frame_p): New function.
  4896. (m68k_frame_base_address): New function.
  4897. (m68k_frame_base): New function.
  4898. (m68k_unwind_dummy_id): New function.
  4899. (fill_gregset): Use regcache_collect.
  4900. (fill_fpregset): Likewise.
  4901. (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is
  4902. defined.
  4903. (m68k_gdbarch_init): Don't define call_dummy_words. Don't set
  4904. deprecated_init_frame_pc, deprecated_store_struct_return,
  4905. deprecated_extract_return_value, deprecated_store_return_value,
  4906. deprecated_frame_chain, deprecated_frame_saved_pc,
  4907. deprecated_frame_init_saved_regs, deprecated_register_raw_size,
  4908. deprecated_register_virtual_size,
  4909. deprecated_max_register_raw_size,
  4910. deprecated_max_register_virtual_size,
  4911. deprecated_register_virtual_type, deprecated_register_size,
  4912. deprecated_register_byte, deprecated_register_bytes,
  4913. deprecated_fp_regnum, deprecated_use_generic_dummy_frames,
  4914. call_dummy_location, deprecated_call_dummy_breakpoint_offset,
  4915. deprecated_pc_in_call_dummy, deprecated_call_dummy_length,
  4916. deprecated_call_dummy_start_offset, deprecated_call_dummy_words,
  4917. deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy,
  4918. deprecated_push_dummy_frame, deprecated_pop_frame,
  4919. deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call
  4920. only if SYSCALL_TRAP is defined. Set extract_return_value,
  4921. store_return_value, extract_struct_value_address, register_type,
  4922. push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind
  4923. predicates.
  4924. * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS,
  4925. M68K_MAX_REGISTER_SIZE): Define.
  4926. (struct m68k_sigtramp_info): Define.
  4927. (struct gdbarch_tdep): Add get_sigtramp_info.
  4928. * m68klinux-nat.c (fetch_register): Use register_size instead of
  4929. REGISTER_RAW_SIZE. Don't put assignment in if.
  4930. (store_register): Likewise.
  4931. (fetch_inferior_registers): Likewise.
  4932. (store_inferior_registers): Likewise.
  4933. * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete.
  4934. (m68k_linux_frame_saved_pc): Delete.
  4935. (m68k_linux_sigcontext_reg_offset,
  4936. m68k_linux_ucontext_reg_offset): Define.
  4937. (m68k_linux_get_sigtramp_info): New function.
  4938. (m68k_linux_extract_return_value): Rewrite using regcache.
  4939. (m68k_linux_store_return_value): Likewise.
  4940. (m68k_linux_extract_struct_value_address): Likewise.
  4941. (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure.
  4942. Don't set deprecated_frame_saved_pc,
  4943. deprecated_extract_return_value, deprecated_store_return_value,
  4944. deprecated_extract_struct_value_address. Set
  4945. extract_return_value, store_return_value,
  4946. extract_struct_value_address.
  4947. 2003-07-07 Andrew Cagney <cagney@redhat.com>
  4948. * expprint.c: Include "user-regs.h" instead of "frame.h".
  4949. (print_subexp): Use user_reg_map_regnum_to_name, instead of
  4950. frame_map_regnum_to_name.
  4951. * frame.c: Include "user-regs.h" instead of "builtin-regs.h".
  4952. (frame_map_name_to_regnum): Simplify, call
  4953. user_reg_map_name_to_regnum.
  4954. (frame_map_regnum_to_name): Simplify, call
  4955. user_reg_map_regnum_to_name.
  4956. (frame_register_unwind): Update.
  4957. * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h".
  4958. (_initialize_frame_reg): Call user_reg_add_builtin.
  4959. * findvar.c: Include "user-regs.h" instead of "builtin-regs.h".
  4960. (value_of_register): Use value_of_user_reg.
  4961. * eval.c (evaluate_subexp_standard): Update.
  4962. * parse.c (write_dollar_variable): Update.
  4963. * d10v-tdep.c (d10v_print_registers_info): Update.
  4964. * infcmd.c (registers_info): Update.
  4965. * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c".
  4966. (builtin_regs_h): Delete macro.
  4967. (user_regs_h): Define.
  4968. (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o".
  4969. (builtin-regs.o): Delete target.
  4970. (user-regs.o): Specify dependencies.
  4971. (expprint.o): Update dependencies.
  4972. (findvar.o): Update dependencies.
  4973. (frame.o): Update dependencies.
  4974. (std-regs.o): Update dependencies.
  4975. 2003-07-06 Christopher Faylor <cgf@redhat.com>
  4976. * win32-nat.c (solib_symbols_add): Use one variable for all section
  4977. address stuff. Pass variable rather than address of variable to
  4978. safe_symbol_file_add.
  4979. 2003-07-06 Andreas Schwab <schwab@suse.de>
  4980. * m68klinux-nat.c (fill_fpregset): Fix use of loop index.
  4981. 2003-07-04 Joel Brobecker <brobecker@gnat.com>
  4982. * rs6000-nat.c (vmap_symtab): Fix compilation error.
  4983. 2003-07-04 Kris Warkentin <kewarken@qnx.com>
  4984. * config/i386/nto.mh: Set XM_FILE to xm-i386.h
  4985. 2003-07-04 Kris Warkentin <kewarken@qnx.com>
  4986. * nto-procfs.c: New file. Native procfs support for QNX Neutrino.
  4987. * config/i386/nto.mh: New file.
  4988. * config/i386/nm-nto.h: New file.
  4989. * configure.host: Add i[3456]86-*-nto*.
  4990. 2003-07-03 Joel Brobecker <brobecker@gnat.com>
  4991. * remote-vx.c (vx_add_symbols): Fix compilation error.
  4992. 2003-07-03 Andrew Cagney <cagney@redhat.com>
  4993. * gdbarch.sh (REGISTER_NAME): Do not supply a default.
  4994. * gdbarch.h, gdbarch.c: Re-generate.
  4995. * config/sparc/tm-sparc.h (REGISTER_NAME): Define.
  4996. (legacy_register_name): Declare.
  4997. * config/sparc/tm-sp64.h (legacy_register_name): Declare.
  4998. (REGISTER_NAME): Define.
  4999. * sparc-tdep.c (legacy_register_name): New function.
  5000. * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro.
  5001. (REGISTER_NAME): Define.
  5002. (hppa64_register_name): Declare.
  5003. * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro.
  5004. * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name.
  5005. (hppa64_register_name): New function.
  5006. (hppa_register_name): New function.
  5007. * arch-utils.c (legacy_register_name): Delete.
  5008. * arch-utils.h (legacy_register_name): Delete.
  5009. 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
  5010. * cli/cli-interp.c (cli_interpreter_resume): Update the
  5011. cli_uiout's stream to gdb_stdout.
  5012. 2003-07-03 Andrew Cagney <cagney@redhat.com>
  5013. * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add
  5014. predicate.
  5015. * gdbarch.h, gdbarch.c: Re-generate.
  5016. * regcache.c (init_regcache_descr): Use legacy code when either
  5017. REGISTER_BYTE or REGISTER_RAW_SIZE is set.
  5018. 2003-07-02 Daniel Jacobowitz <drow@mvista.com>
  5019. * NEWS: Move "set logging" entry into GDB 6.0 section.
  5020. 2003-07-02 Jim Blandy <jimb@redhat.com>
  5021. * s390-tdep.c (struct frame_extra_info): new member:
  5022. 'stack_bought_valid'.
  5023. (s390_get_frame_info): Set fextra_info->stack_bought_valid if we
  5024. initialize fextra_info->stack_bought.
  5025. (s390_frameless_function_invocation): Don't trust the value of
  5026. fextra_info_ptr->stack_bought unless
  5027. fextra_info->stack_bought_valid is set.
  5028. New S390 prologue analyzer.
  5029. * s390-tdep.c (struct prologue_value, enum pv_boolean): New types.
  5030. (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
  5031. pv_constant_last, pv_add, pv_add_constant, pv_subtract,
  5032. pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref,
  5033. compute_x_addr, s390_on_stack, s390_store,
  5034. s390_get_signal_frame_info): New functions.
  5035. (S390_NUM_SPILL_SLOTS): New macro.
  5036. (s390_get_frame_info): Rewritten.
  5037. (is_arg_reg): Deleted.
  5038. Break out the decoding of S/390 instructions into separate
  5039. functions, to make it more legible, and easier to check
  5040. against the spec.
  5041. * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse,
  5042. is_rx, is_rxe): New functions.
  5043. (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras,
  5044. op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi,
  5045. op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st,
  5046. op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New
  5047. enums for opcode values. (Is this an improvement?)
  5048. 2003-07-02 Andrew Cagney <cagney@redhat.com>
  5049. * i386-tdep.c: Revert change committed as part of trad-frame code
  5050. below.
  5051. 2003-07-02 Daniel Jacobowitz <drow@mvista.com>
  5052. * breakpoint.c (insert_catchpoint): Make static.
  5053. 2003-07-02 Andreas Schwab <schwab@suse.de>
  5054. * ia64-tdep.c (ia64_push_dummy_call): Define as combination of
  5055. former ia64_push_arguments and ia64_push_return_address, and use
  5056. regcache functions instead of read/write_register.
  5057. (ia64_gdbarch_init): Set push_dummy_call instead of
  5058. deprecated_push_arguments and deprecated_push_return_address.
  5059. 2003-07-01 Andreas Jaeger <aj@suse.de>
  5060. * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte
  5061. before the call.
  5062. Set %rax only to number of SSE registers used.
  5063. 2003-07-01 Andrew Cagney <cagney@redhat.com>
  5064. * trad-frame.h: Update comments, a -1 .addr is reserved.
  5065. (trad_frame_value_p, trad_frame_addr_p): Declare.
  5066. (trad_frame_reg_p): Declare.
  5067. (trad_frame_set_value): Rename trad_frame_register_value.
  5068. (trad_frame_set_unknown): Declare.
  5069. * trad-frame.c (trad_frame_realreg_p): New function.
  5070. (trad_frame_addr_p, trad_frame_value_p): New function.
  5071. (trad_frame_set_unknown): New function.
  5072. (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero.
  5073. (trad_frame_prev_register): Use trad_frame_realreg_p,
  5074. trad_frame_addr_p and trad_frame_value_p.
  5075. (trad_frame_set_value): Rename trad_frame_register_value.
  5076. * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p
  5077. and trad_frame_set_value.
  5078. 2003-06-30 Jim Blandy <jimb@redhat.com>
  5079. Patch from IBM (authors unspecified, probably Ulrich Weigand and
  5080. Gerhard Tonn) for argument passing on the S/390 and S/390x:
  5081. * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space
  5082. for 16 registers, and then 32 more bytes.
  5083. (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS):
  5084. New macros.
  5085. (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially.
  5086. Move up in the file, since it's now used by is_simple_arg.
  5087. (is_simple_arg): Don't assume registers are four bytes long.
  5088. Exclude all double arguments. Extended floats are not simple
  5089. args.
  5090. (is_power_of_two): New function.
  5091. (pass_by_copy_ref): Call is_power_of_two, and check that the
  5092. length fits in a register, rather than listing all the acceptable
  5093. sizes. Extended floats are not passed by reference.
  5094. (s390_push_arguments): Don't assume registers are four bytes long.
  5095. Reserve an argument register to point to the buffer for structures
  5096. returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and
  5097. S390_STACK_FRAME_OVERHEAD.
  5098. 2003-06-30 Andreas Schwab <schwab@suse.de>
  5099. * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to
  5100. format error message.
  5101. 2003-06-30 Joel Brobecker <brobecker@gnat.com>
  5102. * sparc-tdep.c (stop_after_trap): Remove declaration, not used.
  5103. 2003-06-30 David Carlton <carlton@kealia.com>
  5104. Band-aid for PR c++/1245.
  5105. * Makefile.in (cp-support.o): Depend on complaints_h.
  5106. * cp-support.c: Include complaints.h. Add declaration for
  5107. find_last_component.
  5108. (cp_find_first_component): Separate code into
  5109. cp_find_first_component_aux.
  5110. (cp_find_first_component_aux): Call demangled_name_complaint.
  5111. (demangled_name_complaint): New.
  5112. 2003-06-30 Andrew Cagney <cagney@redhat.com>
  5113. * remote.c (remote_write_bytes): Explicitly compute and then use
  5114. the payload size. Update comments to reflect. Fixes problem of
  5115. GDB not sending small packets as found by Fred Fish.
  5116. 2003-06-30 Andrew Cagney <cagney@redhat.com>
  5117. * remote.c (remote_async_wait): Fix -Wformat problem.
  5118. 2003-06-29 Andrew Cagney <cagney@redhat.com>
  5119. * remote.c (remote_wait): Call error, and not warning, when the
  5120. packet is corrupt.
  5121. (remote_async_wait): Ditto.
  5122. 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
  5123. * sparc-tdep.c (sparc_y_regnum): Make external again.
  5124. 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
  5125. * cli/cli-logging.c (pop_output_files): Add void to function
  5126. definition.
  5127. 2003-06-29 Andrew Cagney <cagney@redhat.com>
  5128. * frame.c (frame_register_unwind): Use unsigned char when dumping
  5129. the buffer contents.
  5130. 2003-06-28 Daniel Jacobowitz <drow@mvista.com>
  5131. * cli/cli-logging.c: New file.
  5132. * cli-out.c (struct ui_out_data): Add original_stream.
  5133. (cli_redirect): New function.
  5134. (cli_ui_out_impl): Add cli_redirect.
  5135. (cli_out_new): Initialize original_stream.
  5136. * ui-out.c (default_ui_out_impl): Add NULL for redirect member.
  5137. (uo_redirect, ui_out_redirect): New.
  5138. * ui-out.h (struct ui_out_impl): Add redirect member.
  5139. (redirect_ftype): New.
  5140. (ui_out_redirect): Add prototype.
  5141. * Makefile.in: Add rules for cli-logging.c.
  5142. * NEWS: Mention "set logging".
  5143. 2003-06-27 Elena Zannoni <ezannoni@redhat.com>
  5144. * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o.
  5145. 2003-06-27 Andrew Cagney <cagney@redhat.com>
  5146. * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function.
  5147. (m68hc11_gdbarch_init): Do not set call_dummy_address.
  5148. * avr-tdep.c (avr_call_dummy_address): Delete function.
  5149. (avr_gdbarch_init): Do not set call_dummy_address.
  5150. 2003-06-27 Elena Zannoni <ezannoni@redhat.com>
  5151. * symfile.c (syms_from_objfile): Move variables to inner block.
  5152. Move the checks for the non-mainline case a bit earlier to avoid
  5153. doing some useless computations.
  5154. 2003-06-27 Elena Zannoni <ezannoni@redhat.com>
  5155. * dwarfread.c (decode_modified_type): Gag new compiler warning.
  5156. 2003-06-26 Elena Zannoni <ezannoni@redhat.com>
  5157. * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame
  5158. sections.
  5159. 2003-06-26 Michael Chastain <mec@shout.net>
  5160. * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc,
  5161. gdb/testsuite/gdb.c++/pr-1210.exp.
  5162. 2003-06-26 Andrew Cagney <cagney@redhat.com>
  5163. * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's
  5164. altivec_expression.h and altivec_registers.h.
  5165. 2003-06-26 Andrew Cagney <cagney@redhat.com>
  5166. * mips-tdep.c (gdb_print_insn_mips): Only explicitly set
  5167. info->mach when MIPS16. Patch suggested by Fred Fish.
  5168. 2003-06-26 Andrew Cagney <cagney@redhat.com>
  5169. * utils.c (internal_vproblem): Print the problem to a reason
  5170. buffer and then pass to query. Make the msg variable more local.
  5171. 2003-06-26 Andrew Cagney <cagney@redhat.com>
  5172. * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate.
  5173. (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate.
  5174. * gdbarch.h, gdbarch.c: Re-generate.
  5175. * frame-base.c (default_frame_args_address): Update. Use
  5176. default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is
  5177. not available.
  5178. (default_frame_locals_address): Ditto for
  5179. DEPRECATED_FRAME_LOCALS_ADDRESS.
  5180. * vax-tdep.c (vax_sigtramp_saved_pc): Update.
  5181. (vax_frame_num_args): Update.
  5182. (vax_gdbarch_init): Update.
  5183. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  5184. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  5185. * mcore-tdep.c (mcore_gdbarch_init): Update.
  5186. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  5187. * ia64-tdep.c (ia64_gdbarch_init): Update.
  5188. * symtab.h (address_class): Update comments.
  5189. * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update.
  5190. * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
  5191. (DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
  5192. * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
  5193. (DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
  5194. (DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
  5195. * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
  5196. * alpha-mdebug-tdep.c: Update.
  5197. * ada-lang.c (add_symbols_from_enclosing_procs): Update.
  5198. 2003-06-26 Andreas Jaeger <aj@suse.de>
  5199. * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number
  5200. of SSE registers so that varargs functions work. Rework handling
  5201. of passing arguments on the stack.
  5202. (x86_64_store_return_value): Return double and float values in SSE
  5203. register.
  5204. 2003-06-24 Michael Chastain <mec@shout.net>
  5205. * PROBLEMS: Document pr gdb/1091 and pr gdb/1193,
  5206. the "constructor breakpoints ignored" bug.
  5207. 2003-06-25 David Carlton <carlton@kealia.com>
  5208. * MAINTAINERS: Update e-mail address.
  5209. 2003-06-24 Jim Blandy <jimb@redhat.com>
  5210. * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux".
  5211. * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New
  5212. function.
  5213. (ppc_linux_init_abi): Register it as the
  5214. CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI.
  5215. * ppc-linux-tdep.c (ppc64_call_dummy_address): New function.
  5216. (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address
  5217. method.
  5218. * ppc-linux-tdep.c (ppc64_desc_entry_point): New function.
  5219. (ppc64_standard_linkage_target): Use it.
  5220. 2003-06-23 Andrew Cagney <cagney@redhat.com>
  5221. * rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases
  5222. for 0 "int0" and 4 "int32" sized registers.
  5223. * gdbtypes.c (builtin_type_int0): Define.
  5224. (build_gdbtypes): Initialize builtin_type_int0.
  5225. * gdbtypes.h (builtin_type_int0): Declare.
  5226. 2003-06-23 Stephane Carrez <stcarrez@nerim.fr>
  5227. * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed
  5228. as characters are unsigned.
  5229. 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
  5230. PR gdb/1179
  5231. * dwarfread.c (struct_type): Skip static fields without crashing.
  5232. 2003-06-22 Andrew Cagney <cagney@redhat.com>
  5233. GDB 6.0 branch created.
  5234. * README: Update.
  5235. * PROBLEMS: Update. Empty.
  5236. * NEWS: Update.
  5237. 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
  5238. * symfile.c (add_symbol_file_command): Use parse_and_eval_address.
  5239. Suggested by Nick Hibma <n_hibma@webweaving.org>.
  5240. 2003-06-22 Andrew Cagney <cagney@redhat.com>
  5241. * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle
  5242. GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil
  5243. Velikov.
  5244. 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
  5245. * cli/cli-cmds.c (shell_escape): Silence warnings from old
  5246. compilers.
  5247. 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
  5248. * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address
  5249. argument of val_print.
  5250. * cp-valprint.c (cp_print_value): Don't add the offset parameter
  5251. to the address argument of baseclass_offset or target_read_memory.
  5252. Do add it to the argument of cp_print_value_fields.
  5253. 2003-06-21 Andrew Cagney <cagney@redhat.com>
  5254. * mips-tdep.c: Include "reggroups.h" and "sim-regno.h".
  5255. (mips_register_name): Return names for NUM_REGS..2*NUM_REGS
  5256. instead of 0..NUM_REGS.
  5257. (mips_register_reggroup_p): New function.
  5258. (mips_pseudo_register_write): New function.
  5259. (mips_pseudo_register_read): New function.
  5260. (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size
  5261. based on the register's type.
  5262. (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo /
  5263. cooked.
  5264. (mips_get_saved_register): Simplify. Assert that REGNO is a
  5265. pseudo / cooked.
  5266. (mips_register_byte): New function. Use MIPS_REGISTER_BYTE.
  5267. (mips_register_type): Replace mips_register_virtual_type. Map
  5268. NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE
  5269. when available.
  5270. (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert
  5271. that the register is cooked / virtual.
  5272. (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC.
  5273. Only get the extra info when needed.
  5274. (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well.
  5275. (mips32_heuristic_proc_desc): Fetch the cooked register.
  5276. (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto.
  5277. (mips_init_extra_frame_info, get_frame_pointer): Ditto.
  5278. (mips_print_register): Use gdbarch_register_type, instead of
  5279. REGISTER_VIRTUAL_TYPE.
  5280. (print_gp_register_row): Use gdbarch_register_type, instead of
  5281. REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM.
  5282. (mips_print_registers_info): Assert REGNO is pseodo / cooked.
  5283. Print the pseudo / cooked registers.
  5284. (mips_print_registers_info): Assert REGNO is pseodo / cooked.
  5285. Print the pseudo / cooked registers.
  5286. (mips_xfer_register): Use regcache_cooked_read_part. Assert that
  5287. REG_NUM is pseudo / cooked.
  5288. (mips_o32_xfer_return_value): Xfer the pseudo / cooked register.
  5289. (mips_n32n64_xfer_return_value): Ditto.
  5290. (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS.
  5291. (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto.
  5292. (mips_register_sim_regno): New function.
  5293. (mips_gdbarch_init): Set deprecated_register_byte,
  5294. register_group_p, pseudo_register_write, pseudo_register_read,
  5295. register_sim_regno, and num_pseudo_regs. Set register_type,
  5296. instead of register_virtual_type.
  5297. * Makefile.in (mips-tdep.o): Update dependencies.
  5298. * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename
  5299. REGISTER_VIRTUAL_TYPE.
  5300. * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto.
  5301. * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto.
  5302. * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE.
  5303. * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto.
  5304. * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto.
  5305. 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
  5306. * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h)
  5307. * cli/cli-cmds.c: Include "gdb_vfork.h".
  5308. (shell_escape): Use vfork.
  5309. 2003-06-21 Andrew Cagney <cagney@redhat.com>
  5310. * mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling
  5311. 32 bit floating-point register saves.
  5312. * frame.h (deprecated_unwind_get_saved_register): Delete.
  5313. * frame.c (deprecated_unwind_get_saved_register): Delete function.
  5314. * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind
  5315. and deprecated_get_next_frame_hack instead of
  5316. deprecated_unwind_get_saved_register.
  5317. * mips-tdep.c (mips_dump_tdep): Do not print
  5318. REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE.
  5319. * frame.c (get_frame_register): New function.
  5320. (frame_unwind_register_signed): New function.
  5321. (get_frame_register_signed): New function.
  5322. (frame_unwind_register_unsigned): New function.
  5323. (get_frame_register_unsigned): New function.
  5324. * frame.h: Add comments on naming schema.
  5325. (get_frame_register, frame_unwind_register_signed): Declare.
  5326. (get_frame_register_signed, get_frame_register_signed): Declare.
  5327. (frame_unwind_register_unsigned): Declare.
  5328. (get_frame_register_unsigned): Declare.
  5329. 2003-06-20 Theodore A. Roth <troth@openavr.org>
  5330. * avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit.
  5331. 2003-06-20 Theodore A. Roth <troth@openavr.org>
  5332. * avr-tdep.c (avr_read_pc): Use regcache instead of read_register.
  5333. (avr_read_sp): Ditto.
  5334. 2003-06-20 Daniel Jacobowitz <drow@mvista.com>
  5335. * config/arm/linux.mt: Remove code protected by GDBSERVER define.
  5336. * config/arm/nm-linux.h: Likewise.
  5337. * config/arm/tm-linux.h: Likewise.
  5338. * config/ia64/nm-linux.h: Likewise.
  5339. * config/ia64/tm-ia64.h: Likewise.
  5340. * config/s390/tm-linux.h: Likewise.
  5341. * config/s390/tm-s390.h: Likewise.
  5342. * s390-nat.c: Likewise.
  5343. * s390-tdep.c: Likewise.
  5344. * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES.
  5345. * config/ia64/linux.mt: Likewise.
  5346. * config/m68k/linux.mh: Likewise.
  5347. * config/mips/linux.mt: Likewise.
  5348. * config/powerpc/linux.mh: Likewise.
  5349. * config/sh/linux.mt: Likewise.
  5350. 2003-06-19 Kris Warkentin <kewarken@qnx.com>
  5351. * solib.c (solib_open): Change tests for whether to search
  5352. LD_LIBRARY_PATH and PATH to better deal with remotes. Update
  5353. comments.
  5354. 2003-06-19 Theodore A. Roth <troth@openavr.org>
  5355. * avr-tdep.c (avr_frame_address): Delete function.
  5356. (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address,
  5357. set_gdbarch_frame_args_address.
  5358. 2003-06-19 Andrew Cagney <cagney@redhat.com>
  5359. * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete.
  5360. (REGISTER_CONVERT_FROM_TYPE): Delete.
  5361. (mips_register_convert_to_type): Delete declaration.
  5362. (mips_register_convert_from_type): Delete declaration.
  5363. * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux
  5364. kernel/.
  5365. 2003-06-19 Michael Snyder <msnyder@redhat.com>
  5366. * linux-nat.h: New file.
  5367. * linux-nat.c: Include linux-nat.h.
  5368. * lin-lwp.c: Include linux-nat.h.
  5369. Move struct lwp_info def to linux-nat.h.
  5370. * linux-proc.c: Include linux-nat.h.
  5371. (linux_make_note_section): Iterate over lwps instead of threads.
  5372. (linux_do_thread_registers): Use lwp instead of merged pid.
  5373. * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h.
  5374. * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o):
  5375. Add dependency on linux_nat_h.
  5376. 2003-06-19 Theodore A. Roth <troth@openavr.org>
  5377. * avr-tdep.c (avr_extract_return_value): Delete debugging fprintf.
  5378. 2003-06-19 Daniel Jacobowitz <drow@mvista.com>
  5379. * varobj.c (get_type, get_target_type): Use check_typedef.
  5380. 2003-06-19 Daniel Jacobowitz <drow@mvista.com>
  5381. * breakpoint.c (insert_catchpoint): Call internal_error.
  5382. 2003-06-19 Theodore A. Roth <troth@openavr.org>
  5383. * avr-tdep.c (avr_push_dummy_code): Delete function.
  5384. (avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code.
  5385. 2003-06-19 Daniel Jacobowitz <drow@mvista.com>
  5386. * arch-utils.c (default_prepare_to_proceed): Remove.
  5387. (generic_prepare_to_proceed): Remove.
  5388. * arch-utils.h (default_prepare_to_proceed): Remove prototype.
  5389. (generic_prepare_to_proceed): Remove prototype.
  5390. * gdbarch.sh (PREPARE_TO_PROCEED): Remove.
  5391. * gdbarch.c: Regenerate.
  5392. * gdbarch.h: Regenerate.
  5393. * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype.
  5394. * hppah-nat.c (hppa_switched_threads): Remove.
  5395. * infrun.c (prepare_to_proceed): New static function, copied from
  5396. generic_prepare_to_proceed. Remove select_it argument.
  5397. (proceed): Call prepare_to_proceed.
  5398. * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove
  5399. variables.
  5400. (ptrace_wait): Don't set the removed variables.
  5401. (hppa_switched_threads): Remove.
  5402. * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove.
  5403. * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define.
  5404. (lin_lwp_prepare_to_proceed): Remove prototype.
  5405. * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine.
  5406. * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define.
  5407. 2003-06-18 Theodore A. Roth <troth@openavr.org>
  5408. * avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and
  5409. trad-frame.h.
  5410. (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64.
  5411. (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define.
  5412. (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define.
  5413. (AVR_PROLOGUE_*): Enumerate prologue types.
  5414. (struct frame_extra_info): Remove.
  5415. (struct avr_unwind_cache): Define.
  5416. (avr_write_sp): Delete function.
  5417. (avr_read_fp): Ditto.
  5418. (avr_init_extra_frame_info): Ditto.
  5419. (avr_pop_frame): Ditto.
  5420. (avr_frame_saved_pc): Ditto.
  5421. (avr_saved_pc_after_call): Ditto.
  5422. (avr_push_return_address): Ditto.
  5423. (avr_frame_chain): Ditto.
  5424. (avr_store_struct_return): Ditto.
  5425. (avr_push_arguments): Ditto.
  5426. (avr_scan_prologue): Update comments. Changed to set up the info for
  5427. cache unwinding. Now returns end of prologue PC.
  5428. (avr_skip_prologue): Better handling of functions lacking a prologue
  5429. by using avr_scan_prologue.
  5430. (avr_scan_arg_moves): New function.
  5431. (avr_saved_regs_unwinder): Ditto.
  5432. (avr_frame_unwind_cache): Ditto.
  5433. (avr_unwind_pc): Ditto.
  5434. (avr_frame_this_id): Ditto.
  5435. (avr_frame_prev_register): Ditto.
  5436. (avr_frame_p): Ditto.
  5437. (avr_frame_base_address ): Ditto.
  5438. (avr_unwind_dummy_id): Ditto.
  5439. (avr_push_dummy_code): Ditto.
  5440. (push_stack_item): Ditto.
  5441. (pop_stack_item): Ditto.
  5442. (avr_push_dummy_call): Ditto.
  5443. (struct stack_item): Define.
  5444. (avr_frame_unwind): Declare structure.
  5445. (avr_frame_base): Ditto.
  5446. (avr_gdbarch_init): Remove calls to
  5447. set_gdbarch_deprecated_init_frame_pc,
  5448. set_gdbarch_deprecated_target_read_fp,
  5449. set_gdbarch_deprecated_dummy_write_sp,
  5450. set_gdbarch_deprecated_fp_regnum,
  5451. set_gdbarch_deprecated_push_arguments,
  5452. set_gdbarch_deprecated_push_return_address,
  5453. set_gdbarch_deprecated_pop_frame,
  5454. set_gdbarch_deprecated_store_struct_return,
  5455. set_gdbarch_deprecated_frame_init_saved_regs,
  5456. set_gdbarch_deprecated_init_extra_frame_info,
  5457. set_gdbarch_deprecated_frame_chain,
  5458. set_gdbarch_deprecated_frame_saved_pc,
  5459. set_gdbarch_deprecated_saved_pc_after_call.
  5460. Add calls to set_gdbarch_push_dummy_call,
  5461. set_gdbarch_push_dummy_code,
  5462. frame_unwind_append_predicate,
  5463. frame_base_set_default,
  5464. set_gdbarch_unwind_dummy_id,
  5465. set_gdbarch_unwind_pc.
  5466. Wrap a long line.
  5467. 2003-06-18 Corinna Vinschen <vinschen@redhat.com>
  5468. * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL
  5469. registers for H8/300S.
  5470. (h8300_print_registers_info): Ditto.
  5471. (h8300_gdbarch_init): Accommodate register count for H8/300S.
  5472. 2003-06-18 Daniel Jacobowitz <drow@mvista.com>
  5473. * config/nm-linux.h (linux_record_stopped_pid): New prototype.
  5474. * lin-lwp.c (child_wait): Call linux_record_stopped_pid.
  5475. (lin_lwp_wait): Likewise. Update comments.
  5476. * linux-nat.c (struct simple_pid_list, add_to_pid_list)
  5477. (pull_pid_from_list, linux_record_stopped_pid): New.
  5478. 2003-06-17 Stephane Carrez <stcarrez@nerim.fr>
  5479. * ada-lang.c (scan_discrim_bound): Name first argument.
  5480. (ada_add_block_symbols): Remove BLOCK_SYM to use local variable
  5481. declared by ALL_BLOCK_SYMBOLS.
  5482. 2003-06-17 Stephane Carrez <stcarrez@nerim.fr>
  5483. * ada-tasks.c (find_function_in_inferior): Don't declare it.
  5484. ("regcache.h"): Include it.
  5485. * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN.
  5486. 2003-06-17 Daniel Jacobowitz <drow@mvista.com>
  5487. * NEWS: Mention gdbserver detach change and "disconnect" command.
  5488. * infcmd.c (disconnect_command): New function.
  5489. (_initialize_infcmd): Add ``disconnect'' command.
  5490. * remote.c (remote_async_detach): Delete.
  5491. (remote_detach): Merge remote_async_detach.
  5492. (remote_disconnect): New.
  5493. (init_remote_ops): Set to_disconnect.
  5494. (init_remote_cisco_ops): Likewise.
  5495. (init_remote_async_ops): Likewise. Use remote_detach.
  5496. * target.c (cleanup_target): Default to_disconnect.
  5497. (update_current_target): Inherit to_disconnect.
  5498. (target_disconnect, debug_to_disconnect): New functions.
  5499. (setup_target_debug): Set to_disconnect.
  5500. * target.h (struct target_ops): Add to_disconnect.
  5501. (target_disconnect): Add prototype.
  5502. 2003-06-17 Daniel Jacobowitz <drow@mvista.com>
  5503. * breakpoint.c (insert_catchpoint): New function.
  5504. (insert_breakpoints): Use catch_exceptions to call
  5505. insert_catchpoint. Disable catchpoints if they fail to insert.
  5506. 2003-06-17 Daniel Jacobowitz <drow@mvista.com>
  5507. * symfile.c (reread_symbols): Clear sym_private.
  5508. 2003-06-17 Andrew Cagney <cagney@redhat.com>
  5509. * trad-frame.h (struct frame_info): Add opaque declaration.
  5510. * remote-fileio.h (struct cmd_list_element): Add opaque
  5511. declaration.
  5512. * h8300-tdep.c (h8300s_register_name): Avoid C++ // style
  5513. comments.
  5514. 2003-06-17 Daniel Jacobowitz <drow@mvista.com>
  5515. * remote.c (remote_prepare_to_store): Replace call to
  5516. deprecated_read_register_bytes with multiple regcache_raw_read
  5517. calls.
  5518. 2003-06-17 Kris Warkentin <kewarken@qnx.com>
  5519. * nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc".
  5520. (nto_find_and_open_solib): Likewise.
  5521. (nto_init_solib_absolute_prefix): Likewise.
  5522. (_initialize_nto_tdep): Fix indentation.
  5523. 2003-06-17 Kris Warkentin <kewarken@qnx.com>
  5524. * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR.
  5525. 2003-06-17 Kris Warkentin <kewarken@qnx.com>
  5526. * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using.
  5527. 2003-06-17 Jim Blandy <jimb@redhat.com>
  5528. * ppc-linux-tdep.c: "Linux" -> "GNU/Linux"
  5529. 2003-06-16 Theodore A. Roth <troth@openavr.org>
  5530. * avr-tdep.c (avr_extract_return_value): New function.
  5531. (avr_gdbarch_init): Set extract_return_value method.
  5532. 2003-06-16 Andrew Cagney <cagney@redhat.com>
  5533. * frame.h (deprecated_get_next_frame_hack): Declare.
  5534. * frame.c (legacy_saved_regs_prev_register): Only require
  5535. DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that
  5536. there are always saved regs.
  5537. (deprecated_generic_get_saved_register): Do not require
  5538. DEPRECATED_FRAME_INIT_SAVED_REGS.
  5539. (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN,
  5540. use frame ID unwind instead.
  5541. (deprecated_get_next_frame_hack): New function.
  5542. 2003-06-16 Corinna Vinschen <vinschen@redhat.com>
  5543. * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by...
  5544. (h8300_push_dummy_call): ...this function. Some minor optimization.
  5545. (h8300_push_return_address): Remove.
  5546. (h8300_gdbarch_init): Remove calls to
  5547. set_gdbarch_deprecated_dummy_write_sp,
  5548. set_gdbarch_deprecated_push_arguments and
  5549. set_gdbarch_deprecated_push_return_address.
  5550. Add call to set_gdbarch_push_dummy_call.
  5551. 2003-06-16 Corinna Vinschen <vinschen@redhat.com>
  5552. * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define.
  5553. (E_PSEUDO_EXR_REGNUM): Ditto.
  5554. (h8300_is_argument_spill): Check for instructions moving argument
  5555. registers into safe registers.
  5556. (h8300_skip_prologue): Check for stm instruction to push registers
  5557. used for register variables onto stack.
  5558. (gdb_print_insn_h8300): Remove.
  5559. (h8300_examine_prologue): Add a comment.
  5560. (h8300_register_name): Take pseudo registers into account.
  5561. (h8300s_register_name): Ditto.
  5562. (h8300sx_register_name): Ditto.
  5563. (h8300_print_register): Ditto.
  5564. (h8300_print_registers_info): Define "nice" printing order.
  5565. (h8300_saved_pc_after_call): Take pseudo registers into account.
  5566. (h8300_register_type): Ditto. Return type used for remote connection
  5567. when requesting real CCR or EXR register, return actual type when
  5568. requesting pseudo CCR or EXR.
  5569. (h8300_pseudo_register_read): New function.
  5570. (h8300_pseudo_register_write): Ditto.
  5571. (h8300_dbg_reg_to_regnum): Ditto.
  5572. (h8300s_dbg_reg_to_regnum): Ditto.
  5573. (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs,
  5574. set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum,
  5575. set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and
  5576. set_gdbarch_print_insn architecture dependent.
  5577. Call set_gdbarch_pseudo_register_read and
  5578. set_gdbarch_pseudo_register_write.
  5579. (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn.
  5580. 2003-06-16 Andrew Cagney <cagney@redhat.com>
  5581. * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate.
  5582. * gdbarch.h, gdbarch.c: Re-generate.
  5583. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  5584. * s390-tdep.c (s390_gdbarch_init): Update.
  5585. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  5586. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  5587. * mips-tdep.c (mips_gdbarch_init): Update.
  5588. * mcore-tdep.c (mcore_gdbarch_init): Update.
  5589. * cris-tdep.c (cris_gdbarch_init): Update.
  5590. * infcall.c (call_function_by_hand): Update.
  5591. * ia64-tdep.c (ia64_push_arguments): Update comment.
  5592. * frame.c (legacy_get_prev_frame): Do not assume
  5593. SAVE_DUMMY_FRAME_TOS_P.
  5594. * dummy-frame.c (find_dummy_frame): Update comment.
  5595. 2003-06-16 Andrew Cagney <cagney@redhat.com>
  5596. * regcache.c (do_cooked_read): Do not use register_valid_p.
  5597. 2003-06-15 Theodore A. Roth <troth@openavr.org>
  5598. * avr-tdep.c (avr_register_type): Remove a blank line.
  5599. (avr_scan_prologue): Correct some comments.
  5600. 2003-06-15 Theodore A. Roth <troth@openavr.org>
  5601. * avr-tdep.c (avr_scan_prologue): Update comment describing the various
  5602. prologue types.
  5603. Properly scan prologues generated by gcc with the -mcall-prologues
  5604. option.
  5605. Add code to scan -mcall-prologues for mega devices.
  5606. 2003-06-15 Theodore A. Roth <troth@openavr.org>
  5607. * avr-tdep.c (avr_register_byte): Delete function.
  5608. (avr_register_raw_size): Delete function.
  5609. (avr_register_virtual_size): Delete function.
  5610. (avr_register_virtual_type): Delete function.
  5611. (avr_register_type): New function.
  5612. (avr_address_to_pointer): Remove unused code.
  5613. (avr_read_fp): Need to read FP as two separate bytes due to change to
  5614. avr_register_type() usage.
  5615. (avr_gdbarch_init): Don't set deprecated_register_size.
  5616. Don't set deprecated_register_bytes.
  5617. Don't set deprecated_register_byte.
  5618. Don't set deprecated_register_raw_size.
  5619. Don't set deprecated_max_register_raw_size.
  5620. Don't set deprecated_register_virtual_size.
  5621. Don't set deprecated_max_register_virtual_size.
  5622. Don't set deprecated_register_virtual_type.
  5623. Set register_type method.
  5624. 2003-06-15 Daniel Jacobowitz <drow@mvista.com>
  5625. * Makefile.in (linux-nat.o): Add rule.
  5626. * linux-nat.c: New file.
  5627. * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define.
  5628. (CHILD_INSERT_VFORK_CATCHPOINT): Define.
  5629. (CHILD_INSERT_EXEC_CATCHPOINT): Define.
  5630. * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o.
  5631. * config/arm/linux.mh (NATDEPFILES): Likewise.
  5632. * config/i386/linux.mh (NATDEPFILES): Likewise.
  5633. * config/i386/x86-64linux.mh (NATDEPFILES): Likewise.
  5634. * config/ia64/linux.mh (NATDEPFILES): Likewise.
  5635. * config/m68k/linux.mh (NATDEPFILES): Likewise.
  5636. * config/mips/linux.mh (NATDEPFILES): Likewise.
  5637. * config/powerpc/linux.mh (NATDEPFILES): Likewise.
  5638. * config/s390/s390.mh (NATDEPFILES): Likewise.
  5639. * config/sparc/linux.mh (NATDEPFILES): Likewise.
  5640. 2003-06-15 Mark Kettenis <kettenis@gnu.org>
  5641. * i387-tdep.c: Reorder includes, fix some whitespace issues and
  5642. replace out-of-date comment.
  5643. 2003-06-15 Andrew Cagney <cagney@redhat.com>
  5644. * rdi-share/host.h (Fail): Change to a varargs function.
  5645. * remote-rdi.c (Fail): Update.
  5646. 2003-06-15 Mark Kettenis <kettenis@gnu.org>
  5647. * i386-tdep.c (i386_next_regnum): Fix bounds checking.
  5648. (i386_convert_register_p, i386_register_to_value,
  5649. i386_register_from_value): Handle types longer than 8 bytes.
  5650. 2003-06-15 Mark Kettenis <kettenis@gnu.org>
  5651. * i386-tdep.c (i386_register_to_value, i386_value_to_register):
  5652. Move floating-point code to new function in i387-tdep.c.
  5653. * i387-tdep.c (i387_register_to_value, i387_value_to_register):
  5654. New functions containing code moved here from i386-tdep.c.
  5655. * i387-tdep.h: Add opaque declaration for `struct type'.
  5656. (i387_register_to_value, i387_value_to_register): New prototypes.
  5657. * x86-64-tdep.c (x86_64_convert_register_p): New function.
  5658. (x86_64_init_abi): Set convert_register_p, register_to_value and
  5659. value_to_register here.
  5660. 2003-06-14 Andrew Cagney <cagney@redhat.com>
  5661. * mips-tdep.c (mips_register_to_value): Make static.
  5662. (mips_value_to_register): Make static.
  5663. * i386-tdep.c (i386_fetch_pointer_argument): Make static.
  5664. * ia64-tdep.c (ia64_register_raw_size): Make static.
  5665. (ia64_register_virtual_size): Make static.
  5666. (ia64_register_byte): Make static.
  5667. * i387-tdep.c: Include "i387-tdep.h".
  5668. (print_387_control_word): Delete function.
  5669. (print_387_status_word): Delete function.
  5670. (print_387_status_bits): Delete function.
  5671. (print_387_control_bits): Delete function.
  5672. * Makefile.in (i387-tdep.o): Update dependencies.
  5673. * rdi-share/host.h (Fail): Declare.
  5674. * remote-rdi.c (Fail): Update to match declaration.
  5675. 2003-06-14 Andrew Cagney <cagney@redhat.com>
  5676. * config/mips/embedl64.mt (TDEPFILES): Delete "remote-array.o".
  5677. * config/mips/embedl.mt (TDEPFILES): Delete "remote-array.o".
  5678. * config/mips/embed64.mt (TDEPFILES): Delete "remote-array.o".
  5679. * config/djgpp/fnchange.lst: Delete "remote-array.c".
  5680. * README: Delete reference to remote-array.
  5681. * Makefile.in (ALLDEPFILES): Remove "remote-array.c".
  5682. (remote-array.o): Delete target.
  5683. * config/mips/embed.mt (TDEPFILES): Delete "remote-array.o".
  5684. * remote-array.c: Delete file.
  5685. 2003-06-14 Andrew Cagney <cagney@redhat.com>
  5686. Mark Kettenis <kettenis@gnu.org>
  5687. * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter.
  5688. (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer
  5689. parameter with "frame".
  5690. * gdbarch.h, gdbarch.c: Re-generate.
  5691. * frame.h (put_frame_register): Declare.
  5692. * frame.c (put_frame_register): New function.
  5693. * arch-utils.c (legacy_convert_register_p): Add "type" parameter.
  5694. (legacy_register_to_value): Rewrite, use "frame" to get the
  5695. register value.
  5696. (legacy_value_to_register): Rewrite, use "frame" to find the
  5697. register's location before storing.
  5698. * arch-utils.h (legacy_convert_register_p): Update.
  5699. (legacy_register_to_value, legacy_value_to_register): Update.
  5700. * findvar.c (value_from_register): Rewrite, eliminate use of
  5701. REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass
  5702. "frame" to REGISTER_TO_VALUE.
  5703. * valops.c (value_assign): Move the CONVERT_REGISTER code to the
  5704. lval_reg_frame_relative + lval_register branch of the switch. Do
  5705. not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register.
  5706. * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM,
  5707. I386_EDI_REGNUM): New defines.
  5708. (i386_next_regnum, i386_convert_register_p,
  5709. i386_register_to_value, i386_value_to_register): New functions.
  5710. (i386_register_convertible, i386_register_convert_to_virtual,
  5711. i386_convert_to_raw): Remove functions.
  5712. (i386_gdbarch_init): Set convert_register_p, register_to_value and
  5713. value_to_register instead of register_convertible,
  5714. register_convert_to_virtual and register_convert_to_raw.
  5715. * mips-tdep.c (mips_convert_register_p): New function.
  5716. (mips_value_to_register): Replace mips_register_convert_from_type.
  5717. (mips_register_to_value): Replace mips_register_convert_to_type.
  5718. (mips_gdbarch_init): Set conver_register_p, value_to_register and
  5719. register_to_value.
  5720. * alpha-tdep.c (alpha_convert_register_p): Update.
  5721. (alpha_value_to_register): Update, store the register.
  5722. (alpha_register_to_value): Update, fetch the register.
  5723. 2003-06-14 Theodore A. Roth <troth@openavr.org>
  5724. * avr-tdep.c (avr_remote_translate_xfer_address): Delete function.
  5725. (avr_gdbarch_init): Remove avr_call_dummy_words variable.
  5726. Don't set deprecated_call_dummy_words.
  5727. Remove commented out set_gdbarch_believe_pcc_promotion() call.
  5728. Don't set remote_translate_xfer_address.
  5729. (avr_io_reg_read_command): Remove commented out debug printf.
  5730. Wrap a long line.
  5731. 2003-06-14 Theodore A. Roth <troth@openavr.org>
  5732. * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which
  5733. causes gdb to seg fault.
  5734. 2003-06-14 Daniel Jacobowitz <drow@mvista.com>
  5735. * sparc-nat.c (fetch_inferior_registers): Correct
  5736. a reference to "registers".
  5737. 2003-06-14 Jeroen Dekkers <jeroen@dekkers.cx>
  5738. * Makefile.in (exc_request_U_h): Define
  5739. (exc_request_S_h): Likewise.
  5740. (msg_reply_S_h): Likewise.
  5741. (msg_U_h): Likewise.
  5742. (notify_S_h): Likewise.
  5743. (process_reply_S_h): Likewise.
  5744. (gnu-nat.o): Depend on gdb_obstack_h
  5745. * gnu-nat.c: Include "gdb_obstack.h".
  5746. 2003-06-13 Andrew Cagney <cagney@redhat.com>
  5747. * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces.
  5748. * gdbarch.h, gdbarch.c: Re-generate.
  5749. 2003-06-13 Andrew Cagney <cagney@redhat.com>
  5750. * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify
  5751. when deprecated REGISTER macros can be deleted.
  5752. * gdbarch.h, gdbarch.c: Re-generate.
  5753. 2003-06-13 Jim Blandy <jimb@redhat.com>
  5754. * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC
  5755. Linux entry point symbols for _dl_debug_state, too.
  5756. 2003-06-13 Andrew Cagney <cagney@redhat.com>
  5757. * infcall.c (call_function_by_hand): When UNWIND_DUMMY_ID is
  5758. available, do not use the FP register, and always save the TOS.
  5759. * dummy-frame.c (dummy_frame_this_id): Do not assert
  5760. SAVE_DUMMY_FRAME_TOS.
  5761. * i386-tdep.c (i386_save_dummy_frame_tos): Delete function.
  5762. (i386_gdbarch_init): Do not set save_dummy_frame_tos.
  5763. (i386_push_dummy_call): Add 8 to the returned SP.
  5764. * frame.c (legacy_frame_p): Do not require SAVE_DUMMY_FRAME_TOS.
  5765. * d10v-tdep.c (d10v_unwind_dummy_id): Use d10v_unwind_sp.
  5766. (d10v_gdbarch_init): Do not set save_dummy_frame_tos.
  5767. * x86-64-tdep.c (x86_64_save_dummy_frame_tos): Delete function.
  5768. (x86_64_push_dummy_call): Return "sp + 16".
  5769. (x86_64_init_abi): Do not set save_dummy_frame_tos.
  5770. * alpha-tdep.c (alpha_gdbarch_init): Do not set
  5771. save_dummy_frame_tos.
  5772. 2003-06-13 Jim Blandy <jimb@redhat.com>
  5773. * frv-tdep.c (frv_use_struct_convention): Delete static
  5774. declaration for function deleted in my change of 2003-06-12.
  5775. 2003-06-13 Theodore A. Roth <troth@openavr.org>
  5776. * avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit.
  5777. (avr_pointer_to_address): Shift code addrs left 1 bit.
  5778. (avr_convert_from_func_ptr_addr): Delete function since operation is
  5779. better handled by avr_address_to_pointer and avr_pointer_to_address.
  5780. (avr_gdbarch_init): Don't set convert_from_func_ptr_add method.
  5781. 2003-06-13 Mark Kettenis <kettenis@gnu.org>
  5782. From Kelley Cook <kelleycook@wideopenwest.com>:
  5783. * configure.host: Accept i[34567]86 variants.
  5784. * configure.tgt: Likewise.
  5785. * nlm/configure.in: Likewise.
  5786. * nlm/configure: Regenerated.
  5787. 2003-06-13 Richard Earnshaw <rearnsha@arm.com>
  5788. * arm-tdep.c (solib-svr4.h): Dont' include it.
  5789. (arm_linux_svr4_fetch_link_map_offsets): Move to ...
  5790. * arm-linux-tdep.c: ... here. Make static.
  5791. (arm_linux_init_abi): Register it.
  5792. (solib-svr4.h): Include it.
  5793. * Makefile.in: Update dependencies.
  5794. * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
  5795. (arm_linux_svr4_fetch_link_map_offsets): Delete declaration.
  5796. 2003-06-13 Corinna Vinschen <vinschen@redhat.com>
  5797. * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM to
  5798. indicate registers used for return values.
  5799. (struct frame_extra_info): Drop args_pointer and locals_pointer.
  5800. (h8300_examine_prologue): Remove initializing dropped frame_extra_info
  5801. members.
  5802. (h8300_init_extra_frame_info): Ditto.
  5803. (h8300_frame_locals_address): Removed.
  5804. (h8300_frame_args_address): Removed.
  5805. (h8300_extract_return_value): Use new regcache structure. Only care
  5806. for 16 bit CPUs.
  5807. (h8300h_extract_return_value): Same function for 32 bit CPUs.
  5808. (h8300_store_return_value): Use new regcache structure. Only care
  5809. for 16 bit CPUs.
  5810. (h8300h_store_return_value): Same function for 32 bit CPUs.
  5811. (h8300_store_struct_return): Removed.
  5812. (h8300_extract_struct_value_address): Use new regcache structure.
  5813. (h8300h_extract_struct_value_address): Removed.
  5814. (h8300_push_dummy_code): New function.
  5815. (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls.
  5816. Remove call_dummy_words. Call set_gdbarch_extract_return_value and
  5817. set_gdbarch_store_return_value architecture dependent.
  5818. Call set_gdbarch_push_dummy_code and
  5819. set_gdbarch_extract_struct_value_address.
  5820. Remove calls to set_gdbarch_frame_args_address,
  5821. set_gdbarch_frame_locals_address,
  5822. set_gdbarch_deprecated_store_struct_return,
  5823. set_gdbarch_deprecated_extract_return_value,
  5824. set_gdbarch_deprecated_extract_struct_value_address,
  5825. set_gdbarch_deprecated_call_dummy_words and
  5826. set_gdbarch_deprecated_sizeof_call_dummy_words.
  5827. 2003-06-13 Corinna Vinschen <vinschen@redhat.com>
  5828. * h8300-tdep.c (h8300_register_byte): Remove.
  5829. (h8300h_register_byte): Remove.
  5830. (h8300_register_virtual_type): Remove. Substitute by...
  5831. (h8300_register_type): New function.
  5832. (h8300_extract_struct_value_address): Drop usage of h8300_register_byte.
  5833. (h8300h_extract_struct_value_address): Ditto.
  5834. (h8300_gdbarch_init): Drop calls to
  5835. set_gdbarch_deprecated_register_byte and
  5836. set_gdbarch_deprecated_register_virtual_type.
  5837. Add call to set_gdbarch_register_type.
  5838. 2003-06-13 Andrew Cagney <cagney@redhat.com>
  5839. * gdbarch.sh: Update comments on registers.
  5840. (deprecated_register_byte): Rename register_byte.
  5841. (deprecated_register_raw_size): Rename register_raw_size.
  5842. (deprecated_register_virtual_size): Rename register_virtual_size.
  5843. (deprecated_register_virtual_type): Rename register_virtual_type.
  5844. * gdbarch.h, gdbarch.c: Re-generate.
  5845. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  5846. * vax-tdep.c (vax_gdbarch_init): Update.
  5847. * v850-tdep.c (v850_gdbarch_init): Update.
  5848. * sparc-tdep.c (sparc_gdbarch_init): Update.
  5849. * sh-tdep.c (sh_gdbarch_init): Update.
  5850. * s390-tdep.c (s390_gdbarch_init): Update.
  5851. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  5852. * ns32k-tdep.c: Update.
  5853. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  5854. * mips-tdep.c (mips_gdbarch_init): Update.
  5855. * mcore-tdep.c (mcore_gdbarch_init): Update.
  5856. * m68k-tdep.c (m68k_gdbarch_init): Update.
  5857. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  5858. * ia64-tdep.c (ia64_gdbarch_init): Update.
  5859. * hppa-tdep.c (hppa_gdbarch_init): Update.
  5860. * h8300-tdep.c (h8300_gdbarch_init): Update.
  5861. * frv-tdep.c (frv_gdbarch_init): Update.
  5862. * cris-tdep.c (cris_gdbarch_init): Update.
  5863. * avr-tdep.c (avr_gdbarch_init): Update.
  5864. * alpha-tdep.c (alpha_gdbarch_init): Update.
  5865. * arm-tdep.c (arm_gdbarch_init): Update.
  5866. 2003-06-13 Andrew Cagney <cagney@redhat.com>
  5867. * mips-tdep.c (mips_gdbarch_init): Replace remaining instances of
  5868. mips_o32_use_struct_convention with always_use_struct_convention.
  5869. 2003-06-12 David Carlton <carlton@kealia.com>
  5870. * cp-namespace.c (cp_set_block_scope): Comment out
  5871. processing_has_namespace_info branch.
  5872. 2003-06-12 Jim Blandy <jimb@redhat.com>
  5873. Recognize and skip 64-bit PowerPC Linux linkage functions.
  5874. * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct
  5875. insn_pattern, insns_match_pattern, d_field, ds_field): New
  5876. functions, macros, and types for working with PPC instructions.
  5877. (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN,
  5878. ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target,
  5879. ppc64_skip_trampoline_code): New functions, variables, and macros
  5880. for recognizing and skipping linkage functions.
  5881. (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and
  5882. ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI.
  5883. * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-area
  5884. register offsets for both the 32- and 64-bit interfaces.
  5885. Actually finish the job started by my change of 2003-05-29.
  5886. * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the
  5887. other #definition of this.
  5888. (ppc_linux_skip_trampoline_code): Remove declaration.
  5889. * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this
  5890. static.
  5891. (ppc_linux_init_abi): Register it as the skip_trampoline_code
  5892. method for GDBARCH.
  5893. * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is
  5894. 'long' on ppc64-*-linux*.
  5895. * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ
  5896. isn't #defined, assume the register doesn't exist: act as if
  5897. tdep->ppc_mq_regnum were -1.
  5898. * configure.host, configure.tgt: Add entries for
  5899. powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and
  5900. powerpc/linux.mt.
  5901. * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh:
  5902. New files.
  5903. * arch-utils.c (always_use_struct_convention): New function.
  5904. * arch-utils.h (always_use_struct_convention): New prototype.
  5905. * alpha-tdep.c (alpha_use_struct_convention): Delete.
  5906. (alpha_gdbarch_init): Register always_use_struct_convention,
  5907. instead of alpha_use_struct_convention.
  5908. * cris-tdep.c (cris_use_struct_convention): Delete.
  5909. (cris_gdbarch_init): Register always_use_struct_convention,
  5910. instead of cris_use_struct_convention.
  5911. * frv-tdep.c (frv_use_struct_convention): Delete.
  5912. (frv_gdbarch_init): Register always_use_struct_convention,
  5913. instead of frv_use_struct_convention.
  5914. * h8300-tdep.c (h8300_use_struct_convention): Delete.
  5915. (h8300_gdbarch_init): Register always_use_struct_convention,
  5916. instead of h8300_use_struct_convention.
  5917. * mips-tdep.c (mips_o32_use_struct_convention): Delete.
  5918. (mips_o32_gdbarch_init): Register always_use_struct_convention,
  5919. instead of mips_o32_use_struct_convention.
  5920. 2003-06-12 Andrew Cagney <cagney@redhat.com>
  5921. * wince.c: Include "mips-tdep.h".
  5922. * mips-tdep.h (mips_next_pc): Declare.
  5923. * mcore-tdep.c: Make more local functions static.
  5924. * Makefile.in (wince.o): Update dependencies.
  5925. 2003-06-12 David Carlton <carlton@kealia.com>
  5926. * symtab.c (lookup_symbol_aux_minsyms): Replace
  5927. DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
  5928. (find_pc_sect_line, search_symbols, rbreak_command): Ditto.
  5929. (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of
  5930. SYMBOL_NATURAL_NAME.
  5931. 2003-06-12 Andreas Schwab <schwab@suse.de>
  5932. * Makefile.in (tuiDisassem.o): Update dependencies.
  5933. 2003-06-12 David Carlton <carlton@bactrian.org>
  5934. * symtab.h: Delete declaration of make_symbol_overload_list.
  5935. Add declaration of lookup_partial_symbol.
  5936. * symtab.c (remove_params): Move to cp-support.c.
  5937. (overload_list_add_symbol, make_symbol_overload_list)
  5938. (sym_return_val_size, sym_return_val_index): Ditto.
  5939. (lookup_partial_symbol): Make extern.
  5940. * cp-support.h: Add declaration of make_symbol_overload_list.
  5941. * cp-support.c: Include dictionary.h, objfiles.h, frame.h,
  5942. symtab.h, and block.h.
  5943. (remove_params): Move here from symtab.c.
  5944. (overload_list_add_symbol, make_symbol_overload_list)
  5945. (sym_return_val_size, sym_return_val_index): Ditto.
  5946. * valops.c: Include cp-support.h.
  5947. * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h,
  5948. frame_h, and block_h.
  5949. (valops.o): Depend on cp_support_h.
  5950. 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
  5951. * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely,
  5952. substitute by NUM_REGS throughout.
  5953. (h8300_register_name): Only care for H8/300 and H8/300H registers.
  5954. (h8300s_register_name): New function for H8S registers.
  5955. (h8300sx_register_name): Ditto for H8SX registers.
  5956. (h8300_print_register): Revise register printing, avoid depending
  5957. on 32 bit long.
  5958. (h8300_register_byte): Only care for H8/300 registers.
  5959. (h8300h_register_byte): New function for any other architecture.
  5960. (h8300_register_raw_size): Remove.
  5961. (h8300_register_virtual_type): Revise to return actually useful
  5962. type.
  5963. (h8300_extract_struct_value_address): Only care for H8/300 registers.
  5964. (h8300h_extract_struct_value_address): New function for any other
  5965. architecture.
  5966. (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs,
  5967. set_gdbarch_register_name, set_gdbarch_register_byte,
  5968. set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent.
  5969. Remove calls to set_gdbarch_deprecated_register_size,
  5970. set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size,
  5971. set_gdbarch_deprecated_max_register_raw_size,
  5972. set_gdbarch_register_virtual_size and
  5973. set_gdbarch_deprecated_max_register_virtual_size entirely.
  5974. Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and
  5975. set_gdbarch_long_double_bit.
  5976. 2003-06-11 Jeff Johnston <jjohnstn@redhat.com>
  5977. * doublest.c (convert_doublest_to_floatformat): When dealing
  5978. with the implied integer bit, only alter mant_bits if we are
  5979. processing a full 32 bits of mantissa.
  5980. 2003-06-11 David Carlton <carlton@bactrian.org>
  5981. * dictionary.h: New.
  5982. * dictionary.c: New.
  5983. * block.h: Add opaque declaration for struct dictionary.
  5984. (struct block): Add 'dict' member; delete 'hashtable', 'nsyms',
  5985. 'sym' members.
  5986. (BLOCK_DICT): New macro.
  5987. Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM,
  5988. BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE,
  5989. BLOCK_SHOULD_SORT.
  5990. (ALL_BLOCK_SYMBOLS): Update definition.
  5991. * Makefile.in (SFILES): Add dictionary.c.
  5992. (dictionary_h): New.
  5993. (COMMON_OBS): Add dictionary.o.
  5994. (dictionary.o): New.
  5995. (ada-lang.o): Depend on dictionary_h.
  5996. (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o)
  5997. (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o)
  5998. (mi-cmd-stack.o): Ditto.
  5999. (gdbtk-cmds.o): Update dependencies.
  6000. (gdbtk-stack.o): Ditto.
  6001. * ada-lang.c: Include dictionary.h.
  6002. (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS.
  6003. (fill_in_ada_prototype, debug_print_block): Ditto.
  6004. (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace
  6005. explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable
  6006. 'is_sorted'.
  6007. * mdebugread.c: Include dictionary.h.
  6008. (struct parse_stack): Delete 'maxsyms' member.
  6009. (parse_symbol): Update calls to new_block. Delete calls to
  6010. shrink_block. Use dictionary methods.
  6011. (psymtab_to_symtab_1): Delete calls to sort_symtab_syms.
  6012. Update calls to new_symtab. Don't maintain maxsyms data.
  6013. (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS.
  6014. (add_symbol): Just call dict_add_symbol.
  6015. (new_symtab): Delete 'maxsyms' argument.
  6016. (new_symtab): Update calls to new_block.
  6017. (new_block): Delete 'maxsyms' argument; add 'function' argument.
  6018. (shrink_block): Delete function.
  6019. (fixup_sigtramp): Update call to new_block. Add symbol via
  6020. dict_add_symbol.
  6021. * jv-lang.c: Include dictionary.h.
  6022. (get_java_class_symtab): Set the BLOCK_DICT of the blocks
  6023. appropriately. Set class_symtab->free_func. Make sure the
  6024. blockvector is big enough to hold two blocks.
  6025. (add_class_symtab_symbol): Use dictionary methods.
  6026. (free_class_block): New function.
  6027. (type_from_class): Replace explicit iteration by
  6028. ALL_BLOCK_SYMBOLS.
  6029. * symtab.h (struct symtab): Replace 'free_ptr' method by
  6030. 'free_func'.
  6031. * dwarf2read.c (psymtab_to_symtab_1): Delete call to
  6032. sort_symtab_syms.
  6033. * dwarfread.c (psymtab_to_symtab_1): Delete call to
  6034. sort_symtab_syms.
  6035. * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms.
  6036. Include dictionary.h.
  6037. (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS.
  6038. * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to
  6039. sort_symtab_syms.
  6040. * objfiles.c: Include dictionary.h.
  6041. (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS.
  6042. * buildsym.c: Include dictionary.h.
  6043. (finish_block): Use dictionary methods.
  6044. (end_symtab): Set free_func to NULL, not free_ptr.
  6045. * tracepoint.c: Include dictionary.h.
  6046. (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS.
  6047. (scope_info): Ditto.
  6048. * stack.c: Include dictionary.h.
  6049. (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS.
  6050. (print_block_frame_labels, print_frame_arg_vars)
  6051. (print_frame_args): Ditto.
  6052. * symmisc.c (free_symtab_block): Use dictionary methods.
  6053. (dump_symtab): Ditto.
  6054. (free_symtab): Replace use of 'free_ptr' by 'free_func'.
  6055. Include dictionary.h.
  6056. * symfile.h: Delete declarations of sort_block_syms,
  6057. sort_symtab_syms.
  6058. * symfile.c (sort_block_syms): Delete.
  6059. (sort_symtab_syms): Delete.
  6060. * symtab.c: Include dictionary.h.
  6061. (lookup_block_symbol): Use dictionary iterators.
  6062. (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS.
  6063. (search_symbols, make_symbol_completion_list): Ditto.
  6064. (make_symbol_overload_list): Ditto.
  6065. * valops.c (value_of_local): Use dict_empty.
  6066. Include dictionary.h.
  6067. 2003-06-11 J. Brobecker <brobecker@gnat.com>
  6068. * win32-nat.c (solib_symbols_add): Fix a small compilation error.
  6069. 2003-06-11 David Carlton <carlton@bactrian.org>
  6070. * block.h (BLOCK_SHOULD_SORT): Delete.
  6071. * symtab.c (lookup_block_symbol): Don't worry about sorted linear
  6072. blocks.
  6073. * ada-lang.c (ada_add_block_symbols): Ditto.
  6074. * symfile.c (sort_block_syms): Delete.
  6075. (sort_symtab_syms): Ditto.
  6076. * symfile.h: Delete sort_symtabs_syms and sort_block_syms
  6077. declarations.
  6078. * coffread.c (coff_symfile_read): Don't call sort_symtab_syms.
  6079. * dbxread.c (dbx_psymtab_to_symtab_1): Ditto.
  6080. * dwarf2read.c (psymtab_to_symtab_1): Ditto.
  6081. * dwarfread.c (psymtab_to_symtab_1): Ditto.
  6082. * hpread.c (hpread_psymtab_to_symtab_1): Ditto.
  6083. * mdebugread.c (psymtab_to_symtab_1): Ditto.
  6084. * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto.
  6085. 2003-06-11 Jeff Johnston <jjohnstn@redhat.com>
  6086. * ia64-tdep.c (ia64_gdbarch_init): Set number of long double
  6087. bits to 128.
  6088. 2003-06-11 Andrew Cagney <cagney@redhat.com>
  6089. * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate
  6090. REGISTER_CONVERTIBLE.
  6091. (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same.
  6092. (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant.
  6093. * gdbarch.h, gdbarch.c: Re-generate.
  6094. * arch-utils.h (deprecated_register_convertible_not): Rename
  6095. generic_register_convertible_not.
  6096. * arch-utils.c (deprecated_register_convertible_not): Rename
  6097. generic_register_convertible.
  6098. (legacy_convert_register_p, legacy_register_to_value): Update.
  6099. * sh-tdep.c (sh64_push_arguments): Update.
  6100. * m68klinux-tdep.c (m68k_linux_extract_return_value): Update.
  6101. * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update.
  6102. * m68klinux-tdep.c (m68k_linux_store_return_value): Update.
  6103. * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update.
  6104. * arch-utils.c (legacy_value_to_register): Update.
  6105. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  6106. (rs6000_register_convert_to_raw): Make parameter "from" const.
  6107. * mips-tdep.c (mips_gdbarch_init): Update.
  6108. (mips_register_convert_to_raw): Make parameter"virt_buf" const.
  6109. * infcmd.c (default_print_registers_info): Update.
  6110. * ia64-tdep.c (ia64_gdbarch_init): Update.
  6111. (ia64_register_convert_to_raw): Make parameter "from" const.
  6112. * i386-tdep.c (i386_gdbarch_init): Update.
  6113. (i386_register_convert_to_raw): Update.
  6114. 2003-06-11 Andrew Cagney <cagney@redhat.com>
  6115. * remote-fileio.c: Include "remote-fileio.h".
  6116. * Makefile.in (remote-fileio.o): Update dependencies.
  6117. (remote_fileio_h): Fix typo.
  6118. 2003-06-11 Andrew Cagney <cagney@redhat.com>
  6119. * xstormy16-tdep.c (xstormy16_push_return_address): Make static.
  6120. (xstormy16_save_dummy_frame_tos): Make static.
  6121. (_initialize_xstormy16_tdep): Add declaration.
  6122. * vax-tdep.c (_initialize_vax_tdep): Add declaration.
  6123. * v850-tdep.c: Make local functions static.
  6124. (_initialize_v850_tdep): Add declaration.
  6125. * sparc-tdep.c: Make local functions static.
  6126. (_initialize_sparc_tdep): Add declaration.
  6127. * sh-tdep.c: Make local functions static.
  6128. (_initialize_sh_tdep): Add declaration.
  6129. * sh3-rom.c (_initialize_sh3_rom): Add declaration.
  6130. * s390-tdep.c: Make local functions static.
  6131. (_initialize_s390_tdep): Add declaration.
  6132. * dbxread.c (find_stab_function_addr): Make static.
  6133. * ppc-bdm.c (_initialize_bdm_ppc): Add declaration.
  6134. * ocd.c (_initialize_remote_ocd): Add declaration.
  6135. * dink32-rom.c (_initialize_dink32_rom): Add declaration.
  6136. * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration.
  6137. * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration.
  6138. * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration.
  6139. * mips-tdep.c (_initialize_mips_tdep): Add declaration.
  6140. * remote-array.c (_initialize_array): Add declaration.
  6141. (_initialize_remote_monitors): Add declaration.
  6142. * remote-mips.c: Make local functions static.
  6143. (_initialize_remote_mips): Add declaration.
  6144. * mcore-tdep.c: Make all local functions static.
  6145. (_initialize_mcore_tdep): Add declaration.
  6146. * dbug-rom.c (_initialize_dbug_rom): Add declaration.
  6147. * abug-rom.c (_initialize_abug_rom): Add declaration.
  6148. * rom68k-rom.c (_initialize_rom68k): Add declaration.
  6149. * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration.
  6150. * m68k-tdep.c (_initialize_m68k_tdep): Add declaration.
  6151. * remote-est.c (_initialize_est): Add declaration.
  6152. * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration.
  6153. (m68hc11_call_dummy_address): Make static.
  6154. * ia64-tdep.c: Make local functions static.
  6155. (_initialize_ia64_tdep): Add declaration.
  6156. * solib-legacy.c (_initialize_svr4_lm): Add declaration.
  6157. * monitor.c (monitor_wait_filter): Make static.
  6158. (_initialize_remote_monitors): Add declaration.
  6159. * remote-hms.c (_initialize_remote_hms): Add declaration.
  6160. * remote-e7000.c (fetch_regs_from_dump): Make static.
  6161. (expect_n): Make static.
  6162. (_initialize_remote_e7000): Add declaration.
  6163. * ser-e7kpc.c: Always include "defs.h".
  6164. (_initialize_ser_e7000pc): Add declaration.
  6165. * h8300-tdep.c (_initialize_h8300_tdep): Add declaration.
  6166. * cris-tdep.c: Make all but one function static.
  6167. (_initialize_cris_tdep): Add declaration.
  6168. * solib-svr4.c (_initialize_svr4_solib): Add declaration.
  6169. * solib.c (update_solib_list): Make static.
  6170. (_initialize_solib): Add declaration.
  6171. * avr-tdep.c (avr_breakpoint_from_pc): Make static.
  6172. (_initialize_avr_tdep): Add declaration.
  6173. * remote-rdi.c (voiddummy): Make static.
  6174. (_initialize_remote_rdi): Add declaration.
  6175. * arm-tdep.c (_initialize_arm_tdep): Add declaration.
  6176. * remote-rdp.c (send_rdp): Make static.
  6177. (_initialize_remote_rdp): Add declaration.
  6178. * alpha-tdep.c (_initialize_alpha_tdep): Add declaration.
  6179. 2003-06-11 Corinna Vinschen <vinschen@redhat.com>
  6180. * remote-fileio.c: Make ari happy.
  6181. 2003-06-10 J. Brobecker <brobecker@gnat.com>
  6182. * rs6000-nat.c (child_xfer_memory): Compute the right address when
  6183. fetching the trailing bytes of the buffer we are about to write.
  6184. 2003-06-10 Andrew Cagney <cagney@redhat.com>
  6185. * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H.
  6186. * Makefile.in (remote-fileio.o): Update dependencies.
  6187. * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not
  6188. include <setjmp.h>, or <sys/types.h> conditional on USG.
  6189. (remote_fio_jmp_buf): Delete global variable.
  6190. 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
  6191. Martin M. Hunt <hunt@redhat.com>
  6192. * Makefile.in (REMOTE_OBS): Add remote-fileio.o
  6193. (SFILES): Add remote-fileio.c.
  6194. Add dependencies for building remote-fileio.o. Add remote-fileio.h to
  6195. dependencies for building remote.o.
  6196. * remote-fileio.c: New file implementing the remote File-I/O protocol.
  6197. * remote-fileio.h: New header file defining remote File-I/O interface.
  6198. * remote.c (remote_write_bytes, remote_read_bytes): Remove
  6199. static storage class.
  6200. (remote_wait, remote_async_wait): Call remote_fileio_request() on
  6201. 'F' packet.
  6202. (_initialize_remote): Call initialize_remote_fileio().
  6203. * remote.h: Declare remote_write_bytes() and remote_read_bytes().
  6204. * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin.
  6205. * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin.
  6206. (captured_main): Initialize new ui_files.
  6207. * ui-file.c: Add read and fgets input functions.
  6208. (ui_file_new): set ui_file_fputs and ui_file_read to null functions.
  6209. (null_file_read): New function.
  6210. (ui_file_read): New function.
  6211. (set_ui_file_read): New function.
  6212. (stdio_file_read): New function.
  6213. * ui-file.h: New type ui_file_read_ftype.
  6214. (set_ui_file_read): Declare.
  6215. (ui_file_read): Declare.
  6216. 2003-06-09 Andrew Cagney <cagney@redhat.com>
  6217. * frame.h (deprecated_unwind_get_saved_register): Rename
  6218. generic_unwind_get_saved_register, update comments.
  6219. * mips-tdep.c (mips_get_saved_register): Update.
  6220. * frame.c (deprecated_unwind_get_saved_register): Update.
  6221. 2003-06-09 Andrew Cagney <cagney@redhat.com>
  6222. * vax-tdep.c (vax_frame_locals_address): Delete function.
  6223. (vax_gdbarch_init): Do not set frame_locals_address.
  6224. * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function.
  6225. (m68hc11_gdbarch_init): Do not set frame_locals_address.
  6226. * s390-tdep.c (s390_frame_args_address): Delete function.
  6227. (s390_gdbarch_init): Do not set frame_args_address or
  6228. frame_locals_address.
  6229. * ns32k-tdep.c (ns32k_frame_locals_address): Delete.
  6230. (ns32k_gdbarch_init): Do not set frame_locals_address.
  6231. * hppa-tdep.c (hppa_frame_args_address): Delete function.
  6232. (hppa_frame_locals_address): Delete function.
  6233. (hppa_gdbarch_init): Do not set frame_args_address, or
  6234. frame_locals_address.
  6235. * arm-tdep.c (arm_frame_args_address): Delete.
  6236. (arm_frame_locals_address): Delete.
  6237. (arm_gdbarch_init): Do not set frame_args_address, or
  6238. frame_locals_address.
  6239. 2003-06-09 Andrew Cagney <cagney@redhat.com>
  6240. * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate.
  6241. * gdbarch.h, gdbarch.c: Re-generate.
  6242. * arch-utils.h (frame_num_args_unknown): Delete both declarations.
  6243. * arch-utils.c (frame_num_args_unknown): Delete function.
  6244. * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P.
  6245. (frame_info): Use FRAME_NUM_ARGS_P.
  6246. * arm-tdep.c (arm_frame_num_args): Delete function.
  6247. (arm_gdbarch_init): Do not set frame_num_args.
  6248. * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete.
  6249. * hppa-tdep.c (hppa_frame_num_args): Delete function.
  6250. (hppa_gdbarch_init): Do not set frame_num_args.
  6251. * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete.
  6252. * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
  6253. frame_num_args to default frame_num_args_unknown.
  6254. * v850-tdep.c (v850_gdbarch_init): Ditto.
  6255. * sparc-tdep.c (sparc_gdbarch_init): Ditto.
  6256. * sh-tdep.c (sh_gdbarch_init): Ditto.
  6257. * s390-tdep.c (s390_gdbarch_init): Ditto.
  6258. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  6259. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  6260. * mips-tdep.c (mips_gdbarch_init): Ditto.
  6261. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  6262. * m68k-tdep.c (m68k_gdbarch_init): Ditto.
  6263. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  6264. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  6265. * i386-tdep.c (i386_gdbarch_init): Ditto.
  6266. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  6267. * frv-tdep.c (frv_gdbarch_init): Ditto.
  6268. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  6269. * cris-tdep.c (cris_gdbarch_init): Ditto.
  6270. * avr-tdep.c (avr_gdbarch_init): Ditto.
  6271. * alpha-tdep.c (alpha_gdbarch_init): Ditto.
  6272. 2003-06-09 Andrew Cagney <cagney@redhat.com>
  6273. * printcmd.c (print_frame_nameless_args): Moved to "stack.c".
  6274. (print_frame_args): Moved to "stack.c".
  6275. * stack.c: Include "gdb_assert.h".
  6276. (print_frame_nameless_args): Moved from "printcmd.c", made static.
  6277. (print_frame_args): Moved from "printcmd.c".
  6278. * frame.h (print_frame_args): Delete declaration.
  6279. * Makefile.in (stack.o): Update dependencies.
  6280. 2003-06-08 Andrew Cagney <cagney@redhat.com>
  6281. * frame.c (get_prev_frame): Remove reference to
  6282. frame_args_address_correct in comments.
  6283. * frame-base.c (default_frame_args_address): Delete code
  6284. conditional on FRAME_ARGS_ADDRESS_CORRECT.
  6285. * vax-tdep.c (vax_frame_args_address_correct): Delete.
  6286. (vax_frame_args_address): Merge in vax_frame_args_address_correct.
  6287. * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete
  6288. (vax_frame_args_address_correct): Delete declaration.
  6289. 2003-06-08 Andrew Cagney <cagney@redhat.com>
  6290. * gdbarch.sh (UNWIND_SP): Add.
  6291. * gdbarch.h, gdbarch.c: Re-generate.
  6292. * frame.c (frame_sp_unwind): New function.
  6293. (get_frame_sp): New function.
  6294. * frame.h (get_frame_sp, frame_sp_unwind): Declare.
  6295. * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP,
  6296. gdbarch_unwind_sp and SP_REGNUM when looking for the SP register
  6297. value.
  6298. * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp.
  6299. (d10v_gdbarch_init): Set unwind_sp instead of read_sp.
  6300. 2003-06-08 Andrew Cagney <cagney@redhat.com>
  6301. Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and
  6302. REMOTE_BREAKPOINT.
  6303. * remote.c: Update.
  6304. * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update.
  6305. (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update.
  6306. * config/m68k/tm-sun3.h: Update.
  6307. * config/m68k/tm-m68klynx.h: Update.
  6308. * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update.
  6309. * trad-frame.h (struct trad_frame_saved_reg): Rename "struct
  6310. trad_frame". Update comments.
  6311. * d10v-tdep.c (struct d10v_unwind_cache): Update.
  6312. * trad-frame.c (trad_frame_alloc_saved_regs): Update.
  6313. (trad_frame_register_value, trad_frame_prev_register): Update.
  6314. 2003-06-08 Andrew Cagney <cagney@redhat.com>
  6315. * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen
  6316. from GCC's acinclude.m4.
  6317. * configure.in: Check for getopt's delcaration.
  6318. * aclocal.m4, config.in, configure: Re-generate.
  6319. * main.c (error_init): Delete declaration.
  6320. * defs.h (error_init): Declare.
  6321. * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static.
  6322. (rs6000_convert_from_func_ptr_addr): Make static.
  6323. (_initialize_rs6000_tdep): Add declaration.
  6324. * cli/cli-cmds.c (dont_repeat): Delete declaration.
  6325. (show_commands, set_verbose, show_history): Delete declaration.
  6326. * top.h (set_verbose): Add declaration.
  6327. (show_history, set_history, show_commands): Add declaration.
  6328. (do_restore_instream_cleanup): Add declaration.
  6329. * objc-lang.c (specialcmp): Make static.
  6330. (print_object_command): Make static.
  6331. (find_objc_msgsend): Make static.
  6332. (find_objc_msgcall_submethod_helper): Make static.
  6333. (find_objc_msgcall_submethod): Make static.
  6334. (_initialize_objc_language): Add declaration.
  6335. (find_implementation_from_class): Make static.
  6336. (find_implementation): Make static.
  6337. * objc-exp.y (yylex): Delete lookup_struct_typedef declaration.
  6338. * objc-lang.h (lookup_struct_typedef): Add declaration.
  6339. * cli/cli-interp.c (_initialize_cli_interp): Add declaration.
  6340. * cli/cli-script.c (clear_hook_in_cleanup): Make static.
  6341. (do_restore_user_call_depth): Make static.
  6342. (do_restore_instream_cleanup): Delete declaration.
  6343. (dont_repeat): Delete declaration.
  6344. * cli/cli-decode.c (add_abbrev_cmd): Delete function.
  6345. * cli/cli-dump.c (_initialize_cli_dump): Add declaration.
  6346. * reggroups.c (_initialize_reggroup): Add declaration.
  6347. * cp-support.c (_initialize_cp_support): Add declaration.
  6348. * cp-abi.c (_initialize_cp_abi): Add declaration.
  6349. * hpacc-abi.c (_initialize_hpacc_abi): Add declaration.
  6350. * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static.
  6351. (_initialize_gnu_v3_abi): Add declaration.
  6352. * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static.
  6353. (_initialize_gnu_v2_abi): Add declaration.
  6354. * frame-base.c (_initialize_frame_base): Add declaration.
  6355. * doublest.c (floatformat_from_length): Make static.
  6356. * frame-unwind.c (_initialize_frame_unwind): Add declaration.
  6357. * frame.c (create_sentinel_frame): Make static.
  6358. (_initialize_frame): Add declaration.
  6359. * top.c (do_catch_errors): Make static.
  6360. (gdb_rl_operate_and_get_next_completion): Make static.
  6361. * typeprint.c: Include "typeprint.h".
  6362. * sentinel-frame.c (sentinel_frame_prev_register): Make static.
  6363. (sentinel_frame_this_id): Make static.
  6364. * p-valprint.c (_initialize_pascal_valprint): Add declaration.
  6365. * ui-out.c (make_cleanup_ui_out_begin_end): Delete function.
  6366. * dwarf2-frame.c (dwarf2_frame_cache): Make static.
  6367. * p-exp.y (push_current_type, pop_current_type): ISO C declaration.
  6368. * dwarf2expr.h (dwarf_expr_context): ISO C declaration.
  6369. * maint.c (maintenance_print_architecture): Make static.
  6370. * signals/signals.c (_initialize_signals): Add declaration.
  6371. * std-regs.c (_initialize_frame_reg): Add declaration.
  6372. * jv-exp.y (push_variable): ISO C definition.
  6373. (push_qualified_expression_name): Ditto.
  6374. * memattr.c (_initialize_mem): Add declaration.
  6375. * remote.c (remote_check_watch_resources): Make static.
  6376. (remote_stopped_by_watchpoint): Make static.
  6377. (remote_stopped_data_address): Make static.
  6378. * d10v-tdep.c (nr_dmap_regs): Make static.
  6379. (a0_regnum): Make static.
  6380. (d10v_frame_unwind_cache): Make static.
  6381. (d10v_frame_p): Make static.
  6382. * osabi.c (show_osabi): Make static.
  6383. (_initialize_gdb_osabi): Add extern declaration.
  6384. * gdbtypes.c (make_qualified_type): Make static.
  6385. (safe_parse_type): Make static.
  6386. * macrocmd.c (_initialize_macrocmd): Add extern declaration.
  6387. * macrotab.c (macro_bcache_free): Make static.
  6388. * interps.c (interp_set_quiet): Make static.
  6389. (interpreter_exec_cmd): Make static.
  6390. * stack.h (select_frame_command): New file.
  6391. * stack.c: Include "stack.h".
  6392. (select_frame_command_wrapper): Delete function.
  6393. (select_frame_command): Make global.
  6394. * infcall.c: Include "infcall.h".
  6395. * linespec.c: Include "linespec.h".
  6396. * symfile.c (sections_overlap): Make static.
  6397. * cp-support.h (cp_initialize_namespace): ISO C declaration.
  6398. * charset.c (_initialize_charset): Add missing prototype.
  6399. * regcache.c (init_legacy_regcache_descr): Make static.
  6400. (do_regcache_xfree): Make static.
  6401. (regcache_xfer_part): Make static.
  6402. (_initialize_regcache): Add missing prototype.
  6403. * breakpoint.c (parse_breakpoint_sals): Make static.
  6404. (breakpoint_sals_to_pc): Make static.
  6405. * interps.h (clear_interpreter_hooks): ISO C declaration.
  6406. * Makefile.in (stack_h): Define.
  6407. (stack.o, typeprint.o, mi-main.o): Update dependencies.
  6408. (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies.
  6409. 2003-06-08 Andrew Cagney <cagney@redhat.com>
  6410. * Makefile.in (d10v-tdep.o): Update dependencies.
  6411. (SFILES): Add trad-frame.c.
  6412. (trad_frame_h): Define.
  6413. (COMMON_OBS): Add trad-frame.o.
  6414. (trad-frame.o): Specify dependencies.
  6415. * d10v-tdep.c: Include "trad-frame.h".
  6416. (saved_regs_unwinder): Delete function.
  6417. (d10v_frame_prev_register): Use trad_frame_prev_register.
  6418. (struct d10v_unwind_cache): Change type of "saved_regs" to "struct
  6419. trad_frame", delete "regs" and "prev_sp".
  6420. (prologue_find_regs): Use trad-frame.
  6421. * trad-frame.h, trad-frame.c: New files.
  6422. 2003-06-08 Mark Kettenis <kettenis@gnu.org>
  6423. * dwarf2cfi.c, dwarf2cfi.h: Remove.
  6424. 2003-06-07 Adam Fedor <fedor@gnu.org>
  6425. * objc-lang.c (FETCH_ARGUMENT): Remove macro.
  6426. (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for
  6427. using FETCH_POINTER_ARGUMENT with Objective-C method arguments.
  6428. (find_implementation, resolve_msgsend, resolve_msgsend_stret,
  6429. resolve_msgsend_super, resolve_msgsend_super_stret):
  6430. Use it.
  6431. 2003-06-07 Andrew Cagney <cagney@redhat.com>
  6432. * symfile.h: Re-indent, clean up comments.
  6433. 2003-06-07 Andrew Cagney <cagney@redhat.com>
  6434. * inferior.h (deprecated_write_sp): Replace
  6435. generic_target_write_sp.
  6436. * regcache.c (deprecated_write_sp): Replace
  6437. generic_target_write_sp.
  6438. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  6439. * vax-tdep.c (vax_gdbarch_init): Update.
  6440. * v850-tdep.c (v850_gdbarch_init): Update.
  6441. * sparc-tdep.c (sparc_gdbarch_init): Update.
  6442. * sh-tdep.c (sh_gdbarch_init): Update.
  6443. * s390-tdep.c (s390_gdbarch_init): Update.
  6444. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  6445. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  6446. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  6447. * mcore-tdep.c (mcore_gdbarch_init): Update.
  6448. * m68k-tdep.c (m68k_gdbarch_init): Update.
  6449. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  6450. * ia64-tdep.c (ia64_gdbarch_init): Update.
  6451. * h8300-tdep.c (h8300_gdbarch_init): Update.
  6452. * frv-tdep.c (frv_gdbarch_init): Update.
  6453. * cris-tdep.c (cris_gdbarch_init): Update.
  6454. * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update.
  6455. 2003-06-07 Andrew Cagney <cagney@redhat.com>
  6456. * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM.
  6457. Assert that PC_REGNUM is valid.
  6458. (dwarf2_frame_prev_register): Add comments on SP_REGNUM.
  6459. 2003-06-07 Andrew Cagney <cagney@redhat.com>
  6460. * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default.
  6461. * gdbarch.h, gdbarch.c: Regenerate.
  6462. * mn10300-tdep.c: Include "gdb_assert.h".
  6463. (mn10300_read_fp): New function.
  6464. (mn10300_gdbarch_init): Set deprecated_target_read_fp to
  6465. mn10300_read_fp. Do not set read_sp to generic_target_read_sp.
  6466. * ia64-tdep.c: Include "gdb_assert.h".
  6467. (ia64_read_fp): New function.
  6468. (ia64_gdbarch_init): Set deprecated_target_read_fp to
  6469. ia64_read_sp. Do not set read_sp to generic_target_read_sp.
  6470. * regcache.c (generic_target_read_sp): Delete function.
  6471. (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register.
  6472. * inferior.h (generic_target_read_sp): Delete declaration.
  6473. * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to
  6474. generic_target_read_sp.
  6475. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  6476. * sparc-tdep.c (sparc_gdbarch_init): Ditto
  6477. * sh-tdep.c (sh_gdbarch_init): Ditto.
  6478. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  6479. * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies.
  6480. 2003-06-07 Andrew Cagney <cagney@redhat.com>
  6481. * gdbarch.sh: Comment each field of startup_gdbarch.
  6482. * gdbarch.h, gdbarch.c: Re-generate.
  6483. 2003-06-07 Andrew Cagney <cagney@redhat.com>
  6484. * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default.
  6485. * gdbarch.h, gdbarch.c: Re-generate.
  6486. * regcache.c: Update comments on read_pc et.al.
  6487. (generic_target_read_pc): Delete function.
  6488. (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register.
  6489. * inferior.h (generic_target_read_pc): Delete declaration.
  6490. * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to
  6491. generic_target_read_pc.
  6492. * sparc-tdep.c (sparc_gdbarch_init): Ditto.
  6493. * sh-tdep.c (sh_gdbarch_init): Ditto.
  6494. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  6495. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  6496. 2003-06-07 Andrew Cagney <cagney@redhat.com>
  6497. * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and
  6498. "index" with "special_local_sect". Use strcmp instead of STREQ.
  6499. Append period to coments.
  6500. 2003-06-06 Mark Mitchell <mark@codesourcery.com>
  6501. * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX.
  6502. (elfstab_offset_sections): Likewise.
  6503. * gdb-stabs.h (stab_section_info): Likewise.
  6504. * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise.
  6505. * objfiles.c (objfile_relocate): Likewise.
  6506. * pa64solib.c (pa64_solib_add_solib_objfile): Likewise.
  6507. * remote.c (get_offsets): Likewise.
  6508. (remote_cisco_objfile_relocate): Likewise.
  6509. * somread.c (som_symfile_offsets): Likewise.
  6510. * symfile.c (alloc_section_addr_info): New function.
  6511. (build_section_addr_info_from_section_tab): Use it.
  6512. (free_section_addr_info): Adjust.
  6513. (default_symfile_offsets): Avoid use of SECT_OFF_MAX.
  6514. (syms_from_objfile): Allocate local_addr dynamically.
  6515. (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs
  6516. dynamically.
  6517. (add_symbol_file_command): Allocate sect_opts dynamically.
  6518. (reread_symbols): Avoid use of SECT_OFF_MAX.
  6519. * symfile.h (section_addr_info): Do not use MAX_SECTIONS.
  6520. (alloc_section_addr_info): Declare it.
  6521. * symtab.h (SIZEOF_SECTION_OFFSETS): Remove.
  6522. * win32-nat.c (solib_symbols_add): Allocate section_addrs
  6523. dynamically.
  6524. * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX.
  6525. 2003-06-06 Andrew Cagney <cagney@redhat.com>
  6526. * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc".
  6527. (d10v_frame_unwind_cache): Do not set "return_pc".
  6528. 2003-06-06 Michael Snyder <msnyder@redhat.com>
  6529. * h8300-tdep.c: Make tidy (long lines).
  6530. 2003-06-06 Michal Ludvig <mludvig@suse.cz>
  6531. * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums
  6532. to regcache_collect().
  6533. 2003-06-05 J. Brobecker <brobecker@gnat.com>
  6534. * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting
  6535. pc_in_sigtramp multiarch method.
  6536. (hppa_hpux_som_init_abi): Use it.
  6537. (hppa_hpux_elf_init_abi): Likewise.
  6538. * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this
  6539. macro has been multiarched.
  6540. * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this
  6541. macro here, as hppa64 isn't multiarched yet.
  6542. 2003-06-05 Andrew Cagney <cagney@redhat.com>
  6543. * Makefile.in (value_h): Add $(frame_h).
  6544. * value.h: Include "frame.h".
  6545. (struct value): Replace "frame_addr" with "frame_id".
  6546. (VALUE_FRAME_ID): Replace VALUE_FRAME.
  6547. * values.c (allocate_value): Use VALUE_FRAME_ID.
  6548. (value_copy): Use VALUE_FRAME_ID.
  6549. * findvar.c (value_from_register): Use VALUE_FRAME_ID.
  6550. * valops.c (value_assign): Update. Use frame_find_by_id.
  6551. 2003-06-05 Michal Ludvig <mludvig@suse.cz>
  6552. * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset
  6553. in each pass.
  6554. 2003-06-05 Jeff Johnston <jjohnstn@redhat.com>
  6555. * thread-db.c (check_event): For create/death event breakpoints,
  6556. loop through all messages to ensure that we read the message
  6557. corresponding to the breakpoint we are at.
  6558. 2003-06-04 Michael Snyder <msnyder@redhat.com>
  6559. * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn.
  6560. 2003-06-04 Mark Kettenis <kettenis@gnu.org>
  6561. * dwarf2-frame.c (struct comp_unit): Add member `dbase'.
  6562. (read_encoded_value): Handle DW_EH_PE_datarel encoding.
  6563. (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings
  6564. when handling .eh_frame sections.
  6565. 2003-06-04 J. Brobecker <brobecker@gnat.com>
  6566. * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic
  6567. prepare_to_proceed procedure instead of the hppa-specific one.
  6568. * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used.
  6569. 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
  6570. * acconfig.h: Add HAVE_TKILL_SYSCALL definition check.
  6571. * config.in: Regenerated.
  6572. * configure.in: Add test for syscall function and check for
  6573. __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL.
  6574. * configure: Regenerated.
  6575. * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and
  6576. <sys/syscall.h>.
  6577. (kill_lwp): New function that uses tkill syscall or
  6578. uses kill, depending on whether threading model is nptl or not.
  6579. All callers of kill() changed to use kill_lwp().
  6580. (lin_lwp_wait): Make special check when WIFEXITED occurs to
  6581. see if all threads have already exited in the nptl model.
  6582. (stop_and_resume_callback): New callback function used by the
  6583. lin_lwp_wait thread exit handling code.
  6584. (stop_wait_callback): Check for threads already having exited and
  6585. delete such threads fromt the lwp list when discovered.
  6586. (stop_callback): Don't assert retcode of kill call.
  6587. Roland McGrath <roland@redhat.com>
  6588. * i386-linux-nat.c (ps_get_thread_area): New function needed by
  6589. nptl libthread_db.
  6590. 2003-06-03 Richard Henderson <rth@redhat.com>
  6591. * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn.
  6592. (alpha_sigtramp_frame_this_id): Use get_frame_memory.
  6593. (alpha_sigtramp_frame_prev_register): Likewise.
  6594. (alpha_heuristic_frame_prev_register): Likewise.
  6595. * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
  6596. * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use
  6597. alpha-specific register id names.
  6598. (alpha_mdebug_frame_unwind_cache): Likewise.
  6599. (alpha_mdebug_frame_prev_register): Likewise.
  6600. 2003-06-03 Richard Henderson <rth@redhat.com>
  6601. * alpha-tdep.c (alpha_dwarf2_init_abi): New.
  6602. * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it.
  6603. * alpha-linux-tdep.c (alpha_linux_init_abi): Use it.
  6604. * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug
  6605. unwind routines.
  6606. * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise.
  6607. * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
  6608. * config/alpha/nbsd.mt (TDEPFILES): Likewise.
  6609. * alpha-linux-tdep.c: Remove unnecessary includes.
  6610. * Makefile.in (alpha-linux-tdep.o): Update.
  6611. 2003-06-03 Richard Henderson <rth@redhat.com>
  6612. * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change.
  6613. (alphabsd_fill_fpreg): Likewise.
  6614. 2003-06-03 J. Brobecker <brobecker@gnat.com>
  6615. * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace
  6616. references to struct frame_info fields by calls to the equivalent
  6617. accessors. Necessary now that frame_info is opaque.
  6618. 2003-06-03 J. Brobecker <brobecker@gnat.com>
  6619. * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete.
  6620. (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep
  6621. structure, field no longer exists.
  6622. 2003-06-03 J. Brobecker <brobecker@gnat.com>
  6623. * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
  6624. * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module.
  6625. 2003-06-03 J. Brobecker <brobecker@gnat.com>
  6626. * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace
  6627. references to struct frame_info fields by calls to the equivalent
  6628. accessors. Necessary now that frame_info is opaque.
  6629. 2003-06-03 J. Brobecker <brobecker@gnat.com>
  6630. * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete.
  6631. (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep
  6632. structure, field no longer exists.
  6633. 2003-06-03 Theodore A. Roth <troth@openavr.org>
  6634. * remote.c (init_remote_state): Compute sizeof_g_packet by
  6635. accumulation of the size of all registers instead of blindly using
  6636. DEPRECATED_REGISTER_BYTES.
  6637. 2003-06-03 Michael Snyder <msnyder@redhat.com>
  6638. * config/h8300/tm-h8300.h (h8300sxmode): Declare.
  6639. * h8300-tdep.c (h8300_gdbarch_init): Set machine mode
  6640. for h8300sx.
  6641. 2003-06-03 J. Brobecker <brobecker@gnat.com>
  6642. * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile.
  6643. * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
  6644. 2003-06-03 Andrew Cagney <cagney@redhat.com>
  6645. * sparc-tdep.c (sparc_convert_to_virtual): Delete function.
  6646. (sparc_convert_to_raw): Delete function.
  6647. (sparc_gdbarch_init): Do not set register_convert_to_raw or
  6648. register_convert_to_virtual.
  6649. 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
  6650. * thread-db.c (thread_db_mourn_inferior): Unpush thread target
  6651. layer if not dealing with a statically-linked threaded program.
  6652. 2003-06-03 Kris Warkentin <kewarken@qnx.com>
  6653. * solib.c (solib_open): Update comment to reflect actual search order.
  6654. 2003-06-03 Andrew Cagney <cagney@redhat.com>
  6655. * frame.c (get_frame_memory_signed): New function.
  6656. (get_frame_memory, get_frame_memory_unsigned): New function.
  6657. (get_frame_arch): New function.
  6658. * frame.h (get_frame_signed_memory, get_frame_arch): Declare.
  6659. (get_frame_memory, get_frame_unsigned_memory): Declare.
  6660. * d10v-tdep.c (d10v_frame_unwind_cache): Use
  6661. get_frame_memory_unsigned and get_frame_arch.
  6662. (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto.
  6663. 2003-06-03 Raoul Gough <RaoulGough@yahoo.co.uk>
  6664. * MAINTAINERS (write after approval): Add myself.
  6665. 2003-06-03 Jim Blandy <jimb@redhat.com>
  6666. * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the
  6667. elements of gregset_t are 64 bits each, but access registers
  6668. are still 32 bits, so they're packed two per gregset_t
  6669. element. Unpack/pack them properly.
  6670. 2003-06-02 David Carlton <carlton@bactrian.org>
  6671. * linespec.c (find_methods): Break out code into
  6672. add_matching_methods and add_constructors.
  6673. (add_matching_methods): New.
  6674. (add_constructors): Ditto.
  6675. 2003-06-02 Andrew Cagney <cagney@redhat.com>
  6676. * sparc-tdep.c (sparc_print_registers): Delete call to
  6677. REGISTER_CONVERTIBLE.
  6678. (sparc_gdbarch_init): Do not set register_convertible.
  6679. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  6680. * frv-tdep.c (frv_gdbarch_init): Ditto.
  6681. * cris-tdep.c (cris_gdbarch_init): Ditto.
  6682. 2003-06-02 Elena Zannoni <ezannoni@redhat.com>
  6683. * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro.
  6684. * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD.
  6685. (syms_from_objfile): Ditto.
  6686. 2003-06-03 Andreas Schwab <schwab@suse.de>
  6687. * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ...
  6688. (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn.
  6689. 2003-06-02 Richard Henderson <rth@redhat.com>
  6690. * alpha-tdep.c (alpha_register_reggroup_p): Zero is only
  6691. a member of all_reggroup.
  6692. 2003-06-02 Richard Henderson <rth@redhat.com>
  6693. * alpha-tdep.c (alpha_register_type): Change from _virtual_type.
  6694. (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove.
  6695. (alpha_lds, alpha_sts): New.
  6696. (alpha_convert_register_p): Change from _register_convertible.
  6697. (alpha_register_to_value): Change from _convert_to_virtual;
  6698. restructure and fail for type sizes other than 4 or 8.
  6699. (alpha_value_to_register): Similarly.
  6700. (alpha_extract_return_value): Use alpha_sts.
  6701. (alpha_store_return_value): Use alpha_lds.
  6702. (alpha_gdbarch_init): Update hooks.
  6703. 2003-06-02 Richard Henderson <rth@redhat.com>
  6704. * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific
  6705. regnum identifiers.
  6706. (alpha_sigtramp_register_address): Likewise.
  6707. 2003-06-02 Richard Henderson <rth@redhat.com>
  6708. * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New.
  6709. (alpha_supply_fp_regs, alpha_fill_fp_regs): New.
  6710. * alpha-tdep.h: Declare them.
  6711. * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping.
  6712. Remove zerobuf. Don't error on UNIQUE.
  6713. (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs.
  6714. (ALPHA_REGSET_UNIQUE): Provide default.
  6715. (supply_gregset): Use alpha_supply_int_regs.
  6716. (fill_gregset): Use alpha_fill_int_regs.
  6717. (supply_fpregset): Use alpha_supply_fp_regs.
  6718. (fill_fpregset): Use alpha_fill_fp_regs.
  6719. * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove.
  6720. (alphabsd_supply_reg): Use alpha_supply_int_regs.
  6721. (alphabsd_fill_reg): Use alpha_fill_int_regs.
  6722. (alphabsd_supply_fpreg): Use alpha_supply_fp_regs.
  6723. (alphabsd_fill_fpreg): Use alpha_fill_fp_regs.
  6724. * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New.
  6725. 2003-06-02 Richard Henderson <rth@redhat.com>
  6726. * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru.
  6727. * alpha-tdep.c (alpha_extract_return_value): Use internal_error.
  6728. (alpha_store_return_value): Likewise.
  6729. 2003-06-02 David Carlton <carlton@math.stanford.edu>
  6730. * block.c (contained_in): Add 'const' to arguments.
  6731. (block_function): Ditto.
  6732. * block.h: Update declarations for block_function and
  6733. contained_in.
  6734. 2003-06-02 David Carlton <carlton@math.stanford.edu>
  6735. * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'.
  6736. * c-valprint.c (c_val_print): Delete unneeded variable 's'.
  6737. * p-valprint.c (pascal_val_print): Ditto.
  6738. * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'.
  6739. 2003-06-02 Richard Henderson <rth@redhat.com>
  6740. * alpha-tdep.c (alpha_push_dummy_call): Use
  6741. builtin_type_ieee_double_little instead of builtin_type_double.
  6742. * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated
  6743. sign-extension of 32-bit values.
  6744. (alpha_store_return_value): Similarly.
  6745. * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types.
  6746. (alpha_extract_return_value): Likewise.
  6747. (alpha_store_return_value): Likewise.
  6748. * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats.
  6749. (alpha_store_return_value): Error on IEEE Quad floats.
  6750. * alpha-tdep.c (alpha_extract_return_value): Convert to regcache.
  6751. (alpha_extract_struct_value_address): Likewise.
  6752. (alpha_store_return_value): Likewise.
  6753. (alpha_store_struct_return): Remove.
  6754. (alpha_gdbarch_init): Update hook registration to match.
  6755. * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of
  6756. deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch
  6757. macros where appropriate.
  6758. (alpha_register_convert_to_raw): Similarly. Use unpack_long.
  6759. (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New.
  6760. * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr
  6761. for SP, GP; void_func_ptr for PC; non-language-specific types
  6762. for all others.
  6763. * alpha-tdep.h (ALPHA_GP_REGNUM): New.
  6764. 2003-06-02 Richard Henderson <rth@redhat.com>
  6765. * top.h (lim_at_start): Declare.
  6766. * main.c (captured_main): Set it.
  6767. * top.c (lim_at_start): Define.
  6768. (command_loop): Use it instead of &environ.
  6769. * event-top.c (command_handler): Likewise.
  6770. 2003-06-01 Jason Thorpe <thorpej@wasabisystems.com>
  6771. * mipsnbsd-tdep.c: Update copyright years.
  6772. (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg.
  6773. 2003-06-01 Richard Henderson <rth@redhat.com>
  6774. * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c.
  6775. (alpha-linux-tdep.o): Update dependencies.
  6776. (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise.
  6777. * alpha-mdebug-tdep.c: Remove unneeded includes.
  6778. 2003-06-01 Richard Henderson <rth@redhat.com>
  6779. * alpha-tdep.c (alpha_register_reggroup_p): New.
  6780. (alpha_gdbarch_init): Register it.
  6781. 2003-06-02 Andrew Cagney <cagney@redhat.com>
  6782. * dwarfread.c: Eliminate "register"
  6783. (decode_die_type): Eliminate assignment within "if".
  6784. (struct_type, decode_array_element_type): Ditto.
  6785. (dwarf_read_array_type, read_tag_pointer_type): Ditto.
  6786. (read_subroutine_type, enum_type, add_enum_psymbol): Ditto.
  6787. (decode_modified_type, completedieinfo): Ditto.
  6788. * block.c: Eliminate "register".
  6789. (blockvector_for_pc_sect): Eliminate assignment within "if".
  6790. * cp-support.h (struct symbol): Opaque declaration.
  6791. * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free.
  6792. 2003-06-01 Richard Henderson <rth@redhat.com>
  6793. * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ...
  6794. (_initialize_alpha_tdep): ... not deprecated_tm_print_insn.
  6795. 2003-06-01 Adam Fedor <fedor@gnu.org>
  6796. * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT.
  6797. * gdbarch.[ch]: Regenerate.
  6798. * hppa-tdep.c (hppa_fetch_pointer_argument): New function.
  6799. (hppa_gdbarch_init): Set it in the gdbarch vector.
  6800. * i386-tdep.c (i386_fetch_pointer_argument): New
  6801. (i386_gdbarch_init): Set it into gdbarch.
  6802. * rs6000-tdep.c (rs6000_fetch_pointer_argument): New.
  6803. (rs6000_gdbarch_init): Set it in gdbarch.
  6804. * sparc-tdep.c (sparc_fetch_pointer_argument): New
  6805. (sparc_gdbarch_init): Set it in gdbarch.
  6806. 2003-06-01 Andrew Cagney <cagney@redhat.com>
  6807. * defs.h (extract_address): Delete declaration.
  6808. * findvar.c (extract_address): Delete function.
  6809. * xstormy16-tdep.c (xstormy16_extract_return_value): Replace
  6810. extract_address with the inline equivalent,
  6811. extract_unsigned_integer.
  6812. (xstormy16_extract_struct_value_address): Ditto.
  6813. (xstormy16_pointer_to_address): Ditto.
  6814. * vax-tdep.c (vax_extract_struct_value_address): Ditto.
  6815. * v850-tdep.c (v850_push_arguments): Ditto.
  6816. (v850_extract_return_value): Ditto.
  6817. (v850_extract_struct_value_address): Ditto.
  6818. * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto.
  6819. (sparcnbsd_get_longjmp_target_64): Ditto.
  6820. * sparc-tdep.c (sparc_frame_saved_pc): Ditto.
  6821. (get_longjmp_target): Ditto.
  6822. * sh-tdep.c (sh_extract_struct_value_address): Ditto.
  6823. (sh64_extract_struct_value_address): Ditto.
  6824. (sh_push_arguments): Ditto.
  6825. (sh64_push_arguments): Ditto.
  6826. * remote-vxsparc.c (vx_read_register): Ditto.
  6827. * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto.
  6828. * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto.
  6829. * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto.
  6830. * mipsv4-nat.c (get_longjmp_target): Ditto.
  6831. * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto.
  6832. * mips-nat.c (get_longjmp_target): Ditto.
  6833. * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto.
  6834. * mcore-tdep.c (mcore_extract_struct_value_address): Ditto.
  6835. * m68k-tdep.c (m68k_get_longjmp_target): Ditto.
  6836. * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto.
  6837. * irix5-nat.c (get_longjmp_target): Ditto.
  6838. * irix4-nat.c (get_longjmp_target): Ditto.
  6839. * ia64-tdep.c (generic_elf_find_global_pointer): Ditto.
  6840. (ia64_push_arguments): Ditto.
  6841. * hpux-thread.c (hpux_thread_store_registers): Ditto.
  6842. * h8300-tdep.c (h8300_push_arguments): Ditto.
  6843. (h8300_store_return_value): Ditto.
  6844. (h8300_extract_struct_value_address): Ditto.
  6845. * frv-tdep.c (frv_extract_struct_value_address): Ditto.
  6846. (frv_push_arguments): Ditto.
  6847. * avr-tdep.c (avr_pointer_to_address): Ditto.
  6848. (avr_push_arguments): Ditto.
  6849. * arm-tdep.c (arm_push_dummy_call): Ditto.
  6850. (arm_get_longjmp_target): Ditto.
  6851. * arm-linux-tdep.c (arm_linux_push_arguments): Ditto.
  6852. * alpha-tdep.c (alpha_extract_struct_value_address): Ditto.
  6853. (alpha_get_longjmp_target): Ditto.
  6854. * solib-irix.c (extract_mips_address): Inline extract_address,
  6855. replacing it with extract_signed_integer.
  6856. * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto.
  6857. (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto.
  6858. (first_link_map_member, open_symbol_file_object): Ditto.
  6859. (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto.
  6860. * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto.
  6861. (LM_NEXT, LM_NAME): Ditto.
  6862. 2003-06-01 Richard Henderson <rth@redhat.com>
  6863. * alpha-tdep.h (ALPHA_FP_REGNUM): Remove.
  6864. * alpha-tdep.c (alpha_register_name): Remove vfp entry.
  6865. (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM.
  6866. (alpha_cannot_store_register): Likewise.
  6867. * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM.
  6868. * alpha-nat.c (supply_gregset): Likewise.
  6869. * alphanbsd-tdep.c (fetch_core_registers): Likewise.
  6870. 2003-06-01 Andrew Cagney <cagney@redhat.com>
  6871. * infcall.c (call_function_by_hand): Update comment on
  6872. DEPRECATED_DUMMY_WRITE_SP.
  6873. * mips-tdep.c (mips_gdbarch_init): Do not set
  6874. deprecated_dummy_write_sp.
  6875. (mips_eabi_push_dummy_call): Set the SP register.
  6876. (mips_o64_push_dummy_call): Set the SP register.
  6877. (mips_o32_push_dummy_call): Set the SP register.
  6878. (mips_n32n64_push_dummy_call): Set the SP register.
  6879. 2003-06-01 Richard Henderson <rth@redhat.com>
  6880. * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE
  6881. instead of ALPHA_MAX_REGISTER_RAW_SIZE.
  6882. (supply_gregset): Likewise.
  6883. * alpha-tdep.c (alpha_store_return_value): Likewise.
  6884. (alpha_get_longjmp_target): Likewise.
  6885. (alpha_register_name): Constify array.
  6886. (alpha_gdbarch_init): Remove deprecated_fp_regnum,
  6887. deprecated_register_size, deprecated_register_bytes,
  6888. deprecated_max_register_raw_size, deprecated_max_register_virtual_size.
  6889. * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove.
  6890. (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove.
  6891. 2003-06-01 Richard Henderson <rth@redhat.com>
  6892. * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies
  6893. from arg_reg_buffer to regcache to avoid double conversion.
  6894. 2003-06-01 Mark Kettenis <kettenis@gnu.org>
  6895. * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of
  6896. SP_REGNUM.
  6897. * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise.
  6898. * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise.
  6899. 2003-06-01 Richard Henderson <rth@redhat.com>
  6900. * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation.
  6901. (decode_frame_entry): Set it. Skip FDE augmentation.
  6902. 2003-06-01 Richard Henderson <rth@redhat.com>
  6903. * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column
  6904. not overlapping PC_REGNUM.
  6905. 2003-06-01 Richard Henderson <rth@redhat.com>
  6906. * alpha-tdep.c (alpha_push_dummy_call): Transmography from
  6907. alpha_push_arguments. Don't dump argument register data to
  6908. the target stack. Fix float and 128-bit long double semantics.
  6909. Store $t12 and $ra as specified by the ABI. Use regcache everywhere.
  6910. (alpha_fix_call_dummy): Remove.
  6911. (alpha_call_dummy_words): Remove.
  6912. (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call.
  6913. 2003-06-01 Richard Henderson <rth@redhat.com>
  6914. * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder.
  6915. 2003-06-01 Andrew Cagney <cagney@redhat.com>
  6916. * mips-tdep.c (is_mips16_addr): New function.
  6917. (make_mips16_addr, unmake_mips16_addr): New functions.
  6918. (pc_is_mips16, mips_fetch_instruction): Use.
  6919. (gdb_print_insn_mips, mips_breakpoint_from_pc): Use.
  6920. (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH.
  6921. (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH,
  6922. UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and
  6923. TARGET_MIPS.
  6924. * config/mips/tm-mips.h: Update copyright.
  6925. (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete.
  6926. (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete.
  6927. (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete.
  6928. * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete.
  6929. (TM_PRINT_INSN_MACH): Delete.
  6930. * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete.
  6931. * configure.tgt: Replace mips64*vr4xxx*el-*-elf*,
  6932. mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*,
  6933. mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*,
  6934. mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and
  6935. mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete
  6936. mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto
  6937. mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*,
  6938. mips*-*-riscos* and mips*-*-sysv* onto mips.
  6939. * config/mips/mips64.mt: New file.
  6940. * config/mips/mips.mt: New file.
  6941. * config/mips/littlemips.mt: Delete file.
  6942. * config/mips/decstation.mt: Delete file.
  6943. * config/mips/vr4300el.mt: Delete file.
  6944. * config/mips/vr5000el.mt: Delete file.
  6945. * config/mips/vr5000.mt: Delete file.
  6946. * config/mips/vr4100.mt: Delete file.
  6947. * config/mips/vr4xxxel.mt: Delete file.
  6948. * config/mips/vr4300.mt: Delete file.
  6949. * config/mips/vr4xxx.mt: Delete file.
  6950. * config/mips/bigmips.mt: Delete file.
  6951. * config/mips/bigmips64.mt: Delete file.
  6952. * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h".
  6953. * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h".
  6954. * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h"
  6955. * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h".
  6956. * config/mips/tm-tx39.h: Include "tm-mips.h" instead of
  6957. "tm-bigmips.h".
  6958. * config/mips/tm-irix3.h: Ditto.
  6959. * config/mips/tm-mipsv4.h: Ditto.
  6960. * config/mips/tm-embed.h: Ditto.
  6961. * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of
  6962. "tm-bigmips64.h".
  6963. * config/mips/tm-vr5000el.h: Delete file.
  6964. * config/mips/tm-tx39l.h: Delete file.
  6965. * config/mips/tm-vr4300el.h: Delete file.
  6966. * config/mips/tm-vr4xxxel.h: Delete file.
  6967. * config/mips/tm-vr4300.h: Delete file.
  6968. * config/mips/tm-vr4100.h: Delete file.
  6969. * config/mips/tm-vr4xxx.h: Delete file.
  6970. * config/mips/tm-vr5000.h: Delete file.
  6971. * config/mips/tm-embedl64.h: Delete file.
  6972. * config/mips/tm-embedl.h: Delete file.
  6973. * config/mips/tm-embed64.h: Delete file.
  6974. * config/mips/tm-bigmips64.h: Delete file.
  6975. * config/mips/tm-bigmips.h: Delete file.
  6976. 2003-06-01 Mark Kettenis <kettenis@gnu.org>
  6977. Fix gdb/1216.
  6978. * shnbsd-nat.c: Include "sh-tdep.h".
  6979. From Richard Henderson <rth@redhat.com>:
  6980. * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic.
  6981. 2003-05-31 Andrew Cagney <cagney@redhat.com>
  6982. * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add
  6983. forward declaration.
  6984. (mips16_heuristic_proc_desc): Pass temp_saved_regs.
  6985. (mips16_heuristic_proc_desc): Pass temp_saved_regs.
  6986. (mips_find_saved_regs): Use set_reg_offset.
  6987. (mips_frame_init_saved_regs): Delete function.
  6988. (mips_pop_frame): Call mips_find_saved_regs instead of
  6989. DEPRECATED_FRAME_INIT_SAVED_REGS.
  6990. 2003-05-31 Andrew Cagney <cagney@redhat.com>
  6991. * mips-tdep.c (mips_gdbarch_init): Do not set
  6992. deprecated_max_register_raw_size, register_virtual_size, and
  6993. deprecated_max_register_virtual_size.
  6994. 2003-05-31 Mark Kettenis <kettenis@gnu.org>
  6995. * i386-tdep.c: Include "dwarf2-frame.h".
  6996. (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder.
  6997. * Makefile.in (i386-tdep.o): Update dependencies.
  6998. * dwarf2-frame.c, dwarf2-frame.h: New files.
  6999. * Makefile.in (SFILES): Add dwarf2-frame.c.
  7000. (dwarf2_frame_h): Define.
  7001. (COMMON_OBS): Add dwarf2-frame.o.
  7002. (dwarf2-frame.o): Add dependencies.
  7003. 2003-05-31 Andreas Jaeger <aj@suse.de>
  7004. * x86-64-linux-nat.c: Fix comment.
  7005. 2003-05-31 Mark Kettenis <kettenis@gnu.org>
  7006. * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed
  7007. function signature.
  7008. * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we
  7009. have a sigcontext_addr handler.
  7010. * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a
  7011. sigcontext_addr handler.
  7012. 2003-05-31 Andrew Cagney <cagney@redhat.com>
  7013. * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row.
  7014. (print_fp_register_row): Replace do_fp_register_row.
  7015. (mips_print_fp_register): Add "file" and "frame" parameters.
  7016. (mips_print_register): Add "file" and "frame" parameters.
  7017. (mips_print_registers_info): Replace mips_do_registers_info.
  7018. (mips_gdbarch_init): Set print_registers_info instead of
  7019. deprecated_do_registers_info.
  7020. (mips_read_fp_register_single): Add "frame" parameter.
  7021. (mips_read_fp_register_double): Add "frame" parameter.
  7022. 2003-05-31 Mark Kettenis <kettenis@gnu.org>
  7023. * i386-tdep.c (i386_register_name): Check for MMX registers first.
  7024. Fixes a bug where GDB would print the wrong register names for
  7025. targets without SSE.
  7026. * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS.
  7027. (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved
  7028. registers.
  7029. * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable.
  7030. (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and
  7031. TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
  7032. TDEP->sc_sp_offset.
  7033. From Michal Ludvig <mludvig@suse.cz>:
  7034. * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset'
  7035. and `sc_num_regs'.
  7036. (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
  7037. I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM,
  7038. I386_ST0_REGNUM): Move here from...
  7039. * i386-tdep.c: ... here.
  7040. (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS.
  7041. (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved
  7042. registers if possible.
  7043. (i386_gdbarch_init): Initialize TDEP->sc_reg_offset.
  7044. * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset):
  7045. Remove variables.
  7046. (i386bsd_sc_reg_offset): New variable.
  7047. (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and
  7048. TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
  7049. TDEP->sc_sp_offset.
  7050. (i386fbsd_sc_reg_offset): New variable.
  7051. (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and
  7052. TDEP->sc_num_regs.
  7053. (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove
  7054. variables.
  7055. (i386fbsd4_sc_reg_offset): New variable.
  7056. (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and
  7057. TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
  7058. TDEP->sc_sp_offset.
  7059. * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable.
  7060. (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs.
  7061. * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset):
  7062. Remove variables.
  7063. (i386nbsd_sc_reg_offset): New variable.
  7064. (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and
  7065. TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
  7066. TDEP->sc_sp_offset.
  7067. * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset):
  7068. Remove variables.
  7069. (i386obsd_sc_reg_offset): New variable.
  7070. (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and
  7071. TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
  7072. TDEP->sc_sp_offset.
  7073. * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in
  7074. i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check
  7075. for frame pointer offset in `struct sigcontext'.
  7076. 2003-05-31 Andrew Cagney <cagney@redhat.com>
  7077. * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated
  7078. architecture methods call_dummy_words, sizeof_call_dummy_words,
  7079. push_return_address, store_struct_return, and fix_call_dummy. Set
  7080. push_dummy_call instead of deprecated_push_arguments.
  7081. (mips_store_struct_return): Delete function.
  7082. (mips_fix_call_dummy): Delete function.
  7083. (mips_push_return_address): Delete function.
  7084. (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set
  7085. RA_REGNUM and T9_REGNUM.
  7086. (mips_n32n64_push_dummy_call): Ditto for
  7087. mips_n32n64_push_arguments.
  7088. (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments.
  7089. (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments.
  7090. 2003-05-31 Andrew Cagney <cagney@redhat.com>
  7091. * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename
  7092. "dummy_addr" to "bp_addr".
  7093. * infcall.c (call_function_by_hand): Pass "funaddr" to
  7094. gdbarch_push_dummy_call.
  7095. * gdbarch.h, gdbarch.c: Re-generate.
  7096. * i386-tdep.c (i386_push_dummy_call): Update.
  7097. * arm-tdep.c (arm_push_dummy_call): Update.
  7098. * d10v-tdep.c (d10v_push_dummy_call): Update.
  7099. 2003-05-31 Mark Kettenis <kettenis@gnu.org>
  7100. * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove
  7101. variable declarations.
  7102. (x86_64_register_number, x86_64_register_name): Remove prototypes.
  7103. (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call,
  7104. x86_64_linux_in_sigtramp, x86_64_linux_frame_chain,
  7105. x86_64_init_frame_pc, x86_64_init_frame_pc,
  7106. x86_64_function_has_prologue): Remove prototypes.
  7107. (X86_64_NUM_GREGS): New define.
  7108. (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes.
  7109. * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include
  7110. "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h".
  7111. (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM,
  7112. XMM1_REGNUM): Remove defines.
  7113. (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM,
  7114. X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM,
  7115. X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM,
  7116. X86_64_XMM1_REGNUM): New defines.
  7117. (struct x86_64_register_info): Renamed from `struct
  7118. register_info'. Remove `size' member.
  7119. (x86_64_register_info_table): Remove variable.
  7120. (x86_64_register_info): New variable.
  7121. (X86_64_NUM_REGS): New define.
  7122. (X86_64_NUM_GREGS): Remove define.
  7123. (x86_64_num_regs, x86_64_num_gregs): Remove variables.
  7124. (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length):
  7125. Remove variables.
  7126. (x86_54_dwarf2_reg_to_regnum): Remove function.
  7127. (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables.
  7128. (x86_64_dwarf_reg_to_regnum): New function.
  7129. (x86_64_register_name): Rewrite.
  7130. (x86_64_register_raw_size): Remove function.
  7131. (x86_64_register_byte_table): Remove variable.
  7132. (x86_64_register_byte): Remove function.
  7133. (x86_64_register_virtual_type): Remove function.
  7134. (x86_64_register_type): New function.
  7135. (x86_64_register_convertible, x86_64_register_convert_to_virtual,
  7136. x86_64_register_convert_to_raw): Remove functions.
  7137. (x86_64_push_return_address, x86_64_pop_frame): Remove functon.
  7138. (x86_64_use_struct_convention): Make static. Adjust for renamed
  7139. defines.
  7140. (x86_64_frame_init_saved_regs): Remove function.
  7141. (x86_64_push_arguments): Make static. Change to accept a regcache
  7142. as argument.
  7143. (x86_64_store_return_value, x86_64_extract_return_value): Make
  7144. static. Rewrite based on i386 counterparts.
  7145. (x86_64_push_dummy_call): New function.
  7146. (X86_64_NUM_SAVED_REGS): New define.
  7147. (x86_64_register_number): Remove function.
  7148. (x86_64_store_struct_return): Remove function.
  7149. (x86_64_frameless_function_invocation,
  7150. x86_64_function_has_prologue): Remove functions.
  7151. (PROLOG_BUFSIZE): Remove define.
  7152. (struct x86_64_frame_cache): New structure.
  7153. (x86_64_alloc_frame_cache, x86_64_analyze_prologue,
  7154. x86_64_frame_cache, x86_64_frame_this_id,
  7155. x86_64_frame_prev_register, x86_64_frame_p,
  7156. x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id,
  7157. x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New
  7158. functions.
  7159. (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New
  7160. variables.
  7161. (x86_64_skip_prologue): Rewrite in terms of
  7162. x86_64_analyze_prologue.
  7163. (x86_64_frame_base_address): New function.
  7164. (x86_64_frame_base): New variable.
  7165. (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite.
  7166. (x86_64_init_abi): Set register_type and push_dummy_call. Don't
  7167. set deprecated_fp_regnum, deprecated_register_size,
  7168. deprecated_register_bytes, register_raw_size, register_byte,
  7169. register_virtual_type, register_convertiable,
  7170. register_convert_to_virtual, convert_to_raw,
  7171. deprecated_get_saved_register, deprecated_target_read_fp,
  7172. deprecated_push_arguments, deprecated_push_return_address,
  7173. deprecated_pop_frame, deprecated_store_struct_return,
  7174. deprecated_frame_init_saved_regs, deprecated_frame_chain,
  7175. frameless_function_invocation, deprecated_frame_saved_pc,
  7176. deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp,
  7177. dwarf2_build_frame_info, deprecated_init_extra_frame_info,
  7178. deprecated_init_frame_pc and virtual_frame_pointer. Call
  7179. frame_unwind_append_predicate to register x86_64_sigtramp_frame_p
  7180. and x86_64_frame_p. Call frame_base_set_default to register
  7181. x86_64_frame_base.
  7182. (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines.
  7183. (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions.
  7184. (_initialize_x86_64_tdep): Remove function.
  7185. * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h".
  7186. (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET,
  7187. LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't
  7188. define.
  7189. (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define.
  7190. (x86_64_linux_sigcontext_addr): Rewrite.
  7191. (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call,
  7192. x86_64_linux_frame_saved_pc): Remove functions.
  7193. (x86_64_linux_pc_in_sigtramp): Renamed from
  7194. x86_64_linux_in_sigtramp. Try harder to recognize a signal
  7195. trampoline.
  7196. (x86_64_linux_frame_chain, x86_64_init_frame_pc):
  7197. Remove_functions.
  7198. (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize
  7199. TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset.
  7200. * x86-64-linux-nat.c: Sync with i386-linux-tdep.c.
  7201. (x86_64_regmap): Rename to regmap.
  7202. (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of
  7203. x86_64_num_gregs.
  7204. (supply_gregset, fill_gregset): Likewise. Use regmap instead of
  7205. x86_64_regmap.
  7206. (x86_64_fxsave_offset): Remove function.
  7207. (supply_fpregset): Simply call x86_64_supply_fxsave.
  7208. (fill_fpregset): Simply call x86_64_fill_fxsave.
  7209. (fetch_inferior_registers, store_inferior_registers): Avoid
  7210. asignment in if-statement.
  7211. (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn,
  7212. SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET,
  7213. LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines.
  7214. (fetch_core_registers): Remove function.
  7215. (linux_elf_core_fns): Remove.
  7216. (offsetoff): Don't define.
  7217. (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions.
  7218. * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o.
  7219. * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o,
  7220. add core-regset.o.
  7221. * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for
  7222. protection against multiple includes instead of NM_X86_64_h. Add
  7223. various comments. Include "config/nm-linux.h". Don't include
  7224. <signal.h>.
  7225. (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR,
  7226. GET_THREAD_SIGNALS): Remove defines.
  7227. (x86_64_register_u_addr, kernel_u_size,
  7228. lin_thread_get_thread_signals): Remove prototypes.
  7229. (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'.
  7230. [HAVE_LINK_H]: Don't include "solib.h".
  7231. [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define.
  7232. * config/i386/tm-x86-64linux.h: Fix comments.
  7233. * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o,
  7234. x86-64-tdep.o): Update dependencies.
  7235. 2003-05-30 Andrew Cagney <cagney@redhat.com>
  7236. * config/sparc/tm-sparc.h (sparc_extract_struct_value_address):
  7237. Change parameter type to a "struct regcache *".
  7238. * gdbarch.sh: Regardless of the multi-arch level, always define
  7239. the macro when not already defined.
  7240. * gdbarch.h, gdbarch.c: Re-generate.
  7241. 2003-05-30 Richard Henderson <rth@redhat.com>
  7242. * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues.
  7243. (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder.
  7244. (alpha_mdebug_frame_this_id): Likewise.
  7245. (alpha_mdebug_frame_prev_register): Likewise.
  7246. (alpha_mdebug_frame_base_address): Likewise.
  7247. (alpha_mdebug_frame_locals_address): Likewise.
  7248. (alpha_mdebug_frame_args_address): Likewise.
  7249. (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache.
  7250. * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start.
  7251. (alpha_heuristic_frame_unwind_cache): Make static; add missing
  7252. loop increment.
  7253. (alpha_heuristic_frame_this_id): Make static.
  7254. (alpha_heuristic_frame_prev_register): Likewise.
  7255. (alpha_heuristic_frame_base_address): Likewise.
  7256. * alpha-tdep.h: Update.
  7257. 2003-05-30 Mark Kettenis <kettenis@gnu.org>
  7258. * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype.
  7259. (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove
  7260. defenitions.
  7261. (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions.
  7262. * i386-tdep.c: Mark functions that are 64-bit safe as such.
  7263. (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
  7264. I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM,
  7265. I386_ST0_REGNUM): New defines.
  7266. (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek,
  7267. codestream_get): Remove define.
  7268. (codestream_next_addr, condestream_addr, condestream_buf,
  7269. codestream_off, codestream_cnt): Remove variables.
  7270. (codestream_fill, codestream_seek, codestream_read): Remove
  7271. functions.
  7272. (i386_follow_jump): Rewrite to avoid usage of removed codestream
  7273. functionality.
  7274. (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain,
  7275. i386_sigtramp_saved_pc, i386_sigtramp_saved_sp,
  7276. i386_frame_saved_pc, i386_saved_pc_after_call,
  7277. i386_frame_num_args, i386_frame_init_saved_regs,
  7278. i386_push_return_address, i386_do_pop_frame, i386_pop_frame,
  7279. i386_push_arguments): Remove functions.
  7280. (i386_skip_prologue): Rewrite to avoid usage of removed codestream
  7281. functionality. Use i386_analyze_prologue instead of
  7282. i386_get_frame_setup.
  7283. (I386_NUM_SAVED_REGS): New define.
  7284. (struct i386_frame_cache): New structure.
  7285. (i386_alloc_frame_cache, i386_analyze_struct_return,
  7286. i386_skip_probe, i386_analyze_frame_setup,
  7287. i386_analyze_register_saves, i386_analyze_prologue,
  7288. i386_unwind_pc, i386_frame_cache, i386_frame_this_id,
  7289. i386_frame_prev_register, i386_sigtramp_frame_cache,
  7290. i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register,
  7291. i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address,
  7292. i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call):
  7293. New functions.
  7294. (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base):
  7295. New variables.
  7296. (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of
  7297. I386_EAX_REGNUM and I386_EDX_REGNUM.
  7298. (i386_extract_return_value, i386_store_return_value): Use
  7299. I386_ST0_REGNUM where appropriate.
  7300. (i386_extract_struct_value_address): Rewrite to use extract_address.
  7301. (i386_svr4_pc_in_sigtramp): Add comment.
  7302. (i386_svr4_sigcontext_addr): Rewrite.
  7303. (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and
  7304. TDEP->sc_sp_offset.
  7305. (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set
  7306. sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms
  7307. of new defines. Set push_dummy_call, don't set
  7308. deprecated_push_arguments, deprecated_push_return_address,
  7309. deprecated_pop_frame. Don't set parm_boundary. Don't set
  7310. deprecated_frame_chain, deprecated_frame_saved_pc,
  7311. deprecated_saved_pc_after_call. Set unwind_dummy_id,
  7312. save_dummy_frame_tos, unwind_pc. Call
  7313. frame_unwind_append_predicate and frame_base_set_default. Don't
  7314. set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum.
  7315. Don't set frameless_function_invocation. Don't set
  7316. deprecated_register_bytes, deprecated_register_size,
  7317. deprecated_call_dummy_words and deprecated_sizeof_call_dummy.
  7318. * i386-linux-tdep.c: Fix formatting in some comments.
  7319. (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
  7320. LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
  7321. LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2,
  7322. LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
  7323. LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop
  7324. redundant parentheses.
  7325. (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define.
  7326. (i386_linux_sigcontext_addr): Use it. Rewrite.
  7327. (find_minsym_and_objfile): Change name of second argument.
  7328. (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers
  7329. changed. Use frame_pc_unwind instead of
  7330. DEPRECATED_SAVED_PC_AFTER_CALL.
  7331. (i386_linux_init_abi): Don't set deprecated_register_bytes.
  7332. * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite.
  7333. * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame
  7334. unwinder.
  7335. * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and
  7336. "dummy-frame.h".
  7337. (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed.
  7338. (_initialize_i386_cygwin_tdep): New prototype.
  7339. (i386_cygwin_init_abi): Don't set deprecated_frame_chain and
  7340. deprecated_frame_chain_valid.
  7341. * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set
  7342. TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset.
  7343. Rely on the SVR4 defaults.
  7344. * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o.
  7345. * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies.
  7346. 2003-05-30 Andrew Cagney <cagney@redhat.com>
  7347. * infcall.c (call_function_by_hand): Always call
  7348. DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case.
  7349. 2003-05-30 Richard Henderson <rth@redhat.com>
  7350. * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop
  7351. increment.
  7352. 2003-05-29 Jim Blandy <jimb@redhat.com>
  7353. Use gdbarch methods for solib stuff on PowerPC Linux.
  7354. * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE,
  7355. SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will
  7356. show through.
  7357. * ppc-linux-tdep.c (ppc_linux_init_abi): Register
  7358. IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here,
  7359. giving the same effect as the #definitions above.
  7360. 2003-05-29 Adam Fedor <fedor@gnu.org>
  7361. * objc-lang.c (CONVERT_FUNCPTR): Remove macro
  7362. (find_implementation_from_class): Replace it with the standard
  7363. case i.e. do nothing.
  7364. 2003-05-29 Richard Henderson <rth@redhat.com>
  7365. * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New.
  7366. (alpha_linux_sigtramp_offset): Use it. Make static.
  7367. (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn;
  7368. update for new frame model.
  7369. * alpha-mdebug-tdep.c: New file.
  7370. * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c.
  7371. (alpha_osf1_init_abi): Install it.
  7372. * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c.
  7373. (linked_proc_desc_table): Remove.
  7374. (alpha_frame_past_sigtramp_frame): Remove.
  7375. (alpha_dynamic_sigtramp_offset): Remove.
  7376. (ALPHA_PROC_SIGTRAMP_MAGIC): Remove.
  7377. (alpha_proc_desc_is_dyn_sigtramp): Remove.
  7378. (alpha_set_proc_desc_is_dyn_sigtramp): Remove.
  7379. (push_sigtramp_desc): Remove.
  7380. (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM.
  7381. (alpha_cannot_store_register): Likewise.
  7382. (alpha_sigcontext_addr): Remove.
  7383. (alpha_find_saved_regs): Remove.
  7384. (alpha_frame_init_saved_regs): Remove.
  7385. (alpha_init_frame_pc_first): Remove.
  7386. (read_next_frame_reg): Remove.
  7387. (alpha_frame_saved_pc): Remove.
  7388. (alpha_saved_pc_after_call): Remove.
  7389. (temp_proc_desc, temp_saved_regs): Remove.
  7390. (alpha_about_to_return): Remove.
  7391. (cached_proc_desc): Remove.
  7392. (alpha_frame_chain): Remove.
  7393. (alpha_print_extra_frame_info): Remove.
  7394. (alpha_init_extra_frame_info): Remove.
  7395. (alpha_frame_locals_address): Remove.
  7396. (alpha_frame_args_address): Remove.
  7397. (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR.
  7398. (alpha_push_dummy_frame): Remove.
  7399. (alpha_pop_frame): Remove.
  7400. (alpha_after_prologue): Rename from after_prologue; remove mdebug bits.
  7401. (alpha_read_insn): New.
  7402. (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust
  7403. for different insn encodings.
  7404. (alpha_in_lenient_prologue): Remove.
  7405. (struct alpha_sigtramp_unwind_cache): New.
  7406. (alpha_sigtramp_frame_unwind_cache): New.
  7407. (alpha_sigtramp_register_address): New.
  7408. (alpha_sigtramp_frame_this_id): New.
  7409. (alpha_sigtramp_frame_prev_register): New.
  7410. (alpha_sigtramp_frame_unwind): New.
  7411. (alpha_sigtramp_frame_p): New.
  7412. (struct alpha_heuristic_unwind_cache): New.
  7413. (alpha_heuristic_proc_start): Rename from heuristic_proc_start;
  7414. don't count nop insns that occur between functions.
  7415. (alpha_heuristic_frame_unwind_cache): New; incorporate much of
  7416. heuristic_proc_desc, but without the mdebug wrapping.
  7417. (alpha_heuristic_frame_this_id): New.
  7418. (alpha_heuristic_frame_prev_register): New.
  7419. (alpha_heuristic_frame_unwind): New.
  7420. (alpha_heuristic_frame_p): New.
  7421. (alpha_heuristic_frame_base_address): New.
  7422. (alpha_heuristic_frame_base): New.
  7423. (alpha_unwind_dummy_id): New.
  7424. (alpha_unwind_pc): New.
  7425. (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of
  7426. frame related deprecated initializations; install replacements.
  7427. (alpha_dump_tdep): Remove.
  7428. * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame.
  7429. (alpha_read_insn, alpha_after_prologue,
  7430. alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id,
  7431. alpha_heuristic_frame_prev_register,
  7432. alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare.
  7433. * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
  7434. * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove.
  7435. * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove.
  7436. 2003-05-29 Andrew Cagney <cagney@redhat.com>
  7437. * gdb_assert.h (gdb_assert_fail): Provide different definitions
  7438. dependant on the availability of ASSERT_FUNCTION.
  7439. (ASSERT_FUNCTION): Do not define when there is no function name.
  7440. 2003-05-29 Kevin Buettner <kevinb@redhat.com>
  7441. From Jimi X <jimix@watson.ibm.com>:
  7442. * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code.
  7443. 2003-05-28 Jim Blandy <jimb@redhat.com>
  7444. * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth
  7445. argument to ptrace to int; the system headers should give it the
  7446. right type, and pointers don't fit in ints on powerpc64-*-*.
  7447. 2003-05-28 H.J. Lu <hongjiu.lu@intel.com>
  7448. * dwarf2read.c (process_die): Handle DW_TAG_try_block and
  7449. DW_TAG_catch_block.
  7450. 2003-05-26 Elena Zannoni <ezannoni@redhat.com>
  7451. * stabsread.c (dbx_lookup_type): Make static.
  7452. (read_type): Ditto.
  7453. (add_undefined_type): Ditto.
  7454. * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do
  7455. not export.
  7456. 2003-05-26 Elena Zannoni <ezannoni@redhat.com>
  7457. * hpread.c (hpread_has_name): Make static.
  7458. (hpread_psymtab_to_symtab): Ditto.
  7459. (file_exists): Ditto.
  7460. (hpread_call_pxdb): Ditto.
  7461. (hpread_pxdb_needed): Ditto.
  7462. (hpread_quick_traverse): Ditto.
  7463. (hpread_get_header): Ditto.
  7464. (hpread_get_lntt): Ditto.
  7465. (hpread_get_slt): Ditto.
  7466. (class_of): Ditto.
  7467. 2003-05-25 Andreas Schwab <schwab@suse.de>
  7468. * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of
  7469. stack_align and deprecated_extra_stack_alignment_needed.
  7470. (m68k_stack_align): Delete.
  7471. * m68k-tdep.c (m68k_register_raw_size): Remove cast.
  7472. (m68k_register_virtual_size): Likewise.
  7473. (altos_skip_prologue): Remove obsolete function.
  7474. (isi_frame_num_args): Likewise.
  7475. (news_frame_num_args): Likewise.
  7476. (m68k_fix_call_dummy): Make static.
  7477. (m68k_push_dummy_frame): Likewise.
  7478. (m68k_pop_frame): Likewise.
  7479. (m68k_skip_prologue): Likewise.
  7480. (m68k_frame_init_saved_regs): Likewise.
  7481. (m68k_saved_pc_after_call): Likewise.
  7482. (m68k_get_longjmp_target): Make multi-arch.
  7483. (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep
  7484. structure. Register m68k_get_longjmp_target if enabled.
  7485. * m68k-tdep.h (struct gdbarch_tdep): Define.
  7486. * config/m68k/tm-m68k.h: Don't include "regcache.h".
  7487. * Makefile.in (config.status): Also depend on configure.tgt
  7488. and configure.host.
  7489. (m68klinux-tdep.o): Update dependencies.
  7490. * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1.
  7491. * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define.
  7492. (M68K_LINUX_JB_PC): Define.
  7493. (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp
  7494. and take additional parameter.
  7495. (m68k_linux_sigtramp_saved_pc): Update.
  7496. (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register
  7497. m68k_linux_pc_in_sigtramp, in_plt_section,
  7498. find_solib_trampoline_target.
  7499. * config/m68k/tm-linux.h: Don't include any tm headers.
  7500. (START_INFERIOR_TRAPS_EXPECTED): Remove definition.
  7501. (JB_ELEMENT_SIZE): Likewise.
  7502. (JB_PC): Likewise.
  7503. (GET_LONGJMP_TARGET): Likewise.
  7504. (IN_SIGTRAMP): Likewise.
  7505. (SVR4_SHARED_LIBS): Define this and include "solib.h".
  7506. 2003-05-25 Mark Kettenis <kettenis@gnu.org>
  7507. * sparc-tdep.c (sparc32_do_push_arguments): New function.
  7508. (sparc32_push_arguments): Re-implement by calling
  7509. sparc32_do_push_arguments.
  7510. 2003-05-25 Mark Kettenis <kettenis@gnu.org>
  7511. * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM,
  7512. SPARC_O1_REGNUM): New defines.
  7513. (sparc32_extract_return_value): Rewrite to operate on a regcache.
  7514. (sparc32_store_return_value): New function.
  7515. (sparc_extract_struct_value_address): Rewrite to operate on a
  7516. regcache.
  7517. (sparc_gdbarch_init): Don't set
  7518. deprecated_extract_struct_value_address. Set
  7519. extract_struct_value_address instead. Don't set
  7520. deprecated_extract_return_value and deprecated_store_return_value
  7521. for 32-bit targets. Set extract_return_value and
  7522. store_return_value instead.
  7523. * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE,
  7524. DEPRECATED_EXTRACT_RETURN_VALUE,
  7525. DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these.
  7526. (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE,
  7527. EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead.
  7528. (sparc_store_return_value): Remove prototype.
  7529. (sparc32_store_return_value): New prototype.
  7530. (sparc32_extract_return_value, sparc_extract_struct_value_address):
  7531. Adjust prototypes.
  7532. 2003-05-24 Mark Kettenis <kettenis@gnu.org>
  7533. * sparcnbsd-tdep.c: Include "gdb_string.h".
  7534. 2003-05-23 Andrew Cagney <cagney@redhat.com>
  7535. * p-valprint.c (pascal_val_print): Replace extract_address with
  7536. the inline equivalent extract_unsigned_integer.
  7537. * jv-valprint.c (java_value_print): Ditto.
  7538. * ada-valprint.c (ada_val_print_1): Ditto.
  7539. * ada-lang.h (EXTRACT_ADDRESS): Ditto.
  7540. 2003-05-23 Theodore A. Roth <troth@openavr.org>
  7541. * blockframe.c (frameless_look_for_prologue): Remove unused
  7542. after_prologue variable.
  7543. 2003-05-23 Mark Kettenis <kettenis@gnu.org>
  7544. * blockframe.c (get_pc_function_start): Rewrite to avoid
  7545. asignments in if-statements.
  7546. 2003-05-23 Raoul Gough <RaoulGough@yahoo.co.uk>
  7547. Committed by Elena Zannoni <ezannoni@redhat.com>.
  7548. * coffread.c(coff_symtab_read): Do relocate static symbols from PE
  7549. files, don't relocate absolute symbols (and do use mst_abs).
  7550. 2003-05-23 Andrew Cagney <cagney@redhat.com>
  7551. * objc-lang.c: Include "gdb_assert.h".
  7552. (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0.
  7553. (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros.
  7554. (gdb_check, gdb_check_fatal): Delete functions.
  7555. (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with
  7556. gdb_assert.
  7557. (parse_selector, parse_method, find_methods, find_imps): Ditto.
  7558. * Makefile.in (objc-lang.o): Update dependencies.
  7559. 2003-05-22 Ian Lance Taylor <ian@airs.com>
  7560. * disasm.c (gdb_disassemble_info): Initialize disassemble_info
  7561. with fprintf_filtered, not fprintf_unfiltered.
  7562. 2003-05-22 Andrew Cagney <cagney@redhat.com>
  7563. * stack.c (frame_info): Inline extract_address, replacing it with
  7564. extract_unsigned_integer.
  7565. * findvar.c (unsigned_pointer_to_address): Ditto.
  7566. * dwarf2loc.c (dwarf_expr_read_reg): Ditto.
  7567. * dwarf2expr.c (dwarf2_read_address): Ditto.
  7568. * frame.c (frame_pc_unwind): Update comment.
  7569. * dummy-frame.c (deprecated_read_register_dummy): Update comment.
  7570. 2003-05-22 Jeff Johnston <jjohnstn@redhat.com>
  7571. * infptrace.c (detach): Call print_sys_errmsg rather than
  7572. perror_with_name to issue warning message when errno is non-zero
  7573. after calling ptrace detach.
  7574. 2003-05-21 J. Brobecker <brobecker@gnat.com>
  7575. * config/pa/tm-hppa.h: Delete some unused macros. Move some
  7576. macro definitions from here...
  7577. * hppa-tdep.c: ...to there.
  7578. 2003-05-20 Kevin Buettner <kevinb@redhat.com>
  7579. * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function
  7580. register_ptrace_addr(). Fix all callers.
  7581. 2003-05-21 Andreas Schwab <schwab@suse.de>
  7582. * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update
  7583. dependencies.
  7584. * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the
  7585. end.
  7586. * m68klinux-tdep.c (m68k_linux_init_abi): New function.
  7587. (_initialize_m68k_linux_tdep): New function.
  7588. (m68k_linux_frame_saved_pc): Make static.
  7589. (m68k_linux_extract_return_value): Likewise.
  7590. (m68k_linux_store_return_value): Likewise.
  7591. (m68k_linux_extract_struct_value_address): Likewise.
  7592. * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE):
  7593. Remove.
  7594. (DEPRECATED_STORE_RETURN_VALUE): Remove.
  7595. (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
  7596. (DEPRECATED_FRAME_SAVED_PC): Remove.
  7597. 2003-05-20 Kris Warkentin <kewarken@qnx.com>
  7598. * nto-tdep.c (fetch_core_registers): Match gdb's idea of
  7599. regset numbering rather than our own.
  7600. 2003-05-19 David Carlton <carlton@bactrian.org>
  7601. * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*.
  7602. 2003-05-19 David Carlton <carlton@bactrian.org>
  7603. Partial fix for PR c++/827.
  7604. * cp-support.h: Include symtab.h.
  7605. Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace.
  7606. * cp-namespace.c: Update contributors.
  7607. (cp_lookup_symbol_nonlocal): New.
  7608. (lookup_namespace_scope, cp_lookup_symbol_namespace)
  7609. (lookup_symbol_file): Ditto.
  7610. * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal.
  7611. * block.h: Declare block_scope, block_using, block_global_block.
  7612. * block.c (block_scope): New.
  7613. (block_using, block_global_block): Ditto.
  7614. * Makefile.in (cp_support_h): Depend on symtab_h.
  7615. * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc.
  7616. 2003-05-19 David Carlton <carlton@bactrian.org>
  7617. * language.h (struct language_defn): Add 'la_value_of_this'
  7618. and 'la_lookup_symbol_nonlocal' members.
  7619. * symtab.h: Declare basic_lookup_symbol_nonlocal,
  7620. lookup_symbol_static, lookup_symbol_global,
  7621. lookup_symbol_aux_block.
  7622. * symtab.c (lookup_symbol_aux): Call language hooks to determine
  7623. if we should search fields of this and how to do static/global
  7624. lookup.
  7625. (lookup_symbol_aux_block): Make extern.
  7626. (basic_lookup_symbol_nonlocal): New.
  7627. (lookup_symbol_static, lookup_symbol_global): Ditto.
  7628. * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and
  7629. 'la_lookup_symbol_nonlocal' members.
  7630. * c-lang.c (c_language_defn, cplus_language_defn)
  7631. (asm_language_defn, minimal_language_defn): Ditto.
  7632. * jv-lang.c (java_language_defn): Ditto.
  7633. * language.c (unknown_language_defn, auto_language_defn)
  7634. (local_language_defn): Ditto.
  7635. * m2-lang.c (m2_language_defn): Ditto.
  7636. * objc-lang.c (objc_language_defn): Ditto.
  7637. * scm-lang.c (scm_language_defn): Ditto.
  7638. * f-lang.c (f_language_defn): Ditto, and include value.h as well.
  7639. * p-lang.c (pascal_language_defn): Ditto for both.
  7640. * Makefile.in (f-lang.o): Depend on value_h.
  7641. (p-lang.o): Ditto.
  7642. 2003-05-19 David Carlton <carlton@bactrian.org>
  7643. * block.h: Declare block_static_block.
  7644. * block.c (block_static_block): New.
  7645. * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to
  7646. lookup_symbol_aux_local, calling block_static_block instead.
  7647. (lookup_symbol_aux_local): Delete 'static_block' argument.
  7648. 2003-05-19 David Carlton <carlton@bactrian.org>
  7649. * symtab.c (lookup_symbol_aux): Delete #if 0 hunk.
  7650. 2003-05-19 Michal Ludvig <mludvig@suse.cz>
  7651. * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix
  7652. register numbers mapping.
  7653. 2003-05-18 Adam Fedor <fedor@gnu.org>
  7654. * symtab.c (completion_list_objc_symbol): New function.
  7655. (make_symbol_completion_list): Use it to add ObjC symbols
  7656. when looking though the list.
  7657. (language_search_unquoted_string): New function.
  7658. (make_file_symbol_completion_list): Use it.
  7659. 2003-05-18 Andreas Schwab <schwab@suse.de>
  7660. * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update
  7661. dependencies.
  7662. * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define
  7663. as m68k_linux_extract_return_value.
  7664. (DEPRECATED_STORE_RETURN_VALUE): Define as
  7665. m68k_linux_store_return_value.
  7666. (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as
  7667. m68k_linux_extract_struct_value_address.
  7668. * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use
  7669. get_next_frame, get_frame_base, get_frame_pc.
  7670. (m68k_linux_frame_saved_pc): Use get_frame_base.
  7671. (m68k_linux_extract_return_value): New function.
  7672. (m68k_linux_store_return_value): New function.
  7673. (m68k_linux_extract_struct_value_address): New function.
  7674. * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target.
  7675. * c-exp.y (typebase): Remove duplicate occurence of
  7676. `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead
  7677. of lookup_signed_typename.
  7678. 2003-05-18 Mark Kettenis <kettenis@gnu.org>
  7679. * dwarf2loc.c (find_location_expression): Change type of second
  7680. argument to `size_t *'.
  7681. (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t
  7682. for size variable.
  7683. 2003-05-18 David Carlton <carlton@bactrian.org>
  7684. * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to
  7685. 'linkage_name'. Add comment.
  7686. (lookup_symbol_aux_local): Rename 'mangled_name' argument to
  7687. 'linkage_name'.
  7688. (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
  7689. (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms)
  7690. (lookup_block_symbol): Ditto.
  7691. 2003-05-16 Andrew Cagney <cagney@redhat.com>
  7692. * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES.
  7693. * gdbarch.h, gdbarch.c: Re-generate.
  7694. * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference.
  7695. * TODO (REGISTER_BYTES): Delete reference.
  7696. * alpha-tdep.c (alpha_gdbarch_init): Update.
  7697. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  7698. * x86-64-tdep.c (x86_64_init_abi): Update.
  7699. * vax-tdep.c (vax_gdbarch_init): Update.
  7700. * v850-tdep.c (v850_gdbarch_init): Update.
  7701. * sparc-tdep.c (sparc_gdbarch_init): Update.
  7702. * sh-tdep.c (sh_gdbarch_init): Update.
  7703. * s390-tdep.c (s390_gdbarch_init): Update.
  7704. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  7705. * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update.
  7706. (ns32k_gdbarch_init_32382): Update.
  7707. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  7708. * mcore-tdep.c (mcore_gdbarch_init): Update.
  7709. * m68k-tdep.c (m68k_gdbarch_init): Update.
  7710. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  7711. * ia64-tdep.c (ia64_gdbarch_init): Update.
  7712. * i386-tdep.c (i386_gdbarch_init): Update.
  7713. * i386-linux-tdep.c (i386_linux_init_abi): Update.
  7714. * hppa-tdep.c (hppa_gdbarch_init): Update.
  7715. * h8300-tdep.c (h8300_gdbarch_init): Update.
  7716. * frv-tdep.c (frv_gdbarch_init): Update.
  7717. * cris-tdep.c (cris_gdbarch_init): Update.
  7718. * avr-tdep.c (avr_gdbarch_init): Update.
  7719. * arm-tdep.c (arm_gdbarch_init): Update.
  7720. * sparc-tdep.c (sparc_pop_frame): Update.
  7721. * rs6000-tdep.c (rs6000_pop_frame): Update.
  7722. * remote.c (init_remote_state): Update.
  7723. (remote_prepare_to_store): Update.
  7724. * remote-vx.c (vx_prepare_to_store): Update.
  7725. * remote-sds.c (sds_fetch_registers): Update.
  7726. (sds_prepare_to_store): Update.
  7727. * remote-array.c: Update.
  7728. * regcache.c (init_legacy_regcache_descr): Update.
  7729. (init_regcache_descr): Update.
  7730. * mips-tdep.c (mips_eabi_extract_return_value): Update.
  7731. (mips_o64_extract_return_value): Update.
  7732. * irix5-nat.c (fetch_core_registers): Update.
  7733. * irix4-nat.c (fetch_core_registers): Update.
  7734. * i386-tdep.h: Update.
  7735. * hppa-tdep.c (pa_do_registers_info): Update.
  7736. (pa_do_strcat_registers_info): Update.
  7737. * cris-tdep.c (cris_register_bytes_ok): Update.
  7738. * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update.
  7739. * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update.
  7740. * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update.
  7741. * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update.
  7742. * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update.
  7743. * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update.
  7744. * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update.
  7745. * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update.
  7746. * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update.
  7747. * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update.
  7748. * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update.
  7749. * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update.
  7750. (REGISTER_BYTES_OK): Update.
  7751. * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update.
  7752. * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update.
  7753. 2003-05-16 Ian Lance Taylor <ian@airs.com>
  7754. * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define.
  7755. (vax_print_insn, print_insn_arg): Remove static functions.
  7756. (vax_gdbarch_init): Call set_gdbarch_print_insn with
  7757. print_insn_vax from opcodes library.
  7758. (_initialize_vax_tdep): Don't set deprecated_tm_print_insn.
  7759. 2003-05-15 Andrew Cagney <cagney@redhat.com>
  7760. * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration.
  7761. * target.h (memory_breakpoint_from_pc): Delete declaration.
  7762. * mem-break.c (memory_breakpoint_from_pc): Delete function.
  7763. * arch-utils.c (legacy_breakpoint_from_pc): Delete function.
  7764. * monitor.c (monitor_insert_breakpoint): Use
  7765. gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc.
  7766. * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default.
  7767. * gdbarch.h, gdbarch.c: Re-generate.
  7768. * sparc-tdep.c (sparc_breakpoint_from_pc): New function.
  7769. (sparc_gdbarch_init): Set breakpoint_from_pc to
  7770. sparc_breakpoint_from_pc.
  7771. * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro.
  7772. (BREAKPOINT_FROM_PC): Define.
  7773. (sparc_breakpoint_from_pc): Declare.
  7774. * hppa-tdep.c (hppa_breakpoint_from_pc): New function.
  7775. * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare.
  7776. (BREAKPOINT_FROM_PC): Define.
  7777. (BREAKPOINT): Delete macro.
  7778. * target.h: Update comment.
  7779. * s390-tdep.c (s390_gdbarch_init): Update comments.
  7780. * remote.c: Update comments.
  7781. * remote-mips.c: Update comments.
  7782. * proc-api.c (write_with_trace): Do not check for a breakpoint.
  7783. * mem-break.c: Update comment.
  7784. * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT.
  7785. (ia64_memory_insert_breakpoint): Update.
  7786. * config/sparc/tm-sparc.h: Update comment.
  7787. * config/pa/tm-hppa64.h: Update comment.
  7788. * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro.
  7789. (rs6000_breakpoint_from_pc): Update.
  7790. * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro.
  7791. (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro.
  7792. (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro.
  7793. (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro.
  7794. (mips_breakpoint_from_pc): Update.
  7795. (mips_dump_tdep): Update.
  7796. * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro.
  7797. * minsyms.c (lookup_minimal_symbol): Inline
  7798. DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp.
  7799. * c-lang.c (c_printstr): Delete "extern inspect_it" declaration.
  7800. * p-valprint.c (pascal_object_print_value_fields): Ditto.
  7801. * p-lang.c (pascal_printstr): Ditto.
  7802. * objc-lang.c (objc_printstr): Ditto.
  7803. * m2-lang.c (m2_printstr): Ditto.
  7804. * jv-valprint.c (java_print_value_fields): Ditto.
  7805. * f-lang.c (f_printstr): Ditto.
  7806. * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h".
  7807. * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and
  7808. for repeat_count_threshold.
  7809. * Makefile.in (cp-valprint.o): Update dependencies.
  7810. 2003-05-15 Jeff Johnston <jjohnstn@redhat.com>
  7811. * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40.
  7812. (examine_prologue): Support looking through leaf functions, knowing
  7813. they start with mov r2,r12. Support skipping over indirect stores
  7814. of the input registers. Upon hitting a non-nop branch instruction
  7815. or predicated instruction, bail out by setting lim_pc to the current
  7816. pc value in the loop. At the end, if the lim_pc value is still
  7817. beyond our calculated value and we have trust_limit set,
  7818. use the lim_pc value.
  7819. 2003-05-15 Andrew Cagney <cagney@redhat.com>
  7820. * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename
  7821. generic_find_dummy_frame.
  7822. * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update.
  7823. (deprecated_generic_find_dummy_frame): Update.
  7824. (deprecated_read_register_dummy): Update.
  7825. * frame.c (deprecated_generic_get_saved_register): Update.
  7826. 2003-05-15 Theodore A. Roth <troth@openavr.org>
  7827. * avr-tdep.c (avr_breakpoint_from_pc): New function.
  7828. (avr_gdbarch_init): Set breakpoint_from_pc method.
  7829. 2003-05-15 Andrew Cagney <cagney@redhat.com>
  7830. * regcache.c (build_regcache): Set deprecated_register_valid
  7831. directly.
  7832. (deprecated_grub_regcache_for_register_valid): Delete function.
  7833. * regcache.h (deprecated_grub_regcache_for_register_valid): Delete
  7834. declaration.
  7835. 2003-05-15 David Carlton <carlton@bactrian.org>
  7836. Committed by Elena Zannoni <ezannoni@redhat.com>
  7837. * symtab.c (lookup_symbol_aux): Delete calls to
  7838. lookup_symbol_aux_minsyms.
  7839. (lookup_symbol_aux_minsyms): Comment out function and
  7840. prototype. Delete lookup by mangled name.
  7841. 2003-05-14 Kevin Buettner <kevinb@redhat.com>
  7842. * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to
  7843. correctly indicate an empty stack and ``stack_allocated'' to the
  7844. indicate the number of elements initially allocated.
  7845. (dwarf_expr_grow_stack): Simplify method for computing new
  7846. stack size. Don't loop infinitely if ``stack_len'' is zero.
  7847. (execute_stack_op): Move ``ctx->in_reg'' initialization
  7848. out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to
  7849. be used in conjunction with DW_OP_piece. Revise error message
  7850. accordingly.
  7851. 2003-05-14 Theodore A. Roth <troth@openavr.org>
  7852. * MAINTAINERS: Update my email address.
  7853. * avr-tdep.c: Ditto.
  7854. 2003-05-14 Elena Zannoni <ezannoni@redhat.com>
  7855. * symtab.h (enum domain_enum): Rename from namespace_enum.
  7856. (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN,
  7857. VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN):
  7858. Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE,
  7859. LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE,
  7860. TYPES_NAMESPACE, METHODS_NAMESPACE.
  7861. (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN.
  7862. (struct symbol, struct partial_symbol): Rename field
  7863. 'namespace_enum namespace' to 'domain_enum domain'.
  7864. (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN.
  7865. Delete old define kludge for namespace.
  7866. * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c,
  7867. blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c,
  7868. dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h,
  7869. gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c,
  7870. language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c,
  7871. mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c,
  7872. p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c,
  7873. stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c,
  7874. valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all
  7875. occurrences of the above.
  7876. 2003-05-14 Ian Lance Taylor <ian@airs.com>
  7877. * Makefile.in (install-only): Use $(SHELL) when running
  7878. mkinstalldirs.
  7879. 2003-05-13 Ian Lance Taylor <ian@airs.com>
  7880. * MAINTAINERS (write after approval): Add myself.
  7881. * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap
  7882. second and third arguments.
  7883. * ser-tcp.c (_initialize_ser_tcp): Likewise.
  7884. * ser-unix.c (_initialize_ser_hardwire): Likewise.
  7885. 2003-05-13 Andrew Cagney <cagney@redhat.com>
  7886. * defs.h (store_address): Delete declaration.
  7887. findvar.c (store_address): Delete function.
  7888. * arm-tdep.c (arm_push_dummy_call): Replace store_address with
  7889. store_unsigned_integer.
  7890. * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto.
  7891. * v850-tdep.c (v850_push_arguments): Ditto.
  7892. * sparc-tdep.c (sparc_get_saved_register): Ditto.
  7893. * sh-tdep.c (sh64_get_saved_register): Ditto.
  7894. * rs6000-tdep.c (rs6000_push_arguments): Ditto.
  7895. * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto.
  7896. * mips-tdep.c (mips_eabi_push_arguments): Ditto.
  7897. (mips_get_saved_register): Ditto.
  7898. * ia64-tdep.c (ia64_get_saved_register): Ditto.
  7899. (find_func_descr, ia64_push_arguments): Ditto.
  7900. * i386-tdep.c (i386_push_arguments): Ditto.
  7901. * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
  7902. * frv-tdep.c (frv_push_arguments): Ditto.
  7903. * frame.c (legacy_saved_regs_prev_register): Ditto.
  7904. (deprecated_generic_get_saved_register): Ditto.
  7905. * findvar.c (unsigned_address_to_pointer): Ditto.
  7906. * dwarf2read.c (dwarf2_const_value): Ditto.
  7907. * arm-linux-tdep.c (arm_linux_push_arguments): Ditto.
  7908. * alpha-tdep.c (alpha_push_arguments): Ditto.
  7909. 2003-05-12 J. Brobecker <brobecker@gnat.com>
  7910. * NEWS: Mention that the hppa-hpux port has been partially
  7911. multiarched (32bit ABIT only, so far).
  7912. 2003-05-11 Andrew Cagney <cagney@redhat.com>
  7913. * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol.
  7914. * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h,
  7915. include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms,
  7916. sim/testsuite/sim/arm/misaligned2.ms, and
  7917. sim/testsuite/sim/arm/misaligned3.ms.
  7918. * disasm.h (struct ui_file): Add opaque struct declaration.
  7919. * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto.
  7920. * frame.h (struct ui_file): Ditto.
  7921. 2003-05-11 Mark Kettenis <kettenis@gnu.org>
  7922. * value.h: Pretty print.
  7923. 2003-05-10 Mark Kettenis <kettenis@gnu.org>
  7924. * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define.
  7925. 2003-05-08 Andrew Cagney <cagney@redhat.com>
  7926. * regcache.h (max_register_size): Delete declaration.
  7927. * regcache.c (max_register_size): Delete function.
  7928. (struct regcache_descr): Delete field "max_register_size".
  7929. (init_regcache_descr, init_legacy_regcache_descr): Assert that all
  7930. registers fit in MAX_REGISTER_SIZE.
  7931. (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE.
  7932. (regcache_restore, regcache_xfer_part, regcache_dump): Ditto.
  7933. * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE.
  7934. * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto.
  7935. * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto.
  7936. * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto.
  7937. * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto.
  7938. * dve3900-rom.c, hppa-tdep.c: Ditto.
  7939. 2003-05-08 David Carlton <carlton@math.stanford.edu>
  7940. * valops.c (push_word): Fix typo.
  7941. 2003-05-08 Andrew Cagney <cagney@redhat.com>
  7942. * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE.
  7943. * gdbarch.h: Re-generate.
  7944. * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro.
  7945. (legacy_max_register_raw_size): Delete declaration.
  7946. * regcache.c (legacy_max_register_raw_size): Delete function.
  7947. * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE.
  7948. * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto.
  7949. * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto.
  7950. * remote-rdp.c, remote-array.c, regcache.c: Ditto.
  7951. * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto.
  7952. * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto.
  7953. * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto.
  7954. * findvar.c, dwarf2cfi.c: Ditto.
  7955. 2003-05-08 Andrew Cagney <cagney@redhat.com>
  7956. * mips-tdep.c (read_signed_register): New function, moved to here
  7957. from "regcache.c".
  7958. (read_signed_register_pid): Ditto.
  7959. * regcache.c (read_signed_register_pid): Delete function, moved to
  7960. "mips-tdep.c".
  7961. (read_signed_register): Ditto.
  7962. * regcache.h (read_signed_register): Delete declaration.
  7963. (read_signed_register_pid): Delete declaration.
  7964. 2003-05-08 Andrew Cagney <cagney@redhat.com>
  7965. * gdbarch.sh: Add comments on MAX_REGISTER_SIZE.
  7966. * gdbarch.h: Re-generate.
  7967. * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro.
  7968. (legacy_max_register_virtual_size): Delete declaration.
  7969. * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE.
  7970. * d10v-tdep.c (d10v_print_registers_info): Ditto.
  7971. * tracepoint.c (memrange_sortmerge): Ditto.
  7972. * sparc-tdep.c (sparc_print_registers): Ditto.
  7973. * regcache.c (legacy_max_register_virtual_size): Delete function.
  7974. 2002-05-08 J. Brobecker <brobecker@gnat.com>
  7975. * fork-child.c (escape_bang_in_quoted_argument): New function.
  7976. (fork_inferior): Escape '!' characters in quoted arguments
  7977. only when needed.
  7978. 2003-05-08 J. Brobecker <brobecker@gnat.com>
  7979. * dwarf2read.c (set_cu_language): Set the language to "minimal" if
  7980. the language of the CU is not currently supported by GDB.
  7981. 2003-05-08 J. Brobecker <brobecker@gnat.com>
  7982. * defs.h (language): Add language_minimal enum value.
  7983. * c-lang.c (minimal_language_defn): New language definition.
  7984. (_initialize_c_language): Add the new minimal language to the list
  7985. of languages known to GDB.
  7986. 2003-05-08 Kevin Buettner <kevinb@redhat.com>
  7987. * frame.c (get_frame_type): Don't attempt to lazily initialize
  7988. frame's unwinder for legacy frames.
  7989. 2003-05-07 Andrew Cagney <cagney@redhat.com>
  7990. * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch"
  7991. and "regcache" parameters.
  7992. * avr-tdep.c (avr_remote_translate_xfer_address): Ditto.
  7993. 2003-05-07 Jeff Johnston <jjohnstn@redhat.com>
  7994. * dwarf2read.c (dwarf_decode_lines): Only use output of
  7995. check_cu_functions() when calling record_line(). Do not update
  7996. the current address.
  7997. 2003-05-07 Andrew Cagney <cagney@redhat.com>
  7998. * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR
  7999. code.
  8000. 2003-05-07 Jim Blandy <jimb@redhat.com>
  8001. Rename commands 'maint list symtabs' and 'maint list psymtabs' to
  8002. 'maint info symtabs' and 'maint info psymtabs'.
  8003. * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs):
  8004. Renamed from maintenance_list_symtabs and maintenance_list_psymtabs.
  8005. * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs):
  8006. Declarations updated.
  8007. * maint.c (maintenance_list_command): Delete.
  8008. (_initialize_maint_cmds): Update calls to add_cmd.
  8009. * gdbcmd.h (maintenancelistlist): Delete declaration.
  8010. * cli/cli-cmds.c (maintenancelistlist): Delete.
  8011. (init_cmd_lists): Don't initialize it.
  8012. * cli/cli-cmds.h (maintenancelistlist): Delete declaration.
  8013. 2003-05-07 Andrew Cagney <cagney@redhat.com>
  8014. * d10v-tdep.c (remote_d10v_translate_xfer_address): Add
  8015. "regcache".
  8016. (d10v_print_registers_info): Update.
  8017. (d10v_dmap_register, d10v_imap_register): Delete functions.
  8018. (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register"
  8019. and "imap_register".
  8020. (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache".
  8021. (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache".
  8022. * arch-utils.c (generic_remote_translate_xfer_address): Add
  8023. "regcache" and "gdbarch" parameters.
  8024. * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache"
  8025. parameter. Change class to multi-arch.
  8026. * gdbarch.h, gdbarch.c: Re-generate.
  8027. * remote.c (remote_xfer_memory): Use
  8028. gdbarch_remote_translate_xfer_address.
  8029. 2003-05-07 Jeff Johnston <jjohnstn@redhat.com>
  8030. * infrun.c (prev_pc): Move declaration ahead of proceed().
  8031. (proceed): Refresh prev_pc value before resuming.
  8032. (stop_stepping): Remove code to refresh prev_pc.
  8033. 2003-05-06 Kris Warkentin <kewarken@qnx.com>
  8034. * nto-tdep.c: Removed stray comment.
  8035. 2003-05-06 Kris Warkentin <kewarken@qnx.com>
  8036. * i386-nto-tdep.c: Fix old K&R function definitions.
  8037. * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h.
  8038. Also change add_show_from_set() call to add_setshow_cmd().
  8039. * nto-tdep.h: Remove PARAMS and grep ^func ARI hits.
  8040. 2003-05-05 Andrew Cagney <cagney@redhat.com>
  8041. * dummy-frame.c: Include "command.h" and "gdbcmd.h".
  8042. (fprint_dummy_frames): New function.
  8043. (maintenance_print_dummy_frames): New function.
  8044. (_initialize_dummy_frame): Add command "maint print dummy-frames".
  8045. * frame.c (fprint_frame_id): Make global.
  8046. * frame.h (fprint_frame_id): Declare.
  8047. * Makefile.in (dummy-frame.o): Update dependencies.
  8048. 2003-05-05 Andrew Cagney <cagney@redhat.com>
  8049. * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE.
  8050. (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename
  8051. SIZEOF_CALL_DUMMY_WORDS.
  8052. (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS.
  8053. (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY.
  8054. (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename
  8055. CALL_DUMMY_BREAKPOINT_OFFSET.
  8056. (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename
  8057. CALL_DUMMY_START_OFFSET.
  8058. (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH.
  8059. * gdbarch.h, gdbarch.c: Re-generate.
  8060. * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update.
  8061. * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update.
  8062. * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update.
  8063. * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update.
  8064. * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update.
  8065. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update.
  8066. * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update.
  8067. * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update.
  8068. * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update.
  8069. * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update.
  8070. * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update.
  8071. * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update.
  8072. * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update.
  8073. * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update.
  8074. * config/sparc/tm-sparc.h: Update.
  8075. 2003-05-05 Kris Warkentin <kewarken@qnx.com>
  8076. * configure.tgt: Add i[3456]86-*-nto*.
  8077. * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino.
  8078. * nto-tdep.c: New file. Neutrino target support routines.
  8079. * nto-tdep.h: New file. Neutrino target header.
  8080. * config/tm-qnxnto.h: New file.
  8081. * config/i386/i386nto.mt: New file.
  8082. * config/i386/tm-i386nto.h: New file.
  8083. 2003-05-04 Andrew Cagney <cagney@redhat.com>
  8084. * gdbthread.h (save_infrun_state): Drop prev_func_name parameter.
  8085. (load_infrun_state): Ditto.
  8086. (struct thread_info): Drop "prev_func_name" field.
  8087. * thread.c (load_infrun_state): Update.
  8088. (save_infrun_state): Update.
  8089. * infrun.c (prev_func_name): Delete variable.
  8090. (init_wait_for_inferior): Do not clear prev_func_name.
  8091. (stop_stepping, keep_going, context_switch): Do not swap
  8092. prev_func_name.
  8093. (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp
  8094. instead of PC_IN_SIGTRAMP.
  8095. 2003-05-04 Andrew Cagney <cagney@redhat.com>
  8096. * sentinel-frame.c (sentinel_frame_prev_register): Replace
  8097. REGISTER_BYTE with register_offset_hack.
  8098. * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check
  8099. that REGISTER_BYTE is consistent with the regcache.
  8100. * gdbarch.sh (REGISTER_BYTE): Add a predicate.
  8101. * gdbarch.h, gdbarch.c: Regenerate.
  8102. 2003-05-04 Mark Kettenis <kettenis@gnu.org>
  8103. * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15.
  8104. (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15.
  8105. * i386-linux-nat.c (supply_gregset): Remove unnecessary casts.
  8106. 2003-05-03 J. Brobecker <brobecker@gnat.com>
  8107. From Thierry Schneider <tpschneider1@yahoo.com>
  8108. * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o.
  8109. (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c.
  8110. (mi-cmd-symbol.o): Add rule.
  8111. 2003-05-03 Andrew Cagney <cagney@redhat.com>
  8112. * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add
  8113. comments noteing that it replaces the old FIX_CALL_DUMMY code.
  8114. * gdbarch.h, gdbarch.c: Re-generate.
  8115. * d10v-tdep.c (d10v_push_dummy_code): New function.
  8116. (d10v_gdbarch_init): Set push_dummy_code.
  8117. * infcall.c (legacy_push_dummy_code): New function.
  8118. (generic_push_dummy_code): New function.
  8119. (push_dummy_code): New function.
  8120. (call_function_by_hand): Call push_dummy_code. Pass bp_addr,
  8121. instead of dummy_addr, to push_dummy_call. Move call to
  8122. generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION
  8123. switch.
  8124. * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code.
  8125. 2003-05-03 Andrew Cagney <cagney@redhat.com>
  8126. * disasm.h (print_insn): Declare.
  8127. * disasm.c (init_gdb_disassemble_info): New function.
  8128. (gdb_disassembly): Call init_gdb_disassemble_info.
  8129. (gdb_print_insn): New function.
  8130. * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead
  8131. of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog".
  8132. * mcore-tdep.c: Include "disasm.h"
  8133. (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN.
  8134. * d10v-tdep.c: Include "disasm.h".
  8135. (display_trace): Call gdb_print_insn, instead of print_insn.
  8136. (print_insn): Delete function.
  8137. * printcmd.c: Include "disasm.h".
  8138. (print_insn): Delete function.
  8139. (print_formatted): Call gdb_print_insn, instead of print_insn.
  8140. * Makefile.in (printcmd.o): Update dependencies.
  8141. (mcore-tdep.o, d10v-tdep.o): Ditto.
  8142. 2003-05-02 Andrew Cagney <cagney@redhat.com>
  8143. * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef
  8144. PC_REGNUM, re-indent.
  8145. * stack.c (frame_info): Use "pc" for the name of get_frame_pc when
  8146. PC_REGNUM isn't set.
  8147. * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional.
  8148. * gdbarch.h, gdbarch.c: Re-generate.
  8149. * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size,
  8150. register_virtual_size, pc_regnum, or register_bytes.
  8151. (D10V_PC_REGNUM): Rename _PC_REGNUM.
  8152. (d10v_register_type): Use D10V_PC_REGNUM.
  8153. (d10v_print_registers_info, d10v_read_pc): Ditto.
  8154. (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto.
  8155. (d10v_unwind_pc, d10v_frame_prev_register): Ditto.
  8156. 2003-05-02 David Carlton <carlton@bactrian.org>
  8157. * objfiles.c (allocate_objfile): For anonymous objfiles, allocate
  8158. the name with mstrsave.
  8159. 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
  8160. * charset.c (GDB_DEFAULT_TARGET_CHARSET,
  8161. GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file.
  8162. (host_charset_name, target_charset_name): New vars for use by
  8163. set/show commands.
  8164. (host_charset_enum, target_charset_enum): New enums for set/show
  8165. commands.
  8166. (set_charset_sfunc, set_host_charset_sfunc,
  8167. set_target_charset_sfunc): New functions.
  8168. (set_host_charset, set_target_charset): Make static.
  8169. (list_charsets, set_host_charset_command,
  8170. set_target_charset_command): Delete functions.
  8171. (show_charset_command): Rewrite as....
  8172. (show_charset): Hook this up with the set/show command mechanism.
  8173. (_initialize_charset): Change names of charsets to match the
  8174. set/show enums. Use host_charset_name and target_charset_name.
  8175. Use set/show mechanism for charset, host-charset, target-charset
  8176. commands. Do not make 'show host-charset' and 'show
  8177. target-charset' be aliases of 'show charset'.
  8178. * charset.h (set_host_charset, set_target_charset): Don't export,
  8179. they are not used outside the file.
  8180. 2003-05-01 Andrew Cagney <cagney@redhat.com>
  8181. * disasm.c (gdb_disassemble_from_exec): Delete global variable.
  8182. (gdb_disassembly): Make "di" non static, always initialize and
  8183. cleanup. Always use dis_asm_read_memory.
  8184. (gdb_dis_asm_read_memory): Delete function.
  8185. 2003-05-01 Andrew Cagney <cagney@redhat.com>
  8186. * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align.
  8187. (d10v_gdbarch_init): Set frame_align instead of stack_align.
  8188. 2003-04-30 Andrew Cagney <cagney@redhat.com>
  8189. * gdbarch.sh (deprecated_tm_print_insn_info): Rename
  8190. "tm_print_insn_info".
  8191. (TARGET_PRINT_INSN_INFO): Delete macro.
  8192. (dis_asm_read_memory): Delete function declaration.
  8193. (dis_asm_memory_error, dis_asm_print_address): Ditto.
  8194. (tm_print_insn_info): Delete variable definition.
  8195. (_initialize_gdbarch): Do not initialize "tm_print_insn_info".
  8196. * gdbarch.h, gdbarch.c: Re-generate.
  8197. * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with
  8198. "deprecated_tm_print_insn_info".
  8199. * mcore-tdep.c (mcore_dump_insn): Ditto.
  8200. * mips-tdep.c (mips_gdbarch_init): Ditto.
  8201. * sparc-tdep.c (_initialize_sparc_tdep): Ditto.
  8202. * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto.
  8203. * ia64-tdep.c (_initialize_ia64_tdep): Ditto.
  8204. * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info"
  8205. instead of TARGET_PRINT_INSN_INFO, add comment.
  8206. * s390-tdep.c (s390_get_frame_info): Instead of
  8207. "dis_asm_read_memory", use "deprecated_tm_print_insn_info".
  8208. (s390_check_function_end, s390_is_sigreturn): Ditto.
  8209. * corefile.c (dis_asm_read_memory): Move to "disasm.c".
  8210. (dis_asm_memory_error, dis_asm_print_address): Ditto.
  8211. * disasm.c: Include "gdbcore.h".
  8212. (_initialize_disasm): New function, initialize
  8213. "deprecated_tm_print_insn_info".
  8214. (deprecated_tm_print_insn_info): New variable.
  8215. (dis_asm_read_memory): Moved from "corefile.c", made static.
  8216. (dis_asm_print_address, dis_asm_memory_error): Ditto.
  8217. * Makefile.in (disasm.o): Update dependencies.
  8218. 2003-04-30 Andrew Cagney <cagney@redhat.com>
  8219. * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.
  8220. 2003-04-29 Adam Fedor <fedor@gnu.org>
  8221. * eval.c (evaluate_subexp_standard): Handle ObjC ops.
  8222. * infcall.c (find_function_addr): Make non-static.
  8223. * infcall.h (find_function_addr): Declare.
  8224. * Makefile.in (eval.o): Update dependencies.
  8225. 2003-04-28 Adam Fedor <fedor@gnu.org>
  8226. * symtab.c (symbol_find_demangled_name): Check for and demangle
  8227. ObjC symbols.
  8228. (symbol_init_demangled_name): Init for language_objc as well.
  8229. 2003-04-28 Andrew Cagney <cagney@redhat.com>
  8230. * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP.
  8231. (DEPRECATED_FP_REGNUM): Replace FP_REGNUM.
  8232. * gdbarch.h, gdbarch.c: Re-generate.
  8233. * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM,
  8234. DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID.
  8235. * inferior.h (deprecated_read_fp): Rename read_fp.
  8236. (generic_target_read_fp): Delete declaration.
  8237. * regcache.c (generic_target_read_fp): Delete function.
  8238. (deprecated_read_fp): Replace read_fp, use
  8239. DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM.
  8240. * d10v-tdep.c (d10v_read_fp): Delete function.
  8241. (d10v_gdbarch_init): Do not set deprecated_read_fp.
  8242. * sparc-tdep.c (sparc_gdbarch_init): Do not set
  8243. deprecated_target_read_fp to generic_target_read_fp.
  8244. * sh-tdep.c (sh_gdbarch_init): Ditto.
  8245. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  8246. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  8247. * frv-tdep.c (frv_gdbarch_init): Ditto.
  8248. * xstormy16-tdep.c (xstormy16_gdbarch_init): Set
  8249. deprecated_fp_regnum.
  8250. * x86-64-tdep.c (x86_64_init_abi): Ditto.
  8251. * vax-tdep.c (vax_gdbarch_init): Ditto.
  8252. * v850-tdep.c (v850_gdbarch_init): Ditto.
  8253. * sparc-tdep.c (sparc_gdbarch_init): Ditto.
  8254. * sh-tdep.c (sh_gdbarch_init): Ditto.
  8255. * s390-tdep.c (s390_gdbarch_init): Ditto.
  8256. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  8257. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  8258. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  8259. * m68k-tdep.c (m68k_gdbarch_init): Ditto.
  8260. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  8261. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  8262. * i386-tdep.c (i386_gdbarch_init): Ditto.
  8263. * hppa-tdep.c (hppa_gdbarch_init): Ditto.
  8264. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  8265. * frv-tdep.c (frv_gdbarch_init): Ditto.
  8266. * cris-tdep.c (cris_gdbarch_init): Ditto.
  8267. * avr-tdep.c (avr_gdbarch_init): Ditto.
  8268. * arm-tdep.c (arm_gdbarch_init): Ditto.
  8269. * alpha-tdep.c (alpha_gdbarch_init): Ditto.
  8270. * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp.
  8271. * v850-tdep.c (v850_gdbarch_init): Ditto.
  8272. * sparc-tdep.c (sparc_gdbarch_init): Ditto.
  8273. * sh-tdep.c (sh_gdbarch_init): Ditto.
  8274. * s390-tdep.c (s390_gdbarch_init): Ditto.
  8275. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  8276. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  8277. * mips-tdep.c (mips_gdbarch_init): Ditto.
  8278. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  8279. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  8280. * hppa-tdep.c (hppa_gdbarch_init): Ditto.
  8281. * frv-tdep.c (frv_gdbarch_init): Ditto.
  8282. * avr-tdep.c (avr_gdbarch_init): Ditto.
  8283. * arm-tdep.c (arm_gdbarch_init): Ditto.
  8284. * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with
  8285. DEPRECATED_FP_REGNUM.
  8286. (vax_push_dummy_frame, vax_pop_frame): Ditto.
  8287. * std-regs.c (value_of_builtin_frame_fp_reg): Ditto.
  8288. * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
  8289. (sparc_push_dummy_frame, sparc64_read_fp): Ditto.
  8290. (sparc32_register_virtual_type): Ditto.
  8291. * sh-tdep.c (sh64_frame_chain): Ditto.
  8292. (sh64_get_saved_register, sh64_pop_frame): Ditto.
  8293. (sh_nofp_frame_init_saved_regs): Ditto.
  8294. (sh64_nofp_frame_init_saved_regs): Ditto.
  8295. (sh_fp_frame_init_saved_regs): Ditto.
  8296. * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
  8297. * remote-e7000.c (fetch_regs_from_dump): Ditto.
  8298. * procfs.c (procfs_fetch_registers): Ditto.
  8299. (procfs_store_registers): Ditto.
  8300. * ns32knbsd-nat.c (fetch_inferior_registers): Ditto.
  8301. (store_inferior_registers, fetch_core_registers): Ditto.
  8302. (fetch_kcore_registers, clear_regs): Ditto.
  8303. * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto.
  8304. (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto.
  8305. * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto.
  8306. * nlm/i386.c (do_status): Ditto.
  8307. * mipsv4-nat.c (supply_gregset): Ditto.
  8308. * mips-tdep.c: Ditto for comments.
  8309. * mips-nat.c (fetch_inferior_registers): Ditto.
  8310. (store_inferior_registers, fetch_core_registers): Ditto.
  8311. * m68k-tdep.c (m68k_push_dummy_frame): Ditto.
  8312. (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto.
  8313. * i386-tdep.c (i386_frame_init_saved_regs): Ditto.
  8314. (i386_do_pop_frame, i386_register_type): Ditto.
  8315. * hppa-tdep.c (hppa_frame_chain): Ditto.
  8316. (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto.
  8317. (hppa_pop_frame, hppa_read_fp): Ditto.
  8318. (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto.
  8319. * cris-tdep.c (cris_examine, cris_pop_frame): Ditto.
  8320. * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto.
  8321. * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto.
  8322. * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto.
  8323. * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto.
  8324. * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto.
  8325. * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto.
  8326. * blockframe.c: Ditto for comments.
  8327. * arch-utils.h: Ditto for comments.
  8328. * arch-utils.c (legacy_virtual_frame_pointer): Ditto.
  8329. * alphanbsd-tdep.c (fetch_core_registers): Ditto.
  8330. * alphabsd-nat.c (fetch_inferior_registers): Ditto.
  8331. * alpha-tdep.h: Ditto for comments.
  8332. * alpha-tdep.c (alpha_cannot_fetch_register): Ditto.
  8333. (alpha_cannot_store_register): Ditto.
  8334. (alpha_push_dummy_frame): Ditto.
  8335. * alpha-nat.c (supply_gregset): Ditto.
  8336. * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update.
  8337. * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update.
  8338. * config/sparc/tm-sparc.h: Update comment.
  8339. * hppa-tdep.c (hppa_init_extra_frame_info): Use
  8340. deprecated_read_fp instead of TARGET_READ_FP.
  8341. (hppa_init_extra_frame_info, hppa_frame_chain): Ditto.
  8342. (hppa_push_dummy_frame, hppa_read_fp): Ditto.
  8343. * sparc-tdep.c (sparc_init_extra_frame_info): Use
  8344. deprecated_read_fp instead of read_fp.
  8345. * s390-tdep.c (s390_push_arguments): Ditto.
  8346. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  8347. * frame.h: Ditto in comments.
  8348. * frame.c (legacy_get_prev_frame): Ditto.
  8349. * dummy-frame.c (dummy_frame_this_id): Ditto.
  8350. * arm-tdep.c (arm_init_extra_frame_info): Ditto.
  8351. 2003-04-28 Andrew Cagney <cagney@redhat.com>
  8352. * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn.
  8353. * gdbarch.h, gdbarch.c: Re-generate.
  8354. * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update.
  8355. * vax-tdep.c (_initialize_vax_tdep): Update.
  8356. * v850-tdep.c (_initialize_v850_tdep): Update.
  8357. * sparc-tdep.c (_initialize_sparc_tdep): Update.
  8358. * s390-tdep.c (_initialize_s390_tdep): Update.
  8359. * ns32k-tdep.c (_initialize_ns32k_tdep): Update.
  8360. * mn10300-tdep.c (_initialize_mn10300_tdep): Update.
  8361. * mips-tdep.c (_initialize_mips_tdep): Update.
  8362. * mcore-tdep.c (_initialize_mcore_tdep): Update.
  8363. * m68k-tdep.c (_initialize_m68k_tdep): Update.
  8364. * ia64-tdep.c (_initialize_ia64_tdep): Update.
  8365. * hppa-tdep.c (_initialize_hppa_tdep): Update.
  8366. * h8300-tdep.c (_initialize_h8300_tdep): Update.
  8367. * frv-tdep.c (_initialize_frv_tdep): Update.
  8368. * cris-tdep.c (cris_delayed_get_disassembler): Update.
  8369. (_initialize_cris_tdep): Update.
  8370. * arch-utils.c (legacy_print_insn): Update.
  8371. * alpha-tdep.c (_initialize_alpha_tdep): Update.
  8372. 2003-04-26 Adam Fedor <fedor@gnu.org>
  8373. * linespec.c (decode_objc): New function to decode ObjC calls
  8374. (decode_line_1): Check for ObjC calls (using decode_objc)
  8375. * Makefile (linespec.o): Update dependencies.
  8376. 2003-04-26 Daniel Jacobowitz <drow@mvista.com>
  8377. * breakpoint.h (struct breakpoint_ops): New.
  8378. (struct breakpoint): Add ops member.
  8379. * breakpoint.c (print_bp_stop_message, print_one_breakpoint)
  8380. (mention): Use new breakpoint ops member.
  8381. (set_raw_breakpoint): Initialize ops field to NULL.
  8382. (print_exception_catchpoint, print_one_exception_catchpoint)
  8383. (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New.
  8384. (gnu_v3_exception_catchpoint_ops): New.
  8385. (catch_exception_command_1): Call handle_gnu_v3_exceptions.
  8386. 2003-04-25 Adam Fedor <fedor@gnu.org>
  8387. * Makefile.in (COMMON_OBS): Add objc-lang.o
  8388. 2003-04-25 Andrew Cagney <cagney@redhat.com>
  8389. * d10v-tdep.c (print_insn): Delete function.
  8390. (display_trace): Use TARGET_PRINT_INSN.
  8391. (_initialize_d10v_tdep): Do not set tm_print_insn.
  8392. (d10v_gdbarch_init): Set print_insn.
  8393. 2003-04-25 Andrew Cagney <cagney@redhat.com>
  8394. * d10v-tdep.c (d10v_extract_return_value): Delete call to printf.
  8395. (_initialize_d10v_tdep): Use add_setshow_boolean_cmd.
  8396. (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC.
  8397. (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ...
  8398. (nr_dmap_regs, a0_regnum): ... new functions.
  8399. (d10v_print_registers_info): Use a0_regnum, use register_size.
  8400. (d10v_register_byte): Delete function.
  8401. (d10v_register_raw_size): Delete function.
  8402. (d10v_register_type): Use a0_regnum.
  8403. (d10v_print_registers_info): Use a0_regnum.
  8404. (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM.
  8405. (d10v_gdbarch_init): Do not set register_byte or
  8406. register_raw_size, use D10V_SP_REGNUM to set sp_regnum.
  8407. (d10v_pointer_to_address): Use extract_unsigned_integer instead of
  8408. extract_address.
  8409. (trace_command): Use XCALLOC.
  8410. (print_insn): Delete reference to tm_print_insn.
  8411. (saved_regs_unwinder): Use store_unsigned_integer instead of
  8412. store_address.
  8413. * frame.h (FRAME_OBSTACK_CALLOC): Define
  8414. 2003-04-25 David Carlton <carlton@bactrian.org>
  8415. * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp.
  8416. 2003-04-24 Adam Fedor <fedor@gnu.org>
  8417. * objc-lang.c: Include "valprint.h"
  8418. * Makefile.in (objc-lang.o): Update dependencies.
  8419. 2003-04-24 Adam Fedor <fedor@gnu.org>
  8420. * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove
  8421. architecture dependant compilation and mark as unimplemented
  8422. (until they get put in the gdbarch vector).
  8423. 2003-04-23 David Carlton <carlton@bactrian.org>
  8424. * cp-support.c (cp_find_first_component): Accept 'operator' in
  8425. more locations.
  8426. 2003-04-23 Andrew Cagney <cagney@redhat.com>
  8427. * infcall.c (call_function_by_hand): Eliminate redundant
  8428. indentation. Move "saved_async" and "old_cleanups" to where they
  8429. are needed.
  8430. 2003-04-23 Andrew Cagney <cagney@redhat.com>
  8431. * infcall.c (call_function_by_hand): Eliminate the variables "rc"
  8432. and "buffer". Move the "name" code to where it is needed.
  8433. 2003-04-23 Andrew Cagney <cagney@redhat.com>
  8434. * infcall.c (call_function_by_hand): Move variables "start_sp",
  8435. "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call
  8436. code to ON_STACK switch branch.
  8437. 2003-04-23 Andrew Cagney <cagney@redhat.com>
  8438. * infcall.c (call_function_by_hand): Make declaration of "i",
  8439. "sal", "bpt" and "old_sp" more local to their use. Delete #if
  8440. lint.
  8441. 2003-04-23 Andrew Cagney <cagney@redhat.com>
  8442. * infcall.c (call_function_by_hand): Delete variable
  8443. "n_method_args". Localize "param_type"'s declaration to the loop
  8444. that it is used. Reinstate code assigning to said variable -
  8445. deleted on 2002-06-14. Rationalize calls to value_args_coerce.
  8446. Rationalize code using "param_type".
  8447. 2003-04-22 Andrew Cagney <cagney@redhat.com>
  8448. * infcall.c (call_function_by_hand): Use new variable "bp_addr" to
  8449. compute the breakpoint address. Only call FIX_CALL_DUMMY when
  8450. ON_STACK. Eliminate the variable "addr". Do not pass "real_pc"
  8451. to DEPRECATED_PUSH_RETURN_ADDRESS.
  8452. 2003-04-22 Kevin Buettner <kevinb@redhat.com>
  8453. * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM
  8454. on the DWARF2 register number prior to fetching a register.
  8455. 2003-04-22 J. Brobecker <brobecker@gnat.com>
  8456. * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.
  8457. Update all the tests using SOFT_FLOAT considering the fact that
  8458. this macro was always set to 0.
  8459. * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT
  8460. considering the fact that this macro was always set to 0.
  8461. * hppa-tdep.h (hppa_store_return_value): Likewise.
  8462. (hppa_extract_return_value): Likewise.
  8463. 2003-04-22 J. Brobecker <brobecker@gnat.com>
  8464. * config/pa/tm-hppa.h: Remove obsolete code, was used by
  8465. the hppa-pro target only.
  8466. 2003-04-21 J. Brobecker <brobecker@gnat.com>
  8467. Ongoing multi-arch conversion effort for HP/UX:
  8468. * config/pa/tm-hppa.h: Move all macro that are no longer
  8469. defined now that GDB_MULTI_ARCH is now set to 1 from here...
  8470. * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet).
  8471. 2003-04-21 J. Brobecker <brobecker@gnat.com>
  8472. * config/pa/tm-hppa.h: Obsolete a section that was only used
  8473. for hppa-pro.
  8474. 2003-04-21 J. Brobecker <brobecker@gnat.com>
  8475. Ongoing multi-arch conversion for HP/UX.
  8476. * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define
  8477. if already defined (allows hppa64 to stay non-multiarched for now).
  8478. * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define.
  8479. 2003-04-21 Andrew Cagney <cagney@redhat.com>
  8480. * frame.c (frame_id_eq): Fail when the code_addr's do not match.
  8481. 2003-04-21 Andrew Cagney <cagney@redhat.com>
  8482. * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with
  8483. "i386_num_mmx_regs".
  8484. 2003-04-21 Andrew Cagney <cagney@redhat.com>
  8485. * infcall.c: New file.
  8486. * infcall.h: New file.
  8487. * valarith.c: Include "infcall.h".
  8488. * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
  8489. * eval.c, ada-valprint.c, ada-lang.c: Ditto.
  8490. * Makefile.in (valarith.o, scm-lang.o): Update dependencies.
  8491. (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
  8492. (eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
  8493. (SFILES): Add "infcall.c"
  8494. (COMMON_OBS): Add "infcall.o".
  8495. (infcall.o): Specify dependencies.
  8496. * value.h (call_function_by_hand): Delete declaration.
  8497. * inferior.h (run_stack_dummy): Delete declaration.
  8498. * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
  8499. (run_stack_dummy): Move to "infcall.c", merged into
  8500. call_function_by_hand.
  8501. * valops.c (call_function_by_hand): Moved to "infcall.c".
  8502. (find_function_addr, value_arg_coerce): Ditto.
  8503. (unwindonsignal_p, coerce_float_to_double): Ditto.
  8504. (_initialize_valops): Move "set/show coerce-float-to-double", and
  8505. "set/show unwindonsignal" commands to "infcall.c".
  8506. * v850-tdep.c, target.h: Update comments.
  8507. * sparc-tdep.c (sparc_fix_call_dummy): Update comments.
  8508. * sh-tdep.c (sh_init_extra_frame_info): Update comments.
  8509. (sh64_init_extra_frame_info): Update comments.
  8510. * mn10300-tdep.c: Update comments.
  8511. * mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
  8512. * config/sparc/tm-sparc.h: Update comments.
  8513. * breakpoint.h: Update comments.
  8514. * avr-tdep.c (avr_init_extra_frame_info): Update comments.
  8515. * arm-tdep.c: Update comment.
  8516. 2003-04-19 Mark Kettenis <kettenis@gnu.org>
  8517. * i386-tdep.c (i386_num_register_names): New variable.
  8518. (i386_num_mmx_regs): Renamed from mmx_num_regs.
  8519. (MM0_REGNUM): Remove redundant parentheses in define.
  8520. (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs.
  8521. (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p,
  8522. i386_mxcsr_regnum_p): Remove redundant parentheses.
  8523. (i386_register_name): Use i386_num_register_names.
  8524. * i386-tdep.c (i386_extract_return_value,
  8525. i386_store_return_value): Correct check for availability of
  8526. floating-point registers.
  8527. * i386-tdep.c (i386_frame_num_args): Remove function.
  8528. (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown.
  8529. * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from
  8530. mmx_regnum_to_fp_regnum. Adjust all callers.
  8531. * i386-tdep.c (i386_get_longjmp_target): Use
  8532. TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT
  8533. and TARGET_CHAR_BIT. Use extract_typed_address instead of
  8534. extract_address.
  8535. 2003-04-19 Mark Kettenis <kettenis@gnu.org>
  8536. * core-regset.c: Update comments to reflect reality. Re-order
  8537. includes.
  8538. (fetch_core_registers): Use switch instead of if. Remove
  8539. redundant prototype.
  8540. 2003-04-18 Jim Blandy <jimb@redhat.com>
  8541. * s390-tdep.c (s390_frame_align): New function.
  8542. (s390_gdbarch_init): Register it with the gdbarch object.
  8543. 2003-04-17 Richard Henderson <rth@redhat.com>
  8544. * remote.c (minitelnet): Don't redeclare escape_count, echo_check.
  8545. 2003-04-17 Michael Snyder <msnyder@redhat.com>
  8546. Karen Bennet <bennet@redhat.com>
  8547. Committed by Elena Zannoni <ezannoni@redhat.com>
  8548. * gdb_gcore.sh: New script to create a core dump of a process.
  8549. 2003-04-17 Elena Zannoni <ezannoni@redhat.com>
  8550. * values.c (value_being_returned): Don't fetch the return
  8551. value if the return type is void.
  8552. 2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
  8553. * thread-db.c: Reindented.
  8554. 2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
  8555. * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t,
  8556. td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t
  8557. as types.
  8558. 2003-04-16 Kevin Buettner <kevinb@redhat.com>
  8559. * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set
  8560. the size of ``long double'' to 16, instead of 8.
  8561. 2003-04-16 Mark Kettenis <kettenis@gnu.org>
  8562. * i386-linux-nat.c: Add some whitespace to make things more
  8563. readable.
  8564. (fetch_register, store_register, fetch_inferior_registers,
  8565. store_inferior_registers): Get rid of assignment in if-statement.
  8566. (store_register): Fix typo in error message.
  8567. 2003-04-16 Andrew Cagney <cagney@redhat.com>
  8568. * utils.c (xmmalloc): Always allocate something, matches
  8569. libiberty/xmalloc's semantics.
  8570. (xmrealloc, xmcalloc): Ditto.
  8571. 2003-04-16 Andrew Cagney <cagney@redhat.com>
  8572. * frame.c (get_prev_frame): Do not initialize "unwind" or "type",
  8573. update comments.
  8574. (get_frame_type): Initialize unwind and type when needed.
  8575. (get_frame_id, frame_register_unwind): Ditto.
  8576. 2003-04-16 Andrew Cagney <cagney@redhat.com>
  8577. * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made
  8578. obsolete.
  8579. * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code.
  8580. * sparcl-stub.c: Obsolete file.
  8581. * config/sparc/tm-sparclet.h: Obsolete file.
  8582. * sparclet-stub.c: Obsolete file.
  8583. * sparclet-rom.c: Obsolete file.
  8584. * sparcl-tdep.c: Obsolete file.
  8585. * config/sparc/tm-sparclite.h: Obsolete file.
  8586. * config/sparc/sparclite.mt: Obsolete file.
  8587. * config/sparc/sparclet.mt: Obsolete file.
  8588. * configure.tgt: Make sparclet-*-*, sparclite-*-*, and
  8589. sparc86x-*-* obsolete.
  8590. 2003-04-15 David Carlton <carlton@math.stanford.edu>
  8591. * Makefile.in (SFILES): Add cp-namespace.c.
  8592. (COMMON_OBS): Add cp-namespace.o.
  8593. (block.o): Depend on gdb_obstack_h and cp_support_h.
  8594. (buildsym.o): Depend on cp_support_h.
  8595. (cp-namespace.o): New.
  8596. (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
  8597. gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
  8598. (dwarf2read.o): Depend on cp_support_h.
  8599. * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
  8600. * dwarf2read.c (process_die): Set processing_has_namespace_info,
  8601. processing_current_namespace.
  8602. (read_namespace): Update processing_current_namespace; check for
  8603. anonymous namespaces.
  8604. (dwarf2_name): New function.
  8605. (dwarf2_extension): Ditto.
  8606. * cp-support.h: Update copyright, contributors.
  8607. Add inclusion guards.
  8608. Add opaque declaration for structs obstack, block, symbol.
  8609. (struct using_direct): New struct.
  8610. Add declarations for cp_find_first_component,
  8611. cp_entire_prefix_len, processing_has_namespace_info,
  8612. processing_current_namespace, cp_is_anonymous,
  8613. cp_add_using_directive, cp_initialize_namespace,
  8614. cp_finalize_namespace, cp_set_block_scope,
  8615. cp_scan_for_anonymous_namespaces.
  8616. * cp-namespace.c: New file.
  8617. * cp-support.c: Update copyright.
  8618. Include ctype.h, gdb_assert.h, gdbcmd.h.
  8619. New variable maint_cplus_cmd_list.
  8620. (cp_find_first_component): New function.
  8621. (cp_entire_prefix_len, maint_cplus_command)
  8622. (first_component_command, _initialize_cp_support): Ditto.
  8623. * buildsym.c: Include cp-support.h.
  8624. New variable using_list.
  8625. (add_symbol_to_list): Check for anonymous namespaces.
  8626. (finish_block): Set block's scope.
  8627. (start_symtab): Initialize C++ namespace support.
  8628. (end_symtab): Finalize C++ namespace support.
  8629. * block.h: Add opaque declarations for structs
  8630. block_namespace_info, using_direct, and obstack.
  8631. Add declarations for block_set_scope and block_set_using.
  8632. (struct block): Add 'language_specific' member.
  8633. (BLOCK_NAMESPACE): New macro.
  8634. * block.c: Include gdb_obstack.h and cp-support.h.
  8635. (struct block_namespace_info): New struct.
  8636. (block_set_scope): New function.
  8637. (block_set_using, block_initialize_namespace): Ditto.
  8638. 2003-04-14 Kevin Buettner <kevinb@redhat.com>
  8639. * solib-svr4.c (svr4_have_link_map_offsets): New function.
  8640. (locate_base): Return early if there aren't any link map offsets.
  8641. (svr4_solib_create_inferior_hook): Warn if shared library support
  8642. is unavailable.
  8643. 2003-04-14 David Carlton <carlton@math.stanford.edu>
  8644. * symtab.c (symbol_set_names): Add prefix when storing Java names
  8645. in hash table. Fix for PR java/1039.
  8646. 2003-04-14 David Carlton <carlton@math.stanford.edu>
  8647. * symtab.c (symbol_set_names): Rename 'name' arg to
  8648. 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'.
  8649. * symtab.h: Change 'name' argument in declaration of
  8650. symbol_set_names to 'linkage_name'.
  8651. (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'.
  8652. 2003-04-14 Andrew Cagney <cagney@redhat.com>
  8653. * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE,
  8654. return the fully sign-extended register value.
  8655. (get_frame_pointer): Ditto.
  8656. (mips_pop_frame): Initialize "proc_desc" after checking for a
  8657. dummy frame.
  8658. 2003-04-14 Andrew Cagney <cagney@redhat.com>
  8659. * mips-tdep.c (mips_push_dummy_frame): Delete function.
  8660. (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros.
  8661. (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro.
  8662. (mips_push_register): Delete function.
  8663. (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and
  8664. PUSH_FP_REGNUM.
  8665. 2003-04-14 Jim Blandy <jimb@redhat.com>
  8666. * symmisc.c: #include "gdb_regex.h".
  8667. (maintenance_list_symtabs, maintenance_list_psymtabs): New
  8668. functions.
  8669. * maint.c (maintenance_list_command): New function.
  8670. (_initialize_maint_cmds): Register the above as commands.
  8671. * symtab.h (maintenance_list_symtabs,
  8672. maintenance_list_psymtabs): New declarations.
  8673. * cli/cli-cmds.c (maintenancelistlist): New variable.
  8674. (init_cmd_lists): Initialize it.
  8675. * cli/cli-cmds.h (maintenancelistlist): New declaration.
  8676. * gdbcmd.h (maintenancelistlist): New declaration.
  8677. * Makefile.in (symmisc.o): Update dependencies.
  8678. 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
  8679. * s390-nat.c: Include asm/types.h for addr_t.
  8680. 2003-04-14 Corinna Vinschen <vinschen@redhat.com>
  8681. * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with
  8682. actually incoming type.
  8683. 2003-04-13 Andrew Cagney <cagney@redhat.com>
  8684. * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc,
  8685. get_next_frame and get_frame_saved_regs.
  8686. 2003-04-13 Andrew Cagney <cagney@redhat.com>
  8687. * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead
  8688. of gdbarch_num_regs.
  8689. 2003-04-13 Andrew Cagney <cagney@redhat.com>
  8690. * frame.h: Mention what replaced what in "struct frame_info".
  8691. * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and
  8692. deprecated_update_frame_base_hack and
  8693. deprecated_update_frame_pc_hack.
  8694. * hppa-tdep.c: Ditto.
  8695. 2003-04-13 Daniel Jacobowitz <drow@mvista.com>
  8696. * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments
  8697. to read_reg and update its comment. Remove regnum member.
  8698. * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval.
  8699. Don't call read_reg when setting in_reg. Call read_reg to get
  8700. the frame base if it's in a register. Return the register number
  8701. on the stack instead of in the context. Remove extra arguments
  8702. to read_reg.
  8703. * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments.
  8704. (dwarf2_evaluate_loc_desc): Call value_from_register. Expect
  8705. the register number on the expression stack.
  8706. (needs_frame_read_reg): Remove extra arguments.
  8707. 2003-04-13 Daniel Jacobowitz <drow@mvista.com>
  8708. * dwarf2expr.c (dwarf2_read_address): Renamed from read_address;
  8709. made non-static.
  8710. (execute_stack_op): All callers updated.
  8711. * dwarf2expr.h: Add prototype for dwarf2_read_address.
  8712. * dwarf2loc.c (find_location_expression): New function.
  8713. (dwarf_expr_frame_base): Call it.
  8714. (dwarf2_evaluate_loc_desc): Handle 0-length location expressions.
  8715. (dwarf2_tracepoint_var_ref): New function, broken out from
  8716. locexpr_tracepoint_var_ref.
  8717. (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref.
  8718. Make static.
  8719. (loclist_read_variable, loclist_read_needs_frame): New functions.
  8720. (loclist_describe_location, loclist_tracepoint_var_ref): New
  8721. functions.
  8722. (dwarf2_loclist_funcs): New struct location_funcs.
  8723. * dwarf2loc.h (struct dwarf2_loclist_baton): New type.
  8724. (struct dwarf2_locexpr_baton): Add comments.
  8725. (dwarf2_loclist_funcs): New extern.
  8726. * dwarf2read.c (struct comp_unit_head): Remove DIE member, add
  8727. base_address and base_known.
  8728. (dwarf_loc_buffer): New variable.
  8729. (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size.
  8730. (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros.
  8731. (dwarf2_has_info): Initialize dwarf_loc_offset.
  8732. (dwarf2_build_psymtabs): Read in .debug_loc.
  8733. (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and
  8734. DWARF_LOC_SIZE.
  8735. (psymtab_to_symtab_1): Likewise. Move base address calculation
  8736. here, from...
  8737. (dwarf2_get_pc_bounds): ... here. Use the base address from
  8738. cu_header.
  8739. (dwarf2_symbol_mark_computed): Handle location lists.
  8740. 2003-04-13 Daniel Jacobowitz <drow@mvista.com>
  8741. * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode
  8742. if the linkage name demangled successfully.
  8743. 2003-04-13 Mark Kettenis <kettenis@gnu.org>
  8744. * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours,
  8745. disassmbly_flavour): Removed.
  8746. * x86-64-tdep.c (gdb_print_insn_x86_64): Removed.
  8747. 2003-04-13 Mark Kettenis <kettenis@gnu.org>
  8748. * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed.
  8749. 2003-04-12 Andrew Cagney <cagney@redhat.com>
  8750. * frame.h (struct frame_info): Move definition from here ...
  8751. * frame.c (struct frame_info): ... to here.
  8752. 2003-04-12 Andrew Cagney <cagney@redhat.com>
  8753. * gdbthread.h (save_infrun_state): Delete parameter
  8754. "prev_func_start".
  8755. (struct thread_info): Delete field "prev_func_start".
  8756. (load_infrun_state): Ditto.
  8757. * thread.c (load_infrun_state, save_infrun_state): Update.
  8758. * infrun.c (prev_func_start): Delete variable.
  8759. (context_switch, init_wait_for_inferior): Update.
  8760. (stop_stepping, keep_going): Update.
  8761. 2003-04-12 Andrew Cagney <cagney@redhat.com>
  8762. * gdbarch.sh: Add missing opaque declarations.
  8763. * gdbarch.h: Regnerate.
  8764. * symtab.h: Add missing opaque declarations.
  8765. * value.h, target.h, symfile.h, stabsread.h: Ditto.
  8766. * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto.
  8767. * srec.h, solib-svr4.h, source.h, inferior.h: Ditto.
  8768. * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto.
  8769. * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto.
  8770. * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto.
  8771. * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto.
  8772. * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto.
  8773. * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto.
  8774. * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto.
  8775. * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto.
  8776. * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto.
  8777. * cli/cli-setshow.h, cli/cli-script.h: Ditto.
  8778. 2003-04-11 Andrew Cagney <cagney@redhat.com>
  8779. * frame.c (get_frame_id): Return this frame's "id".
  8780. (legacy_get_prev_frame): Set prev's frame ID code_addr to the
  8781. function start.
  8782. (legacy_saved_regs_this_id): Replace function body with
  8783. internal-error.
  8784. (deprecated_frame_xmalloc): Mark the frame ID as valid, use
  8785. FRAME_OBSTACK_ZALLOC.
  8786. (create_new_frame): Mark the frame ID as valid.
  8787. 2003-04-11 Alexandre Oliva <aoliva@redhat.com>
  8788. * Makefile.in (libbfd_h): Added missing setting.
  8789. * mips-tdep.c (mips_gdbarch_init): Set disassembler_options
  8790. according to the selected ABI.
  8791. 2003-04-11 Jeff Johnston <jjohnstn@redhat.com>
  8792. * gdb_indent.sh: Recognize pid_t and sigset_t as types.
  8793. 2003-04-11 Andrew Cagney <cagney@redhat.com>
  8794. * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate
  8795. SAVED_PC_AFTER_CALL.
  8796. * gdbarch.h, gdbarch.c: Regenerate.
  8797. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  8798. * x86-64-tdep.c (x86_64_init_abi): Update.
  8799. * vax-tdep.c (vax_gdbarch_init): Update.
  8800. * v850-tdep.c (v850_gdbarch_init): Update.
  8801. * sparc-tdep.c (sparc_gdbarch_init): Update.
  8802. * sh-tdep.c (sh_gdbarch_init): Update.
  8803. * s390-tdep.c (s390_gdbarch_init): Update.
  8804. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  8805. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  8806. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  8807. * mips-tdep.c (mips_gdbarch_init): Update.
  8808. * mcore-tdep.c (mcore_gdbarch_init): Update.
  8809. * m68k-tdep.c (m68k_gdbarch_init): Update.
  8810. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  8811. * ia64-tdep.c (ia64_gdbarch_init): Update.
  8812. (ia64_saved_pc_after_call): Update declaration.
  8813. * i386ly-tdep.c (i386lynx_init_abi): Update.
  8814. * i386-tdep.c (i386_gdbarch_init): Update.
  8815. * hppa-tdep.c (hppa_gdbarch_init): Update.
  8816. * h8300-tdep.c (h8300_gdbarch_init): Update.
  8817. * frv-tdep.c (frv_gdbarch_init): Update.
  8818. * cris-tdep.c (cris_gdbarch_init): Update.
  8819. * avr-tdep.c (avr_gdbarch_init): Update.
  8820. * arm-tdep.c (arm_gdbarch_init): Update.
  8821. * alpha-tdep.c (alpha_gdbarch_init): Update.
  8822. * ns32knbsd-nat.c (frame_num_args): Update.
  8823. * ns32k-tdep.c (umax_frame_num_args): Update.
  8824. * mips-tdep.c (mips_init_frame_pc_first): Update.
  8825. * infrun.c (step_over_function): Update.
  8826. * i386-linux-tdep.c (skip_hurd_resolver): Update.
  8827. * i386-interix-tdep.c (i386_interix_back_one_frame): Update.
  8828. * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
  8829. (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
  8830. * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
  8831. * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
  8832. * arm-linux-tdep.c (skip_hurd_resolver): Update.
  8833. * arch-utils.c (init_frame_pc_default): Update.
  8834. * alpha-tdep.c (alpha_init_frame_pc_first): Update.
  8835. * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update
  8836. declaration.
  8837. 2003-04-11 Andrew Cagney <cagney@redhat.com>
  8838. * i387-tdep.c: Update copyright.
  8839. (i387_to_double): Delete function.
  8840. (double_to_i387): Delete function.
  8841. 2003-04-10 Andrew Cagney <cagney@redhat.com>
  8842. * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the
  8843. frame's function's address. Simplify.
  8844. (d10v_frame_unwind_cache): Check that the frame's function is
  8845. non-zero.
  8846. 2003-04-10 Jim Blandy <jimb@redhat.com>
  8847. * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
  8848. call to set_gdbarch_deprecated_push_arguments.
  8849. 2003-04-10 Andrew Cagney <cagney@redhat.com>
  8850. * frame.c (fprint_frame_id): New function.
  8851. (fprint_frame_type, fprint_frame): New function.
  8852. (frame_pc_unwind, frame_func_unwind): Add/update trace code.
  8853. (create_sentinel_frame, get_frame_id): Ditto.
  8854. (frame_id_p, frame_id_eq): Ditto.
  8855. (frame_id_inner, create_new_frame): Ditto.
  8856. (legacy_get_prev_frame, get_prev_frame): Ditto.
  8857. (deprecated_update_frame_pc_hack): Ditto.
  8858. (frame_register_unwind): Ditto.
  8859. (deprecated_update_frame_base_hack): Ditto.
  8860. 2003-04-10 Corinna Vinschen <vinschen@redhat.com>
  8861. * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
  8862. (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
  8863. frame_chain function.
  8864. * Makefile.in: Add dependencies due to above change.
  8865. 2003-04-10 Corinna Vinschen <vinschen@redhat.com>
  8866. * blockframe.c (legacy_frame_chain_valid): Move call to
  8867. DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
  8868. inside_entry_file.
  8869. 2003-04-09 Andrew Cagney <cagney@redhat.com>
  8870. * frame.h (struct frame_id): Replace "pc" and "base" with
  8871. "stack_addr" and "code_addr". Update comments.
  8872. (frame_id_build): Update parameter names and comment.
  8873. (struct frame_info): Replace "id_p" and "id" with "this_id".
  8874. * dummy-frame.c (dummy_frame_this_id): Update.
  8875. * breakpoint.c (print_one_breakpoint): Update.
  8876. * frame.c (get_frame_id): Update.
  8877. (get_frame_base, frame_id_build): Update.
  8878. (create_sentinel_frame, legacy_get_prev_frame): Update.
  8879. (deprecated_update_frame_base_hack): Update.
  8880. (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
  8881. (frame_id_inner): Ditto.
  8882. 2003-04-09 Andrew Cagney <cagney@redhat.com>
  8883. * defs.h (gdb_print_host_address): Make "addr" parameter a
  8884. pointer constant.
  8885. * utils.c (gdb_print_host_address): Update.
  8886. 2003-04-09 Kevin Buettner <kevinb@redhat.com>
  8887. * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
  8888. register number for R0 is 0.
  8889. 2003-04-09 J. Brobecker <brobecker@gnat.com>
  8890. * frame.h (struct gdbarch): Add opaque structure definition
  8891. to avoid a compilation warning on LynxOS 4.0.
  8892. 2003-04-09 Andrew Cagney <cagney@redhat.com>
  8893. * frame.h (struct frame_info): Delete field "pc". Replace
  8894. "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
  8895. structure.
  8896. * frame.c (frame_pc_unwind): Update.
  8897. (create_sentinel_frame): Do not set "pc".
  8898. (get_prev_frame): Do not set "pc". Use frame_pc_unwind.
  8899. (get_frame_pc): Call frame_pc_unwind.
  8900. (deprecated_update_frame_pc_hack): Update.
  8901. (create_new_frame): Use "pc" not "->pc".
  8902. 2003-04-09 Andrew Cagney <cagney@redhat.com>
  8903. * frame.c (get_frame_id): Eliminate code updating "frame".
  8904. (legacy_get_prev_frame): Ditto.
  8905. (get_frame_base): Return id.base directly.
  8906. (deprecated_update_frame_base_hack): Update "id.base".
  8907. * frame.h (struct frame_info): Delete field "frame".
  8908. 2003-04-09 Andrew Cagney <cagney@redhat.com>
  8909. * NEWS: Mention that the "Sequent family" is obsolete.
  8910. * configure.tgt: Obsolete i[3456]86-sequent-bsd*,
  8911. i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
  8912. * configure.host: Obsolete i[3456]86-sequent-bsd*,
  8913. i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
  8914. * config/i386/tm-ptx4.h: Obsolete file.
  8915. * config/i386/tm-ptx.h: Obsolete file.
  8916. * symm-tdep.c: Obsolete file.
  8917. * config/i386/symmetry.mt: Obsolete file.
  8918. * config/i386/tm-symmetry.h: Obsolete file.
  8919. * symm-nat.c: Obsolete file.
  8920. * config/i386/nm-symmetry.h: Obsolete file.
  8921. * config/i386/xm-symmetry.h: Obsolete file.
  8922. * config/i386/symmetry.mh: Obsolete file.
  8923. * config/i386/nm-ptx4.h: Obsolete file.
  8924. * config/i386/ptx4.mh: Obsolete file.
  8925. * config/i386/ptx.mt: Obsolete file.
  8926. * config/i386/ptx.mh: Obsolete file.
  8927. * config/i386/xm-ptx4.h: Obsolete file.
  8928. * config/i386/xm-ptx.h: Obsolete file.
  8929. 2003-04-09 Andrew Cagney <cagney@redhat.com>
  8930. Obsolete mips*-*-mach3*.
  8931. * NEWS: Mention that mips*-*-mach3* is obsolete.
  8932. * m3-nat.c: Obsolete file.
  8933. * config/nm-m3.h: Obsolete file.
  8934. * config/mips/tm-mipsm3.h: Obsolete file.
  8935. * config/mips/mipsm3.mt: Obsolete file.
  8936. * config/mips/mipsm3.mh: Obsolete file.
  8937. * config/mips/xm-mipsm3.h: Obsolete file.
  8938. * mipsm3-nat.c: Obsolete file.
  8939. * configure.host: Obsolete mips-dec-mach3*.
  8940. * configure.tgt: Obsolete mips*-*-mach3*.
  8941. 2003-04-09 Andrew Cagney <cagney@redhat.com>
  8942. * doublest.h: Update copyright.
  8943. (deprecated_store_floating, deprecated_extract_floating): Rename
  8944. store_floating and extract_floating. Update comments.
  8945. * doublest.c: Update copyright.
  8946. (extract_floating_by_length): Replace extract_floating.
  8947. (store_floating_by_length): Replace store_floating.
  8948. (deprecated_extract_floating): New function.
  8949. (deprecated_store_floating): New function.
  8950. (extract_typed_floating): Call extract_floating_by_length.
  8951. (store_typed_floating): Call store_floating_by_length.
  8952. * x86-64-tdep.c (x86_64_store_return_value): Update.
  8953. * sh-tdep.c (sh3e_sh4_extract_return_value): Update.
  8954. (sh64_extract_return_value): Update.
  8955. (sh_sh4_register_convert_to_virtual): Update.
  8956. (sh_sh64_register_convert_to_virtual): Update.
  8957. (sh_sh4_register_convert_to_raw): Update.
  8958. (sh_sh64_register_convert_to_raw): Update.
  8959. * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
  8960. (rs6000_register_convert_to_raw): Update.
  8961. * ia64-tdep.c (ia64_register_convert_to_virtual): Update.
  8962. (ia64_register_convert_to_raw): Update.
  8963. * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
  8964. (REGISTER_CONVERT_TO_VIRTUAL): Update.
  8965. * arm-linux-tdep.c (arm_linux_push_arguments): Update.
  8966. * alpha-tdep.c (alpha_register_convert_to_virtual): Update.
  8967. (alpha_register_convert_to_raw): Update.
  8968. 2003-04-08 Andrew Cagney <cagney@redhat.com>
  8969. * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
  8970. * gdbarch.h, gdbarch.c: Re-generate.
  8971. * d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
  8972. (d10v_gdbarch_init): Do not set saved_pc_after_call.
  8973. * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
  8974. conditionally, use frame_pc_unwind as an alternative. Add
  8975. comments.
  8976. * arch-utils.c (init_frame_pc_default): Only call
  8977. SAVED_PC_AFTER_CALL when available.
  8978. 2003-04-08 Elena Zannoni <ezannoni@redhat.com>
  8979. * infrun.c (stop_soon): Rename from stop_soon_quietly.
  8980. (struct inferior_status): Rename stop_soon_quietly field to stop_soon.
  8981. (clear_proceed_status): Rename stop_soon_quietly to stop_soon.
  8982. (start_remote): Ditto.
  8983. (handle_inferior_event): Ditto.
  8984. (save_inferior_status): Ditto.
  8985. (restore_inferior_status): Ditto.
  8986. * infcmd.c (attach_command): Ditto.
  8987. * fork-child.c (startup_inferior): Ditto.
  8988. * inferior.h (stop_soon): Rename from stop_soon_quietly.
  8989. * alpha-tdep.c (heuristic_proc_start): Ditto.
  8990. * mips-tdep.c (heuristic_proc_start): Ditto.
  8991. * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
  8992. * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
  8993. * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
  8994. * solib-irix.c (irix_solib_create_inferior_hook): Ditto.
  8995. * remote-vx.c (vx_create_inferior): Ditto.
  8996. 2003-04-08 Elena Zannoni <ezannoni@redhat.com>
  8997. * infrun.c (stop_soon_quietly): Make it an enum, to better
  8998. override the default behavior of handle_inferior_event.
  8999. (clear_proceed_status): Update uses of stop_soon_quietly to
  9000. reflect that it is now an enum.
  9001. (start_remote): Ditto.
  9002. (handle_inferior_event): Change logic a bit if stop_soon_quietly
  9003. is set to handle the new GNU/Linux kernel behavior for
  9004. attach/sigstop. Update uses of stop_soon_quietly.
  9005. * inferior.h (enum stop_kind): New enum.
  9006. * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
  9007. Reset normal handle_inferior_event behavior, afterwards.
  9008. * fork-child.c (startup_inferior): Update.
  9009. * alpha-tdep.c (heuristic_proc_start): Update.
  9010. * solib-svr4.c (svr4_solib_create_inferior_hook): Update.
  9011. * solib-sunos.c (sunos_solib_create_inferior_hook): Update.
  9012. * solib-osf.c (osf_solib_create_inferior_hook): Update.
  9013. * solib-irix.c (irix_solib_create_inferior_hook): Update.
  9014. * remote-vx.c (vx_create_inferior): Update.
  9015. * mips-tdep.c (heuristic_proc_start): Update.
  9016. 2003-04-07 Elena Zannoni <ezannoni@redhat.com>
  9017. * disasm.c (dump_insns): Move variables inside loop, or they will
  9018. be freed more than once, causing wild memory corruptions.
  9019. (gdb_disassembly): Look for the substring "-thread",
  9020. instead of "-threads" in the target name, to make sure to find
  9021. the 'multi-thread' target. Also, make sure we do the right thing
  9022. with the "core" target.
  9023. 2003-04-07 Kevin Buettner <kevinb@redhat.com>
  9024. * mips-tdep.c (mips_print_fp_register): New function, created from
  9025. do_fp_register_row(). Registers are now (also) printed as hex.
  9026. Only one register is printed per row.
  9027. (mips_print_register, do_fp_register_row): Print floating point
  9028. registers with mips_print_fp_register().
  9029. 2003-04-06 Andrew Cagney <cagney@redhat.com>
  9030. * valprint.h (inspect_it): Add extern declaration.
  9031. * objc-lang.c (value_nsstring): Avoid assignment inside of "if".
  9032. (selectors_info, classes_info): Ditto.
  9033. (find_objc_msgcall): Fix indentation.
  9034. (objc_printstr): Delete extern declarations.
  9035. * arm-tdep.c (arm_frameless_function_invocation): Fix typo.
  9036. 2003-04-06 Andrew Cagney <cagney@redhat.com>
  9037. * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid.
  9038. Update comment.
  9039. * frame.c (legacy_saved_regs_this_id): Update.
  9040. (legacy_get_prev_frame): Update.
  9041. * xstormy16-tdep.c: Update comment.
  9042. * sparc-tdep.c (sparc_frame_chain): Update comment.
  9043. * blockframe.c (legacy_frame_chain_valid): Update.
  9044. 2003-04-06 Andrew Cagney <cagney@redhat.com>
  9045. * valprint.c (val_print_type_code_int): Delete #ifdef
  9046. PRINT_TYPELESS_INTEGER code.
  9047. * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
  9048. (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
  9049. multi-arch definition.
  9050. * gdbarch.h: Re-generate.
  9051. 2003-04-05 Andrew Cagney <cagney@redhat.com>
  9052. Eliminate FRAME_FIND_SAVED_REGS.
  9053. * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp):
  9054. Change FSR parameter to a pointer.
  9055. * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP):
  9056. Assume FSR parameter is a pointer.
  9057. * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp):
  9058. Make fsr a pointer.
  9059. * hppa-tdep.c (hppa_frame_find_saved_regs): New function.
  9060. (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make
  9061. saved_regs a pointer.
  9062. (hppa_frame_saved_pc): Ditto.
  9063. (find_dummy_frame_regs): Make frame_saved_regs a pointer
  9064. (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a
  9065. pointer.
  9066. (restore_pc_queue): Make fsr a pointer.
  9067. (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer.
  9068. (hppa_frame_chain): Make saved_regs a pointer, call
  9069. hppa_frame_init_saved_regs.
  9070. * sparc-tdep.c: Include "gdb_assert.h".
  9071. (sparc_frame_find_saved_regs): Replace internal_error with
  9072. gdb_assert.
  9073. * remote-vxsparc.c (vx_read_register): Delete reference to
  9074. FRAME_FIND_SAVED_REGS.
  9075. * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS.
  9076. * gdbarch.h: Regenerate.
  9077. * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
  9078. (deprecated_get_frame_saved_regs): Delete declaration.
  9079. (struct frame_saved_regs): Delete definition.
  9080. * frame.c (deprecated_get_frame_saved_regs): Delete function.
  9081. * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare.
  9082. (hppa_frame_find_saved_regs): Delete declaration.
  9083. (FRAME_FIND_SAVED_REGS): Delete macro.
  9084. (DEPRECATED_FRAME_INIT_SAVED_REGS): Define.
  9085. * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete
  9086. FRAME_FIND_SAVED_REGS in comment.
  9087. 2003-04-05 Andrew Cagney <cagney@redhat.com>
  9088. * frame.c (frame_func_unwind, get_frame_func): New functions.
  9089. * frame.h (get_frame_func, frame_func_unwind): Declare.
  9090. (struct frame_info): Add field "prev_func" for caching the
  9091. previous frame's function address.
  9092. * arm-tdep.c (arm_frameless_function_invocation): Combine
  9093. get_pc_function_start and get_frame_pc into get_frame_func.
  9094. * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
  9095. (sh64_nofp_frame_init_saved_regs): Ditto.
  9096. * s390-tdep.c (s390_function_start): Ditto.
  9097. * rs6000-tdep.c (rs6000_pop_frame): Ditto.
  9098. (rs6000_frameless_function_invocation): Ditto.
  9099. (rs6000_frame_saved_pc): Ditto.
  9100. * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto.
  9101. * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto.
  9102. * i386-tdep.c (i386_frameless_signal_p): Ditto.
  9103. (i386_frame_init_saved_regs): Ditto.
  9104. * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto.
  9105. * d10v-tdep.c (d10v_frame_unwind_cache): Combine
  9106. get_pc_function_start and frame_pc_unwind into frame_func_unwind.
  9107. * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
  9108. * blockframe.c (frameless_look_for_prologue): Ditto.
  9109. 2003-04-05 Andrew Cagney <cagney@redhat.com>
  9110. * frame.c (legacy_get_prev_frame): Link prev to next at the
  9111. function start. Update comments.
  9112. 2003-04-05 Andrew Cagney <cagney@redhat.com>
  9113. * frame.c (get_frame_id): Update comment.
  9114. (legacy_get_prev_frame): Update comment.
  9115. * gdbarch.sh: Delete check for EXTRA_FRAME_INFO.
  9116. * gdbarch.h: Regenerate.
  9117. * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete.
  9118. * frame.h: Delete #ifdef EXTRA_FRAME_INFO code.
  9119. 2003-04-05 Andrew Cagney <cagney@redhat.com>
  9120. * stack.c (print_frame_info): Use get_frame_pc.
  9121. 2003-04-04 Andrew Cagney <cagney@redhat.com>
  9122. * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set
  9123. the frame's type from the unwinder.
  9124. (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME.
  9125. (create_new_frame, legacy_get_prev_frame): When the unwinder's
  9126. type isn't UNKNOWN_FRAME, initalize "type" from the unwinder.
  9127. (get_frame_base_address): Use get_frame_type.
  9128. (get_frame_locals_address, get_frame_args_address): Ditto.
  9129. (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE.
  9130. * frame.h (enum frame_type): Add UNKNOWN_FRAME.
  9131. (struct frame_info): Add comment explaining why the frame contains
  9132. a "type" field.
  9133. * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME.
  9134. * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME.
  9135. * sentinel-frame.c (sentinel_frame_unwinder): Set the type to
  9136. NORMAL_FRAME.
  9137. * frame-unwind.h: Include "frame.h".
  9138. (struct frame_unwind): Add "type" field.
  9139. * Makefile.in (frame_unwind_h): Add $(frame_h).
  9140. 2003-04-04 Andrew Cagney <cagney@redhat.com>
  9141. * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
  9142. * dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
  9143. * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
  9144. get_frame_base.
  9145. (d10v_unwind_dummy_id): Use frame_id_build.
  9146. * frame.c (find_frame_sal): Use get_frame_pc.
  9147. (create_new_frame): Use deprecated_update_frame_pc_hack and
  9148. deprecated_update_frame_base_hack.
  9149. (create_sentinel_frame): Add comment about ->pc going away.
  9150. (get_prev_frame): Add comment about ->pc going away.
  9151. (legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
  9152. frame_id_build, deprecated_update_frame_pc_hack and
  9153. deprecated_update_frame_base_hack.
  9154. (select_frame): Use get_frame_pc.
  9155. (legacy_saved_regs_this_id): Use frame_id_build.
  9156. 2003-04-04 Elena Zannoni <ezannoni@redhat.com>
  9157. * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
  9158. signed integer case.
  9159. (classify_argument): Handle enumerations and references.
  9160. 2003-04-04 Andrew Cagney <cagney@redhat.com>
  9161. * frame.c (create_sentinel_frame): Initialize the sentinel frame's
  9162. ID to NULL.
  9163. 2003-04-01 Adam Fedor <fedor@gnu.org>
  9164. * objc-lang.c (selectors_info): Replace calls to
  9165. SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
  9166. SYMBOL_NATURAL_NAME.
  9167. (classes_info, find_methods): Likewise.
  9168. 2003-04-03 Kevin Buettner <kevinb@redhat.com>
  9169. * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
  9170. ``mach'' to the value determined by bfd_default_set_arch_mach().
  9171. 2003-04-02 Bob Rossi <bob_rossi@cox.net>
  9172. * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
  9173. (SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
  9174. (mi-cmd-file.o): Update dependencies.
  9175. 2003-04-01 Kevin Buettner <kevinb@redhat.com>
  9176. * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
  9177. (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
  9178. 2003-04-01 Adam Fedor <fedor@gnu.org>
  9179. * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
  9180. * language.h (struct language_defn): Add la_demangle.
  9181. (language_demangle): Declare.
  9182. * language.c (language_demangle): New function.
  9183. (unk_lang_demangle): Likewise.
  9184. (unknown_language_defn, auto_language_defn, local_language_defn):
  9185. Add ukn_lang_demangle.
  9186. * ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
  9187. * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
  9188. * c-lang.c (c_language_defn, asm_language_defn): Likewise.
  9189. (cplus_language_defn): Add cplus_demangle for la_demangle element.
  9190. * jv-lang.c (java_demangle): New function
  9191. (java_language_defn): Use it for la_demangle element.
  9192. * objc-lang.c (objc_demangle): Add options argument
  9193. (objc_language_defn): Use objc_demangle for la_demangle element.
  9194. * maint.c (maintenance_demangle): Replace switch with
  9195. call to language_demangle.
  9196. * utils.c (fprintf_symbol_filtered): Likewise.
  9197. 2003-04-01 Andrew Cagney <cagney@redhat.com>
  9198. * printcmd.c (print_frame_nameless_args): Delete #ifdef
  9199. NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
  9200. PRINT_TYPELESS_INTEGER.
  9201. * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
  9202. PUSH_RETURN_ADDRESS.
  9203. 2003-04-01 Andrew Cagney <cagney@redhat.com>
  9204. * Makefile.in (d10v-tdep.o): Update dependencies.
  9205. * d10v-tdep.c: Include "frame-base.h".
  9206. (d10v_frame_unwind): Make constant.
  9207. (d10v_frame_base_address): New function.
  9208. (d10v_frame_base): New variable.
  9209. (d10v_gdbarch_init): Set frame_base default.
  9210. (struct d10v_unwind_cache): Add the field "prev_sp". Update
  9211. comment for base.
  9212. (d10v_frame_unwind_cache): Set and use "prev_sp".
  9213. (d10v_frame_this_id): Use the previous frame's inner most stack
  9214. address and this frame's func address for the frame ID. Use
  9215. frame_id_build. Don't analyze beyond the current instruction.
  9216. 2003-04-01 Andrew Cagney <cagney@redhat.com>
  9217. * frame.h (get_frame_locals_address, get_frame_args_address):
  9218. Refer to the base address, instead of the address of the first
  9219. local or parameter.
  9220. 2003-04-01 Andrew Cagney <cagney@redhat.com>
  9221. Add frame debug info addresses:
  9222. * frame-base.c: New file.
  9223. * frame-base.h: New file.
  9224. * frame.h (struct frame_base): Add opaque declaration.
  9225. (get_frame_base): Update comment.
  9226. (get_frame_base_address): Declare.
  9227. (get_frame_locals_address): Declare.
  9228. (get_frame_args_address): Declare.
  9229. (struct frame_info): Add "base" and "base_cache". Update
  9230. comments on the unwinder.
  9231. * frame.c: Include "frame-base.h".
  9232. (get_frame_locals_address): New function.
  9233. (get_frame_base_address): New function.
  9234. (get_frame_args_address): New function.
  9235. * findvar.c (read_var_value): Use get_frame_locals_address and
  9236. get_frame_args_address.
  9237. * stack.c (frame_info): Use get_frame_locals_address and
  9238. get_frame_args_address.
  9239. (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
  9240. moved to "frame-base.c".
  9241. * printcmd.c (print_frame_nameless_args): Ditto.
  9242. * symtab.h (address_class): Update comments.
  9243. * dwarf2loc.c (dwarf_expr_frame_base): Add note about
  9244. get_frame_base_address.
  9245. * dwarf2expr.c (execute_stack_op): Ditto.
  9246. * Makefile.in (frame_base_h): Define.
  9247. (frame.o): Update dependencies.
  9248. (frame-base.o): Add dependencies.
  9249. (SFILES): Add frame-base.c.
  9250. (COMMON_OBS): Add frame-base.o.
  9251. 2003-04-01 Andrew Cagney <cagney@redhat.com>
  9252. * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
  9253. CALL_DUMMY_LENGTH): Ditto.
  9254. * gdbarch.c: Re-generate.
  9255. * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
  9256. (CALL_DUMMY_LENGTH): Delete macro.
  9257. * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
  9258. * arm-tdep.c (arm_gdbarch_init): Ditto.
  9259. * avr-tdep.c (avr_gdbarch_init): Ditto.
  9260. * cris-tdep.c (cris_gdbarch_init): Ditto.
  9261. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  9262. * frv-tdep.c (frv_gdbarch_init): Ditto.
  9263. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  9264. * hppa-tdep.c (hppa_gdbarch_init): Ditto.
  9265. * i386-tdep.c (i386_gdbarch_init): Ditto.
  9266. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  9267. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  9268. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  9269. * mips-tdep.c (mips_gdbarch_init): Ditto.
  9270. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  9271. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  9272. * s390-tdep.c (s390_gdbarch_init): Ditto.
  9273. * sh-tdep.c (sh_gdbarch_init): Ditto.
  9274. * sparc-tdep.c (sparc_gdbarch_init): Ditto.
  9275. * v850-tdep.c (v850_gdbarch_init): Ditto.
  9276. * vax-tdep.c (vax_gdbarch_init): Ditto.
  9277. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
  9278. 2003-04-01 Corinna Vinschen <vinschen@redhat.com>
  9279. * frame.c (get_prev_frame): Disable call to inside_entry_file().
  9280. 2003-04-01 Andrew Cagney <cagney@redhat.com>
  9281. * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
  9282. (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
  9283. * gdbarch.h, gdbarch.c: Re-generate.
  9284. * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
  9285. (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
  9286. * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
  9287. * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
  9288. (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
  9289. * infcmd.c (run_stack_dummy): Simplify assuming
  9290. CALL_DUMMY_BREAKPOINT_OFFSET_P.
  9291. * infrun.c (handle_inferior_event): Ditto.
  9292. * alpha-tdep.c (alpha_gdbarch_init): Do not set
  9293. call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
  9294. * arm-tdep.c (arm_gdbarch_init): Ditto.
  9295. * avr-tdep.c (avr_gdbarch_init): Ditto.
  9296. * cris-tdep.c (cris_gdbarch_init): Ditto.
  9297. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  9298. * frv-tdep.c (frv_gdbarch_init): Ditto.
  9299. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  9300. * i386-tdep.c (i386_gdbarch_init): Ditto.
  9301. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  9302. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  9303. * m68k-tdep.c (m68k_gdbarch_init): Ditto.
  9304. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  9305. * mips-tdep.c (mips_gdbarch_init): Ditto.
  9306. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  9307. * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
  9308. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  9309. * s390-tdep.c (s390_gdbarch_init): Ditto.
  9310. * sh-tdep.c (sh_gdbarch_init): Ditto.
  9311. * sparc-tdep.c (sparc_gdbarch_init): Ditto.
  9312. * v850-tdep.c (v850_gdbarch_init): Ditto.
  9313. * vax-tdep.c (vax_gdbarch_init): Ditto.
  9314. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
  9315. 2003-04-01 Daniel Jacobowitz <drow@mvista.com>
  9316. * symfile.c (symfile_relocate_debug_section): Update call to
  9317. bfd_simple_get_relocated_section_contents.
  9318. 2003-03-31 Andrew Cagney <cagney@redhat.com>
  9319. * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
  9320. * gdbarch.h, gdbarch.c: Regenerate.
  9321. * inferior.h (FIX_CALL_DUMMY): Delete macro.
  9322. * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
  9323. available.
  9324. * frame.h (generic_fix_call_dummy): Delete declaration.
  9325. * dummy-frame.h: Update comment.
  9326. * dummy-frame.c (generic_fix_call_dummy): Delete function.
  9327. * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
  9328. fix_call_dummy.
  9329. * sh-tdep.c (sh_gdbarch_init): Ditto.
  9330. * s390-tdep.c (s390_gdbarch_init): Ditto.
  9331. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  9332. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  9333. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  9334. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  9335. * i386-tdep.c (i386_gdbarch_init): Ditto.
  9336. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  9337. * frv-tdep.c (frv_gdbarch_init): Ditto.
  9338. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  9339. * cris-tdep.c (cris_gdbarch_init): Ditto.
  9340. * avr-tdep.c (avr_gdbarch_init): Ditto.
  9341. * arm-tdep.c (arm_gdbarch_init): Ditto.
  9342. 2003-03-31 J. Brobecker <brobecker@gnat.com>
  9343. * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
  9344. (INIT_FRAME_AP): Likewise.
  9345. (EXTRA_FRAME_INFO): Likewise.
  9346. 2003-03-31 Andrew Cagney <cagney@redhat.com>
  9347. * gdbarch.sh: Include "symfile.h".
  9348. (CALL_DUMMY_ADDRESS): Default to entry_point_address.
  9349. * gdbarch.h, gdbarch.c: Re-generate.
  9350. * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
  9351. * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
  9352. call_dummy_address, the default is at entry_point_address.
  9353. * v850-tdep.c (v850_gdbarch_init): Ditto.
  9354. * sparc-tdep.c (sparc_gdbarch_init): Ditto.
  9355. * sh-tdep.c (sh_gdbarch_init): Ditto.
  9356. * s390-tdep.c (s390_gdbarch_init): Ditto.
  9357. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  9358. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  9359. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  9360. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  9361. * i386-tdep.c (i386_gdbarch_init): Ditto.
  9362. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  9363. * frv-tdep.c (frv_gdbarch_init): Ditto.
  9364. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  9365. * cris-tdep.c (cris_gdbarch_init): Ditto.
  9366. * arm-tdep.c (arm_gdbarch_init): Ditto.
  9367. 2003-03-31 Andrew Cagney <cagney@redhat.com>
  9368. * gdbarch.sh (CALL_DUMMY_P): Delete.
  9369. * gdbarch.h, gdbarch.c: Re-generate.
  9370. * inferior.h (CALL_DUMMY_P): Delete macro.
  9371. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  9372. * vax-tdep.c (vax_gdbarch_init): Update.
  9373. * v850-tdep.c (v850_gdbarch_init): Update.
  9374. * sparc-tdep.c (sparc_gdbarch_init): Update.
  9375. * sh-tdep.c (sh_gdbarch_init): Update.
  9376. * s390-tdep.c (s390_gdbarch_init): Update.
  9377. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  9378. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  9379. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  9380. * mips-tdep.c (mips_gdbarch_init): Update.
  9381. * mcore-tdep.c (mcore_gdbarch_init): Update.
  9382. * m68k-tdep.c (m68k_gdbarch_init): Update.
  9383. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  9384. * ia64-tdep.c (ia64_gdbarch_init): Update.
  9385. * i386-tdep.c (i386_gdbarch_init): Update.
  9386. * h8300-tdep.c (h8300_gdbarch_init): Update.
  9387. * frv-tdep.c (frv_gdbarch_init): Update.
  9388. * d10v-tdep.c (d10v_gdbarch_init): Update.
  9389. * cris-tdep.c (cris_gdbarch_init): Update.
  9390. * breakpoint.c (deprecated_frame_in_dummy): Update.
  9391. * avr-tdep.c (avr_gdbarch_init): Update.
  9392. * alpha-tdep.c (alpha_gdbarch_init): Update.
  9393. * arm-tdep.c (arm_gdbarch_init): Update.
  9394. * dummy-frame.c (dummy_frame_this_id): Update comments.
  9395. * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
  9396. * frame.c (legacy_get_prev_frame): Ditto.
  9397. * valops.c (call_function_by_hand): Delete function.
  9398. (hand_function_call): Rename to call_function_by_hand
  9399. 2003-03-30 Andrew Cagney <cagney@redhat.com>
  9400. 2002-11-10 Klee Dienes <kdienes@apple.com>
  9401. * value.h (struct value): Update comment.
  9402. 2003-03-30 Andrew Cagney <cagney@redhat.com>
  9403. * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
  9404. D10V_FP_REGNUM.
  9405. (d10v_gdbarch_init): Do not set fp_regnum.
  9406. * frame.c (get_frame_base): Force ID initialization.
  9407. (get_prev_frame): Move computation of the frame ID from here ...
  9408. (get_frame_id): ... to here.
  9409. (legacy_get_prev_frame): Mark the frame ID as valid.
  9410. * frame.h (struct frame_info): Add field "id_p".
  9411. 2003-03-30 Mark Kettenis <kettenis@gnu.org>
  9412. * i386-tdep.c (i386_store_struct_return): Removed.
  9413. (i386_gdbarch_init): Don't set deprecated_store_struct_return.
  9414. 2003-03-30 Andrew Cagney <cagney@redhat.com>
  9415. * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
  9416. * gdbarch.h, gdbarch.c: Regenerate.
  9417. * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
  9418. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
  9419. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  9420. * m68k-tdep.c (m68k_gdbarch_init): Ditto.
  9421. * i386-tdep.c (i386_gdbarch_init): Ditto.
  9422. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  9423. * cris-tdep.c (cris_gdbarch_init): Ditto.
  9424. * vax-tdep.c (vax_gdbarch_init): Ditto.
  9425. * s390-tdep.c (s390_gdbarch_init): Ditto.
  9426. * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
  9427. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  9428. * alpha-tdep.c (alpha_gdbarch_init): Ditto.
  9429. * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
  9430. * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
  9431. * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
  9432. * sparc-tdep.c (sparc_gdbarch_init): Update.
  9433. * sh-tdep.c (sh_gdbarch_init): Update.
  9434. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  9435. * mips-tdep.c (mips_gdbarch_init): Update.
  9436. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  9437. * ia64-tdep.c (ia64_gdbarch_init): Update.
  9438. * frv-tdep.c (frv_gdbarch_init): Update.
  9439. * avr-tdep.c (avr_gdbarch_init): Update.
  9440. * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
  9441. DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
  9442. instead of when push_dummy_call is not available.
  9443. 2003-03-30 Andrew Cagney <cagney@redhat.com>
  9444. * infttrace.c: Include "gdbthread.h".
  9445. (parent_attach_all): Fix function signature.
  9446. (call_ptrace): Update call.
  9447. * Makefile.in (infttrace.o): Update dependencies.
  9448. 2003-03-30 Andrew Cagney <cagney@redhat.com>
  9449. * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
  9450. PUSH_RETURN_ADDRESS.
  9451. * gdbarch.h, gdbarch.c: Regenerate.
  9452. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  9453. * x86-64-tdep.c (x86_64_init_abi): Update.
  9454. * v850-tdep.c (v850_gdbarch_init): Update.
  9455. * sparc-tdep.c (sparc_gdbarch_init): Update.
  9456. * sh-tdep.c (sh_gdbarch_init): Update.
  9457. * s390-tdep.c (s390_gdbarch_init): Update.
  9458. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  9459. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  9460. * mips-tdep.c (mips_gdbarch_init): Update.
  9461. * mcore-tdep.c (mcore_gdbarch_init): Update.
  9462. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  9463. * ia64-tdep.c (ia64_gdbarch_init): Update.
  9464. * i386-tdep.c (i386_gdbarch_init): Update.
  9465. * h8300-tdep.c (h8300_gdbarch_init): Update.
  9466. * frv-tdep.c (frv_gdbarch_init): Update.
  9467. * cris-tdep.c (cris_gdbarch_init): Update.
  9468. * avr-tdep.c (avr_gdbarch_init): Update.
  9469. * arm-tdep.c (arm_gdbarch_init): Update.
  9470. * valops.c (hand_function_call): Update.
  9471. 2003-03-29 Andrew Cagney <cagney@redhat.com>
  9472. * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
  9473. sizeof_call_dummy_words.
  9474. * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
  9475. define.
  9476. * gdbarch.h: Regenerate.
  9477. 2003-03-29 Andrew Cagney <cagney@redhat.com>
  9478. * infttrace.h: New file.
  9479. * hpread.c: Include "gdb_assert.h" and "somsolib.h".
  9480. (hpread_get_textlow): Detect an uninitialized dn_bufp.
  9481. (hpread_read_doc_function_type): Detect an initialized type1.
  9482. (hpread_quick_traverse): Initialize mod_name_string.
  9483. * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
  9484. (som_solib_get_solib_by_pc): Declare.
  9485. (so_lib_thread_start_addr): Declare.
  9486. (no_shared_libraries): Declare.
  9487. * somread.c (init_import_symbols): Make static. Add forward
  9488. declaration.
  9489. * config/pa/nm-hppah.h: Include "infttrace.h" for
  9490. parent_attach_all.
  9491. (hppa_insert_hw_watchpoint): Declare.
  9492. (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
  9493. * hppah-nat.c: Include "gdb_string.h".
  9494. (parent_attach_all): Delete extern declaration, moved to
  9495. "infttrace.h".
  9496. (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
  9497. int.
  9498. (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
  9499. * Makefile.in (infttrace_h): Define.
  9500. (hpread.o): Update dependencies.
  9501. (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
  9502. * hppa-hpux-tdep.c: Include "gdb_string.h".
  9503. * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
  9504. * infrun.c (handle_inferior_event): Always initialize
  9505. stepped_after_stopped_by_watchpoint. Add default and remove
  9506. fallthrough in switch statement.
  9507. * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
  9508. parameter to int.
  9509. (hppa_remove_hw_watchpoint): Ditto.
  9510. 2003-03-29 Andrew Cagney <cagney@redhat.com>
  9511. * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
  9512. offset.
  9513. 2003-03-29 Richard Earnshaw <rearnsha@arm.com>
  9514. * arm-tdep.c (arm_push_arguments): Delete.
  9515. (struct stack_item): New type.
  9516. (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
  9517. (arm_store_struct_return): Delte.
  9518. (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
  9519. arm_push_arguments or arm_store_struct_return.
  9520. 2003-03-28 Andrew Cagney <cagney@redhat.com>
  9521. * Makefile.in (d10v-tdep.o): Update dependencies.
  9522. * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
  9523. * d10v-tdep.c: Include "remote.h".
  9524. (target_resume_hook): Delete extern declaration.
  9525. (target_wait_loop_hook): Ditto.
  9526. (tdisassemble_command): Eliminate assignment in "if" conditional.
  9527. (d10v_ts2_register_sim_regno): Eliminate call to
  9528. legacy_register_sim_regno.
  9529. (d10v_ts3_register_sim_regno): Ditto.
  9530. 2003-03-28 Jeff Johnston <jjohnstn@redhat.com>
  9531. * thread.c: Reindented.
  9532. * lin-lwp.c: Ditto.
  9533. * linux-proc.c: Ditto.
  9534. 2003-03-28 Bob Rossi <bob_rossi@cox.net>
  9535. * MAINTAINERS (write after approval): Add myself.
  9536. 2003-03-27 Theodore A. Roth <troth@openavr.org>
  9537. * objc-exp.y: Add missing semi-colons.
  9538. 2003-03-27 Andrew Cagney <cagney@redhat.com>
  9539. * regcache.c (write_sp): Delete function and references.
  9540. * inferior.h (write_sp): Delete declaration.
  9541. * valops.c (hand_function_call): Replace write_sp with
  9542. TARGET_WRITE_SP.
  9543. * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
  9544. (sparc_pop_frame): Ditto.
  9545. 2003-03-27 Andrew Cagney <cagney@redhat.com>
  9546. * NEWS: Mention removal of support for hppa*-*-bsd* and
  9547. hppa*-*-osf* natives, and hppa*-*-pro* target.
  9548. * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
  9549. * config/pa/xm-pa.h: Obsolete file.
  9550. * config/pa/xm-hppab.h: Obsolete file.
  9551. * config/pa/nm-hppab.h: Obsolete file.
  9552. * config/pa/tm-hppab.h: Obsolete file.
  9553. * config/pa/tm-hppao.h: Obsolete file.
  9554. * config/pa/nm-hppao.h: Obsolete file.
  9555. * config/pa/tm-pro.h: Obsolete file.
  9556. * config/pa/hppaosf.mt: Obsolete file.
  9557. * config/pa/hppaosf.mh: Obsolete file.
  9558. * config/pa/hppapro.mt: Obsolete file.
  9559. * config/pa/hppabsd.mt: Obsolete file.
  9560. * config/pa/hppabsd.mh: Obsolete file.
  9561. * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
  9562. * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
  9563. hppa*-*-osf*.
  9564. 2003-03-27 Andrew Cagney <cagney@redhat.com>
  9565. * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
  9566. push_arguments. Don't set push_return_address or write_sp.
  9567. (d10v_push_dummy_call): Replace d10v_push_arguments.
  9568. (d10v_push_return_address, d10v_write_sp): Delete function,
  9569. handled by push_dummy_call.
  9570. 2003-03-26 Andrew Cagney <cagney@redhat.com>
  9571. * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
  9572. (push_dummy_call): New pure multi-arch replacement with gdbarch,
  9573. regcache and dummy_addr parameters.
  9574. * gdbarch.h, gdbarch.c: Re-generate.
  9575. * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
  9576. available; assume it will handle stack alignment and return
  9577. address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
  9578. legacy_push_arguments.
  9579. (legacy_push_arguments): Rename default_push_arguments.
  9580. * value.h (legacy_push_arguments): Rename default_push_arguments.
  9581. * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
  9582. * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
  9583. * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
  9584. * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
  9585. * config/i386/tm-symmetry.h: Update.
  9586. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  9587. * x86-64-tdep.c (x86_64_init_abi): Update.
  9588. * v850-tdep.c (v850_gdbarch_init): Update.
  9589. * sparc-tdep.c (sparc_gdbarch_init): Update.
  9590. * sh-tdep.c (sh_gdbarch_init): Update.
  9591. * s390-tdep.c (s390_gdbarch_init): Update.
  9592. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  9593. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  9594. * mips-tdep.c (mips_gdbarch_init): Update.
  9595. * mcore-tdep.c (mcore_gdbarch_init): Update.
  9596. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  9597. * ia64-tdep.c (ia64_gdbarch_init): Update.
  9598. * i386-tdep.c (i386_gdbarch_init): Update.
  9599. * hppa-tdep.c (hppa_gdbarch_init): Update.
  9600. * h8300-tdep.c (h8300_gdbarch_init): Update.
  9601. * frv-tdep.c (frv_gdbarch_init): Update.
  9602. * d10v-tdep.c (d10v_gdbarch_init): Update.
  9603. * cris-tdep.c (cris_gdbarch_init): Update.
  9604. * avr-tdep.c (avr_gdbarch_init): Update.
  9605. * arm-tdep.c (arm_gdbarch_init): Update.
  9606. * arm-linux-tdep.c (arm_linux_init_abi): Update.
  9607. * alpha-tdep.c (alpha_gdbarch_init): Update.
  9608. 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
  9609. * signals/signals.c (do_target_signal_to_host): Correct realtime
  9610. signal range test.
  9611. 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
  9612. * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
  9613. (struct sal_chain, map_catch_names): Remove.
  9614. (catch_exception_command_1): Don't call
  9615. handle_gnu_4_16_catch_command.
  9616. 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
  9617. From Mark Dettinger <dettinge@de.ibm.com>:
  9618. * dwarf2cfi.c (read_2u): Increment pointer by two.
  9619. 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
  9620. * signals/signals.c: Fix typos in last change.
  9621. 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
  9622. * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
  9623. not already defined. Use __SIGRTMIN if available.
  9624. (target_signal_from_host): Remove SIGRTMIN block.
  9625. (do_target_signal_to_host): Remove SIGRTMIN block; check that
  9626. the signal is within the realtime range.
  9627. 2003-03-25 Adam Fedor <fedor@gnu.org>
  9628. * Makefile.in (infrun.o): Add $(language_h)
  9629. * infrun.c (handle_inferior_event): Use skip_language_trampoline
  9630. for language specific trampolines.
  9631. * language.h (struct language_defn): Add skip_trampoline.
  9632. (skip_language_trampoline): Declare.
  9633. * language.c (unk_lang_trampoline, skip_language_trampoline):
  9634. New functions.
  9635. (unknown_language_defn, auto_language_defn, local_language_defn):
  9636. Add ukn_lang_trampoline.
  9637. * ada-lang.c (ada_language_defn): Add NULL for language
  9638. specific skip_trampoline.
  9639. * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
  9640. scm-lang.c: Likewise.
  9641. * objc-lang.c (objc_skip_trampoline): New function.
  9642. (objc_language_defn): Add objc_skip_trampoline.
  9643. 2003-03-25 Andrew Cagney <cagney@redhat.com>
  9644. * frame.c (get_prev_frame): Delay validating a frame's ID -
  9645. non-NULL, didn't go backwards - until an attempt to unwind it to
  9646. the previous frame.
  9647. 2003-03-25 Andrew Cagney <cagney@redhat.com>
  9648. * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
  9649. EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
  9650. * gdbarch.h, gdbarch.c: Re-generate.
  9651. * config/sparc/tm-sparc.h
  9652. (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
  9653. * sparc-tdep.c (sparc_gdbarch_init): Set
  9654. deprecated_extra_stack_alignment_needed.
  9655. * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
  9656. * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
  9657. extra_stack_alignment_needed.
  9658. * v850-tdep.c (v850_gdbarch_init): Ditto.
  9659. * hppa-tdep.c (hppa_gdbarch_init): Ditto.
  9660. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  9661. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  9662. * cris-tdep.c (cris_gdbarch_init): Ditto.
  9663. * m68k-tdep.c (m68k_gdbarch_init): Ditto.
  9664. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  9665. 2003-03-25 Andrew Cagney <cagney@redhat.com>
  9666. * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
  9667. STORE_STRUCT_RETURN.
  9668. * gdbarch.h, gdbarch.c: Regenerate.
  9669. * d10v-tdep.c (d10v_store_struct_return): Delete function.
  9670. (d10v_push_arguments): Set the struct return register.
  9671. (d10v_gdbarch_init): Update.
  9672. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  9673. * x86-64-tdep.c (x86_64_init_abi): Update.
  9674. * vax-tdep.c (vax_gdbarch_init): Update.
  9675. * v850-tdep.c (v850_gdbarch_init): Update.
  9676. * sparc-tdep.c (sparc_gdbarch_init): Update.
  9677. * sh-tdep.c (sh_gdbarch_init): Update.
  9678. * s390-tdep.c (s390_gdbarch_init): Update.
  9679. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  9680. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  9681. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  9682. * mips-tdep.c (mips_gdbarch_init): Update.
  9683. * mcore-tdep.c (mcore_gdbarch_init): Update.
  9684. * m68k-tdep.c (m68k_gdbarch_init): Update.
  9685. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  9686. * ia64-tdep.c (ia64_gdbarch_init): Update.
  9687. * i386-tdep.c (i386_gdbarch_init): Update.
  9688. * hppa-tdep.c (hppa_gdbarch_init): Update.
  9689. * h8300-tdep.c (h8300_gdbarch_init): Update.
  9690. * frv-tdep.c (frv_gdbarch_init): Update.
  9691. * cris-tdep.c (cris_gdbarch_init): Update.
  9692. * avr-tdep.c (avr_gdbarch_init): Update.
  9693. * arm-tdep.c (arm_gdbarch_init): Update.
  9694. * alpha-tdep.c (alpha_gdbarch_init): Update.
  9695. 2003-03-25 Andrew Cagney <cagney@redhat.com>
  9696. * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
  9697. (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
  9698. CALL_DUMMY_STACK_ADJUST with a predicate variable.
  9699. * gdbarch.h, gdbarch.c: Regenerate.
  9700. * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
  9701. call_dummy_stack_adjust_p.
  9702. * vax-tdep.c (vax_gdbarch_init): Ditto.
  9703. * v850-tdep.c (v850_gdbarch_init): Ditto.
  9704. * sh-tdep.c (sh_gdbarch_init): Ditto.
  9705. * s390-tdep.c (s390_gdbarch_init): Ditto.
  9706. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  9707. * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
  9708. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  9709. * mips-tdep.c (mips_gdbarch_init): Ditto.
  9710. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  9711. * m68k-tdep.c (m68k_gdbarch_init): Ditto.
  9712. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  9713. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  9714. * i386-tdep.c (i386_gdbarch_init): Ditto.
  9715. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  9716. * frv-tdep.c (frv_gdbarch_init): Ditto.
  9717. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  9718. * cris-tdep.c (cris_gdbarch_init): Ditto.
  9719. * avr-tdep.c (avr_gdbarch_init): Ditto.
  9720. * arm-tdep.c (arm_gdbarch_init): Ditto.
  9721. * alpha-tdep.c (alpha_gdbarch_init): Ditto.
  9722. * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
  9723. * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
  9724. * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
  9725. * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
  9726. call_dummy_stack_adjust_p.
  9727. * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
  9728. (CALL_DUMMY_STACK_ADJUST): Delete macro.
  9729. * sparc-tdep.c (sparc32_push_arguments): Update.
  9730. * valops.c (hand_function_call): Update.
  9731. 2003-03-25 Corinna Vinschen <vinschen@redhat.com>
  9732. * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
  9733. set_gdbarch_char_signed.
  9734. 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
  9735. PR cli/548
  9736. * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
  9737. 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
  9738. * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
  9739. (_initialize_arm_tdep): Don't set tm_print_insn.
  9740. 2003-03-24 Adam Fedor <fedor@gnu.org>
  9741. * Makefile.in (YYOBJ): Add objc-exp.tab.o
  9742. * objc-lang.h: Add multiple inclusion protection.
  9743. (start_msglist, add_msglist, end_msglist): Additional declarations.
  9744. 2003-03-24 Richard Earnshaw <rearnsha@arm.com>
  9745. * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
  9746. value was renamed to ARM_FLOAT_SOFT_FPA.
  9747. 2003-03-23 Andrew Cagney <cagney@redhat.com>
  9748. * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
  9749. (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
  9750. * gdbarch.h, gdbarch.c: Regenerate.
  9751. * valops.c (hand_function_call): Update.
  9752. * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
  9753. * frame.c (legacy_saved_regs_this_id): Update.
  9754. (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
  9755. * dummy-frame.h: Update.
  9756. * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
  9757. * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
  9758. * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
  9759. * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
  9760. * config/m68k/tm-sun3.h: Update.
  9761. * blockframe.c (inside_main_func, frame_chain_valid): Update.
  9762. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  9763. * x86-64-tdep.c (x86_64_init_abi): Update.
  9764. * vax-tdep.c (vax_gdbarch_init): Update.
  9765. * v850-tdep.c (v850_gdbarch_init): Update.
  9766. * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
  9767. * sh-tdep.c (sh_gdbarch_init): Update.
  9768. * s390-tdep.c (s390_gdbarch_init): Update.
  9769. * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
  9770. (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
  9771. (frame_get_saved_regs): Update.
  9772. * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
  9773. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  9774. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  9775. * mips-tdep.c (mips_gdbarch_init): Update.
  9776. * mcore-tdep.c (mcore_gdbarch_init): Update.
  9777. * m68k-tdep.c (m68k_gdbarch_init): Update.
  9778. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  9779. * ia64-tdep.c (ia64_gdbarch_init): Update.
  9780. * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
  9781. * i386-interix-tdep.c (i386_interix_init_abi): Update.
  9782. (i386_interix_back_one_frame): Update.
  9783. * hppa-tdep.c (hppa_gdbarch_init): Update.
  9784. (hppa_init_extra_frame_info): Update.
  9785. * h8300-tdep.c (h8300_gdbarch_init): Update.
  9786. * frv-tdep.c (frv_gdbarch_init): Update.
  9787. * cris-tdep.c (cris_gdbarch_init): Update.
  9788. * avr-tdep.c (avr_gdbarch_init): Update.
  9789. * arm-tdep.c (arm_gdbarch_init): Update.
  9790. * alpha-tdep.c (alpha_gdbarch_init): Update.
  9791. 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
  9792. * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
  9793. (arm_get_fp_model): Declare.
  9794. * arm-tdep.c (fp_model_strings): New string array.
  9795. (arm_fp_model, current_fp_model): New variables.
  9796. (arm_get_fp_model): New function.
  9797. (arm_set_fp): New function.
  9798. (set_fp_model_sfunc): New function.
  9799. (show_fp_model): New function.
  9800. (_initialize_arm_tdep): Add new command to set/show the FPU.
  9801. (arm_extract_return_value): Use arm_get_fp_model.
  9802. (arm_store_return_value): Likewise.
  9803. (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
  9804. to initialize the floating-point data types.
  9805. * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
  9806. model is FPA.
  9807. 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
  9808. * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
  9809. the current setting of each value.
  9810. (_initialize_arm_tdep): Delete variable new_cmd and add new vars
  9811. new_set and new_show. Use add_setshow_cmd_full and
  9812. add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
  9813. commands and add new version as subcommands of "set/show arm".
  9814. 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
  9815. * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
  9816. (set_arm_command, show_arm_command): New functions.
  9817. (_initialize_arm_tdep): Add them.
  9818. (num_disassembly_options): Renamed from num_flavor_options.
  9819. (valid_disassembly_styles): Renamed from valid_flavors.
  9820. (disassembly_style): Renamed from disassembly_flavor.
  9821. (set_disassembly_style_sfunc): Renamed from
  9822. set_disassembly_flavor_sfunc.
  9823. (set_disassembly_style): Renamed from set_disassembly_flavor.
  9824. (arm_othernames): Updated.
  9825. (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
  9826. command. Add "set/show arm disassembly" commands. Deprecate
  9827. "othernames" command.
  9828. 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
  9829. * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
  9830. (arm-tdep.o): Depend on elf_arm_h.
  9831. 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
  9832. * Makefile.in (coff_internal_h): Define.
  9833. (arm-tdep.o): Update dependencies.
  9834. 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
  9835. * arm-tdep.c (prologue_cache): Delete.
  9836. (check_prologue_cache, save_prologue_cache): Delete.
  9837. (arm_scan_prologue): Don't check or update the prologue_cache.
  9838. (arm_gdb_arch_init): Don't initialize it.
  9839. (_initialize_arm_tdep): Likewise.
  9840. 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
  9841. * MAINTAINERS (tui): Maintainer of tui code.
  9842. 2003-03-21 Corinna Vinschen <vinschen@redhat.com>
  9843. * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
  9844. (i386-cygwin-tdep.o): Add dependencies.
  9845. * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
  9846. * i386-cygwin-tdep.c: New file.
  9847. * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
  9848. * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
  9849. 2003-03-20 Andrew Cagney <cagney@redhat.com>
  9850. * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
  9851. (handle_inferior_event): Remove code calling
  9852. DYNAMIC_TRAMPOLINE_NEXTPC.
  9853. * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
  9854. already has a full path.
  9855. * main.c (gdb_main): Return 1.
  9856. (captured_main): Call error to report an invalid interpreter.
  9857. * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
  9858. * alpha-osf1-tdep.c: Include "gdb_string.h".
  9859. 2003-03-19 J. Brobecker <brobecker@gnat.com>
  9860. Continuing work to convert the hppa targets to multiarch partial.
  9861. * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
  9862. method, now that hppa_push_dummy_frame has a conformant prototype.
  9863. * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
  9864. inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
  9865. for the switch to multiarch partial.
  9866. 2003-03-19 Kevin Buettner <kevinb@redhat.com>
  9867. * mdebugread.c (parse_symbol): For stEnd, we're done counting
  9868. when iss is issNull.
  9869. 2003-03-18 Kevin Buettner <kevinb@redhat.com>
  9870. * mips-tdep.c (mips_register_name): Fix fencepost error involving
  9871. NUM_REGS bounds check.
  9872. 2003-03-18 Kevin Buettner <kevinb@redhat.com>
  9873. * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
  9874. * mips-tdep.c (gdb_assert.h): Include.
  9875. (mips_generic_reg_names, mips_processor_reg_names): Make static.
  9876. (mips_register_name): Handle integer registers explicitly. Add
  9877. bounds checking.
  9878. (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
  9879. (mips_lsi33k_reg_names): Don't list integer registers; they're
  9880. handled by mips_register_name() now.
  9881. * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
  9882. * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
  9883. * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
  9884. * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
  9885. * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
  9886. 2003-03-18 Andrew Cagney <cagney@redhat.com>
  9887. * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
  9888. a void pointer.
  9889. * gdbtypes.h (print_scalar_formatted): Update declaration.
  9890. * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
  9891. 2003-03-18 J. Brobecker <brobecker@gnat.com>
  9892. * infrun.c (observer.h): Add #include.
  9893. (normal_stop): Add call to observer_notify_normal_stop.
  9894. * Makefile.in (infrun.o): Add dependency on observer.h.
  9895. 2003-03-18 J. Brobecker <brobecker@gnat.com>
  9896. Continuing work to convert the hppa targets to multiarch partial.
  9897. * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
  9898. parameter. Reformat comment.
  9899. * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
  9900. (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
  9901. to match new profile.
  9902. 2003-03-18 J. Brobecker <brobecker@gnat.com>
  9903. * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
  9904. appear to be working in any case.
  9905. 2003-03-18 J. Brobecker <brobecker@gnat.com>
  9906. * observer.c (observer_test_first_observer): New static variable.
  9907. (observer_test_second_observer): Likewise.
  9908. (observer_test_third_observer): Likewise.
  9909. (observer_test_first_notification_function): New static function.
  9910. (observer_test_second_notification_function): Likewise.
  9911. (observer_test_third_notification_function): Likewise.
  9912. 2003-03-17 J. Brobecker <brobecker@gnat.com>
  9913. * hppa-tdep.c (gdb_assert.h): Add missing #include.
  9914. * somsolib.c (gdb_assert.h): Likewise.
  9915. * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
  9916. (somsolib.o): Likewise.
  9917. 2003-03-17 Andrew Cagney <cagney@redhat.com>
  9918. * disasm.c (gdb_disassembly): Set di.mach using the architecture's
  9919. BFD. Simplify setting of di.endian.
  9920. 2003-03-17 Andrew Cagney <cagney@redhat.com>
  9921. * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
  9922. * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
  9923. From Elena Zannoni <ezannoni@redhat.com>
  9924. * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
  9925. vector and floating-point parameters.
  9926. (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
  9927. convention.
  9928. (ppc_sysv_abi_broken_use_struct_convention): Ditto.
  9929. 2003-03-17 Fernando Nasser <fnasser@redhat.com>
  9930. * MAINTAINERS: Remove my name from several maintainership roles.
  9931. 2003-03-17 Andrew Cagney <cagney@redhat.com>
  9932. Fix frame off-by-one bug.
  9933. * frame-unwind.h (frame_this_id_ftype): Replace
  9934. frame_unwind_id_ftype.
  9935. (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
  9936. (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
  9937. with "prev_register".
  9938. * frame-unwind.c (frame_unwind_find_by_pc): Return
  9939. legacy_saved_regs_unwind instead of trad_frame_unwind. Update
  9940. comment.
  9941. * dummy-frame.c (cached_find_dummy_frame): Delete function.
  9942. (dummy_frame_this_id): Replace dummy_frame_id_unwind.
  9943. (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
  9944. (dummy_frame_unwind): Update.
  9945. * sentinel-frame.c (sentinel_frame_prev_register): Replace
  9946. sentinel_frame_register_unwind.
  9947. (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
  9948. (sentinel_frame_unwinder): Update.
  9949. * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
  9950. (struct frame_info): Rename "unwind_cache" to "prologue_cache".
  9951. * frame.c (create_sentinel_frame): Update. Initialize
  9952. "prologue_cache" instead of "unwind_cache".
  9953. (frame_register_unwind): Call this frame's prev_register with the
  9954. next frame and this frame's prologue cache.
  9955. (get_prev_frame): Simplify. Always call prev frame's this_id with
  9956. this frame and prev frame's prologue cache. Document that this
  9957. call is shifted one to the left when compared to the
  9958. frame_register_unwind call.
  9959. (legacy_saved_regs_prev_register): Replace
  9960. frame_saved_regs_register_unwind.
  9961. (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
  9962. (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
  9963. (legacy_saved_regs_unwind): Replace trad_frame_unwind.
  9964. * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
  9965. (d10v_frame_unwind): Update.
  9966. (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
  9967. (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
  9968. (saved_regs_unwinder): Replace this "frame" with "next_frame", and
  9969. "saved_regs" with "this_saved_regs".
  9970. 2003-03-16 Andrew Cagney <cagney@redhat.com>
  9971. * frame.c (frame_pop): Don't call target_store_registers. Fix
  9972. problem reported by Mark Kettenis.
  9973. 2003-03-16 Mark Kettenis <kettenis@gnu.org>
  9974. * i386-tdep.c (i386_register_type): Renamed from
  9975. i386_register_virtual_type. Adjust function signature.
  9976. (i386_gdbarch_init): Set register_type instead of
  9977. deprecated_max_register_raw_size,
  9978. deprecated_max_register_virtual_size and register_virtual_type.
  9979. 2003-03-14 Andrew Cagney <cagney@redhat.com>
  9980. * frame.c (get_prev_frame): When a legacy frame, always call
  9981. legacy_get_prev_frame. Simplify unwind code using assumption that
  9982. the unwinder is new.
  9983. (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
  9984. (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
  9985. SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
  9986. 2003-03-14 Andrew Cagney <cagney@redhat.com>
  9987. * frame.c (get_saved_register): Delete function.
  9988. * frame.h (get_saved_register): Delete declaration.
  9989. * xstormy16-tdep.c: Update comment.
  9990. * regcache.h: Update comments.
  9991. * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
  9992. get_saved_register and extract_address, use
  9993. frame_read_unsigned_register.
  9994. (sparc_frame_saved_pc): Ditto.
  9995. (sparc_get_saved_register): Instead of get_saved_register, use
  9996. frame_register.
  9997. (sparc_pop_frame): Ditto.
  9998. * findvar.c: Update comments.
  9999. (value_of_register): Call frame_register instead of
  10000. get_saved_register.
  10001. (value_from_register): Ditto.
  10002. * config/sparc/tm-sparc.h: Update comment.
  10003. * breakpoint.c: Update comment.
  10004. 2003-03-14 Andrew Cagney <cagney@redhat.com>
  10005. * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
  10006. GET_SAVED_REGISTER.
  10007. * gdbarch.h, gdbarch.c: Re-generate.
  10008. * frame.h: Update comments.
  10009. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  10010. * x86-64-tdep.c (x86_64_init_abi): Update.
  10011. * sparc-tdep.c (sparc_gdbarch_init): Update.
  10012. * sh-tdep.c (sh_gdbarch_init): Update.
  10013. * mips-tdep.c (mips_gdbarch_init): Update.
  10014. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  10015. * cris-tdep.c (cris_gdbarch_init): Update.
  10016. * ia64-tdep.c (ia64_gdbarch_init): Update.
  10017. * frame.c (frame_register): Update.
  10018. (get_saved_register): Update.
  10019. * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
  10020. 2003-03-13 Andrew Cagney <cagney@redhat.com>
  10021. * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
  10022. * gdbarch.h, gdbarch.c: Regenerate.
  10023. * valops.c (hand_function_call): Update comment.
  10024. * stack.c (return_command): Update comment.
  10025. * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
  10026. * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
  10027. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  10028. * x86-64-tdep.c (x86_64_init_abi): Update.
  10029. * vax-tdep.c (vax_gdbarch_init): Update.
  10030. * v850-tdep.c (v850_gdbarch_init): Update.
  10031. * sparc-tdep.c (sparc_gdbarch_init): Update.
  10032. * sh-tdep.c (sh_gdbarch_init): Update.
  10033. * s390-tdep.c (s390_gdbarch_init): Update.
  10034. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  10035. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  10036. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  10037. * mips-tdep.c (mips_gdbarch_init): Update.
  10038. * mcore-tdep.c (mcore_gdbarch_init): Update.
  10039. * m68k-tdep.c (m68k_gdbarch_init): Update.
  10040. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  10041. * ia64-tdep.c (ia64_gdbarch_init): Update.
  10042. * i386-tdep.c (i386_gdbarch_init): Update.
  10043. * hppa-tdep.c (hppa_gdbarch_init): Update.
  10044. * h8300-tdep.c (h8300_gdbarch_init): Update.
  10045. * frv-tdep.c (frv_gdbarch_init): Update.
  10046. * cris-tdep.c (cris_gdbarch_init): Update.
  10047. * avr-tdep.c (avr_gdbarch_init): Update.
  10048. * arm-tdep.c (arm_gdbarch_init): Update.
  10049. * alpha-tdep.c (alpha_gdbarch_init): Update.
  10050. 2003-03-13 Andrew Cagney <cagney@redhat.com>
  10051. * frame.c (legacy_frame_p): New function.
  10052. (get_prev_frame): Use legacy_frame_p.
  10053. * frame.h (legacy_frame_p): Declare.
  10054. 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
  10055. * MAINTAINERS (write after approval): Alphabetically
  10056. listing corrected.
  10057. 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
  10058. * MAINTAINERS (write after approval): Add myself.
  10059. 2003-03-12 Andrew Cagney <cagney@redhat.com>
  10060. * frame.c (get_prev_frame): Rename the frame parameter to
  10061. "this_frame".
  10062. (get_next_frame, legacy_get_prev_frame): Ditto.
  10063. 2003-03-12 Andrew Cagney <cagney@redhat.com>
  10064. * frame.c (get_current_frame): Check target_has_registers before
  10065. checking target_has_stack.
  10066. * eval.c (evaluate_subexp_standard): Use get_selected_frame,
  10067. instead of deprecated_selected_frame.
  10068. * findvar.c (value_of_register): Pass "frame", not
  10069. deprecated_selected_frame, to value_of_builtin_reg.
  10070. 2003-03-12 Andrew Cagney <cagney@redhat.com>
  10071. * regcache.c (regcache_cooked_write_signed): New function.
  10072. (regcache_cooked_write_unsigned): New function.
  10073. (regcache_cooked_read_unsigned): Fix regnum in range assertion.
  10074. (regcache_cooked_read_signed): Fix regnum in range assertion.
  10075. * regcache.h (regcache_cooked_write_signed): Declare.
  10076. (regcache_cooked_write_unsigned): Declare.
  10077. 2003-03-12 Andrew Cagney <cagney@redhat.com>
  10078. * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
  10079. * gdbarch.h, gdbarch.c: Re-generate.
  10080. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  10081. * x86-64-tdep.h: Update.
  10082. * x86-64-tdep.c (x86_64_init_abi): Update.
  10083. * v850-tdep.c (v850_gdbarch_init): Update.
  10084. * sparc-tdep.c (sparc_gdbarch_init): Update.
  10085. * sh-tdep.c (sh_gdbarch_init): Update.
  10086. * s390-tdep.c (s390_gdbarch_init): Update.
  10087. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  10088. * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
  10089. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  10090. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  10091. * mips-tdep.c (mips_gdbarch_init): Update.
  10092. * mcore-tdep.c (mcore_gdbarch_init): Update.
  10093. * m68k-tdep.c (m68k_gdbarch_init): Update.
  10094. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  10095. * ia64-tdep.c (ia64_gdbarch_init): Update.
  10096. * i386-tdep.c (i386_gdbarch_init): Update.
  10097. * i386-interix-tdep.c (i386_interix_init_abi): Update.
  10098. * hppa-tdep.c (hppa_gdbarch_init): Update.
  10099. * h8300-tdep.c (h8300_gdbarch_init): Update.
  10100. * frv-tdep.c (frv_gdbarch_init): Update.
  10101. * cris-tdep.c (cris_gdbarch_init): Update.
  10102. * avr-tdep.c (avr_gdbarch_init): Update.
  10103. * arm-tdep.c (arm_gdbarch_init): Update.
  10104. * alpha-tdep.c (alpha_gdbarch_init): Update.
  10105. * sh-tdep.c (sh_init_extra_frame_info): Update.
  10106. (sh64_init_extra_frame_info): Update.
  10107. * ns32knbsd-nat.c (frame_num_args): Update.
  10108. * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
  10109. * xstormy16-tdep.c (xstormy16_pop_frame): Update.
  10110. (xstormy16_frame_chain_valid): Update.
  10111. * vax-tdep.c (vax_saved_pc_after_call): Update.
  10112. * v850-tdep.c (v850_frame_chain): Update.
  10113. (v850_pop_frame): Update.
  10114. (v850_init_extra_frame_info): Update.
  10115. * sparc-tdep.c (setup_arbitrary_frame): Update.
  10116. * ns32k-tdep.c (umax_frame_num_args): Update.
  10117. * s390-tdep.c (s390_pop_frame_regular): Update.
  10118. * mn10300-tdep.c (mn10300_frame_chain): Update.
  10119. (mn10300_pop_frame_regular): Update.
  10120. (mn10300_init_extra_frame_info): Update.
  10121. * mips-tdep.c (mips_init_frame_pc_first): Update.
  10122. (mips_frame_chain): Update.
  10123. (mips_pop_frame): Update.
  10124. * mcore-tdep.c (mcore_frame_chain): Update.
  10125. (mcore_pop_frame): Update.
  10126. (mcore_init_extra_frame_info): Update.
  10127. * arch-utils.c (init_frame_pc_default): Update.
  10128. * m68k-tdep.c (isi_frame_num_args): Update.
  10129. (delta68_frame_num_args): Update.
  10130. (news_frame_num_args): Update.
  10131. * ia64-tdep.c (ia64_pop_frame_regular): Update.
  10132. * alpha-tdep.c (alpha_init_frame_pc_first): Update.
  10133. (alpha_frame_chain): Update.
  10134. (alpha_pop_frame): Update.
  10135. * hppa-tdep.c (hppa_saved_pc_after_call): Update.
  10136. (hppa_init_extra_frame_info): Update.
  10137. (hppa_frame_chain): Update.
  10138. (hppa_frame_chain_valid): Update.
  10139. * cris-tdep.c (cris_init_extra_frame_info): Update.
  10140. * avr-tdep.c (avr_init_extra_frame_info): Update.
  10141. * arm-tdep.c (arm_frame_chain_valid): Update.
  10142. (arm_init_extra_frame_info): Update.
  10143. (arm_pop_frame): Update.
  10144. * frame.c (frame_pc_unwind): Update.
  10145. * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
  10146. (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
  10147. * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
  10148. * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
  10149. * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
  10150. * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
  10151. 2003-03-12 Andrew Cagney <cagney@redhat.com>
  10152. Eliminate the need for POP_FRAME.
  10153. * frame.c (do_frame_unwind_register): New function.
  10154. (frame_pop): When no POP_FRAME, pop the frame using register
  10155. unwind and a scratch regcache.
  10156. (frame_saved_regs_pop): Delete function.
  10157. (trad_frame_unwinder): Update.
  10158. * d10v-tdep.c (d10v_frame_pop): Delete function.
  10159. (d10v_frame_unwind): Update.
  10160. * sentinel-frame.c (sentinel_frame_pop): Delete function.
  10161. (sentinel_frame_unwinder): Update.
  10162. * dummy-frame.c (dummy_frame_pop): Delete function.
  10163. (dummy_frame_unwind): Update.
  10164. * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
  10165. (struct frame_unwind): Update.
  10166. 2003-03-11 Kevin Buettner <kevinb@redhat.com>
  10167. * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
  10168. mips_dwarf_dwarf2_ecoff_reg_to_regnum().
  10169. (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
  10170. Do range checks on register number obtained from debugging info.
  10171. (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
  10172. set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
  10173. set_gdbarch_ecoff_reg_to_regnum() to account for new name of
  10174. mapping function.
  10175. (do_fp_register_row): Fix typo which caused double type to be
  10176. used when attempting to unpack a float.
  10177. 2003-03-11 J. Brobecker <brobecker@gnat.com>
  10178. * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
  10179. 2003-03-11 Andrew Cagney <cagney@redhat.com>
  10180. * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
  10181. frame. Problem found by Corinna Vinschen.
  10182. 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
  10183. * doublest.c (floatformat_from_length): Accept also
  10184. the real size of 'long double' type.
  10185. 2003-03-10 Daniel Jacobowitz <drow@mvista.com>
  10186. From Klee Dienes <kdienes@apple.com>:
  10187. * breakpoint.c (bpstat_copy): Copy the command lines as well
  10188. as the old value, to match what is freed in bpstat_clear.
  10189. 2003-03-10 David Carlton <carlton@math.stanford.edu>
  10190. * minsyms.c (add_minsym_to_hash_table): Replace
  10191. DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
  10192. (compare_minimal_symbols, compact_minimal_symbols)
  10193. (install_minimal_symbols, find_solib_trampoline_target): Ditto.
  10194. (lookup_minimal_symbol_text): Use strcmp on linkage names instead
  10195. of DEPRECATED_SYMBOL_MATCHES_NAME.
  10196. (lookup_minimal_symbol_solib_trampoline): Ditto.
  10197. 2003-03-10 Andrew Cagney <cagney@redhat.com>
  10198. * regcache.h (regcache_cooked_read_ftype): Define.
  10199. (regcache_save, regcache_restore): Add a cooked_read parameter.
  10200. * regcache.c (regcache_save, regcache_restore): Update.
  10201. (do_cooked_read): New function.
  10202. (regcache_cpy): Pass do_cooked_read to regcache_save and
  10203. regcache_restore.
  10204. 2003-03-10 Andrew Cagney <cagney@redhat.com>
  10205. * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
  10206. * gdbarch.h, gdbarch.c: Re-generate.
  10207. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  10208. * x86-64-tdep.h: Update.
  10209. * x86-64-tdep.c (x86_64_init_abi): Update.
  10210. * v850-tdep.c (v850_gdbarch_init): Update.
  10211. * sparc-tdep.c (sparc_gdbarch_init): Update.
  10212. * sh-tdep.c (sh_gdbarch_init): Update.
  10213. * s390-tdep.c (s390_gdbarch_init): Update.
  10214. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  10215. * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
  10216. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  10217. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  10218. * mips-tdep.c (mips_gdbarch_init): Update.
  10219. * mcore-tdep.c (mcore_gdbarch_init): Update.
  10220. * m68k-tdep.c (m68k_gdbarch_init): Update.
  10221. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  10222. * ia64-tdep.c (ia64_gdbarch_init): Update.
  10223. * i386-tdep.c (i386_gdbarch_init): Update.
  10224. * i386-interix-tdep.c (i386_interix_init_abi): Update.
  10225. * hppa-tdep.c (hppa_gdbarch_init): Update.
  10226. * h8300-tdep.c (h8300_gdbarch_init): Update.
  10227. * frv-tdep.c (frv_gdbarch_init): Update.
  10228. * cris-tdep.c (cris_gdbarch_init): Update.
  10229. * avr-tdep.c (avr_gdbarch_init): Update.
  10230. * arm-tdep.c (arm_gdbarch_init): Update.
  10231. * alpha-tdep.c (alpha_gdbarch_init): Update.
  10232. * sh-tdep.c (sh_init_extra_frame_info): Update.
  10233. (sh64_init_extra_frame_info): Update.
  10234. * ns32knbsd-nat.c (frame_num_args): Update.
  10235. * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
  10236. * xstormy16-tdep.c (xstormy16_pop_frame): Update.
  10237. (xstormy16_frame_chain_valid): Update.
  10238. * vax-tdep.c (vax_saved_pc_after_call): Update.
  10239. * v850-tdep.c (v850_frame_chain): Update.
  10240. (v850_pop_frame): Update.
  10241. (v850_init_extra_frame_info): Update.
  10242. * sparc-tdep.c (setup_arbitrary_frame): Update.
  10243. * ns32k-tdep.c (umax_frame_num_args): Update.
  10244. * s390-tdep.c (s390_pop_frame_regular): Update.
  10245. * mn10300-tdep.c (mn10300_frame_chain): Update.
  10246. (mn10300_pop_frame_regular): Update.
  10247. (mn10300_init_extra_frame_info): Update.
  10248. * mips-tdep.c (mips_init_frame_pc_first): Update.
  10249. (mips_frame_chain): Update.
  10250. (mips_pop_frame): Update.
  10251. * mcore-tdep.c (mcore_frame_chain): Update.
  10252. (mcore_pop_frame): Update.
  10253. (mcore_init_extra_frame_info): Update.
  10254. * arch-utils.c (init_frame_pc_default): Update.
  10255. * m68k-tdep.c (isi_frame_num_args): Update.
  10256. (delta68_frame_num_args): Update.
  10257. (news_frame_num_args): Update.
  10258. * ia64-tdep.c (ia64_pop_frame_regular): Update.
  10259. * alpha-tdep.c (alpha_init_frame_pc_first): Update.
  10260. (alpha_frame_chain): Update.
  10261. (alpha_pop_frame): Update.
  10262. * hppa-tdep.c (hppa_saved_pc_after_call): Update.
  10263. (hppa_init_extra_frame_info): Update.
  10264. (hppa_frame_chain): Update.
  10265. (hppa_frame_chain_valid): Update.
  10266. * cris-tdep.c (cris_init_extra_frame_info): Update.
  10267. * avr-tdep.c (avr_init_extra_frame_info): Update.
  10268. * arm-tdep.c (arm_frame_chain_valid): Update.
  10269. (arm_init_extra_frame_info): Update.
  10270. (arm_pop_frame): Update.
  10271. * frame.c (frame_pc_unwind): Update.
  10272. * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
  10273. (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
  10274. * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
  10275. * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
  10276. * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
  10277. * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
  10278. 2003-03-10 Andrew Cagney <cagney@redhat.com>
  10279. * gdbarch.sh (gdbarch_unwind_pc): New method.
  10280. * gdbarch.h, gdbarch.c: Regenerate.
  10281. * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
  10282. but use read_pc and FRAME_SAVED_PC as fall backs.
  10283. (frame_saved_regs_pc_unwind): Delete function.
  10284. (trad_frame_unwinder): Update.
  10285. * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
  10286. (struct frame_unwind): Update.
  10287. * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
  10288. (dummy_frame_unwind): Update.
  10289. * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
  10290. (sentinel_frame_unwinder): Update.
  10291. * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
  10292. (d10v_frame_unwind): Update.
  10293. (d10v_unwind_pc): New function.
  10294. (d10v_gdbarch_init): Set unwind_pc.
  10295. 2003-03-10 Andrew Cagney <cagney@redhat.com>
  10296. * gdbarch.h: Re-generate.
  10297. * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
  10298. PC.
  10299. (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
  10300. the PC register.
  10301. 2003-03-08 Mark Kettenis <kettenis@gnu.org>
  10302. * gdbarch.sh (save_dummy_frame_tos): Add comment.
  10303. 2003-03-08 Andrew Cagney <cagney@redhat.com>
  10304. * cli-out.c: Update copyright.
  10305. (cli_out_data): Define typedef. Use instead of ui_out_data.
  10306. 2003-03-08 Andrew Cagney <cagney@redhat.com>
  10307. * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
  10308. the result.
  10309. 2003-03-07 Andrew Cagney <cagney@redhat.com>
  10310. * gdbarch.sh: Don't generate two macro definitions when an
  10311. undefined macro taking no arguments.
  10312. * gdbarch.h: Regenerate.
  10313. 2002-03-07 Michal Ludvig <mludvig@suse.cz>
  10314. * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
  10315. (x86_64_unwind_dummy_id): New functions.
  10316. (x86_64_init_abi): Register these two new functions.
  10317. 2003-03-07 Michal Ludvig <mludvig@suse.cz>
  10318. * x86-64-tdep.c (x86_64_function_has_prologue): New function.
  10319. (x86_64_skip_prologue): Move prologue detection to
  10320. separate function.
  10321. * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
  10322. 2003-03-05 Andrew Cagney <cagney@redhat.com>
  10323. * d10v-tdep.c (d10v_unwind_dummy_id): New function.
  10324. (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
  10325. * frame.c (get_prev_frame): Restructure the frame ID unwind code
  10326. to use unwind_dummy_id when a dummy frame.
  10327. * gdbarch.sh (unwind_dummy_id): New multi-arch method with
  10328. predicate.
  10329. * gdbarch.h, gdbarch.c: Regneerate.
  10330. 2003-03-05 Andrew Cagney <cagney@redhat.com>
  10331. * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
  10332. (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
  10333. Do not use d10v_read_sp or d10v_read_fp when obtaining register
  10334. values.
  10335. 2003-03-05 Andrew Cagney <cagney@redhat.com>
  10336. * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
  10337. (struct d10v_unwind_cache): Delete field "frameless". Replace
  10338. "next_addr" with "sp_offset". Add "r11_offset".
  10339. (d10v_frame_unwind_cache): Update.
  10340. (prologue_find_regs): Update. When "mv r11, sp", save the
  10341. "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
  10342. RN was saved in r11_offset.
  10343. 2003-03-05 Andrew Cagney <cagney@redhat.com>
  10344. * frame.c (deprecated_update_frame_pc_hack): Also update the the
  10345. cached PC value in the next frame.
  10346. 2003-03-05 Andrew Cagney <cagney@redhat.com>
  10347. * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
  10348. "id_unwind_cache" with "id".
  10349. (frame_id_unwind): Delete declaration.
  10350. * frame.c (frame_id_unwind): Delete function.
  10351. (get_prev_frame): Call the frame id unwind method directly. Store
  10352. the returned next frame's ID value in NEXT_FRAME. Note that there
  10353. is a problem with the wrong unwind ID being called with the wrong
  10354. unwind cache.
  10355. 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
  10356. * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
  10357. 2003-03-05 James Ingham <jingham@apple.com>
  10358. Daniel Jacobowitz <drow@mvista.com>
  10359. * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
  10360. (auto_cp_abi): New variable.
  10361. (current_cp_abi, num_cp_abis): Make static.
  10362. (CP_ABI_MAX): Define.
  10363. (cp_abis): Turn into an array.
  10364. (value_virtual_fn_field): Fix formatting.
  10365. (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
  10366. takes a pointer.
  10367. (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
  10368. (list_cp_abis, _initialize_cp_abi): New functions.
  10369. * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
  10370. declarations for cp_abis, num_cp_abis, current_cp_abi, and
  10371. switch_to_cp_abi. Update prototype for register_cp_abi.
  10372. * Makefile.in (cp-abi.o): Update dependencies.
  10373. * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
  10374. instead of switch_to_cp_abi.
  10375. * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
  10376. register_cp_abi.
  10377. * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
  10378. register_cp_abi.
  10379. * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
  10380. 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
  10381. * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
  10382. * dwarf2loc.c: Include "regcache.h".
  10383. (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
  10384. register_size.
  10385. * Makefile.in (dwarf2loc.o): Update dependencies.
  10386. 2003-03-04 Theodore A. Roth <troth@openavr.org>
  10387. * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
  10388. number of io registers reported by remote target is not a multiple of
  10389. step.
  10390. 2003-03-04 David Carlton <carlton@math.stanford.edu>
  10391. * symtab.c (lookup_partial_symbol): Add linkage_name argument.
  10392. (lookup_symbol_aux_psymtabs): Update call to
  10393. lookup_partial_symbol.
  10394. (lookup_transparent_type, find_main_psymtab)
  10395. (make_symbol_overload_list): Ditto.
  10396. 2003-03-04 Kazu Hirata <kazu@cs.umass.edu>
  10397. * MAINTAINERS (Write after approval): Update my email address.
  10398. 2003-03-03 Andrew Cagney <cagney@redhat.com>
  10399. Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
  10400. * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
  10401. predicate. Replace MAX_REGISTER_RAW_SIZE.
  10402. (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
  10403. MAX_REGISTER_VIRTUAL_SIZE.
  10404. * regcache.c (legacy_max_register_raw_size): New function.
  10405. (legacy_max_register_virtual_size): New function.
  10406. * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
  10407. (MAX_REGISTER_RAW_SIZE): Define.
  10408. (legacy_max_register_raw_size): Declare.
  10409. (legacy_max_register_virtual_size): Declare.
  10410. * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
  10411. (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
  10412. * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
  10413. (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
  10414. * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
  10415. (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
  10416. * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
  10417. * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
  10418. * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
  10419. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  10420. * vax-tdep.c (vax_gdbarch_init): Update.
  10421. * v850-tdep.c (v850_gdbarch_init): Update.
  10422. * sparc-tdep.c (sparc_gdbarch_init): Update.
  10423. * sh-tdep.c (sh_gdbarch_init): Update.
  10424. * s390-tdep.c (s390_gdbarch_init): Update.
  10425. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  10426. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  10427. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  10428. * mips-tdep.c (mips_gdbarch_init): Update.
  10429. * mcore-tdep.c (mcore_gdbarch_init): Update.
  10430. * m68k-tdep.c (m68k_gdbarch_init): Update.
  10431. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  10432. * ia64-tdep.c (ia64_gdbarch_init): Update.
  10433. * i386-tdep.c (i386_gdbarch_init): Update.
  10434. * hppa-tdep.c (hppa_gdbarch_init): Update.
  10435. * h8300-tdep.c (h8300_gdbarch_init): Update.
  10436. * frv-tdep.c (frv_gdbarch_init): Update.
  10437. * cris-tdep.c (cris_gdbarch_init): Update.
  10438. * avr-tdep.c (avr_gdbarch_init): Update.
  10439. * arm-tdep.c (arm_gdbarch_init): Update.
  10440. * alpha-tdep.c (alpha_gdbarch_init): Update.
  10441. * d10v-tdep.c (d10v_gdbarch_init): Do not set
  10442. max_register_raw_size or max_register_virtual_size.
  10443. 2003-03-03 David Carlton <carlton@math.stanford.edu>
  10444. * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
  10445. SYMBOL_MATCHES_NAME, add comment.
  10446. (SYMBOL_MATCHES_NATURAL_NAME): New.
  10447. * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
  10448. SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
  10449. (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
  10450. * symtab.c (lookup_partial_symbol): Use
  10451. SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
  10452. unhelpful comment.
  10453. (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
  10454. SYMBOL_MATCHES_NAME.
  10455. Fix for PR c++/33.
  10456. 2003-03-03 David Carlton <carlton@math.stanford.edu>
  10457. * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
  10458. * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
  10459. by regexp matching against SYMBOL_NATURAL_NAME.
  10460. 2003-03-03 David Carlton <carlton@math.stanford.edu>
  10461. * linespec.c (find_method): Extract code into collect_methods.
  10462. (collect_methods): New.
  10463. 2003-03-02 Mark Kettenis <kettenis@gnu.org>
  10464. * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
  10465. get_frame_base.
  10466. * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
  10467. DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
  10468. 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
  10469. * arch-utils.c (generic_register_byte): Fix to use the loop index
  10470. and not regnum when summing the size of all registers up to regnum.
  10471. 2003-03-01 Andrew Cagney <cagney@redhat.com>
  10472. * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
  10473. FRAME_INIT_SAVED_REGS.
  10474. * gdbarch.h, gdbarch.c: Regenerate.
  10475. * stack.c (frame_info): Update.
  10476. * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
  10477. (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
  10478. (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
  10479. * ns32k-tdep.c (ns32k_pop_frame): Update.
  10480. * mips-tdep.c (mips_pop_frame): Update.
  10481. * m68hc11-tdep.c (m68hc11_pop_frame): Update.
  10482. * ia64-tdep.c (ia64_frame_chain): Update.
  10483. (ia64_frame_saved_pc, ia64_get_saved_register): Update.
  10484. (ia64_frameless_function_invocation): Update.
  10485. (ia64_init_extra_frame_info): Update.
  10486. (ia64_pop_frame_regular): Update.
  10487. * frame.h (struct frame_info): Update comment.
  10488. (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
  10489. * frame.c (frame_saved_regs_register_unwind): Update.
  10490. (frame_saved_regs_register_unwind): Update.
  10491. (deprecated_generic_get_saved_register): Update.
  10492. * cris-tdep.c: Update comment.
  10493. * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
  10494. Rename macro.
  10495. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
  10496. * x86-64-tdep.c (x86_64_init_abi): Update.
  10497. * vax-tdep.c (vax_gdbarch_init): Update.
  10498. * v850-tdep.c (v850_gdbarch_init): Update.
  10499. * sparc-tdep.c (sparc_gdbarch_init): Update.
  10500. * sh-tdep.c (sh_gdbarch_init): Update.
  10501. * s390-tdep.c (s390_gdbarch_init): Update.
  10502. * rs6000-tdep.c (rs6000_gdbarch_init): Update.
  10503. * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
  10504. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  10505. * mn10300-tdep.c (mn10300_gdbarch_init): Update.
  10506. * mips-tdep.c (mips_gdbarch_init): Update.
  10507. * mcore-tdep.c (mcore_gdbarch_init): Update.
  10508. * m68k-tdep.c (m68k_gdbarch_init): Update.
  10509. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
  10510. * ia64-tdep.c (ia64_gdbarch_init): Update.
  10511. * i386-tdep.c (i386_gdbarch_init): Update.
  10512. * frv-tdep.c (frv_gdbarch_init): Update.
  10513. * avr-tdep.c (avr_gdbarch_init): Update.
  10514. * arm-tdep.c (arm_gdbarch_init): Update.
  10515. * alpha-tdep.c (alpha_gdbarch_init): Update.
  10516. 2003-03-01 Andrew Cagney <cagney@redhat.com>
  10517. * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
  10518. option enum and switch. When no windows, set the interpreter to
  10519. INTERP_CONSOLE.
  10520. 2003-03-01 Andrew Cagney <cagney@redhat.com>
  10521. * main.c (captured_main): Replace magic option characters with an
  10522. enum.
  10523. 2003-03-01 Andrew Cagney <cagney@redhat.com>
  10524. * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
  10525. INIT_EXTRA_FRAME_INFO.
  10526. * gdbarch.h, gdbarch.c: Regenerate.
  10527. * arm-tdep.c: Update comments.
  10528. * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
  10529. * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
  10530. * frame.h, avr-tdep.c: Ditto.
  10531. * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
  10532. (create_new_frame, legacy_get_prev_frame): Ditto.
  10533. * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
  10534. * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
  10535. * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
  10536. deprecated_init_extra_frame_info instead of init_extra_frame_info.
  10537. * x86-64-tdep.c (x86_64_init_abi): Ditto.
  10538. * v850-tdep.c (v850_gdbarch_init): Ditto.
  10539. * sparc-tdep.c (sparc_gdbarch_init): Ditto.
  10540. * sh-tdep.c (sh_gdbarch_init): Ditto.
  10541. * s390-tdep.c (s390_gdbarch_init): Ditto.
  10542. * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
  10543. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  10544. * mips-tdep.c (mips_gdbarch_init): Ditto.
  10545. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  10546. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  10547. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  10548. * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
  10549. * hppa-tdep.c (hppa_gdbarch_init): Ditto.
  10550. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  10551. * frv-tdep.c (frv_gdbarch_init): Ditto.
  10552. * cris-tdep.c (cris_gdbarch_init): Ditto.
  10553. * avr-tdep.c (avr_gdbarch_init): Ditto.
  10554. * arm-tdep.c (arm_gdbarch_init): Ditto.
  10555. * alpha-tdep.c (alpha_gdbarch_init): Ditto.
  10556. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  10557. 2003-03-01 Andrew Cagney <cagney@redhat.com>
  10558. * gdbarch.sh (register_type): New function with predicate.
  10559. (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
  10560. * gdbarch.h, gdbarch.c: Re-generate.
  10561. * arch-utils.c (generic_register_byte): Use generic_register_size.
  10562. (generic_register_size): When available, use
  10563. gdbarch_register_type.
  10564. * regcache.c (init_regcache_descr): When available, initialize the
  10565. register type array using gdbarch_register_type. If the
  10566. architecture supplies gdbarch_register_type, do not use the legacy
  10567. regcache layout.
  10568. * d10v-tdep.c (d10v_register_type): Replace
  10569. d10v_register_virtual_type.
  10570. (d10v_gdbarch_init): Set register_type instead of
  10571. register_virtual_type.
  10572. 2003-03-01 Andrew Cagney <cagney@redhat.com>
  10573. * Makefile.in (ax-gdb.o): Update dependencies.
  10574. * ax-gdb.c: Include "regcache.h".
  10575. (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
  10576. * findvar.c (value_of_register): Ditto.
  10577. * infcmd.c (default_print_registers_info): Ditto.
  10578. 2003-03-01 Mark Kettenis <kettenis@gnu.org>
  10579. * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
  10580. DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
  10581. 2003-03-01 Mark Kettenis <kettenis@gnu.org>
  10582. * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
  10583. of STREQ.
  10584. 2003-02-28 Daniel Jacobowitz <drow@mvista.com>
  10585. * Makefile.in (dwarf2loc.o): Update dependencies.
  10586. * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
  10587. * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
  10588. * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
  10589. * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
  10590. (locexpr_tracepoint_var_ref): New function.
  10591. (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
  10592. 2003-02-28 Andrew Cagney <cagney@redhat.com>
  10593. * regcache.c (register_size): New function.
  10594. * regcache.h (register_size): Declare
  10595. * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
  10596. max_register_size instead of MAX_REGISTER_RAW_SIZE.
  10597. 2003-02-28 David Carlton <carlton@math.stanford.edu>
  10598. * linespec.c (decode_compound): Extract code into find_method.
  10599. (find_method): New.
  10600. 2003-02-28 J. Brobecker <brobecker@gnat.com>
  10601. * Makefile.in: Add rules to build and link in observer.o.
  10602. 2003-02-27 J. Brobecker <brobecker@gnat.com>
  10603. * observer.c: Minor comments edits.
  10604. 2003-02-27 J. Brobecker <brobecker@gnat.com>
  10605. * observer.h, observer.c: New file.
  10606. 2003-02-27 Andrew Cagney <cagney@redhat.com>
  10607. * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
  10608. 2003-02-27 Stephane Carrez <stcarrez@nerim.fr>
  10609. * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
  10610. (M6812_OP_STS_EXT): Likewise.
  10611. (m6811_prologue): Use the above to recognize prologue.
  10612. (m6812_prologue): Likewise.
  10613. 2003-02-27 David Carlton <carlton@math.stanford.edu>
  10614. * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
  10615. SYMBOL_PRINT_NAME.
  10616. (compare_psymbols): Ditto.
  10617. * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
  10618. 2003-02-27 Michael Snyder <msnyder@redhat.com>
  10619. * f-lang.c (build_fortran_types): New function.
  10620. (_initialize_f_language): Gdbarch-register built-in fortran types.
  10621. * doublest.c (extract_floating): Fix warning text.
  10622. 2003-02-27 Andrew Cagney <cagney@redhat.com>
  10623. * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
  10624. predicate. Replaces PUSH_DUMMY_FRAME.
  10625. * gdbarch.h, gdbarch.c: Regnerate.
  10626. * valops.c (hand_function_call): Update. Call
  10627. generic_push_dummy_frame directly.
  10628. * vax-tdep.c (vax_gdbarch_init): Update.
  10629. * sparc-tdep.c (sparc_gdbarch_init): Update.
  10630. * ns32k-tdep.c (ns32k_gdbarch_init): Update.
  10631. * m68k-tdep.c (m68k_gdbarch_init): Update.
  10632. * hppa-tdep.c (hppa_gdbarch_init): Update.
  10633. * alpha-tdep.c (alpha_gdbarch_init): Update.
  10634. * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
  10635. * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
  10636. * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
  10637. * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
  10638. push_dummy_frame to generic_push_dummy_frame.
  10639. * v850-tdep.c (v850_gdbarch_init): Ditto.
  10640. * sh-tdep.c (sh_gdbarch_init): Ditto.
  10641. * s390-tdep.c (s390_gdbarch_init): Ditto.
  10642. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
  10643. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
  10644. * mips-tdep.c (mips_gdbarch_init): Ditto.
  10645. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
  10646. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
  10647. * ia64-tdep.c (ia64_gdbarch_init): Ditto.
  10648. * i386-tdep.c (i386_gdbarch_init): Ditto.
  10649. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
  10650. * frv-tdep.c (frv_gdbarch_init): Ditto.
  10651. * d10v-tdep.c (d10v_gdbarch_init): Ditto.
  10652. * cris-tdep.c (cris_gdbarch_init): Ditto.
  10653. * avr-tdep.c (avr_gdbarch_init): Ditto.
  10654. * arm-tdep.c (arm_gdbarch_init): Ditto.
  10655. 2003-02-26 Kevin Buettner <kevinb@redhat.com>
  10656. * mips-tdep.c (show_mips_abi): New function.
  10657. (_initialize_mips_tdep): Use show_mips_abi() to implement the
  10658. command ``show mips abi''.
  10659. 2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
  10660. From Elena Zannoni <ezannoni@redhat.com>
  10661. * dbxread.c (process_one_symbol): Only record line 0 if one or
  10662. more sline entries have been seen for the function.
  10663. 2003-02-26 Michael Chastain <mec@shout.net>
  10664. * configure: Regenerate with autoconf 000227.
  10665. 2003-02-26 Michael Chastain <mec@shout.net>
  10666. Close PR build/660.
  10667. * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
  10668. for old libc5/glibc.
  10669. * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
  10670. 2003-02-26 Kris Warkentin <kewarken@qnx.com>
  10671. * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
  10672. * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
  10673. 2003-02-26 Michael Chastain <mec@shout.net>
  10674. * configure.in: New variable HAVE_UINTPTR_T.
  10675. * configure, config.in: Regenerated.
  10676. 2003-02-26 Daniel Jacobowitz <drow@mvista.com>
  10677. Fix PR build/1097.
  10678. * utils.c (gdb_realpath): Move closing brace outwards one #endif.
  10679. 2003-02-25 Andrew Cagney <cagney@redhat.com>
  10680. * frame.c (get_prev_frame): Add comment on check for
  10681. inside_entry_func. Only check for inside_entry_file when not a
  10682. dummy and not a sentinel. Check that the new frame is not inner
  10683. to the old frame.
  10684. 2003-02-25 Andrew Cagney <cagney@redhat.com>
  10685. * frame.c (frame_debug): New variable.
  10686. (_initialize_frame): Add "set/show debug frame" command.
  10687. (get_prev_frame): When frame_debug, print reason why unwind
  10688. failed.
  10689. 2003-02-25 Michael Chastain <mec@shout.net>
  10690. * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
  10691. to avoid uintptr_t definition problems.
  10692. 2003-02-25 David Carlton <carlton@math.stanford.edu>
  10693. * symtab.h (SYMBOL_NATURAL_NAME): New macro.
  10694. (SYMBOL_LINKAGE_NAME): Ditto.
  10695. (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
  10696. SYMBOL_LINKAGE_NAME.
  10697. (struct general_symbol_info): Expand comment.
  10698. (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
  10699. (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
  10700. (SYMBOL_MATCHES_REGEXP): Ditto.
  10701. * symtab.c (symbol_natural_name): New function.
  10702. * objfiles.h: Replace all uses of SYMBOL_NAME by
  10703. DEPRECATED_SYMBOL_NAME.
  10704. * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
  10705. * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
  10706. * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
  10707. * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
  10708. * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
  10709. * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
  10710. * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
  10711. * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
  10712. * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
  10713. * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
  10714. * ada-exp.y: Ditto.
  10715. * ada-exp.y: Update copyright.
  10716. * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
  10717. * cp-valprint.c: Ditto.
  10718. 2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
  10719. * infptrace.c (detach): Do not flag error if ptrace detach fails
  10720. and errno is set to ESRCH.
  10721. 2003-02-24 Andrew Cagney <cagney@redhat.com>
  10722. * infptrace.c (udot_info): Change type of udot_off to long. Use
  10723. paddr when printing udot_off's value.
  10724. 2003-02-24 David Carlton <carlton@math.stanford.edu>
  10725. * symtab.c (make_symbol_overload_list): Only read in partial
  10726. symtabs containing a matching partial symbol.
  10727. 2003-02-24 David Carlton <carlton@math.stanford.edu>
  10728. * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
  10729. do the comparison, not strcmp.
  10730. * symfile.c (compare_psymbols): Ditto.
  10731. * defs.h: Declare strcmp_iw_ordered.
  10732. * utils.c (strcmp_iw_ordered): New function.
  10733. 2003-02-24 Jim Blandy <jimb@redhat.com>
  10734. * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
  10735. support, shared libs): Remove my name from here, to better reflect
  10736. reality.
  10737. 2003-02-24 Kris Warkentin <kewarken@qnx.com>
  10738. * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
  10739. (target_ops): Add to_have_continuable_watchpoint.
  10740. * target.c (update_current_target): Add INHERIT line for
  10741. to_have_continuable_watchpoint.
  10742. * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
  10743. * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
  10744. config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
  10745. config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
  10746. 2003-02-24 Elena Zannoni <ezannoni@redhat.com>
  10747. * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
  10748. maintainership.
  10749. 2003-02-24 Kris Warkentin <kewarken@qnx.com>
  10750. * solib.c (solib_open): Call target defined search function after
  10751. failing with solib-search-path.
  10752. * solist.h (target_so_ops): Add find_and_open_solib function hook and
  10753. create define TARGET_SO_FIND_AND_OPEN_SOLIB.
  10754. 2003-02-24 Kris Warkentin <kewarken@qnx.com>
  10755. * MAINTAINERS: Add myself to Write After section.
  10756. 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
  10757. * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
  10758. 2003-02-22 Stephane Carrez <stcarrez@nerim.fr>
  10759. * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
  10760. (m68hc11_add_reggroups): New function.
  10761. (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
  10762. (m68hc11_gdbarch_init): Install the reggroups.
  10763. (_initialize_m68hc11_tdep): Initialize them.
  10764. 2003-02-21 James E Wilson <wilson@tuliptree.org>
  10765. * MAINTAINERS: Update my email address.
  10766. 2003-02-21 David Carlton <carlton@math.stanford.edu>
  10767. * arm-tdep.c (arm_gdbarch_init): Add break after default label.
  10768. 2003-02-21 Daniel Jacobowitz <drow@mvista.com>
  10769. Based on a patch from Daniel Berlin (dberlin@dberlin.org).
  10770. * symtab.h: Add opaque declarations of struct axs_value and
  10771. struct agent_expr.
  10772. (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
  10773. (struct location_funcs): New type.
  10774. (struct symbol): Add "loc" to aux_value.
  10775. (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
  10776. * dwarf2read.c: Include "dwarf2expr.h".
  10777. (dwarf2_symbol_mark_computed): New function.
  10778. (read_func_scope): Use it.
  10779. (var_decode_location): New function.
  10780. (new_symbol): Use it.
  10781. * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
  10782. * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
  10783. (dwarf2expr_h, dwarf2loc_h): New variables.
  10784. (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
  10785. (dwarf2expr.o, dwarf2loc.o): New rules.
  10786. (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
  10787. * buildsym.c (finish_block): Handle LOC_COMPUTED and
  10788. LOC_COMPUTED_ARG.
  10789. * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
  10790. * m2-exp.y (yylex): Likewise.
  10791. * printcmd.c (address_info, print_frame_args): Likewise.
  10792. * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
  10793. * symmisc.c (print_symbol, print_partial_symbols): Likewise.
  10794. * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
  10795. (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
  10796. * symtab.c (lookup_block_symbol): Likewise.
  10797. 2003-02-20 Adam Fedor <fedor@gnu.org>
  10798. * symtab.h: Remove objc_specific struct
  10799. (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
  10800. * symtab.c (symbol_init_language_specific, symbol_demangled_name):
  10801. Have language_objc use cplus_specific struct.
  10802. 2003-02-20 Tom Tromey <tromey@redhat.com>
  10803. * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
  10804. TYPE_NAME, when printing a String value. PR java/1075.
  10805. 2003-02-20 Adam Fedor <fedor@gnu.org>
  10806. * objc-lang.h (find_methods): Remove declaration.
  10807. * objc-lang.c (find_methods): Make static.
  10808. 2003-02-20 Christopher Faylor <cgf@redhat.com>
  10809. * win32-nat.c (get_image_name): Check return value from
  10810. ReadProcessMemory.
  10811. (child_xfer_memory): Ditto.
  10812. 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
  10813. * configure.in (TARGET_SYSTEM_ROOT): Set default to
  10814. ${exec_prefix}/${target_alias}/sys-root. Match explicit
  10815. '${exec_prefix}' (in addition to the expansion thereof) as
  10816. relocatable.
  10817. * configure: Rebuilt.
  10818. 2003-02-20 David Carlton <carlton@math.stanford.edu>
  10819. * symtab.c (search_symbols): Revert the search_symbols part of my
  10820. 2002-12-23 patch. Add comment.
  10821. 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
  10822. * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
  10823. * dbxread.c (elfstab_build_psymtabs): Don't call
  10824. install_minimal_symbols.
  10825. (stabsect_build_psymtabs): Likewise.
  10826. * elfread.c (elf_symfile_read): Call install_minimal_symbols
  10827. earlier.
  10828. * somread.c (som_symfile_read): Call install_minimal_symbols
  10829. and do_cleanups earlier.
  10830. * nlmread.c (nlm_symfile_read): Likewise.
  10831. * mdebugread.c (elfmdebug_build_psymtabs): Call
  10832. install_minimal_symbols and make appropriate cleanups.
  10833. 2003-02-20 Kevin Buettner <kevinb@redhat.com>
  10834. * solib.c (reload_shared_libraries): New function.
  10835. (_initialize_solib): Add callbacks for ``set solib-search-path''
  10836. and ``set solib-absolute-prefix''.
  10837. 2003-02-20 David Carlton <carlton@math.stanford.edu>
  10838. * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
  10839. expand comment.
  10840. * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
  10841. SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
  10842. * ada-typeprint.c (ada_typedef_print): Ditto.
  10843. * ax-gdb.c (gen_var_ref): Ditto.
  10844. * breakpoint.c (print_one_breakpoint): Ditto.
  10845. * buildsym.c (finish_block): Ditto.
  10846. * c-valprint.c (c_val_print): Ditto.
  10847. * expprint.c (print_subexp): Ditto.
  10848. * findvar.c (locate_var_value): Ditto.
  10849. * infcmd.c (jump_command): Ditto.
  10850. * linespec.c (decode_line_2, decode_compound): Ditto.
  10851. * maint.c (maintenance_translate_address): Ditto.
  10852. * objc-lang.c (compare_selectors, compare_classes): Ditto.
  10853. * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
  10854. Ditto.
  10855. * p-valprint.c (pascal_val_print): Ditto.
  10856. * stabsread.c (define_symbol): Ditto.
  10857. * stack.c (print_frame, frame_info, print_block_frame_locals)
  10858. (print_frame_arg_vars, return_command): Ditto.
  10859. * symfile.c (compare_symbols, compare_psymbols): Ditto.
  10860. * symmisc.c (print_symbol): Ditto.
  10861. * symtab.c (lookup_partial_symbol, lookup_block_symbol)
  10862. (compare_search_syms, print_symbol_info, print_msymbol_info)
  10863. (rbreak_command): Ditto.
  10864. * tracepoint.c (tracepoints_info): Ditto.
  10865. * typeprint.c (typedef_print): Ditto.
  10866. * valops.c (value_of_variable, hand_function_call): Ditto.
  10867. * cli/cli-cmds.c (edit_command, list_command): Ditto.
  10868. * ada-typeprint.c: Update Copyright.
  10869. * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
  10870. * tracepoint.c, cli/cli-cmds.c: Ditto.
  10871. 2003-02-20 Kevin Buettner <kevinb@redhat.com>
  10872. * frame.c (generic_unwind_get_saved_register): Make non-static.
  10873. * frame.h (generic_unwind_get_saved_register): Declare.
  10874. * mips-tdep.c (read_next_frame_reg): Fetch register from
  10875. current regcache when frame is NULL.
  10876. (mips_init_extra_frame_info): Pass NULL explicitly for parameter
  10877. that must be NULL.
  10878. (mips_get_saved_register): Call generic_unwind_get_saved_register()
  10879. instead of frame_register_unwind().
  10880. 2003-02-20 Andrew Cagney <ac131313@redhat.com>
  10881. * remote-sim.c (gdbsim_insert_breakpoint)
  10882. (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
  10883. code.
  10884. 2003-02-20 Andrew Cagney <ac131313@redhat.com>
  10885. * remote.c (_initialize_remote): Add commands "set/show remote
  10886. hardware-watchpoint-limit" and "set/show remote
  10887. hardware-breakpoint-limit".
  10888. (remote_hw_watchpoint_limit): Initialize to -1.
  10889. (remote_hw_breakpoint_limit): Ditto.
  10890. (remote_check_watch_resources): Treat a limit of -1 as unlimited.
  10891. 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
  10892. * coff-pe-read.c: New file - support reading of minimal symbols from a
  10893. portable executable using the export table.
  10894. * coff-pe-read.h: New file.
  10895. * coffread.c: Include coff-pe-read.h.
  10896. (coff_symtab_read): Call read_pe_exported_syms iff no recognized
  10897. debugging symbols found.
  10898. * Makefile.in (SFILES): Add coff-pe-read.o.
  10899. (coff_pe_read_h): Define.
  10900. (COMMON_OBS): Add coff-pe-read.o.
  10901. (coffread.o): Add coff_pe_read_h dependency.
  10902. (coff-pe-read.o): New target.
  10903. 2003-02-19 David Carlton <carlton@math.stanford.edu>
  10904. * Makefile.in (SFILES): Add block.c.
  10905. (block_h): New.
  10906. (COMMON_OBS): Add block.o.
  10907. (block.o): New.
  10908. (x86-64-tdep.o): Add $(block_h).
  10909. (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
  10910. (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
  10911. (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
  10912. (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
  10913. (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
  10914. (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
  10915. (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
  10916. * value.h: Add opaque declaration for struct block.
  10917. * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
  10918. * ada-lang.h: Ditto.
  10919. * x86-64-tdep.c: #include "block.h"
  10920. * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
  10921. * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
  10922. * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
  10923. * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
  10924. * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
  10925. * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
  10926. * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
  10927. * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
  10928. * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
  10929. (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
  10930. * symtab.c (block_function): Ditto.
  10931. (contained_in): Ditto.
  10932. * frame.h: Move block_for_pc and block_for_pc_sect declarations to
  10933. block.h. Add opaque declaration for struct block.
  10934. * symtab.h: Move block_function and contained_in declarations to
  10935. block.h. Add opaque declarations for struct block, struct
  10936. blockvector.
  10937. (struct block): Move to block.h.
  10938. (struct blockvector): Ditto.
  10939. (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
  10940. (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
  10941. (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
  10942. (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
  10943. (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
  10944. Ditto.
  10945. * block.c: New file.
  10946. * block.h: New file.
  10947. 2003-02-19 Theodore A. Roth <troth@openavr.org>
  10948. * avr-tdep.c (avr_extract_return_value): Remove function.
  10949. (avr_store_return_value): Remove function.
  10950. (avr_extract_struct_value_address): Remove function.
  10951. (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
  10952. 2003-02-19 Andrew Cagney <ac131313@redhat.com>
  10953. * rs6000-tdep.c: Include "gdb_assert.h".
  10954. (registers_e500): Add "acc" and "spefscr".
  10955. (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
  10956. (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
  10957. ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
  10958. really is "r0".
  10959. (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
  10960. 2003-02-18 Keith Seitz <keiths@redhat.com>
  10961. * Makefile.in: Add gdbtk-interps.c.
  10962. 2003-02-18 Kevin Buettner <kevinb@redhat.com>
  10963. * sparc-tdep.c (sparc_frame_chain): Adjust return value.
  10964. * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
  10965. 2003-02-18 Andrew Cagney <cagney@redhat.com>
  10966. * symtab.h (struct objfile): Add opaque declaration.
  10967. 2003-02-18 Elena Zannoni <ezannoni@redhat.com>
  10968. From Jim Ingham <jingham@apple.com>:
  10969. * dbxread.c (process_one_symbol): Use last_function_start rather
  10970. than function_start_offset to find the real beginning of the
  10971. current function. The latter is just the text section offset on
  10972. some systems, the former is always the real function start.
  10973. 2003-02-17 Andrew Cagney <cagney@redhat.com>
  10974. * configure.in: Revert ${target} != ${host}.
  10975. 2003-02-17 Andrew Cagney <ac131313@redhat.com>
  10976. * configure.in (Makefile): Use the test ${target} != ${host},
  10977. instead of the absence of the "nm.h" file, to determine of the
  10978. configuration non-native.
  10979. * configure: Regenerate.
  10980. 2003-02-14 Elena Zannoni <ezannoni@redhat.com>
  10981. From Brian Ford <ford@vss.fsi.com>
  10982. * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
  10983. conditionalize tui_active test.
  10984. (lookup_cmd_1): Ditto.
  10985. 2003-02-14 Mark Kettenis <kettenis@gnu.org>
  10986. * configure.in: Add check for _etext.
  10987. * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
  10988. available.
  10989. * config.in, configure: regenerated.
  10990. 2003-02-14 Daniel Jacobowitz <drow@mvista.com>
  10991. * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
  10992. 2003-02-14 Andrew Cagney <ac131313@redhat.com>
  10993. * main.c (tui_version): Delete variable.
  10994. (captured_main): When --tui, set interpreter_p to "tui" instead of
  10995. enabling tui_version.
  10996. * printcmd.c (display_command) [TUI]: Test tui_active instead of
  10997. tui_version.
  10998. * cli/cli-decode.c (lookup_cmd_composition): Ditto.
  10999. * cli/cli-cmds.c (disassemble_command): Ditto.
  11000. * defs.h (tui_version): Delete declaration.
  11001. * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
  11002. (tui-interp.o): Add rules.
  11003. (SUBDIR_TUI_OBS): Add "tui-interp.o".
  11004. 2003-02-14 Christopher Faylor <cgf@redhat.com>
  11005. * win32-nat.c (register_loaded_dll): Correctly set address range for
  11006. just-loaded dll.
  11007. 2003-02-12 Jason Molenda (jmolenda@apple.com)
  11008. * symmisc.c (print_objfile_statistics): Include information about
  11009. the number of psymtabs and symtabs in each object file.
  11010. 2003-02-13 Keith R Seitz <keiths@redhat.com>
  11011. * main.h (struct captured_main_args): Add interpreter_p.
  11012. * main.c (captured_main): Initialize interpreter_p from context.
  11013. * gdb.c (main): Set interpreter_p argument.
  11014. * Makefile.in (gdb.o): Add dependency for interps.h.
  11015. 2003-02-12 Andrew Cagney <ac131313@redhat.com>
  11016. * event-top.c (cli_command_loop): Delete declaration.
  11017. (_initialize_event_loop): Delete function setting event_loop_hook.
  11018. * event-top.h (cli_command_loop): Declare. Update copyright.
  11019. (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
  11020. * interps.c (current_interp_command_loop): When event_loop_p, call
  11021. cli_command_loop.
  11022. 2003-02-12 Andrew Cagney <ac131313@redhat.com>
  11023. * interps.h (interp_command_loop_ftype): Change return type to
  11024. void.
  11025. 2003-02-12 Michal Ludvig <mludvig@suse.cz>
  11026. * x86-64-tdep.c (x86_64_extract_return_value)
  11027. (x86_64_store_return_value): Use regcache instead of regbuf.
  11028. (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
  11029. * x86-64-linux-nat.c (fill_gregset): Use regcache.
  11030. 2003-02-11 Andrew Cagney <ac131313@redhat.com>
  11031. * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
  11032. * aclocal.m4: Regenerate.
  11033. * configure: Regenerate.
  11034. * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
  11035. TCL_LD_SEARCH_FLAGS.
  11036. 2003-02-10 Michal Ludvig <mludvig@suse.cz>
  11037. * dwarf2cfi.c: Reindented.
  11038. 2003-02-09 Andrew Cagney <ac131313@redhat.com>
  11039. * interps.c (clear_interpreter_hooks): Convert function definition
  11040. to ISO C.
  11041. 2003-02-07 David Carlton <carlton@math.stanford.edu>
  11042. * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
  11043. 2003-02-07 Kevin Buettner <kevinb@redhat.com>
  11044. * gdbtypes.h (struct main_type): Move ``length'' field from here...
  11045. (struct type): ...to here.
  11046. (TYPE_LENGTH): Adjust to reflect different location of ``length''
  11047. field.
  11048. * gdbtypes.c (make_qualified_type): Set length on newly created type.
  11049. (replace_type): Set length on all type variants for a given type.
  11050. 2003-02-07 Andrew Cagney <ac131313@redhat.com>
  11051. * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
  11052. <sys/stat.h>.
  11053. * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
  11054. 2003-02-06 Andrew Cagney <ac131313@redhat.com>
  11055. * Makefile.in (symm-nat.o): Update dependencies.
  11056. (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
  11057. (lynx-nat.o, ia64-linux-nat.): Ditto.
  11058. * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
  11059. "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
  11060. * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
  11061. * Makefile.in (inflow_h): Define.
  11062. (procfs.o, inflow.o, procfs.o): Update dependencies.
  11063. * inftarg.c (child_stop): Delete extern declaration of
  11064. inferior_process_group. Include "inflow.h".
  11065. * procfs.c (procfs_stop): Ditto. Include "inflow.h".
  11066. * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
  11067. * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
  11068. (our_process_group, inferior_process_group): Extern declarations.
  11069. * procfs.c: Include "gdb_assert.h".
  11070. * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
  11071. * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
  11072. * jv-typeprint.c (java_type_print_base): Ditto.
  11073. * typeprint.c (typedef_print): Eliminate STREQ.
  11074. * cli/cli-script.c (define_command, define_command): Ditto.
  11075. * main.c (captured_main): Ditto.
  11076. * values.c (lookup_internalvar): Ditto.
  11077. * utils.c (safe_strerror, parse_escape): Eliminate assignment
  11078. within `if' conditional.
  11079. * linespec.c (decode_line_2): Ditto.
  11080. * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
  11081. (bfd_openw_with_cleanup): Ditto.
  11082. 2003-02-07 Mark Kettenis <kettenis@gnu.org>
  11083. * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
  11084. legacy_extract_return_value and store_return_value to
  11085. legacy_return_value.
  11086. 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
  11087. * win32-nat.c (get_relocated_section_addrs): New function. Find
  11088. section load addresses for symbol handling in relocated DLLs.
  11089. (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
  11090. 2003-02-05 Fred Fish <fnf@intrinsity.com>
  11091. * remote-e7000.c (e7000_drain_command): Fix precedence problem with
  11092. '=' and '!='.
  11093. * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
  11094. with '&' and '=='.
  11095. (angel_RDI_info): Ditto.
  11096. * infttrace.c (threads_continue_all_but_one): Fix precedence problem
  11097. with '&' and '!='.
  11098. (threads_continue_all_with_signals): Ditto.
  11099. 2003-02-05 Jim Ingham <jingham@apple.com>
  11100. Keith Seitz <keiths@redhat.com>
  11101. Elena Zannoni <ezannoni@redhat.com>
  11102. Andrew Cagney <ac131313@redhat.com>
  11103. * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
  11104. (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
  11105. (SUBDIR_MI_OBS): Add "mi-interp.o".
  11106. (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
  11107. (SFILES): Add "interps.c".
  11108. (COMMON_OBS): Add "interps.o".
  11109. (interps_h, mi_main_h): Define.
  11110. (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
  11111. (mi-main.o, main.o, event-top.o): Update dependencies.
  11112. * cli/cli-interp.c: New file.
  11113. * interps.h, interps.c: New files.
  11114. * top.c: (gdb_init): Don't install the default interpreter, handed
  11115. by captured_main.
  11116. * main.c: Include "interps.h".
  11117. (interpreter_p): Note that it should malloc'ed.
  11118. (captured_command_loop): Call current_interp_command_loop.
  11119. (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
  11120. xfree and xstrdup when updating interpreter_p. Install the
  11121. default interpreter. Add hack to stop mi1's copyright notice
  11122. being encoded.
  11123. * event-top.h (gdb_setup_readline): Declare.
  11124. (gdb_disable_readline): Declare.
  11125. * event-top.c: Include "interps.h".
  11126. (display_gdb_prompt): Call current_interp_display_prompt_p.
  11127. (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
  11128. gdb_stdlog, and gdb_stdtarg.
  11129. (_initialize_event_loop): Don't call gdb_setup_readline.
  11130. * cli-out.c (cli_out_set_stream): New function.
  11131. * cli-out.h (cli_out_set_stream): Declare.
  11132. 2003-02-06 Mark Kettenis <kettenis@gnu.org>
  11133. * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
  11134. i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
  11135. handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
  11136. * config/i386/i386sco5.mt, config/i386/i386v4.mt,
  11137. config/i386/i386v42mp.mt: Removed.
  11138. 2003-02-05 Mark Kettenis <kettenis@gnu.org>
  11139. * configure.tgt (*-*-solaris*): Set gdb_osabi to
  11140. GDB_OSABI_SOLARIS.
  11141. 2003-02-05 Michael Chastain <mec@shout.net>
  11142. * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
  11143. 2.12.1 and earlier versions.
  11144. 2003-02-05 Andrew Cagney <ac131313@redhat.com>
  11145. Remove orphaned hosts, targets and files.
  11146. * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
  11147. * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
  11148. * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
  11149. * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
  11150. * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
  11151. * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
  11152. * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
  11153. * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
  11154. * config/sparc/tm-sp64sim.h: Delete.
  11155. * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
  11156. hosts.
  11157. * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
  11158. mips*-dec-mach3* targets.
  11159. 2003-02-04 Michael Chastain <mec@shout.net>
  11160. * NEWS: Fix typo: sepcifying -> specifying.
  11161. 2003-02-04 Michael Chastain <mec@shout.net>
  11162. * dwarfread.c: Add documentation on the state of dwarf-1,
  11163. looking towards obsoletion.
  11164. 2003-02-03 Michael Chastain <mec@shout.net>
  11165. * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
  11166. gdb/testsuite/gdb.c++/pr-1023.exp.
  11167. 2003-02-04 Andrew Cagney <ac131313@redhat.com>
  11168. * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
  11169. * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
  11170. * utils.c (init_page_info): Delete reference to MPW in comments.
  11171. * main.c (captured_main): Delete #ifdef MPW.
  11172. 2003-02-04 Andrew Cagney <ac131313@redhat.com>
  11173. * NEWS: Note that the m32r-*-elf* is obsolete.
  11174. * monitor.c (monitor_expect): Obsolete reference to m32r.
  11175. * configure.tgt: Mark m32r-*-elf* as obsolete.
  11176. * MAINTAINERS: Mark m32k as obsolete.
  11177. * m32r-rom.c: Obsolete file.
  11178. * config/m32r/m32r.mt: Obsolete file.
  11179. * config/m32r/tm-m32r.h: Obsolete file.
  11180. * m32r-stub.c: Obsolete file.
  11181. * m32r-tdep.c: Obsolete file.
  11182. 2003-02-04 Andrew Cagney <ac131313@redhat.com>
  11183. * NEWS: Mention that the z8k-zilog-none is obsolete.
  11184. * MAINTAINERS: Mark z8k as obsolete.
  11185. * configure.tgt: Obsolete the z8k-*-coff* target.
  11186. * config/z8k/z8k.mt: Obsolete file.
  11187. * config/z8k/tm-z8k.h: Obsolete file.
  11188. * z8k-tdep.c: Obsolete file.
  11189. 2003-02-04 Andrew Cagney <ac131313@redhat.com>
  11190. * NEWS: Mention that the mn10200-elf is obsolete.
  11191. * configure.tgt: Obsolete mn10200-*-* target.
  11192. * breakpoint.c (update_breakpoints_after_exec): Update comment to
  11193. mention that the mn10200 is obsolete.
  11194. * breakpoint.h: Ditto.
  11195. * MAINTAINERS: Mark the mn10200-elf as obsolete.
  11196. * config/mn10200/mn10200.mt: Obsolete file.
  11197. * config/mn10200/tm-mn10200.h: Obsolete file.
  11198. * mn10200-tdep.c: Obsolete file.
  11199. 2003-02-04 Andrew Cagney <ac131313@redhat.com>
  11200. * MAINTAINERS: Mark h8500 as obsolete.
  11201. * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
  11202. * findvar.c (value_from_register): Ditto.
  11203. * h8500-tdep.c: Mark file as obsolete.
  11204. * config/h8500/h8500.mt: Ditto.
  11205. * config/h8500/tm-h8500.h: Ditto.
  11206. * NEWS: Mention that h8500 is obsolete.
  11207. 2003-02-04 David Carlton <carlton@math.stanford.edu>
  11208. * objfiles.c (allocate_objfile): Always set name. Add comment at
  11209. start of function.
  11210. * jv-lang.c (get_dynamics_objfile): Add comment.
  11211. 2003-02-04 David Carlton <carlton@math.stanford.edu>
  11212. * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
  11213. * printcmd.c (build_address_symbolic): Replace uses of
  11214. SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
  11215. SYMBOL_NAME, and asm_demangle.
  11216. Update copyright.
  11217. 2003-02-04 David Carlton <carlton@math.stanford.edu>
  11218. * linespec.c (decode_compound): Extract code into
  11219. lookup_prefix_sym.
  11220. (lookup_prefix_sym): New function.
  11221. 2003-02-04 David Carlton <carlton@math.stanford.edu>
  11222. * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
  11223. FLOAT_COERCION_BADNESS.
  11224. * gdbtypes.c (rank_one_type): Replace all uses of
  11225. INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
  11226. 2003-02-04 Jim Blandy <jimb@redhat.com>
  11227. * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
  11228. section, let dwarf_macinfo_section point to it, not
  11229. dwarf_loc_section.
  11230. 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
  11231. Pointed out by Anton Blanchard <anton@samba.org>.
  11232. * ppc-linux-tdep.c (insn_is_sigreturn): New function.
  11233. (ppc_linux_at_sigtramp_return_path): Use it.
  11234. 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
  11235. * defs.h (streq): Add prototype.
  11236. * utils.c (streq): New function.
  11237. * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
  11238. SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
  11239. * mdebugread.c (new_symbol): Likewise.
  11240. * stabsread.c (define_symbol): Likewise.
  11241. * coffread.c (process_coff_symbol): Likewise.
  11242. * dwarfread.c (new_symbol): Likewise.
  11243. * minsyms.c (prim_record_minimal_symbol_and_info): Use
  11244. SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
  11245. here.
  11246. (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
  11247. SYMBOL_INIT_DEMANGLED_NAME.
  11248. * objfiles.c: Include "hashtab.h".
  11249. (allocate_objfile): Call htab_set_functions_ex for the
  11250. demangled_names_hash.
  11251. (free_objfile): Call htab_delete for the demangled_names_hash.
  11252. * objfiles.h (struct htab): Add declaration.
  11253. (struct objfile): Add demangled_names_hash.
  11254. * symfile.c: Include "hashtab.h".
  11255. (reread_symbols): Call htab_delete for the demangled_names_hash.
  11256. (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
  11257. SYMBOL_NAME in the bcache.
  11258. * symtab.c: Include "hashtab.h". Update comments.
  11259. (create_demangled_names_hash, symbol_set_names): New functions.
  11260. (symbol_find_demangled_name): New function, broken out from
  11261. symbol_init_demangled_names.
  11262. (symbol_init_demangled_names): Use it.
  11263. * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
  11264. (SYMBOL_SET_NAMES): New macro.
  11265. (symbol_set_names): Add prototype.
  11266. 2003-02-03 Jim Blandy <jimb@redhat.com>
  11267. Use a single, consistent representation for an empty minimal
  11268. symbol table in an objfile.
  11269. * objfiles.c (terminate_minimal_symbol_table): New function.
  11270. (allocate_objfile): Call it.
  11271. * objfiles.h (terminate_minimal_symbol_table): New declaration.
  11272. (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
  11273. non-NULL.
  11274. * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
  11275. objfile has minimal symbols, compare minimal_symbol_count to zero,
  11276. instead of comparing msymbols with NULL.
  11277. * objfiles.c (have_minimal_symbols): Same.
  11278. * solib-sunos.c (solib_add_common_symbols): Call
  11279. terminate_minimal_symbol_table.
  11280. * symfile.c (reread_symbols): Same.
  11281. 2003-02-03 Kevin Buettner <kevinb@redhat.com>
  11282. * s390-tdep.c (s390_address_class_type_flags)
  11283. (s390_address_class_type_flags_to_name)
  11284. (s390_address_class_name_to_type_flags): New functions.
  11285. (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
  11286. ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
  11287. 2003-02-03 Michael Snyder <msnyder@redhat.com>
  11288. * arm-tdep.c: Fix spell-o in comment.
  11289. 2003-02-03 Michal Ludvig <mludvig@suse.cz>
  11290. * dwarf2cfi.c (pointer_encoding): Added new parameter.
  11291. * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
  11292. error messages to contain BFD filename.
  11293. 2003-02-02 Elena Zannoni <ezannoni@redhat.com>
  11294. Fix PR gdb/742 gdb/743 gdb/877
  11295. * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
  11296. (do_mixed_source_and_assembly): Use
  11297. make_cleanup_ui_out_tuple_begin_end and
  11298. make_cleanup_ui_out_tuple_begin_end.
  11299. (do_mixed_source_and_assembly): Ditto.
  11300. * thread.c (do_captured_list_thread_ids): Ditto.
  11301. * ui-out.h (ui_out_table_begin, ui_out_list_begin,
  11302. ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
  11303. ui_out_tuple_end): Delete prototypes.
  11304. * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
  11305. ui_out_list_end, ui_out_tuple_end): Delete.
  11306. From Kevin Buettner <kevinb@redhat.com>:
  11307. * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
  11308. * ui-out.c (make_cleanup_ui_out_table_begin_end)
  11309. (do_cleanup_table_end): New functions.
  11310. * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
  11311. Use cleanups to invoke_ui_out_tuple_end().
  11312. (breakpoint_1): Use cleanup to invoke ui_out_table_end().
  11313. * cli/cli-setshow.c (cmd_show_list): Use
  11314. make_cleanup_ui_out_tuple_begin_end.
  11315. 2003-02-02 Andrew Cagney <ac131313@redhat.com>
  11316. * frame.c (frame_unwind_register): New function.
  11317. (frame_unwind_unsigned_register): Use.
  11318. (frame_unwind_signed_register): Use.
  11319. (frame_read_register): New function.
  11320. * frame.h (frame_unwind_register): Declare.
  11321. (frame_read_register): Declare.
  11322. * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
  11323. and frame_unwind_register instead of read_memory, write_register
  11324. and deprecated_write_register_bytes.
  11325. 2003-02-02 Andrew Cagney <ac131313@redhat.com>
  11326. * frame.h: Note that namelen can be negative.
  11327. * frame.c (frame_map_name_to_regnum): When LEN is negative, use
  11328. NAME's length.
  11329. * NEWS: Mention that the d10v's `regs' command is deprecated.
  11330. * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
  11331. (d10v_print_registers_info): New function.
  11332. (show_regs): Call d10v_print_registers_info.
  11333. (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
  11334. 2003-02-02 Mark Kettenis <kettenis@gnu.org>
  11335. * stack.c (print_frame_info): Restore call to annotate_frame_begin
  11336. lost in the previous patch.
  11337. 2003-02-01 Andrew Cagney <ac131313@redhat.com>
  11338. From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
  11339. * stack.c (print_frame_info_base): Output complete FRAME tuple
  11340. for synthesized frames.
  11341. 2003-02-02 Andrew Cagney <ac131313@redhat.com>
  11342. * mips-nat.c (zerobuf): Delete.
  11343. (fetch_inferior_registers): Alloc local zerobuf.
  11344. (fetch_core_registers): Alloc local zerobuf.
  11345. * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
  11346. MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
  11347. * thread-db.c (thread_db_store_registers): Ditto.
  11348. * sh-tdep.c (sh_do_register): Ditto.
  11349. * rom68k-rom.c (rom68k_supply_one_register): Ditto.
  11350. * remote-sim.c (gdbsim_store_register): Ditto.
  11351. * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
  11352. * remote-e7000.c (fetch_regs_from_dump): Ditto.
  11353. * monitor.c (monitor_supply_register): Ditto.
  11354. * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
  11355. * mips-nat.c (fetch_inferior_registers): Ditto.
  11356. * m68klinux-nat.c (fetch_register): Ditto.
  11357. * lynx-nat.c (fetch_inferior_registers): Ditto.
  11358. (fetch_inferior_registers): Ditto.
  11359. * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
  11360. * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
  11361. (hpux_thread_store_registers): Ditto.
  11362. * hppah-nat.c (fetch_register): Ditto.
  11363. * hppab-nat.c (fetch_register): Ditto.
  11364. * hppa-tdep.c (pa_register_look_aside): Ditto.
  11365. (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
  11366. * dve3900-rom.c (fetch_bitmapped_register): Ditto.
  11367. 2003-02-01 Andrew Cagney <ac131313@redhat.com>
  11368. * gdbarch.sh: Explictly specify all method levels. When a
  11369. variable with an empty level, provide a non-multi-arch default.
  11370. (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
  11371. * gdbarch.h: Re-generate.
  11372. * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
  11373. * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
  11374. 2003-02-01 Andrew Cagney <ac131313@redhat.com>
  11375. * defs.h (host_pointer_to_address): Delete declaration.
  11376. (address_to_host_pointer): Delete declaration.
  11377. * utils.c (host_pointer_to_address): Delete function.
  11378. (address_to_host_pointer): Delete function.
  11379. * procfs.c (procfs_address_to_host_pointer): New function.
  11380. * procfs.c (proc_set_watchpoint): Use.
  11381. (procfs_can_use_hw_breakpoint): Update comments.
  11382. * somsolib.c (hpux_address_to_host_pointer_hack): New function.
  11383. (som_solib_add): Use.
  11384. * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
  11385. * hppa-tdep.c (unwind_command): Use.
  11386. 2003-02-01 Andrew Cagney <ac131313@redhat.com>
  11387. * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
  11388. strlen d_name.
  11389. * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
  11390. ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
  11391. (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
  11392. * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
  11393. (define_symbol): Update.
  11394. * symfile.c (generic_load): Remove references to nindy.
  11395. * symtab.c: Remove references to nindy.
  11396. 2003-02-01 Andrew Cagney <ac131313@redhat.com>
  11397. * infcmd.c (print_float_info): Delete code conditional on
  11398. FLOAT_INFO.
  11399. * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
  11400. * config/m68k/nm-apollo68b.h: Ditto.
  11401. * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
  11402. * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
  11403. * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
  11404. 2003-02-01 Mark Kettenis <kettenis@gnu.org>
  11405. * config/i386/tm-i386os9k.h: Removed.
  11406. * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
  11407. Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
  11408. they're identical to i[3456]86-*-sysv* now.
  11409. * config/i386/i386v32.mh: Removed.
  11410. * config/i386/xm-i386v32.h: Removed.
  11411. * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
  11412. * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
  11413. * config/i386/i386dgux.mh: Removed.
  11414. * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
  11415. * configure.in: Fix typo.
  11416. * configure: Regenerated.
  11417. 2003-01-31 David Carlton <carlton@math.stanford.edu>
  11418. * dwarf2read.c (dwarf2_locate_sections): Set
  11419. dwarf_ranges_section.
  11420. 2003-01-31 Andrew Cagney <ac131313@redhat.com>
  11421. * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
  11422. * utils.c: Update comments documenting legitimate uses of PTR.
  11423. * utils.c: Re-indent.
  11424. * config/djgpp/fnchange.lst: Delete nindy files.
  11425. * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
  11426. * nindy-share/nindy.c, nindy-share/env.h: Delete files.
  11427. * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
  11428. * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
  11429. * nindy-share/README, nindy-share/Onindy.c: Delete files.
  11430. * nindy-tdep.c, nindy-share/Makefile: Delete files.
  11431. * Makefile.in (init.c): Remove nindy references.
  11432. (saber_gdb): Delete rule.
  11433. (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
  11434. nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
  11435. and a68v-nat.c.
  11436. (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
  11437. (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
  11438. (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
  11439. nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
  11440. nindy-share/stop.h.
  11441. * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
  11442. * saber.suppress: Delete file.
  11443. 2003-01-31 Daniel Jacobowitz <drow@mvista.com>
  11444. * dbxread.c (stabs_data): New static variable.
  11445. (fill_symbuf): Support an in-memory buffer for stabs data.
  11446. (stabs_seek): New function.
  11447. (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
  11448. (read_ofile_symtab): Use stabs_seek.
  11449. (elfstab_build_psymtabs): Take an asection* instead of
  11450. an offset and size. Relocate the stabs data if necessary.
  11451. Save the section* for dbx_psymtab_to_symtab.
  11452. * dwarf2read.c: Add section variables for each debug section.
  11453. (dwarf2_locate_sections): Fill them in.
  11454. (dwarf2_read_section): Take an asection* argument.
  11455. Relocate the section contents if necessary.
  11456. (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
  11457. * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
  11458. it to dwarf2_read_section.
  11459. (dwarf2_build_frame_info): Update callers.
  11460. * elfread.c (elf_symfile_read): Update call to
  11461. elfstab_build_psymtabs.
  11462. * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
  11463. (DBX_STAB_SECTION): New macro.
  11464. * stabsread.h (elfstab_build_psymtabs): Update prototype.
  11465. * symfile.c (symfile_dummy_outputs): New function.
  11466. (symfile_relocate_debug_section): New function.
  11467. * symfile.h (symfile_relocate_debug_section): Add prototype.
  11468. 2003-01-31 Richard Henderson <rth@redhat.com>
  11469. * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
  11470. (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
  11471. (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
  11472. * alpha-tdep.c (alpha_register_name): Add "unique".
  11473. * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
  11474. (ALPHA_UNIQUE_REGNUM): New.
  11475. * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
  11476. 2003-01-31 Andrew Cagney <ac131313@redhat.com>
  11477. * README: Remove reference to Ericsson 1800 monitor.
  11478. * Makefile.in (remote-es.o): Delete rule.
  11479. (ALLDEPFILES): Delete remote-es.c.
  11480. * remote-es.c: Delete file.
  11481. * config/m68k/es1800.mt: Delete file.
  11482. * config/djgpp/fnchange.lst: Update.
  11483. * configure.tgt: Delete m68*-ericsson-* target.
  11484. 2003-01-31 Adam Fedor <fedor@gnu.org>
  11485. * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
  11486. Remove duplicate/shadowing variable of same name.
  11487. 2003-01-30 Jim Blandy <jimb@redhat.com>
  11488. * symfile.c (find_separate_debug_file): Assert that the objfile's
  11489. directory name we compute ends with a slash, and then assume that
  11490. that's so everywhere we use it.
  11491. 2003-01-30 Daniel Jacobowitz <drow@mvista.com>
  11492. * valops.c (value_assign): Flush frame cache after stores to memory
  11493. also.
  11494. 2003-01-30 Andrew Cagney <ac131313@redhat.com>
  11495. * Makefile.in (mon960-rom.o): Delete rule.
  11496. * mon960-rom.c: Delete file.
  11497. 2003-01-30 Andrew Cagney <ac131313@redhat.com>
  11498. * d10v-tdep.c: Include "frame-unwind.h".
  11499. (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
  11500. list.
  11501. (next_addr, uses_frame): Delete.
  11502. (struct d10v_unwind_cache): Define.
  11503. (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
  11504. Use info instead of next_addr and uses_frame globals.
  11505. (d10v_frame_init_saved_regs): Delete function.
  11506. (d10v_init_extra_frame_info): Delete function.
  11507. (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
  11508. frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
  11509. init_frame_pc or frame_saved_pc.
  11510. (d10v_pop_frame): Delete function.
  11511. (do_d10v_pop_frame): Delete function.
  11512. (d10v_frame_chain): Delete function.
  11513. (d10v_frame_chain_valid): Delete function.
  11514. (d10v_frame_pc_unwind): New function.
  11515. (d10v_frame_id_unwind): New function.
  11516. (saved_regs_unwinder): New function.
  11517. (d10v_frame_register_unwind): New function.
  11518. (d10v_frame_pop): New function.
  11519. (d10v_frame_unwind): New variable.
  11520. (d10v_frame_p): New function.
  11521. (d10v_frame_saved_pc): Delete function.
  11522. * Makefile.in (d10v-tdep.o): Update dependencies.
  11523. 2003-01-30 J. Brobecker <brobecker@gnat.com>
  11524. * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
  11525. causing some regressions due to a change in the default value
  11526. for this macro.
  11527. 2003-01-29 Richard Henderson <rth@redhat.com>
  11528. Elena Zannoni <ezannoni@redhat.com>
  11529. Daniel Jacobowitz <drow@mvista.com>
  11530. Fix PR gdb/961.
  11531. * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
  11532. variables.
  11533. (RANGES_SECTION): New.
  11534. (dwarf_ranges_buffer): New variable.
  11535. (struct comp_unit_head): Add member "die".
  11536. (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
  11537. (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
  11538. (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
  11539. (dwarf2_locate_sections): Likewise.
  11540. (dwarf2_build_psymtabs): Read .debug_ranges.
  11541. (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
  11542. (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
  11543. (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
  11544. Look for DW_AT_ranges and return the bounding box.
  11545. 2003-01-29 Brian Ford <ford@vss.fsi.com>
  11546. * win32-nat.c (cygwin_pid): Removed as unused.
  11547. (child_attach): Try fall back to Cygwin pid.
  11548. 2003-01-29 Jim Blandy <jimb@redhat.com>
  11549. * objfiles.h (struct objfile): Doc fix.
  11550. 2003-01-29 Andrew Cagney <ac131313@redhat.com>
  11551. * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
  11552. (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
  11553. (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
  11554. (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
  11555. * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
  11556. (FRAME_SAVED_PC): Change to a function with predicate.
  11557. * gdbarch.h, gdbarch.c: Re-generate.
  11558. 2003-01-28 Andrew Cagney <ac131313@redhat.com>
  11559. * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
  11560. * complaints.c (complain): Delete function.
  11561. * complaints.h (struct deprecated_complaint): Delete definition.
  11562. (complain): Delete declaration.
  11563. 2003-01-28 Kevin Buettner <kevinb@redhat.com>
  11564. * mips-tdep.c (mips_init_extra_frame_info): Return early for
  11565. dummy frames.
  11566. 2003-01-27 Andrew Cagney <ac131313@redhat.com>
  11567. * sentinel-frame.h, sentinel-frame.c: New files.
  11568. * Makefile.in (frame.o): Update dependencies.
  11569. (SFILES): Add sentinel-frame.c.
  11570. (sentinel_frame_h): Define.
  11571. (COMMON_OBS): Add sentinel-frame.o.
  11572. (sentinel-frame.o): Specify dependencies.
  11573. * frame.c: Include "sentinel-frame.h".
  11574. (frame_register_unwind): Rewrite assuming that there is always a a
  11575. ->next frame.
  11576. (frame_register, generic_unwind_get_saved_register): Ditto.
  11577. (frame_read_unsigned_register, frame_read_signed_register): Ditto.
  11578. (create_sentinel_frame, unwind_to_current_frame): New functions.
  11579. (get_current_frame): Rewrite using create_sentinel_frame and
  11580. unwind_to_current_frame. When possible, always create a frame.
  11581. (create_new_frame): Set next to the sentinel frame.
  11582. (get_next_frame): Rewrite. Don't go below the level 0 frame.
  11583. (deprecated_update_frame_pc_hack): Update the next frame's PC and
  11584. ID cache when necessary.
  11585. (frame_saved_regs_id_unwind): Use frame_relative_level.
  11586. (deprecated_generic_get_saved_register): Use frame_relative_level,
  11587. get_frame_saved_regs, get_frame_pc, get_frame_base and
  11588. get_next_frame.
  11589. (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
  11590. frame_register.
  11591. 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
  11592. * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
  11593. 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
  11594. * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
  11595. (maintenance_set_profile_cmd): Use error () instead of warning ().
  11596. 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
  11597. * configure.in: Check that -pg works if using --enable-profiling.
  11598. Check for monstartup and _mcleanup regardless of --enable-profiling.
  11599. * maint.c: Check for monstartup and _mcleanup before using them.
  11600. * config.in: Regenerated.
  11601. * configure: Regenerated.
  11602. 2003-01-24 Nick Clifton <nickc@redhat.com>
  11603. * Add sh2e support:
  11604. 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
  11605. * sh-tdep.c (sh_sh2e_register_name): New.
  11606. (sh2e_show_regs): New.
  11607. (sh_gdbarch_init): Handle bfd_mach_sh2e.
  11608. * config/sh/tm-sh.h: Added sh2e to comments.
  11609. 2003-01-23 Jim Blandy <jimb@redhat.com>
  11610. * symfile.c (syms_from_objfile): Don't print the "(no debugging
  11611. symbols found)" message here; we haven't checked for a separate
  11612. debug info file yet, so we don't know yet.
  11613. (symbol_file_add_with_addrs_or_offsets): Print it here, after
  11614. we've looked everywhere. Also, there's no need to print a special
  11615. message when we're loading the separate debug info file: the one
  11616. symbol_file_add prints is fine.
  11617. 2003-01-23 Alexander Larsson <alexl@redhat.com>
  11618. Jim Blandy <jimb@redhat.com>
  11619. Add support for executables whose debug info has been separated
  11620. out into a separate file, leaving only a link behind.
  11621. * objfiles.h (struct objfile): New fields: separate_debug_objfile
  11622. and separate_debug_objfile_backlink.
  11623. (put_objfile_before): New declaration.
  11624. * symfile.c: #include "filenames.h".
  11625. (symbol_file_add_with_addrs_or_offsets): If this objfile has its
  11626. debug info in a separate file, read that, too. Save the addrs
  11627. argument, so we can use it again to read the separated debug info;
  11628. syms_from_objfile modifies the table we pass it.
  11629. (reread_symbols): After re-reading an objfile, call
  11630. reread_separate_symbols to refresh its separate debug info
  11631. objfile, if it has one.
  11632. (reread_separate_symbols, find_separate_debug_file,
  11633. get_debug_link_info, separate_debug_file_exists): New functions.
  11634. (debug_file_directory): New global var.
  11635. (_initialize_symfile): Initialize debug_file_directory, and
  11636. provide the new `set debug-file-directory' command to let the user
  11637. change it.
  11638. * objfiles.c (free_objfile): If this objfile has its debug info in
  11639. a separate objfile, free that one too. If this is itself a
  11640. separate debug info objfile, clear our parent's backlink.
  11641. (put_objfile_before): New function.
  11642. * utils.c (gnu_debuglink_crc32): New function.
  11643. * defs.h (gnu_debuglink_crc32): New declaration.
  11644. * Makefile.in (symfile.o): Note dependency on "filenames.h".
  11645. * configure.in: Handle --with-separate-debug-dir config option.
  11646. * acinclude.m4 (AC_DEFINE_DIR): New macro.
  11647. * acconfig.h (DEBUGDIR): New macro.
  11648. * configure, aclocal.m4, config.in: Regenerated.
  11649. 2003-01-22 Jim Blandy <jimb@redhat.com>
  11650. * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
  11651. like the old symbol_file_add, but taking new arguments: you can
  11652. now pass in either a `struct section_addr_info' list to say where
  11653. each section is loaded, or a `struct section_offsets' table. Pass
  11654. these new arguments through to syms_from_objfile as appropriate.
  11655. (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
  11656. with the appropriate quiescent values for the new arguments.
  11657. * symfile.c: #include "gdb_assert.h".
  11658. (syms_from_objfile): Add the ability to pass in a section offset
  11659. table directly, as an alternative to the section_addr_info table.
  11660. Document arguments better.
  11661. (symbol_file_add): Pass extra arguments to syms_from_objfile.
  11662. * symfile.h (syms_from_objfile): Update declaration.
  11663. * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
  11664. syms_from_objfile.
  11665. * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
  11666. 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
  11667. Original patch by Tom Tromey <tromey@cygnus.com> and
  11668. Jason Molenda <jmolenda@apple.com>.
  11669. * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
  11670. (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
  11671. * NEWS: Mention profiling.
  11672. * configure.in (--enable-gdbtk): Fix typo.
  11673. (--enable-profiling): New. Set PROFILE_CFLAGS.
  11674. * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
  11675. Fill in function.
  11676. (profiling_state): New variable.
  11677. (mcleanup_wrapper): New function.
  11678. (_initialize_maint): Remove NOTYET, fix call to
  11679. add_setshow_boolean_cmd for "maint set profile".
  11680. * configure: Regenerated.
  11681. 2003-01-21 Martin M. Hunt <hunt@redhat.com>
  11682. * Makefile.in (install-gdbtk): Install PNG images too.
  11683. 2003-01-21 Andrew Cagney <ac131313@redhat.com>
  11684. * exec.c (text_start): Delete global variable.
  11685. (exec_file_attach): Make text_start local to the function.
  11686. * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
  11687. * valops.c (hand_function_call): Delete code that handles
  11688. BEFORE_TEXT_END and AFTER_TEXT_END.
  11689. * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
  11690. of CALL_DUMMY_LOCATION.
  11691. * gdbarch.c: Regenerate.
  11692. * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
  11693. (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
  11694. * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
  11695. (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
  11696. (text_end): Delete extern declaration.
  11697. 2003-01-21 Andrew Cagney <ac131313@redhat.com>
  11698. * frame.h (FRAME_OBSTACK_ZALLOC): Define.
  11699. * blockframe.c (backtrace_below_main): Move to "frame.c".
  11700. (frame_chain_valid): Delete check for backtrace_below_main.
  11701. (_initialize_blockframe): Delete initialization, move ``set
  11702. backtrace-below-main'' command to "frame.c".
  11703. (do_flush_frames_sfunc): Delete function.
  11704. * frame.c: Include "command.h" and "gdbcmd.h".
  11705. (frame_type_from_pc): New function.
  11706. (create_new_frame): Use frame_type_from_pc.
  11707. (legacy_get_prev_frame): New function.
  11708. (get_prev_frame): Rewrite. When an old style frame, call
  11709. legacy_get_prev_frame. Otherwize, unwind the PC first.
  11710. (_initialize_frame): Add ``set backtrace-below-main'' command.
  11711. * Makefile.in (frame.o): Update dependencies.
  11712. 2003-01-19 Andrew Cagney <ac131313@redhat.com>
  11713. * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
  11714. DEPRECATED_REGISTERS_INFO.
  11715. 2003-01-19 Andrew Cagney <ac131313@redhat.com>
  11716. * MAINTAINERS: Replace `Blanket Write Privs' with `Global
  11717. Maintainers'. Update `Various Maintainers'.
  11718. 2003-01-19 Andrew Cagney <ac131313@redhat.com>
  11719. * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
  11720. * gdbarch.sh (POP_FRAME): Change to function with predicate.
  11721. Suppress actual parameters when `-'.
  11722. * gdbarch.h, gdbarch.c: Regenerate.
  11723. 2003-01-19 Andrew Cagney <ac131313@redhat.com>
  11724. * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
  11725. code handling dummy frames.
  11726. 2003-01-19 Andrew Cagney <ac131313@redhat.com>
  11727. * frame-unwind.h (frame_unwind_pop_ftype): Declare.
  11728. (struct frame_unwind): Add field pop.
  11729. * frame.h (frame_pop): Declare.
  11730. * frame.c (frame_saved_regs_pop): New function.
  11731. (trad_frame_unwinder): Add frame_saved_regs_pop.
  11732. (frame_pop): New function.
  11733. * dummy-frame.c (dummy_frame_pop): New function.
  11734. (discard_innermost_dummy): New function.
  11735. (generic_pop_dummy_frame): Use discard_innermost_dummy.
  11736. (dummy_frame_unwind): Add dummy_frame_pop.
  11737. * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
  11738. * valops.c (hand_function_call): Ditto.
  11739. * stack.c (return_command): Ditto.
  11740. 2003-01-18 Andrew Cagney <ac131313@redhat.com>
  11741. * cris-tdep.c: Fix function declaration indentation.
  11742. * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
  11743. * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
  11744. * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
  11745. * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
  11746. * xcoffread.c, config/pa/tm-hppa.h: Ditto.
  11747. * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
  11748. 2003-01-18 Michael Chastain <mec@shout.net>
  11749. * README (Unpacking and Installation -- quick overview):
  11750. Warn against ".../gdb-5.3/gdb/configure".
  11751. 2003-01-18 Andrew Cagney <ac131313@redhat.com>
  11752. * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
  11753. (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
  11754. (struct frame_unwind): Declare opaque.
  11755. (dummy_frame_p): Declare function.
  11756. * dummy-frame.c (dummy_frame_id_unwind): Make static.
  11757. (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
  11758. * dummy-frame.c: Include "frame-unwind.h".
  11759. (dummy_frame_p): New function.
  11760. (dummy_frame_unwind): New variable.
  11761. * frame.c: Include "frame-unwind.h".
  11762. (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
  11763. to use the new unwind field.
  11764. (set_unwind_by_pc): Delete function.
  11765. (create_new_frame, get_prev_frame): Set unwind field using
  11766. frame_unwind_find_by_pc.
  11767. (trad_frame_unwind, trad_frame_unwinder): New variables.
  11768. * frame.h (trad_frame_unwind): Declare variable.
  11769. (frame_id_unwind_ftype): Delete declaration.
  11770. (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
  11771. (struct frame_unwind): Declare opaque.
  11772. (struct frame_info): Replace the fields id_unwind, pc_unwind and
  11773. register_unwind with a single unwind pointer.
  11774. * frame-unwind.h, frame-unwind.c: New files.
  11775. * Makefile.in (SFILES): Add frame-unwind.c.
  11776. (frame_unwind_h): Define.
  11777. (COMMON_OBS): Add frame-unwind.o.
  11778. (frame-unwind.o): Specify dependencies.
  11779. (frame.o, dummy-frame.o): Update dependencies.
  11780. 2003-01-18 Andrew Cagney <ac131313@redhat.com>
  11781. * ada-valprint.c: Eliminate PTR.
  11782. * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
  11783. * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
  11784. * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
  11785. * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
  11786. * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
  11787. * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
  11788. * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
  11789. 2003-01-17 Andrew Cagney <ac131313@redhat.com>
  11790. * main.c (captured_main): Don't use PTR.
  11791. * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
  11792. * gdbtypes.c (lookup_primitive_typename): Ditto.
  11793. (lookup_struct_elt_type): Ditto.
  11794. * f-valprint.c (info_common_command): Ditto.
  11795. (list_all_visible_commons): Ditto.
  11796. * jv-typeprint.c (java_type_print_base): Ditto.
  11797. * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
  11798. mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
  11799. Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
  11800. i386-interix-nat.c and i386-interix-tdep.c. Rename
  11801. m68klinux-nat.c and m68klinux-tdep.c. Rename
  11802. config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
  11803. bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
  11804. gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
  11805. * main.c (captured_main): Use xfree, not free.
  11806. 2003-01-16 Andrew Cagney <ac131313@redhat.com>
  11807. * frame.h (frame_id_unwind_ftype): Change type so that the frame's
  11808. ID back using a parameter.
  11809. * frame.c (frame_id_unwind): Update call.
  11810. (frame_saved_regs_id_unwind): Update.
  11811. * dummy-frame.c (dummy_frame_id_unwind): Update function.
  11812. * dummy-frame.h (struct frame_id): Add opaque declaration.
  11813. (dummy_frame_id_unwind): Update declaration.
  11814. 2003-01-15 Andrew Cagney <ac131313@redhat.com>
  11815. * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
  11816. 2003-01-15 Stephen P. Smith <ischis2@cox.net>
  11817. * MAINTAINERS (Stephen P. Smith): Updated email address.
  11818. 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
  11819. Fix PR gdb/898
  11820. * breakpoint.c (until_break_command): Add new argument. Use it to
  11821. decide whether to stop only at the current frame or not.
  11822. * breakpoint.h (until_break_command): Update prototype.
  11823. * infcmd.c (until_command): Add new argument to until_break_command
  11824. call.
  11825. (advance_command): New function.
  11826. (_initialize_infcmd): Update help string for 'until' command.
  11827. Add new 'advance' command.
  11828. 2003-01-14 David Carlton <carlton@math.stanford.edu>
  11829. * linespec.c (decode_line_1): Normalize comments.
  11830. (set_flags): Ditto.
  11831. (locate_first_half): Ditto.
  11832. (decode_compound): Ditto.
  11833. (symtab_from_filename): Ditto.
  11834. (decode_all_digits): Ditto.
  11835. (decode_dollar): Ditto.
  11836. (find_methods): Ditto.
  11837. (find_toplevel_char): Ditto.
  11838. 2003-01-13 Andrew Cagney <ac131313@redhat.com>
  11839. * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
  11840. * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
  11841. * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
  11842. * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
  11843. * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
  11844. * language.c, language.h, m32r-tdep.c: Update copyright.
  11845. * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
  11846. * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
  11847. * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
  11848. * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
  11849. * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
  11850. * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
  11851. 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
  11852. * stabsread.h (process_later, resolve_cfront_continuation):
  11853. Obsolete.
  11854. Update copyright years.
  11855. * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
  11856. Update copyright year.
  11857. * dbxread.c(struct cont_elem): Obsolete.
  11858. (process_later, process_now): Obsolete functions.
  11859. (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
  11860. Update copyright year.
  11861. * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
  11862. (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
  11863. * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
  11864. (parse_partial_symbols): Obsolete cfront support.
  11865. * stabsread.c
  11866. (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
  11867. macros.
  11868. (get_substring, get_cfront_method_physname, msg_unknown_complaint,
  11869. read_cfront_baseclasses, read_cfront_member_functions,
  11870. resolve_cfront_continuation,read_cfront_static_fields,
  11871. copy_cfront_struct_fields): Obsolete functions.
  11872. (define_symbol, read_one_struct_field): Obsolete cfront support.
  11873. * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
  11874. Update Copyright year.
  11875. 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
  11876. * stack.c (print_frame_info, print_stack_frame_base_stub,
  11877. print_stack_frame_base, show_and_print_stack_frame_stub,
  11878. show_and_print_stack_frame, print_only_stack_frame_stub,
  11879. print_only_stack_frame): Delete functions.
  11880. (print_stack_frame_stub): Call print_frame_info instead of
  11881. print_frame_info_base.
  11882. (print_frame_info_base): Rename to print_frame_info.
  11883. (backtrace_command_1): Call print_frame_info, instead of
  11884. print_frame_info_base.
  11885. (current_frame_command): Call print_stack_frame, instead of
  11886. print_only_stack_frame.
  11887. (frame_command): Call print_stack_frame, instead of
  11888. show_and_print_stack_frame.
  11889. (up_command): Ditto.
  11890. (down_command): Ditto.
  11891. * frame.h (print_only_stack_frame): Delete prototype.
  11892. * infrun.c (normal_stop): Call print_stack_frame, instead of
  11893. show_and_print_stack_frame.
  11894. * thread.c (info_threads_command): Call print_stack_frame, instead
  11895. of print_only_stack_frame.
  11896. 2003-01-13 Andrew Cagney <ac131313@redhat.com>
  11897. * README (Graphical interface to GDB): Update URL. Point at
  11898. gdb/links/.
  11899. * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
  11900. version match.
  11901. 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
  11902. * symtab.c (find_pc_sect_line): Don't consider end-of-function
  11903. lines.
  11904. 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
  11905. * thread-db.c (attach_thread): Prototype.
  11906. (struct private_thread_info): Remove lwpid. Add thread handle (th),
  11907. thread information (ti), and valid flags (th_valid, ti_valid).
  11908. (attach_thread): Move target_pid_to_str call to after the thread
  11909. is added to GDB's list. Initialize the cache.
  11910. (thread_get_info_callback, thread_db_map_id2thr)
  11911. (thread_db_get_info): New functions.
  11912. (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
  11913. (thread_db_store_registers, thread_db_thread_alive)
  11914. (thread_db_get_thread_local_address): Use them.
  11915. (thread_db_pid_to_str): Likewise. Return "Missing" instead
  11916. of calling error() for threads in unknown state.
  11917. (clear_lwpid_callback): New function.
  11918. (thread_db_resume): Use it to clear the cache.
  11919. 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
  11920. * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
  11921. (resume_callback): Remove dead code.
  11922. 2003-01-13 Andrew Cagney <ac131313@redhat.com>
  11923. * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
  11924. predicate.
  11925. * gdbarch.h, gdbarch.c: Regenerate.
  11926. * stack.c (frame_info): Only initialize the saved registers when
  11927. FRAME_INIT_SAVED_REGS_P.
  11928. * frame.c (frame_saved_regs_register_unwind): Assert
  11929. FRAME_INIT_SAVED_REGS_P.
  11930. (deprecated_generic_get_saved_register): Ditto.
  11931. 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
  11932. * source.c (openp): Squelch warning about "filename".
  11933. 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
  11934. * source.c (openp): If the file does not exist don't necessarily
  11935. search the path.
  11936. 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
  11937. Fix PR gdb/872.
  11938. * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
  11939. (integer_types_same_name_p): New function.
  11940. (rank_one_type): Use it.
  11941. * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
  11942. 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
  11943. * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
  11944. variables.
  11945. (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
  11946. * configure.in: Add --with-sysroot.
  11947. * configure: Regenerated.
  11948. * main.c (gdb_sysroot): New variable.
  11949. (captured_main): Initialize gdb_sysroot.
  11950. * defs.h (gdb_sysroot): New extern declaration.
  11951. * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
  11952. 2003-01-12 Michael Chastain <mec@shout.net>
  11953. * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
  11954. 2003-01-12 Michael Chastain <mec@shout.net>
  11955. * top.c (print_gdb_version): Bump copyright year to 2003.
  11956. 2003-01-12 David Carlton <carlton@bactrian.org>
  11957. * linespec.c (symtab_from_filename): Rename variable 's' to
  11958. 'file_symtab'.
  11959. 2003-01-12 Andrew Cagney <ac131313@redhat.com>
  11960. * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
  11961. dummy frame.
  11962. (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
  11963. 2003-01-12 Andrew Cagney <ac131313@redhat.com>
  11964. * d10v-tdep.c: Include "gdb_assert.h".
  11965. (d10v_store_return_value): Rewrite to match current interface.
  11966. (d10v_extract_struct_value_address): Ditto.
  11967. (d10v_extract_return_value): Ditto.
  11968. (d10v_gdbarch_init): Set store_restore_value,
  11969. extract_struct_value_address and extract_return_value.
  11970. 2003-01-12 J. Brobecker <brobecker@gnat.com>
  11971. * hpread.c (set_namestring): New procedure replacing the
  11972. SET_NAMESTRING macro.
  11973. (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
  11974. by calls to set_namestring.
  11975. 2003-01-11 J. Brobecker <brobecker@gnat.com>
  11976. * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
  11977. a compilation warning.
  11978. (hpread_process_one_debug_symbol): Likewise.
  11979. 2003-01-10 David Carlton <carlton@math.stanford.edu>
  11980. * linespec.c (decode_line_1): Rename variable 's' to
  11981. 'file_symtab'.
  11982. (decode_all_digits): Rename argument 's' to 'file_symtab'.
  11983. (decode_dollar): Ditto.
  11984. (decode_variable): Ditto.
  11985. (symbol_found): Ditto.
  11986. 2003-01-09 Michael Chastain <mec@shout.net>
  11987. * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
  11988. 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
  11989. * win32-nat.c (set_process_privilege): New function.
  11990. (child_attach): Call set_process_privilege() to enable the
  11991. SE_DEBUG_NAME user privilege if available in process token.
  11992. 2003-01-10 J. Brobecker <brobecker@gnat.com>
  11993. * hpread.c (hpread_process_one_debug_symbol): Fix a small
  11994. compilation error in the previous revision.
  11995. 2003-01-09 David Carlton <carlton@math.stanford.edu>
  11996. * linespec.c: Update copyright.
  11997. 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
  11998. * lin-lwp.c (child_wait): Ignore exit statuses for processes other
  11999. than inferior_ptid.
  12000. (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
  12001. 2003-01-09 Andrew Cagney <ac131313@redhat.com>
  12002. * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
  12003. Update comments.
  12004. * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
  12005. (frame_saved_regs_zalloc): Update.
  12006. (frame_saved_regs_register_unwind): Update.
  12007. (create_new_frame): Update.
  12008. (get_prev_frame): Update.
  12009. (frame_extra_info_zalloc): Update.
  12010. (deprecated_get_frame_saved_regs): Update.
  12011. * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
  12012. * cris-tdep.c: Update comment.
  12013. * somsolib.h: Fix function indentation.
  12014. * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
  12015. * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
  12016. * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
  12017. * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
  12018. * somsolib.c, inftarg.c: Remove assignment in if conditional.
  12019. * infrun.c (follow_fork): Use ISO C definition.
  12020. * expprint.c (print_subexp): Use xfree instead of free.
  12021. * charset.c: Include "gdb_string.h" instead of <string.h>.
  12022. (register_iconv_charsets): Use ISO C definition.
  12023. (host_charset, target_charset): Ditto.
  12024. * Makefile.in (charset.o): Update dependencies.
  12025. (mi-cmd-env.o): Update dependencies.
  12026. 2003-01-08 Andrew Cagney <cagney@redhat.com>
  12027. * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
  12028. get_frame_base.
  12029. 2003-01-08 Andrew Cagney <ac131313@redhat.com>
  12030. * gdb_mbuild.sh: Add --keep option. When specified, keep the
  12031. build directories. Save edited gdb output in Mbuild.log. If a
  12032. build fails, remove any final GDB executable.
  12033. 2003-01-08 Andrew Cagney <ac131313@redhat.com>
  12034. * gdb_mbuild.sh: Edit the output of `maint print architecture'
  12035. replacing hex constants with function names and stripping leading
  12036. file name directory prefixes.
  12037. 2003-01-08 Andrew Cagney <cagney@redhat.com>
  12038. * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
  12039. get_frame_base.
  12040. 2003-01-08 David Carlton <carlton@math.stanford.edu>
  12041. * linespec.c (decode_line_1): Move code into decode_variable.
  12042. (decode_variable): New function.
  12043. 2003-01-08 Andrew Cagney <ac131313@redhat.com>
  12044. * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
  12045. 2003-01-08 Andrew Cagney <cagney@redhat.com>
  12046. * cris-tdep.c (cris_frame_init_saved_regs): Use
  12047. get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
  12048. saved_regs buffer.
  12049. * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
  12050. (sh64_nofp_frame_init_saved_regs): Ditto.
  12051. (sh_fp_frame_init_saved_regs): Ditto.
  12052. * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
  12053. * mips-tdep.c (mips_init_extra_frame_info): Ditto.
  12054. * mcore-tdep.c (analyze_dummy_frame): Ditto.
  12055. * mn10300-tdep.c (analyze_dummy_frame): Ditto.
  12056. 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
  12057. * minsyms.c (lookup_minimal_symbol): Update comment.
  12058. (lookup_minimal_symbol_text): Update comment. Use the hash table.
  12059. (lookup_minimal_symbol_solib_trampoline): Likewise.
  12060. 2003-01-08 Andrew Cagney <cagney@redhat.com>
  12061. * d10v-tdep.c (d10v_init_extra_frame_info): Use
  12062. frame_relative_level.
  12063. * alpha-tdep.c: Use get_frame_extra_info.
  12064. * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
  12065. * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
  12066. * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
  12067. * sparc-tdep.c, xstormy16-tdep.c: Ditto.
  12068. * alpha-tdep.c: Use get_next_frame.
  12069. * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
  12070. * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
  12071. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
  12072. * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
  12073. * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
  12074. * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
  12075. * xstormy16-tdep.c: Ditto.
  12076. 2003-01-07 Andrew Cagney <cagney@redhat.com>
  12077. * alpha-tdep.c: Use get_frame_base.
  12078. * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
  12079. * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
  12080. * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
  12081. * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
  12082. * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
  12083. * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
  12084. * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
  12085. * config/sparc/tm-sparc.h: Ditto.
  12086. 2003-01-07 Andrew Cagney <cagney@redhat.com>
  12087. * frame.c (deprecated_get_frame_context): New function.
  12088. (deprecated_set_frame_context): New function.
  12089. * frame.h (deprecated_get_frame_context): Declare.
  12090. (deprecated_set_frame_context): Declare.
  12091. * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
  12092. (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
  12093. 2003-01-07 Andrew Cagney <cagney@redhat.com>
  12094. * frame.c (deprecated_set_frame_next_hack): New function.
  12095. (deprecated_set_frame_prev_hack): New function.
  12096. * frame.h (deprecated_set_frame_next_hack): Declare.
  12097. (deprecated_set_frame_prev_hack): Declare.
  12098. * mcore-tdep.c (analyze_dummy_frame): Use
  12099. deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
  12100. * mn10300-tdep.c (analyze_dummy_frame): Ditto.
  12101. 2003-01-07 David Carlton <carlton@math.stanford.edu>
  12102. * linespec.c (decode_line_1): Move code into decode_dollar.
  12103. (decode_dollar): New function.
  12104. 2003-01-07 Andrew Cagney <cagney@redhat.com>
  12105. * arm-tdep.c (arm_init_extra_frame_info): Use
  12106. deprecated_update_frame_base_hack.
  12107. * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
  12108. * mn10300-tdep.c (analyze_dummy_frame): Ditto.
  12109. (fix_frame_pointer): Ditto.
  12110. (mn10300_analyze_prologue): Ditto.
  12111. 2003-01-07 Andrew Cagney <cagney@redhat.com>
  12112. * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
  12113. extra_info using frame_extra_info_zalloc.
  12114. * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
  12115. * sh-tdep.c (sh_init_extra_frame_info): Ditto.
  12116. (sh64_init_extra_frame_info): Ditto.
  12117. * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
  12118. * s390-tdep.c (s390_init_extra_frame_info): Ditto.
  12119. * mips-tdep.c (mips_init_extra_frame_info): Ditto.
  12120. * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
  12121. * frv-tdep.c (frv_init_extra_frame_info): Ditto.
  12122. * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
  12123. * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
  12124. * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
  12125. * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
  12126. * cris-tdep.c (cris_init_extra_frame_info): Ditto.
  12127. * arm-tdep.c (arm_init_extra_frame_info): Ditto.
  12128. * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
  12129. * mn10300-tdep.c (analyze_dummy_frame): Use
  12130. deprecated_set_frame_extra_info_hack.
  12131. * mcore-tdep.c (analyze_dummy_frame): Ditto.
  12132. 2003-01-07 J. Brobecker <brobecker@gnat.com>
  12133. * mdebugread.c (parse_symbol): Skip stProc entries which storage
  12134. class is not scText. These do not define "real" procedures.
  12135. (parse_partial_symbols): Likewise.
  12136. 2003-01-06 Michael Snyder <msnyder@redhat.com>
  12137. * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
  12138. 2003-01-06 Andrew Cagney <ac131313@redhat.com>
  12139. * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
  12140. * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
  12141. * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
  12142. deprecated_frame_xmalloc_with_cleanup.
  12143. * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
  12144. deprecated_frame_xmalloc.
  12145. * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
  12146. * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
  12147. 2003-01-06 Andrew Cagney <cagney@redhat.com>
  12148. * x86-64-linux-tdep.c: Include "osabi.h".
  12149. * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
  12150. * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
  12151. 2003-01-06 Andrew Cagney <cagney@redhat.com>
  12152. * MAINTAINERS (Target Instruction Set Architectures): Update
  12153. arm-elf. Can be built with -Werror, has been multiarched.
  12154. * value.h (unpack_long): Make buffer parameter constant.
  12155. (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
  12156. * scm-lang.h (scm_parse): Ditto.
  12157. * defs.h (extract_typed_address, extract_address): Ditto.
  12158. (extract_long_unsigned_integer): Ditto.
  12159. * inferior.h (unsigned_pointer_to_address): Ditto.
  12160. (signed_pointer_to_address): Ditto.
  12161. * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
  12162. * gdbarch.h, gdbarch.c: Regenerate.
  12163. * findvar.c (extract_long_unsigned_integer): Update.
  12164. (extract_address): Update.
  12165. (extract_typed_address): Update.
  12166. (unsigned_pointer_to_address): Update.
  12167. * values.c (unpack_long): Update.
  12168. (unpack_double): Update.
  12169. (unpack_pointer): Update.
  12170. (unpack_field_as_long): Update.
  12171. * d10v-tdep.c (d10v_pointer_to_address): Update.
  12172. * avr-tdep.c (avr_pointer_to_address): Update.
  12173. * scm-lang.c (scm_unpack): Update.
  12174. * findvar.c (signed_pointer_to_address): Update.
  12175. 2003-01-06 Michal Ludvig <mludvig@suse.cz>
  12176. * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
  12177. since it is in i386-tdep.c.
  12178. 2003-01-06 J. Brobecker <brobecker@gnat.com>
  12179. * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
  12180. failure introduced in the previous change.
  12181. 2003-01-05 Michael Chastain <mec@shout.net>
  12182. * README: Remove references to deleted remote-*.c files:
  12183. remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
  12184. remote-nrom.c, remote-os9k.c, remote-udi.c.
  12185. 2003-01-05 Mark Kettenis <kettenis@gnu.org>
  12186. * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
  12187. * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
  12188. i386_get_longjmp_target.
  12189. 2003-01-05 Andrew Cagney <ac131313@redhat.com>
  12190. * arm-tdep.c (prologue_cache): Change to a pointer.
  12191. (_initialize_arm_tdep): Allocate prologue_cache.
  12192. (check_prologue_cache): Update.
  12193. (save_prologue_cache): Update.
  12194. (arm_gdbarch_init): Update.
  12195. 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
  12196. * stabsread.c (update_method_name_from_physname): Call complaint()
  12197. instead of error.
  12198. 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
  12199. * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
  12200. * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
  12201. * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
  12202. * blockframe.c: Include "gdbcmd.h" and "command.h".
  12203. (backtrace_below_main): New variable.
  12204. (file_frame_chain_valid, func_frame_chain_valid)
  12205. (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
  12206. (generic_func_frame_chain_valid): Remove functions.
  12207. (frame_chain_valid, do_flush_frames_sfunc): New functions.
  12208. (_initialize_blockframe): New function.
  12209. * Makefile.in (blockframe.o): Update dependencies.
  12210. * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
  12211. comment. Call frame_chain_valid ().
  12212. * frame.h: Remove old prototypes. Add prototype for
  12213. frame_chain_valid and update comments to match.
  12214. * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
  12215. Remove old comment.
  12216. * gdbarch.h: Regenerated.
  12217. * gdbarch.c: Regenerated.
  12218. * alpha-tdep.c (alpha_gdbarch_init): Don't call
  12219. set_gdbarch_frame_chain_valid.
  12220. * avr-tdep.c (avr_gdbarch_init): Likewise.
  12221. * cris-tdep.c (cris_gdbarch_init): Likewise.
  12222. * frv-tdep.c (frv_gdbarch_init): Likewise.
  12223. * h8300-tdep.c (h8300_gdbarch_init): Likewise.
  12224. * i386-tdep.c (i386_svr4_init_abi): Likewise.
  12225. (i386_nw_init_abi): Likewise.
  12226. (i386_gdbarch_init): Likewise.
  12227. * ia64-tdep.c (ia64_gdbarch_init): Likewise.
  12228. * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
  12229. * m68k-tdep.c (m68k_gdbarch_init): Likewise.
  12230. * mcore-tdep.c (mcore_gdbarch_init): Likewise.
  12231. * mips-tdep.c (mips_gdbarch_init): Likewise.
  12232. * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
  12233. * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
  12234. * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
  12235. * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
  12236. * s390-tdep.c (s390_gdbarch_init): Likewise.
  12237. * sh-tdep.c (sh_gdbarch_init): Likewise.
  12238. * sparc-tdep.c (sparc_gdbarch_init): Likewise.
  12239. * v850-tdep.c (v850_gdbarch_init): Likewise.
  12240. * vax-tdep.c (vax_gdbarch_init): Likewise.
  12241. * x86-64-tdep.c (x86_64_init_abi): Likewise.
  12242. * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
  12243. * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
  12244. * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
  12245. * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
  12246. * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
  12247. * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
  12248. * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
  12249. * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
  12250. 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
  12251. * Makefile.in (acconfig_h): Remove incorrect macro.
  12252. (config_h): Define.
  12253. (osabi.o): Update dependencies.
  12254. * configure.tgt: Set gdb_osabi based on target triplet.
  12255. * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
  12256. * configure: Regenerated.
  12257. * config.in: Regenerated.
  12258. * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
  12259. (GDB_OSABI_DEFAULT): Define if not already defined.
  12260. (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
  12261. (set_osabi_string): New variables.
  12262. (gdbarch_register_osabi): Add new OS ABI to
  12263. gdb_osabi_available_names.
  12264. (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
  12265. (set_osabi, show_osabi): New functions.
  12266. (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
  12267. 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
  12268. * arch-utils.c (gdbarch_info_init): Set osabi to
  12269. GDB_OSABI_UNINITIALIZED.
  12270. * gdbarch.sh: Add osabi to struct gdbarch and to struct
  12271. gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
  12272. in gdbarch_list_lookup_by_info and in gdbarch_update_p.
  12273. * gdbarch.c: Regenerated.
  12274. * gdbarch.h: Regenerated.
  12275. * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
  12276. there's no BFD.
  12277. (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
  12278. * osabi.h (enum gdb_osabi): Move to defs.h.
  12279. (gdbarch_init_osabi): Update prototype.
  12280. * defs.h (enum gdb_osabi): Moved here.
  12281. * Makefile.in: Update dependencies.
  12282. * alpha-tdep.h: Don't include "osabi.h".
  12283. (struct gdbarch_tdep): Remove osabi member.
  12284. * alpha-tdep.c: Include "osabi.h".
  12285. (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
  12286. iterate over arches. Update call to gdbarch_init_osabi.
  12287. (alpha_dump_tdep): Don't dump osabi.
  12288. * alpha-linux-tdep.c: Include "osabi.h".
  12289. * alpha-osf1-tdep.c: Include "osabi.h".
  12290. * alphafbsd-tdep.c: Include "osabi.h".
  12291. * alphanbsd-tdep.c: Include "osabi.h".
  12292. * arm-tdep.h: Don't include "osabi.h".
  12293. (struct gdbarch_tdep): Remove osabi member.
  12294. * arm-tdep.c: Include "osabi.h".
  12295. (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
  12296. iterate over arches. Update call to gdbarch_init_osabi.
  12297. (arm_dump_tdep): Don't dump osabi.
  12298. * arm-linux-tdep.c: Include "osabi.h".
  12299. * armnbsd-tdep.c: Include "osabi.h".
  12300. * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
  12301. Update call to gdbarch_init_osabi.
  12302. * i386-tdep.h: Don't include "osabi.h".
  12303. (struct gdbarch_tdep): Remove osabi member.
  12304. * i386-tdep.c: Include "osabi.h".
  12305. (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
  12306. iterate over arches. Update call to gdbarch_init_osabi.
  12307. (i386_dump_tdep): Don't dump osabi.
  12308. * i386-linux-tdep.c: Include "osabi.h".
  12309. * i386-sol2-tdep.c: Include "osabi.h".
  12310. * i386bsd-tdep.c: Include "osabi.h".
  12311. * i386gnu-tdep.c: Include "osabi.h".
  12312. * i386ly-tdep.c: Include "osabi.h".
  12313. * i386nbsd-tdep.c: Include "osabi.h".
  12314. * i386obsd-tdep.c: Include "osabi.h".
  12315. * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
  12316. (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
  12317. check osabi when iterating over arches. Update call to
  12318. gdbarch_init_osabi.
  12319. (mips_dump_tdep): Don't dump osabi.
  12320. * ns32k-tdep.h: Don't include "osabi.h".
  12321. (struct gdbarch_tdep): Remove.
  12322. * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
  12323. gdbarch_lookup_osabi. Don't iterate over arches. Don't
  12324. allocate tdep. Update call to gdbarch_init_osabi.
  12325. (ns32k_dump_tdep): Remove.
  12326. (_initialize_ns32k_tdep): Update call to gdbarch_register.
  12327. * ns32knbsd-tdep.c: Include "osabi.h".
  12328. * ppc-tdep.h: Don't include "osabi.h".
  12329. (struct gdbarch_tdep): Remove osabi member.
  12330. * rs6000-tdep.c: Include "osabi.h".
  12331. (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
  12332. osabi when iterating over arches. Update call to
  12333. gdbarch_init_osabi.
  12334. (rs6000_dump_tdep): Don't dump osabi.
  12335. * ppc-linux-tdep.c: Include "osabi.h".
  12336. * ppcnbsd-tdep.c: Include "osabi.h".
  12337. * sh-tdep.h: Don't include "osabi.h".
  12338. (struct gdbarch_tdep): Remove osabi member.
  12339. * sh-tdep.c: Include "osabi.h".
  12340. (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
  12341. iterate over arches. Update call to gdbarch_init_osabi.
  12342. (sh_dump_tdep): Don't dump osabi.
  12343. * shnbsd-tdep.c: Include "osabi.h".
  12344. * sparc-tdep.c: Include "osabi.h".
  12345. (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
  12346. iterate over arches. Update call to gdbarch_init_osabi.
  12347. (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
  12348. tdep structure.
  12349. * vax-tdep.h: Don't include "osabi.h".
  12350. (struct gdbarch_tdep): Remove.
  12351. * vax-tdep.c: Include "osabi.h".
  12352. (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
  12353. iterate over arches. Don't allocate tdep. Update call
  12354. to gdbarch_init_osabi.
  12355. (vax_dump_tdep): Remove.
  12356. (_initialize_vax_tdep): Update call to gdbarch_register.
  12357. 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
  12358. * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
  12359. entirely.
  12360. (breakpoint_re_set_one): Don't fetch the value for a disabled
  12361. watchpoint.
  12362. 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
  12363. * buildsym.h (processing_hp_compilation): Remove obsolete variable.
  12364. * gdbarch.sh Remove include of "value.h" in gdbarch.h.
  12365. (COERCE_FLOAT_TO_DOUBLE): Remove.
  12366. * gdbarch.c: Regenerate.
  12367. * gdbarch.h: Regenerate.
  12368. * Makefile.in: Remove value_h from gdbarch_h.
  12369. * valops.c (coerce_float_to_double): New variable.
  12370. (default_coerce_float_to_double): Remove.
  12371. (standard_coerce_float_to_double): Remove.
  12372. (value_arg_coerce): Use coerce_float_to_double.
  12373. (_initialize_valops): Add "set coerce-float-to-double".
  12374. * value.h (default_coerce_float_to_double): Remove prototype.
  12375. (standard_coerce_float_to_double): Remove prototype.
  12376. * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
  12377. prototyped.
  12378. * mdebugread.c (parse_symbol): Likewise.
  12379. * stabsread.c (define_symbol): Mark all functions as prototyped.
  12380. * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
  12381. * alpha-tdep.c (alpha_gdbarch_init): Remove call to
  12382. set_gdbarch_coerce_float_to_double.
  12383. * arm-tdep.c (arm_gdbarch_init): Likewise.
  12384. * frv-tdep.c (frv_gdbarch_init): Likewise.
  12385. * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
  12386. * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
  12387. * mips-tdep.c (mips_gdbarch_init): Likewise.
  12388. (mips_coerce_float_to_double): Remove.
  12389. * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
  12390. (rs6000_coerce_float_to_double): Remove.
  12391. * s390-tdep.c (s390_gdbarch_init): Likewise.
  12392. * sh-tdep.c (sh_gdbarch_init): Likewise.
  12393. (sh_coerce_float_to_double): Remove.
  12394. * sparc-tdep.c (sparc_gdbarch_init): Likewise.
  12395. (sparc_coerce_float_to_double): Remove.
  12396. * v850-tdep.c (v850_gdbarch_init): Likewise.
  12397. * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
  12398. * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
  12399. * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
  12400. (hppa_coerce_float_to_double): Remove prototype.
  12401. * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
  12402. 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
  12403. * regformats/reg-m68k.dat: Remove fpcode and fpflags.
  12404. 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
  12405. Suggested by Stewart Brown <sb24@avaya.com>:
  12406. * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
  12407. in recursive calls. Handle TYPE_CODE_TYPEDEF.
  12408. (c_type_print_varspec_suffix): Likewise.
  12409. 2003-01-04 Mark Kettenis <kettenis@gnu.org>
  12410. * configure.in: Don't set and AC_SUBST SUBDIRS.
  12411. * configure: Regenerated.
  12412. * configure.in: Remove code dealing with shared libraries.
  12413. * Makefile.in: Remove HLDFLAGS and HLDENV.
  12414. * configure: Regenerated.
  12415. 2003-01-04 Andrew Cagney <ac131313@redhat.com>
  12416. * frame.c (deprecated_frame_xmalloc): New function.
  12417. (deprecated_set_frame_saved_regs_hack): New function.
  12418. (deprecated_set_frame_extra_info_hack): New function.
  12419. * frame.h (deprecated_frame_xmalloc): Declare.
  12420. (deprecated_set_frame_saved_regs_hack): Declare.
  12421. (deprecated_set_frame_extra_info_hack): Declare.
  12422. 2003-01-04 Mark Kettenis <kettenis@gnu.org>
  12423. * configure.in: Move code that provides the --enable-gdbtk option
  12424. right after the code that handles the --enable-tui option, and
  12425. polish it somewhat.
  12426. * configure: Regenerated.
  12427. * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
  12428. AC_CHECK_FUNCS and remove the old check for pread64.
  12429. * acinclude.m4 (AC_GNU_SOURCE): New macro.
  12430. * acconfig.h (_GNU_SOURCE): Add.
  12431. (HAVE_PREAD64): Remove.
  12432. * configure, aclocal.m4, config.in: Regenerated.
  12433. 2003-01-03 Andrew Cagney <ac131313@redhat.com>
  12434. * alpha-tdep.c: Use get_frame_saved_regs.
  12435. * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
  12436. * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
  12437. * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
  12438. * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
  12439. * vax-tdep.c, xstormy16-tdep.c: Ditto.
  12440. 2003-01-03 Mark Kettenis <kettenis@gnu.org>
  12441. * configure.in: Remove all use of the SUBDIRS variable; add
  12442. directories using the AC_CONFIG_SUBDIRS macro instead. Polish
  12443. code providing the --enable-multi-ice option, and move it right in
  12444. front of the code that checks whether gdbserver is supported.
  12445. Polish that too.
  12446. * configure: Regenerated.
  12447. * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
  12448. @SUBDIRS@.
  12449. 2003-01-03 Andrew Cagney <cagney@redhat.com>
  12450. * alpha-tdep.c: Use deprecated_update_frame_base_hack.
  12451. * avr-tdep.c, cris-tdep.c: Ditto.
  12452. * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
  12453. * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
  12454. 2003-01-03 Mark Kettenis <kettenis@gnu.org>
  12455. * configure.in: Remove --enable-netrom option.
  12456. * configure: Regenerated.
  12457. 2003-01-03 Mark Kettenis <kettenis@gnu.org>
  12458. * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
  12459. declaration for `struct re_pattern_buffer' instead.
  12460. * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
  12461. 2003-01-03 J. Brobecker <brobecker@gnat.com>
  12462. * mdebugread.c (parse_symbol): Count until the stEnd matching
  12463. the structure name.
  12464. 2003-01-02 Mark Kettenis <kettenis@gnu.org>
  12465. * configure.in: Remove --with-cpu option.
  12466. subscripts. Remove evil changequotes here.
  12467. * acconfig.h (TARGET_CPU_DEFAULT): Remove.
  12468. * config.in, configure: Regenerated.
  12469. * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
  12470. * configure.in: Cleanup section that sources GDB and BFD configure
  12471. subscripts. Remove evil changequotes here.
  12472. * config.in, configure: Regenerated.
  12473. 2003-01-02 Andrew Cagney <ac131313@redhat.com>
  12474. * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
  12475. frame accessor methods.
  12476. * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
  12477. * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
  12478. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
  12479. * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
  12480. * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
  12481. * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
  12482. * z8k-tdep.c: Ditto.
  12483. 2003-01-02 Mark Kettenis <kettenis@gnu.org>
  12484. * configure.in: Remove UI_OUT configuration code.
  12485. * ada-lang.c: Update assuming UI_OUT is always true.
  12486. * Makefile.in (UIOUT_CFLAGS): Remove.
  12487. * configure: Regenerated.
  12488. * TODO: Remove blurb about elimination of -DUI_OUT.
  12489. * configure.in: Move code that provides the --enable-gdbcli,
  12490. --enable-gdbmi options right before the code that handles the
  12491. --enable-tui option. Polish a bit.
  12492. * configure: Regenerated.
  12493. * configure.in: Rewrite check for GNU regex and the
  12494. --without-included regex option, and move it into the "Checks for
  12495. library functions" section. This makes us use the system regex
  12496. again by default on systems with version 2 of the GNU C library.
  12497. This was apparently broken.
  12498. * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
  12499. * acconfig.h (USE_INCLUDED_REGEX): Remove.
  12500. * config.in, configure: Regenerated.
  12501. * configure.in: Move code that provides the --enable-tui option
  12502. before the "Checks for libraries" section. Polish the code
  12503. somewhat and set need_curses to yes if we build the TUI. Rewrite
  12504. code that looks for a library providing termcap functionality to
  12505. match more closely what's done in the Readline library, and move
  12506. it into to the "Checks for libraries" section.
  12507. * configure: Regenerated.
  12508. * Makefile.in (TERMCAP): Remove variable.
  12509. * config/i386/go32.mh (TERMCAP): Remove variable.
  12510. 2003-01-02 Andrew Cagney <ac131313@redhat.com>
  12511. * MAINTAINERS: Mention gdb_mbuild.sh.
  12512. * gdb_mbuild.sh: Rewrite.
  12513. 2003-01-02 Mark Kettenis <kettenis@gnu.org>
  12514. * configure.in: Fix typo in last change.
  12515. * config.in, configure: Regenerated.
  12516. 2003-01-02 Andrew Cagney <ac131313@redhat.com>
  12517. * valarith.c (value_binop): Delete obsolete code and comments.
  12518. * configure.host: Ditto.
  12519. * buildsym.h (make_blockvector): Ditto.
  12520. * buildsym.c (make_blockvector): Ditto.
  12521. * defs.h (enum language): Ditto.
  12522. (chill_demangle): Ditto.
  12523. * elfread.c (elf_symtab_read): Ditto.
  12524. * dwarfread.c (CHILL_PRODUCER): Ditto.
  12525. (set_cu_language): Ditto.
  12526. (handle_producer): Ditto.
  12527. * expprint.c (print_subexp): Ditto.
  12528. * gdbtypes.c (chill_varying_type): Ditto.
  12529. * gdbtypes.h (builtin_type_chill_bool): Ditto.
  12530. (builtin_type_chill_char, builtin_type_chill_long): Ditto.
  12531. (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
  12532. (chill_varying_type): Ditto.
  12533. * language.h (_LANG_chill): Ditto.
  12534. * language.c (binop_result_type, integral_type): Ditto.
  12535. (character_type, string_type, structured_type): Ditto.
  12536. (lang_bool_type, binop_type_check): Ditto.
  12537. * stabsread.h (os9k_stabs): Ditto.
  12538. * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
  12539. (define_symbol, read_type, read_struct_fields): Ditto.
  12540. (read_array_type, read_enum_type, read_huge_number): Ditto.
  12541. (read_range_type, start_stabs): Ditto.
  12542. * symfile.c (init_filename_language_table): Ditto.
  12543. (add_psymbol_with_dem_name_to_list): Ditto.
  12544. * symtab.c (symbol_init_language_specific): Ditto.
  12545. (symbol_init_demangled_name, symbol_demangled_name): Ditto.
  12546. * symtab.h (struct general_symbol_info): Ditto.
  12547. (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
  12548. * typeprint.c (typedef_print): Ditto.
  12549. * utils.c (fprintf_symbol_filtered): Ditto.
  12550. * valops.c (value_cast, search_struct_field, value_slice): Delete
  12551. obsolete code.
  12552. (varying_to_slice): Delete function.
  12553. * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
  12554. (varying_to_slice): Delete declaration.
  12555. * MAINTAINERS: Update.
  12556. 2003-01-02 Mark Kettenis <kettenis@gnu.org>
  12557. * configure.in: Reorganize "Checks for library functions section"
  12558. a bit. Remove check for `btowc' and `isascii' functions.
  12559. * configure: Regenerated.
  12560. * acconfig.h (_MSE_INT_H): Remove.
  12561. * configure.in: Create "Checks for header files" section, and move
  12562. appropriate tests there. Don't check for objlist.h, wchar.h,
  12563. wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
  12564. misdetection fix. Also add "Checks for types", "Checks for
  12565. compiler characteristics" and "Checks for library functions"
  12566. sections.
  12567. * config.in, configure: Regenerated.
  12568. * configure.in: Create "Checks for programs" section, and move
  12569. appropriate tests there.
  12570. 2003-01-01 Mark Kettenis <kettenis@gnu.org>
  12571. * configure.in: Create "Checks for libraries" section, and move
  12572. appropriate tests there. Cleanup check for wctype in libw. Use
  12573. AC_SEARCH_LIBS to see whether we need libsocket.
  12574. * configure: Regenerated.
  12575. For older changes see ChangeLog-2002
  12576. Local Variables:
  12577. mode: change-log
  12578. left-margin: 8
  12579. fill-column: 74
  12580. version-control: never
  12581. End: