ChangeLog-2000 311 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200
  1. 2000-12-20 Michael Snyder <msnyder@mvstp600e.cygnus.com>
  2. * arch-utils.c (default_frame_address): New function. Default
  3. implementation of frame_args_address and frame_locals_address.
  4. * arch-utils.h (default_frame_address): Export.
  5. * d10v-tdep.c (d10v_gdbarch_init): Use default_frame_address.
  6. (d10v_frame_args_address, d10v_frame_locals_address): Delete.
  7. * sh-tdep.c (sh_gdbarch_init): Use default_frame_address.
  8. (sh_frame_args_address, sh_frame_locals_address): Delete.
  9. * sparc-tdep.c (sparc_gdbarch_init): Use default_frame_address.
  10. (sparc_frame_address): Delete.
  11. 2000-12-27 Mark Kettenis <kettenis@gnu.org>
  12. Fix debugging programs statically linked against the thread library.
  13. * thread-db.c: Various comment fixes and additions.
  14. Include "bfd.h", "symfile.h" and "objfiles.h".
  15. (keep_thread_db): New variable.
  16. (find_new_threads_callback): Remove prototype.
  17. (thread_db_find_new_threads): New prototype.
  18. (thread_db_push_target, thread_db_unpush_target): Remove
  19. functions.
  20. (deactivate_target): New function.
  21. (thread_db_new_objfile): If OBJFILE == NULL, force deactivation of
  22. target vector. Activate target vector directly instead of calling
  23. thread_db_push_target. Set keep_thread_db if thread library is
  24. detected in the main symbol file. Only enable thread event
  25. reporting if there actually is a child process. Likewise for
  26. detecting new threads, done by calling thread_db_find_new_threads
  27. instead of iterating over the threads ourselves.
  28. (thread_db_detach): Call deactivate_target instead of
  29. thread_db_unpush_target.
  30. (thread_db_wait): Bail out early if we're not debugging the
  31. multi-threaded child process yet.
  32. (thread_db_post_startup_inferior): New function.
  33. (thread_db_mourn_inferior): Call deactivate_target instead of
  34. thread_db_unpush_target.
  35. (init_thread_db_ops): Add thread_db_post_startup_inferior to
  36. thread_db_ops.
  37. 2000-12-22 Mark Kettenis <kettenis@gnu.org>
  38. * solib.c (solib_open): If path is relative, look for it
  39. literally. This matches the behaviour of the GNU dynamic linker
  40. more closely.
  41. 2000-12-22 Fernando Nasser <fnasser@redhat.com>
  42. * README: Suggest building in an empty directory.
  43. 2000-12-21 Mark Kettenis <kettenis@gnu.org>
  44. * i386-tdep.c: Add missing ')' in comment.
  45. (i386_extract_return_value): Return directly after issuing the
  46. warning and filling *VALBUF with zeroes if we cannot get at the
  47. floating-point registers.
  48. (i386_store_return_value): New function.
  49. * config/i386/tm-i386.h (STORE_RETURN_VALUE): Simply call
  50. i386_store_return_value.
  51. Add prototype for i386_store_return_value.
  52. * i386-linux-nat.c (store_fpxregs): Add code to detect support for
  53. the PTRACE_GETFPXREGS request, and return zero if it's not.
  54. 2000-12-21 Fernando Nasser <fnasser@redhat.com>
  55. * TODO: Add pre-uiout code removal to 5.2 cleanups.
  56. 2000-12-20 Fernando Nasser <fnasser@redhat.com>
  57. * configure.in: Rename CONFIG_LOBS to CONFIG_LIB_OBS.
  58. * Makefile.in: Ditto.
  59. * configure: Regenerate.
  60. 2000-12-20 Fernando Nasser <fnasser@redhat.com>
  61. * command.h: Register date when it was deprecated.
  62. * call-cmds.h: Ditto.
  63. 2000-12-20 Fernando Nasser <fnasser@redhat.com>
  64. * Makefile.in (UIOUT_CFLAGS): New macro. CFLAGS needed for uiout code
  65. to be compiled. Defines UI_OUT.
  66. (SUBDIR_MI_CFLAGS): Defines MI_OUT, not UI_OUT.
  67. (INTERNAL_WARN_CFLAGS): Also include UIOUT_CFLAGS.
  68. * configure.in (UIOUT_CFLAGS): New configuration variable.
  69. (--with-uiout): New configuration option. Causes uiout code to
  70. be compiled, instead of the old *printf one.
  71. * configure: Regenerate.
  72. * top.c (print_gdb_version): Test for and print MI_OUT, not UI_OUT.
  73. 2000-12-20 Fernando Nasser <fnasser@redhat.com>
  74. * complaints.c (complain): Call warning_hook if defined, instead of
  75. writting to gdb_stderr.
  76. (clear_complaints): Do not write anything to gdb_stderr if warning_hook
  77. is defined.
  78. 2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  79. * sh-tdep.c (sh_print_register): Don't leave regnum 0 out of the
  80. non-pseudo-regs group.
  81. 2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  82. * sh-tdep.c (sh_gdbarch_init): Move setting of breakpoint_from_pc
  83. to before switch statement.
  84. 2000-12-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  85. * sh-tdep.c (sh_gdbarch_init): Initialize do_registers_info.
  86. * config/sh/tm-sh.h: Don't remove SR_REGNUM from enum.
  87. (DO_REGISTERS_INFO): Remove macro. Use multiarch version instead.
  88. Fri Dec 15 23:12:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
  89. * i386gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
  90. (gnu_store_registers): Replace assert with gdb_assert.
  91. 2000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  92. * sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
  93. sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): SR_REGNUM is
  94. now part of gdbarch_tdep structure.
  95. (sh_gdbarch_init): Initialize SR_REGNUM.
  96. * config/sh/tm-sh.h (struct gdbarch_tdep): Add field SR_REGNUM.
  97. * sh-tdep.c (sh_do_pseudo_register): Indent properly. Call
  98. do_dr_register_info() only for DR registers.
  99. (sh_sh4_register_name): Add comments with numbers.
  100. (_initialize_sh_tdep): Move assignment to disassemble printing
  101. function from here...
  102. (sh_gdbarch_init):...to here. Move some more general settings to
  103. before the architecture is recognized.
  104. Fri Dec 15 23:27:56 2000 Andrew Cagney <cagney@b1.cygnus.com>
  105. * remote.c (remote_fetch_registers): Replace #ifdef
  106. REGISTER_BYTES_OK with REGISTER_BYTES_OK_P.
  107. * gdbarch.sh (REGISTER_BYTES_OK): Multi-arch.
  108. * gdbarch.h, gdbarch.c: Re-generate.
  109. Fri Dec 15 22:58:59 2000 Andrew Cagney <cagney@b1.cygnus.com>
  110. * serial.c (serial_printf): Call xvasprintf instead of vasprintf.
  111. 2000-12-14 Matthew Green <mrg@eterna.com.au>
  112. * solib-svr4.c (solib_break_names): Add NetBSD's `_rtld_debug_state'.
  113. 2000-12-14 Kevin Buettner <kevinb@redhat.com>
  114. * defs.h, utils.c (xfree): New function.
  115. * alpha-tdep.c, altos-xdep.c, arch-utils.c, arm-xdep.c,
  116. ax-general.c, bcache.c, blockframe.c, breakpoint.c,
  117. buildsym.c, c-typeprint.c, coffread.c, completer.c,
  118. convex-tdep.c, convex-xdep.c, corefile.c, corelow.c,
  119. cp-valprint.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
  120. dbxread.c, dcache.c, defs.h, demangle.c, dstread.c,
  121. dve3900-rom.c, dwarf2read.c, dwarfread.c, elfread.c,
  122. environ.c, event-loop.c, event-top.c, exec.c, f-lang.c,
  123. gdb-events.c, gdbarch.c, gdbtypes.c, gnu-nat.c, h8500-tdep.c,
  124. hp-psymtab-read.c, hppah-nat.c, infcmd.c, inflow.c, infrun.c,
  125. infttrace.c, irix5-nat.c, jv-typeprint.c, kod-cisco.c, kod.c,
  126. language.c, lin-lwp.c, lin-thread.c, linespec.c,
  127. linux-thread.c, main.c, maint.c, mdebugread.c, minsyms.c,
  128. mips-tdep.c, monitor.c, nlmread.c, objfiles.c, osfsolib.c,
  129. p-valprint.c, pa64solib.c, parse.c, printcmd.c,
  130. proc-service.c, procfs.c, pyr-xdep.c, remote-adapt.c,
  131. remote-bug.c, remote-eb.c, remote-es.c, remote-mips.c,
  132. remote-mm.c, remote-nindy.c, remote-rdi.c, remote-rdp.c,
  133. remote-udi.c, remote-vx.c, remote.c, rs6000-nat.c, ser-pipe.c,
  134. serial.c, solib-svr4.c, solib.c, somread.c, somsolib.c,
  135. source.c, sparcl-tdep.c, stabsread.c, stack.c, sun386-nat.c,
  136. symfile.c, symmisc.c, symtab.c, target.c, thread-db.c,
  137. thread.c, top.c, tracepoint.c, ui-file.c, ui-out.c,
  138. umax-xdep.c, utils.c, valops.c, valprint.c, values.c,
  139. varobj.c, win32-nat.c, wince.c, xcoffread.c, cli/cli-cmds.c,
  140. cli/cli-decode.c, cli/cli-script.c, cli/cli-setshow.c:
  141. Replace occurrences of free() with xfree().
  142. 2000-12-14 J.T. Conklin <jtc@redback.com>
  143. * configure.tgt (hppa*-*-bsd*, hppa*-*-osf*, m68*-*-sunos4*,
  144. rs6000-*-lynxos*, sparc-*-sunos4*): Add gdbserver to configdirs.
  145. 2000-12-13 Michael Chastain <chastain@redhat.com>
  146. * MAINTAINERS: Add Michael Chastain to Write After Approval list.
  147. 2000-12-11 Fernando Nasser <fnasser@redhat.com>
  148. * Makefile.in (CONFIG_LOBS): New macro. Configured to the files
  149. that must be added to the gdblib itself.
  150. (DEPFILES): Use CONFIG_LOBS, not CONFIG_OBS.
  151. (INIT_FILES): Include CONFIG_OBS.
  152. (gdb$(EXEEXT)): Depend on CONFIG_OBS and link with it.
  153. (kdb): Ditto.
  154. * configure.in (CONFIG_LOBS): New variable. Object files that must
  155. be added to gdblib for the specific configuration.
  156. * configure: Regenerate.
  157. 2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
  158. * sh-tdep.c (sh_extract_struct_value_address): Protoize.
  159. 2000-12-11 Michael Snyder <msnyder@mvstp600e.cygnus.com>
  160. * blockframe.c (get_prev_frame): Add missing paren omitted in
  161. last check-in.
  162. 2000-12-11 Fernando Nasser <fnasser@redhat.com>
  163. * Makefile.in (SUBDIR_GDBTK_OBS, SUBDIR_GDBTK_SRCS,
  164. SUBDIR_GDBTK_DEPS, SUBDIR_GDBTK_INITS, SUBDIR_GDBTK_LDFLAGS,
  165. SUBDIR_GDBTK_CFLAGS): New macros. For gdbtk subdir.
  166. * configure.in: Fix typo. It is CONFIG_OBS not CONFIG_OJS.
  167. Use the SUBDIR_GDBTK_* macros instead of hard coded file names.
  168. * configure: Regenerate.
  169. 2000-12-11 Michael Snyder <msnyder@mvstp600e.cygnus.com>
  170. * blockframe.c (get_prev_frame): Zero all fields of prev by
  171. default using memset (instead of one at a time).
  172. 2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
  173. * sh-tdep.c (sh_extract_struct_value_address): For consistancy,
  174. change decl from "CORE_ADDR static" to "static CORE_ADDR".
  175. 2000-12-11 Fernando Nasser <fnasser@redhat.com>
  176. * configure.in: Fix typos. It is CONFIG_SRCS not CONFIG_SRS.
  177. * configure: Regenerate.
  178. 2000-12-11 Fernando Nasser <fnasser@redhat.com>
  179. * configure.in: Fix a couple of typos in the handling of the
  180. enable_gdbcli option. Make it check enableval for the result
  181. of AC_ARG_ENABLE.
  182. * configure: Regenerate.
  183. 2000-12-08 Michael Snyder <msnyder@mvstp600e.cygnus.com>
  184. * dwarf2read.c (DWARF2_REG_TO_REGNUM): New macro. Provide default
  185. definition. Will be used to translate between the compiler's
  186. register numbering and GDB's (for register variables etc).
  187. (new_symbol): Use DWARF2_REG_TO_REGNUM to translate register ids.
  188. * alpha-tdep.c: Fix typo in comment.
  189. * dbxread.c: Fix typo in comment.
  190. * fr30-tdep.c: Fix typo: newline missing after comment.
  191. * mcore-tdep.c: Fix typo in comment.
  192. 2000-12-07 J.T. Conklin <jtc@redback.com>
  193. * gdbserver/low-hppabsd.c (buf2, environ, quit, quit_flag):
  194. Removed unused variables and declarations.
  195. * gdbserver/low-linux.c (buf2, environ, query, quit, quit_flag):
  196. Likewise.
  197. * gdbserver/low-nbsd.c (buf2, environ, quit, quit_flag):
  198. Likewise.
  199. * gdbserver/low-sparc.c (buf2, environ, query, quit, quit_flag):
  200. Likewise.
  201. * gdbserver/low-sun.c (buf2, environ, query, quit, quit_flag):
  202. Likewise.
  203. * gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
  204. gdbserver/low-nbsd.c, gdbserver/low-sparc.c, gdbserver/low-sun3.c
  205. (create_inferior): Update comment.
  206. * gdbserver/low-nbsd.c (initialize_arch, fetch_inferior_registers,
  207. store_inferior_registers): Provide implementations for the m68k
  208. and ns32k.
  209. * config/m68k/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
  210. * config/ns32k/nbsd.mt (GDBSERVER_DEPFILES): Likewise.
  211. * configure.tgt (m68*-*-netbsd*, ns32k-*-netbsd*): Add gdbserver
  212. to configdirs.
  213. 2000-12-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  214. * config/sh/tm-sh.h (struct gdbarch_tdep): Rename fields
  215. {FP15,DR14,FV12}_REGNUM to {FP,DR,FV}_LAST_REGNUM.
  216. * sh-tdep.c (sh_sh3e_register_virtual_type,
  217. sh_sh4_register_virtual_type, sh_do_registers_info,
  218. sh_gdbarch_init, sh_sh4_register_byte, sh_sh4_register_raw_size,
  219. sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
  220. sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
  221. sh_store_pseudo_register, sh_do_pseudo_register): Ditto.
  222. * sh-tdep.c (sh_gdbarch_init): Use a function pointer to set the
  223. disassembly print function.
  224. (_initialize_sh_tdep): Initialize tm_print_insn using the function
  225. pointer.
  226. 2000-12-07 Mark Kettenis <kettenis@gnu.org>
  227. From Richard Henderson <rth@twiddle.net>:
  228. * alpha-nat.c (supply_gregset, fill_gregset): Use gdb_gregset_t.
  229. (supply_fpregset, fill_fpregset): Use gdb_fpregset_t.
  230. 2000-12-06 Fernando Nasser <fnasser@redhat.com>
  231. * cli/cli-decode.c (add_abbrev_cmd): Reinstate. Add comment saying
  232. that is not currently used.
  233. 2000-12-06 Fernando Nasser <fnasser@redhat.com>
  234. * cli/cli-decode.c (lookup_cmd): Change disabled code into comment.
  235. 2000-12-06 Fernando Nasser <fnasser@redhat.com>
  236. * cli/cli-decode.c (lookup_cmd): Remove old stale copy of this routine
  237. which was not being used for quite some time.
  238. 2000-12-05 Mark Kettenis <kettenis@gnu.org>
  239. * gdb-stabs.h (SECT_OFF_MAX): Increase to 64.
  240. * symfile.h (MAX_SECTIONS): Increase to 64.
  241. 2000-12-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  242. * config/sh/tm-sh.h (struct gdbarch_tdep): Get rid of
  243. DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM, they are not used
  244. anywhere.
  245. * sh-tdep.c (sh_gdbarch_init): Don't initialize
  246. DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM.
  247. 2000-12-04 Michael Snyder <msnyder@cleaver.cygnus.com>
  248. * utils.c (internal_verror): Fix typo in error msg.
  249. 2000-12-03 Mark Kettenis <kettenis@gnu.org>
  250. * Makefile.in (symfile.o): Add gdb-stabs.h to dependencies list.
  251. 2000-12-04 Kevin Buettner <kevinb@redhat.com>
  252. * elfread.c (record_minimal_symbol_and_info): Don't guess
  253. at the section index; instead just always use the bfd index.
  254. (elf_symtab_read): Handle weak symbols appearing in data
  255. sections.
  256. Mon Dec 4 14:36:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
  257. * gdbarch.sh (STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM,
  258. DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM):
  259. Add.
  260. * gdbarch.h, gdbarch.c: Regenerate.
  261. * arch-utils.c (no_op_reg_to_regnum): New function.
  262. * arch-utils.h (no_op_reg_to_regnum): Declare.
  263. * dwarfread.c (DWARF_REG_TO_REGNUM), coffread.c
  264. (SDB_REG_TO_REGNUM), stabsread.h (STAB_REG_TO_REGNUM),
  265. mdebugread.c (ECOFF_REG_TO_REGNUM): Delete macro.
  266. * config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM, STAB_REG_TO_REGNUM):
  267. Delete. Moved to mips-tdep.c.
  268. * mips-tdep.c (mips_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
  269. New functions.
  270. (mips_gdbarch_init): Add ``mips_ecoff_reg_to_regnum'' and
  271. ``mips_stab_reg_to_regnum'' to multi-arch vector.
  272. 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  273. * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove elf_flags, cleanup.
  274. (gdbarch_tdep): Likewise.
  275. 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  276. * m68hc11-tdep.c (SOFT_D1_REGNUM): Soft registers start at 14.
  277. (m68hc11_register_names): Add null for register 13.
  278. 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  279. * m68hc11-tdep.c (m68hc11_frame_args_address): Fix args address
  280. computation.
  281. (m68hc11_frame_init_saved_regs): Frame pointer is saved only if
  282. the symbol exist.
  283. (m68hc11_analyze_instruction): New function.
  284. (m6811_prologue, m6812_prologue): New prologue description tables.
  285. (m68hc11_guess_from_prologue): Use the above.
  286. (m68hc11_gdbarch_init): Setup gdbarch_tdep for the prologue
  287. descriptions.
  288. Sun Dec 3 02:28:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
  289. * ser-pipe.c (pipe_open): Only use vfork when available.
  290. * fork-child.c (fork_inferior): Fix #ifdef HAVE_VFORK test.
  291. (clone_and_follow_inferior): Ditto.
  292. * configure.in (AC_CHECK_FUNCS): Check for vfork.
  293. * configure, config.in: Regenerate.
  294. Sun Dec 3 01:54:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
  295. * ser-unix.c (wait_for): Initialize the FD_SET before every select
  296. call.
  297. (ser_unix_wait_for): Ditto.
  298. Sun Dec 3 01:01:02 2000 Andrew Cagney <cagney@b1.cygnus.com>
  299. * Makefile.in (varobj.o): Delete special .c.o rule supressing
  300. -Werror flag.
  301. Sun Dec 3 00:29:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
  302. * m32r-rom.c (m32r_load_section): Update to match
  303. bfd_map_over_sections's ``func'' arg.
  304. Thu Nov 30 01:24:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
  305. * mips-tdep.c (struct upk_mips16): Delete fields ``inst'' and
  306. ``fmt''. Make ``offset'' a CORE_ADDR.
  307. (print_unpack): Delete.
  308. (extended_offset): Construct and return a CORE_ADDR.
  309. (fetch_mips_16): Return an int. Don't assume short is 16 bits.
  310. (unpack_mips16): Rewrite. Add ``extension'' parameter instead of
  311. incorrectly guessing if the instruction had an extension.
  312. (map16): Delete array.
  313. (mips16_op): Delete macro.
  314. (extended_mips16_next_pc): Rewrite of old mips16_next_pc function.
  315. When an extended instruction do a recursive call.
  316. (mips16_next_pc): Call extended_mips16_next_pc.
  317. (mips_next_pc): Cleanup.
  318. Sat Dec 2 10:40:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
  319. * ser-e7kpc.c (e7000pc_setstopbits): New function.
  320. (e7000pc_ops): Add e7000pc_setstopbits.
  321. * remote-e7000.c (e7000_detach, e7000_resume,
  322. e7000_xfer_inferior_memory, e7000_files_info, e7000_files_info,
  323. e7000_insert_breakpoint, e7000_remove_breakpoint, e7000_kill):
  324. Update function signature to match target vector.
  325. * h8300-tdep.c (h8300_command, h8300h_command, h8300s_command):
  326. h8500-tdep.c (small_command, big_command, medium_command,
  327. compact_command): Update function signature to match add_cmd.
  328. 2000-12-01 Fernando Nasser <fnasser@redhat.com>
  329. * p-exp.y: Define strncasecmp as strnicmp for MSVC.
  330. (yylex): Use strncasecmp, not strnicmp.
  331. 2000-12-01 Fernando Nasser <fnasser@redhat.com>
  332. * cli/cli-decode.c: New file. Handle lists of commands, their decoding
  333. and documentation.
  334. (add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
  335. add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
  336. add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
  337. add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
  338. help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
  339. undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
  340. lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
  341. Moved here from command.c.
  342. (add_info, add_info_alias, add_com, add_com_alias): Moved here from
  343. top.c.
  344. * cli/cli-decode.h: Definitions/declarations for the above.
  345. * cli/cli-cmds.c: New file. GDB CLI commands.
  346. (error_no_arg, info_command, show_command, help_command, show_version,
  347. quit_command, pwd_command, cd_command, echo_command, shell_escape,
  348. make_command, show_user, set_debug, show_debug, init_cmd_lists):
  349. Moved here from top.c.
  350. (apropos_command): Moved here from command.c.
  351. (complete_command, source_command): Moved here (part) from top.c.
  352. (is_complete_command): New function. Checks if a command is the
  353. "complete" command.
  354. (init_cli_cmds): New function. Add commands to the CLI (from code
  355. previously in top.c.
  356. * cli/cli-cmds.h: Definitions/declarations for the above.
  357. * cli/cli-script.c: New file. GDB CLI command scripting.
  358. (build_command_line, get_command_line, print_command_lines,
  359. print_command_line, execute_user_command, execute_control_command,
  360. while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
  361. insert_args, realloc_body_list, read_next_line,
  362. recurse_read_control_structure, read_command_lines, free_command_lines,
  363. do_free_command_lines_cleanup, make_cleanup_free_command_lines,
  364. validate_comname, user_defined_command, define_command,
  365. document_command, source_cleanup_lines, do_fclose_cleanup,
  366. show_user_1): Moved here from top.c.
  367. (script_from_file): New function. Implements execution of a script
  368. contained in a file (part of code for the source_command() that used
  369. to exist in top.c).
  370. * cli/cli-script.h: Definitions/declarations for the above.
  371. * cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
  372. (parse_auto_binary_operation, parse_binary_operation,
  373. do_setshow_command, cmd_show_list): Moved here from command.c.
  374. * cli/cli-setshow.h: Definitions/declarations for the above.
  375. * top.c: Remove all CLI code, except the command loop.
  376. (gdb_init): Call init_cli_cmds().
  377. * command.c: Remove obsolete file.
  378. * command.h: Mark as DEPRECATED.
  379. * gdbcmd.h: Ditto.
  380. * call-cmds.h: Ditto.
  381. * Makefile.in (SFILES): Remove command.c.
  382. (COMMON_OBS): Remove command.o.
  383. (command.o): Remove obsolete target.
  384. (cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
  385. Refer to CLI header files.
  386. (cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
  387. (SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
  388. SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
  389. SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
  390. subdirectory.
  391. * configure.in (enable_gdbcli): New option. Include the CLI in the
  392. executable (cannot be disabled yet).
  393. (CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
  394. CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
  395. the corresponding SUBDIR_CLI_* macros if CLI requested.
  396. * configure: Regenerate.
  397. 2000-10-27 Pierre Muller <muller@ics.u-strasbg.fr>
  398. * p-exp.y (yylex): avoid problem with symbol name
  399. starting as a operator name.
  400. 2000-11-30 Fernando Nasser <fnasser@redhat.com>
  401. * linespec.h: New file. Declarations for linespec.c.
  402. * linespec.c, alpha-tdep.c, breakpoint.c, parse.c, source.c,
  403. symtab.c, tracepoint.c: Include the above.
  404. * completer.c: New file. Line completion stuff for GDB.
  405. (get_gdb_completer_word_break_characters,
  406. get_gdb_completer_quote_characters): New functions. Accessors for
  407. useful completer internal data.
  408. (filename_completer, line_completion_function, skip_quoted): Moved
  409. here from top.c.
  410. * completer.h: New file. Declarations for the above.
  411. * linespec.c (decode_line_1): Use
  412. get_gdb_completer_word_break_characters and
  413. get_gdb_completer_quote_characters.
  414. * top.c: Include completer.h.
  415. (filename_completer, line_completion_function, skip_quoted):
  416. Moved to completer.c.
  417. * corefile.c, exec.c, source.c, symfile.c, linespec.c: Include
  418. completer.h.
  419. * Makefile.in (SFILES): Add completer.c.
  420. (COMMON_OBS): Add completer.o.
  421. (completer.o): New target.
  422. (linespec.o, alpha-tdep.o, breakpoint.o, parse.o, source.o,
  423. symtab.o, tracepoint.o): Add linespec.h to dependencies list.
  424. (corefile.o, exec.o, source.o, symfile.o, linespec.o): Add completer.h
  425. to dependencies list.
  426. Thu Nov 30 13:19:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
  427. * gdbarch.c: Regenerate.
  428. Thu Nov 30 01:14:21 2000 Andrew Cagney <cagney@b1.cygnus.com>
  429. * varobj.c (varobj_create): Initialize ``old_fi''.
  430. (varobj_update): Initialize ``templist''.
  431. * kod-cisco.c (cisco_kod_request): Simplify allocation of
  432. ``sync_ids'' eliminating uninitialized variable.
  433. 2000-11-28 Mark Salter <msalter@redhat.com>
  434. * MAINTAINERS: Add Mark Salter to Write After Approval list.
  435. Tue Nov 28 12:24:43 2000 Christopher Faylor <cgf@cygnus.com>
  436. * win32-nat.c (dll_code_sections_add): strdup -> xstrdup.
  437. Mon Nov 27 11:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
  438. * remote.c (remote_write_bytes): Add default case to switch
  439. initializing ``todo''. Ditto for ``nr_bytes''.
  440. * top.c (catch_errors): Always initialize ``val''.
  441. * solib.c (info_sharedlibrary_command): Handle bfd_get_arch_size
  442. returning an unknown size.
  443. * gdbtypes.c (count_virtual_fns): Always initialize ``vfuncs''.
  444. * breakpoint.c (break_at_finish_at_depth_command_1): Initialise
  445. extra_args to NULL.
  446. (break_at_finish_command_1): Ditto.
  447. Mon Nov 27 11:27:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
  448. * TODO: Add GFDL updates to 5.1 release criteria.
  449. 2000-11-26 Nick Clifton <nickc@redhat.com>
  450. * configure.tgt (xscale-*): Add.
  451. * configure.host (xscale-*): Add.
  452. 2000-11-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  453. * m68hc11-tdep.c (gdb_print_insn_m68hc11): New function.
  454. (_initialize_m68hc11_tdep): Install it. Register bfd_arch_m68hc12.
  455. 2000-11-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  456. * m68hc11-tdep.c (gdbarch_tdep): Move stack_correction global to here.
  457. (STACK_CORRECTION): Get stack correction using gdbarch_tdep.
  458. (m68hc11_saved_pc_after_call): Use STACK_CORRECTION.
  459. (m68hc11_frame_chain): Likewise.
  460. (m68hc11_frame_init_saved_regs): Likewise.
  461. (m68hc11_init_extra_frame_info): Likewise.
  462. (m68hc11_push_arguments): Likewise.
  463. (m68hc11_push_arguments): Likewise.
  464. (m68hc11_store_struct_return): Likewise.
  465. (m68hc11_push_return_address): Likewise.
  466. (m68hc11_gdbarch_init): Setup stack_correction according to arch.
  467. Mon Nov 20 13:59:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
  468. * configure.in: Add support for configure option
  469. --enable-gdb-build-warnings. Mention need to update doco.
  470. * configure: Regenerate.
  471. 2000-11-21 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  472. * target.h (TARGET_SIGNAL_REALTIME_64): Added for IRIX 6.
  473. * target.c (target_signal_from_host, do_target_signal_to_host):
  474. Handle TARGET_SIGNAL_REALTIME_64.
  475. 2000-11-21 Kevin Buettner <kevinb@redhat.com>
  476. * solib.c (solib_open): Handle the case where
  477. solib_absolute_prefix is NULL.
  478. 2000-11-20 Michael Snyder <msnyder@cleaver.cygnus.com>
  479. * solist.h: Declare new function solib_open.
  480. * solib.c (solib_open): New function. Abstracts some of the
  481. code from solib_map_sections, for finding the binary solib file.
  482. (solib_map_sections): Call solib_open.
  483. * solib-svr4.c (enable_break): Call solib_open.
  484. 2000-11-20 J.T. Conklin <jtc@redback.com>
  485. * gdbserver/low-nbsd.c (fetch_inferior_registers,
  486. store_inferior_registers): Support older NetBSD/powerpc systems
  487. from before fp reg support was added. Adapt to register number
  488. changes caused when powerpc target was multi-arched.
  489. 2000-11-20 H.J. Lu <hjl@gnu.org>
  490. * ia64-tdep.c (gdbarch_tdep): Change reference from
  491. ELFOSABI_MONTEREY to ELFOSABI_AIX.
  492. 2000-11-20 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  493. * c-valprint.c (print_function_pointer_address): New function
  494. to automatically dereference a function pointer for printing
  495. if necessary.
  496. (c_val_print): Use print_function_pointer_address when printing
  497. function pointer addresses.
  498. 2000-11-20 J.T. Conklin <jtc@redback.com>
  499. * gdbserver/low-nbsd.c: Fix typos.
  500. 2000-11-20 Jeffrey A Law (law@cygnus.com)
  501. * pa64solib.c (add_to_solib): Pass TARGET to pa64_solib_load_symbols.
  502. Mon Nov 20 23:21:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
  503. * MAINTAINERS: Peter Schauer and Kevin Buettner maintain AIX. Jim
  504. Blandy, Kevin Buettner and Peter Schauer share shared libs.
  505. From Nick Duffek:
  506. * MAINTAINERS: Share responsibility for
  507. Solaris/x86 between co-maintainers.
  508. * MAINTAINERS: Add linespec as a separate component.
  509. Mon Nov 20 14:29:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
  510. * command.h (error_no_arg): Add noreturn attribute to declaration.
  511. Fri Nov 17 16:07:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
  512. * utils.c (xvasprintf, xasprintf): New functions.
  513. * defs.h (xvasprintf, xasprintf): Add declarations.
  514. * remote.c (add_packet_config_cmd): Use function xasprintf instead
  515. of asprintf.
  516. * utils.c (vfprintf_maybe_filtered, vfprintf_unfiltered): Use
  517. function xvasprintf instead of vasprintf.
  518. * TODO (xasprintf): Update.
  519. Mon Nov 20 12:22:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
  520. * TODO: Mention ``extern'' and ``STREQ'' cleanups.
  521. 2000-11-19 Jim Blandy <jimb@redhat.com>
  522. * symtab.c (no_symtab_msg): Remove definition.
  523. (sources_info): Replace use of no_symtab_msg with the string
  524. itself.
  525. * linespec.c (no_symtab_msg): Remove declaration.
  526. (decode_line_1): Replace uses of no_symtab_msg with the string
  527. itself.
  528. 2000-11-17 Kevin Buettner <kevinb@redhat.com>
  529. * rs6000-tdep.c (refine_prologue_limit): New function.
  530. (skip_prologue): When zero, attempt to obtain value for
  531. lim_pc by calling refine_prologue_limit(). Also, fix
  532. fencepost error regarding the limit in the loop.
  533. From Peter Schauer:
  534. * rs6000-tdep.c (skip_prologue): Handle optimizer code motions into
  535. the prologue by continuing the prologue search, if we have no valid
  536. frame yet or if the return address is not yet saved in the frame.
  537. 2000-11-17 Kevin Buettner <kevinb@redhat.com>
  538. * wrapper.c (gdb_value_assign, wrap_value_assign): Protoize.
  539. 2000-11-16 Christopher Faylor <cgf@redhat.com>
  540. * thread.c (thread_apply_all_command): Save the command before
  541. executing it because it may be modified. Restore the saved command so
  542. that the same command is executed on next thread.
  543. (thread_apply_command): Same correction.
  544. 2000-11-16 Michael Snyder <msnyder@cleaver.cygnus.com>
  545. * regcache.c (read_register_bytes): Failing to set register_valid
  546. is not necessarily an error, if the register is a pseudo-register.
  547. Some pseudo-registers are never marked as valid, so that they will
  548. be read anew every time. Determining if a pseudo-register is valid
  549. (or should be marked invalid) may be difficult, whereas just
  550. recomputing it may be cheap.
  551. Thu Nov 16 09:47:57 2000 David Taylor <taylor@redhat.com>
  552. * tracepoint.c (trace_find_tracepoint_command): Replace call to
  553. parse_and_eval_address with a call to parse_and_eval_long as
  554. we are evaluating an integer, not an address.
  555. * top.c (show_commands): Ditto.
  556. 2000-11-15 Kevin Buettner <kevinb@redhat.com>
  557. * xcoffread.c (arrange_linetable, xcoff_initial_scan): Protoize.
  558. Wed Nov 15 09:31:39 2000 David Taylor <taylor@redhat.com>
  559. * utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT,
  560. not TARGET_PTR_BIT, since we are dealing with addresses, not
  561. pointers.
  562. 2000-11-14 Daniel Berlin <dberlin@redhat.com>
  563. From Kenneth Block <kenneth.block@compaq.com>
  564. * demangle.c : Use libibery list of demanglers instead of out of
  565. date local copy.
  566. Wed Nov 15 00:29:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
  567. From Klaus Espenlaub <espenlaub@informatik.uni-ulm.de>
  568. * remote.c (_initialize_remote): Call
  569. show_memory_write_packet_size when ``show remotewritesize''
  570. command.
  571. 2000-11-13 Eli Zaretskii <eliz@is.elta.co.il>
  572. * config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handle
  573. the gettext's posrcprefix correctly with drive letters.
  574. 2000-11-10 Jim Blandy <jimb@redhat.com>
  575. * stabsread.c (read_range_type): Properly construct complex
  576. type nodes.
  577. 2000-11-10 Fernando Nasser <fnasser@totem.toronto.redhat.com>
  578. * symtab.c (decode_line_1, total_number_of_methods, find_methods,
  579. build_command_line_spec, find_toplevel_char, decode_line_2):
  580. Move to linespec.c.
  581. * linespec.c: New file. Routines that handle linespecs, formerly
  582. in symtab.c.
  583. * symtab.h: Export find_line_symtab and find_function_start_sal.
  584. * Makefile.in (SFILES): Add linespec.c.
  585. (COMMON_OBS): Add linespec.o.
  586. (linespec.o): New target.
  587. 2000-11-10 Christopher Faylor <cgf@cygnus.com>
  588. * inferior.h (step_over_calls_kind): New enum to clarify values in
  589. step_over_calls.
  590. * infcmd.c (step_over_calls): Change definition.
  591. (step_1): Use new enum values in relation to step_over_calls.
  592. (step_once): Ditto.
  593. (until_next_command): Ditto.
  594. * infrun.c (clear_proceed_status): Ditto.
  595. (handle_inferior_event): Ditto.
  596. 2000-11-10 Stephane Carrez <Stephane.Carrez@sun.com>
  597. * inferior.h (step_stop_if_no_debug): New variable.
  598. * infrun.c (step_stop_if_no_debug): Declare.
  599. (handle_inferior_event): Stop the step command if we entered a function
  600. without line info.
  601. (_initialize_infrun): New command 'set step-mode' to control the step
  602. command.
  603. * infcmd.c (step_once): Switch to stepi mode if there is no line info
  604. (and switching is enabled).
  605. 2000-11-10 J.T. Conklin <jtc@redback.com>
  606. * target.c (do_xfer_memory): Only perform a single memory transfer
  607. instead of iterating to tranfer the entire region. Higher layers
  608. are expected to call this function multiple times for partial
  609. transfers.
  610. (target_xfer_memory_partial): Remove unused local variables.
  611. 2000-11-10 Nick Duffek <nsd@redhat.com>
  612. * target.c (target_xfer_memory_partial): Return bytes transferred
  613. instead of 0.
  614. 2000-11-09 Kevin Buettner <kevinb@redhat.com>
  615. * values.c (value_being_returned, using_struct_return): Protoize.
  616. * varobj.c (child_exists, cplus_class_num_children): Protoize.
  617. 2000-11-09 Kevin Buettner <kevinb@redhat.com>
  618. Changes based on a patch from Ulrich Drepper:
  619. * solib-svr4.c (svr4_relocate_main_executable): New function.
  620. (svr4_solib_create_inferior_hook): Call
  621. svr4_relocate_main_executable.
  622. 2000-11-09 J.T. Conklin <jtc@redback.com>
  623. * config/i386/nbsd.mh: Remove solib.o, solib-svr4.o from NATDEPFILES.
  624. * config/i386/nbsdelf.mh: Likewise.
  625. * config/m68k/nbsd.mh: Likewise.
  626. * config/ns32k/nbsd.mh: Likewise.
  627. * config/powerpc/nbsd.mh: Likewise.
  628. * config/sparc/nbsd.mh: Likewise.
  629. * config/sparc/nbsdelf.mh: Likewise.
  630. * config/i386/nbsd.mt: Add solib.o, solib-svr4.o to TDEPFILES.
  631. * config/i386/nbsdelf.mt: Likewise.
  632. * config/m68k/nbsd.mt: Likewise.
  633. * config/ns32k/nbsd.mt: Likewise.
  634. * config/powerpc/nbsd.mt: Likewise.
  635. * config/sparc/nbsd.mt: Likewise.
  636. 2000-11-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  637. Add auto-solib-add support for AIX, remove obsolete and unused
  638. SOLIB_SYMBOLS_MANUAL code, cleanup of AIX shared library handling code.
  639. * rs6000-nat.c (vmap_symtab): Do not try to modify offsets
  640. if symbols are not yet loaded.
  641. (vmap_add_symbols): New function to add symbols for a vmap entry.
  642. (add_vmap): Turn errors into warnings, return NULL vmap upon
  643. failure. Add symbols via vmap_add_symbols only if requested.
  644. (xcoff_relocate_core): Allow debugging of core files without an
  645. executable file. Handle NULL returns from add_vmap gracefully.
  646. * xcoffsolib.c (solib_add): Remove, no longer needed.
  647. (solib_info): Do not check for new shared libraries if there is no
  648. inferior process.
  649. (sharedlibrary_command): Made static.
  650. Do not check for new shared libraries if there is no inferior process.
  651. Add symbols for requested shared libraries via vmap_add_symbols.
  652. (_initialize_solib): Add `set auto-solib-add' command.
  653. * xcoffsolib.h (vmap_add_symbols): Add prototype declaration.
  654. * config/rs6000/tm-rs6000.h (PC_LOAD_SEGMENT): Move from here ...
  655. * config/rs6000/nm-rs6000.h: ... to here, this is an AIX native
  656. feature.
  657. * config/powerpc/tm-macos.h, config/powerpc/tm-ppc-eabi.h,
  658. config/powerpc/tm-ppc-nw.h, config/rs6000/tm-rs6000ly.h:
  659. Remove #undef PC_LOAD_SEGMENT.
  660. * config/powerpc/aix.mt, config/rs6000/aix4.mt, config/rs6000/rs6000.mt
  661. (TDEPFILES): Move xcoffsolib.o from here ...
  662. * config/powerpc/aix.mh, config/rs6000/aix4.mh, config/rs6000/rs6000.mh
  663. (NATDEPFILES): ... to here, xcoffsolib.o contains AIX native code
  664. only.
  665. * rs6000-tdep.c: Remove #include xcoffsolib.h, no longer needed.
  666. * xcoffsolib.h (xcoff_relocate_symtab_hook): Remove declaration.
  667. * rs6000-nat.c (_initialize_core_rs6000): Remove setting of
  668. xcoff_relocate_symtab_hook, no longer needed.
  669. * xcoffsolib.c (solib_info, sharedlibrary_command): Remove
  670. xcoff_relocate_symtab_hook indirection, call xcoff_relocate_symtab
  671. directly, as xcoffsolib.c is now compiled in native AIX configurations
  672. only.
  673. * Makefile.in: Update dependencies for rs6000-tdep.o, rs6000-nat.o
  674. and xcoffsolib.o.
  675. Thu Nov 9 17:16:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
  676. * MAINTAINERS: Specify the vax-dec-vms5.5 target tupple.
  677. * vax-tdep.c: Include "gdbcore.h", "frame.h" and "value.h".
  678. (vax_print_insn): Change ``d'' to a const char pointer.
  679. 2000-11-08 Michael Snyder <msnyder@cleaver.cygnus.com>
  680. * gdbarch.sh: Spelling correction: registrary -> registry.
  681. * gdbarch.c: Ditto.
  682. Wed Nov 8 23:08:48 2000 Andrew Cagney <cagney@b1.cygnus.com>
  683. * m68k-tdep.c (m68k_get_longjmp_target): Work around targets that
  684. don't define JB_PC or JB_ELEMENT_SIZE.
  685. Wed Nov 8 22:46:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
  686. * m68k-tdep.c (m68k_get_longjmp_target): Rename function
  687. get_longjmp_target. Remove wrapping #ifdef GET_LONGJMP_TARGET.
  688. * config/m68k/tm-m68k.h (m68k_get_longjmp_target): Add function
  689. declaration.
  690. * config/m68k/tm-vx68.h, config/m68k/tm-sun3.h,
  691. config/m68k/tm-m68kv4.h, config/m68k/tm-linux.h,
  692. config/m68k/tm-es1800.h, config/m68k/tm-cisco.h: Update definition
  693. of GET_LONGJMP_TARGET. Delete get_longjmp_target function
  694. declaratation.
  695. Wed Nov 8 15:32:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
  696. * gdbserver/configure.in (files): Don't link nm-empty.h when a
  697. non-native target.
  698. * gdbserver/configure: Regenerate.
  699. 2000-11-07 Kevin Buettner <kevinb@redhat.com>
  700. * valops.c (typecmp): Protoize.
  701. * valprint.c (strcat_longest): Protoize.
  702. 2000-11-07 Kevin Buettner <kevinb@redhat.com>
  703. * ia64-tdep.c (native_find_global_pointer): New global variable.
  704. (struct gdbarch_tdep): Add member find_global_pointer.
  705. (ia64_gdbarch_init): Initialize find_global_pointer member. Also,
  706. tell the gdbarch machinery that we have floating point registers.
  707. (FIND_GLOBAL_POINTER): New macro.
  708. (generic_elf_find_global_pointer): Renamed from find_global_pointer.
  709. (find_func_descr, ia64_push_return_address): Call
  710. FIND_GLOBAL_POINTER instead of find_global_pointer.
  711. (process_note_abi_tag_sections): Enable code previously disabled
  712. by #if 0.
  713. 2000-11-07 Daniel Berlin <dberlin@redhat.com>
  714. * dwarf2read.c: Revert June 5th change for caching of types,
  715. as per Jim Blandy's request.
  716. 2000-11-06 Fernando Nasser <fnasser@totem.toronto.redhat.com>
  717. * wrapper.c (gdb_value_assign): New function. Longjump-free
  718. version of value_assign.
  719. (wrap_value_assign): New function. Wrapper for value_assign.
  720. * wrapper.h: Add declaration for the above.
  721. * varobj.c (varobj_set_value): Use gdb_value_assign, not
  722. value_assign which can longjump. Do not change varobj value if
  723. assign fails.
  724. 2000-11-06 Fernando Nasser <fnasser@cygnus.com>
  725. From Steven Johnson <sbjohnson@ozemail.com.au>:
  726. This set of changes add "hookpost-" as an expansion on the original
  727. hooking of commands to GDB. A Hook may now be run "AFTER" execution of
  728. a command as well as before.
  729. * command.h (struct cmd_list_element): Changed elements hook and hookee
  730. to hook_pre and hookee_pre respectively. Added hook_post and hookee_post
  731. for the post hook command operation. Added hook_in so that an executing
  732. hook can be flagged to prevent recursion.
  733. * command.c (add_cmd): Changed initilization of cmd_list_element to
  734. reflect above changes.
  735. (delete_cmd): Remove both pre and post hooks.
  736. (help_cmd): Notify that the command has pre and/or post hooks.
  737. * infrun.c (normal_stop): Change references to hook_pre from hook.
  738. * top.c (execute_command): Run both pre and post hooks.
  739. (define_command): Allow definition of both pre and post hooks.
  740. The definition of pre-hooks is done as before, with the "hook-"
  741. prefix for backward compatibility.
  742. 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  743. * stack.c (return_command): Pop dummy frame if we just returned from
  744. a stop in a call dummy.
  745. 2000-11-05 Kevin Buettner <kevinb@redhat.com>
  746. * v850-tdep.c (handle_prepare, handle_pushm): Remove extraneous
  747. blank line after function declarator.
  748. * v850ice.c (v850ice_xfer_memory, do_gdb): Protoize.
  749. 2000-11-03 Kevin Buettner <kevinb@redhat.com>
  750. * utils.c (add_continuation, add_intermediate_continuation,
  751. printchar): Protoize.
  752. 2000-11-03 Kevin Buettner <kevinb@redhat.com>
  753. * dwarf2read.c (new_symbol): Relocate address of symbol by the
  754. base address of the section it is in rather than always using
  755. the base address of the .text section.
  756. 2000-11-01 J.T. Conklin <jtc@redback.com>
  757. * TODO: Note abstraction layer violation where "ocd reset" command
  758. must invalidate the dcache, and how this might be fixed.
  759. * monitor.c (#include "dcache.h"): Removed.
  760. (remote_dcache): Removed.
  761. (monitor_open): Removed code that created local dcache.
  762. (flush_monitor_dcache): Removed (unused function).
  763. (monitor_resume): Removed call to dcache_invd().
  764. (monitor_load): Likewise.
  765. (monitor_xfer_memory): Changed to call monitor_write_memory(),
  766. monitor_write_memory_block(), and monitor_read_memory() instead
  767. of dcache_xfer_memory().
  768. * monitor.h (flush_monitor_dcache): Removed (unused function).
  769. * ocd.c (#include "dcache.h"): Removed.
  770. (ocd_dcache): Removed.
  771. (ocd_open): Removed code that created local dcache.
  772. (ocd_resume): Removed call to dcache_invd().
  773. (ocd_xfer_memory): Changed to call ocd_write_bytes() and
  774. ocd_read_bytes() instead of dcache_xfer_memory().
  775. (bdm_reset_command): Invalidate target dcache.
  776. * remote-bug.c (bug_load): Remove call to dcache_invd().
  777. (bug_resume): Likewise.
  778. (bug_settings): Remove dcache, readfunc, and writefunc fields
  779. from initializer.
  780. (bug_xfer_memory): Changed to call bug_read_memory() and
  781. bug_write_memory() instead of dcache_xfer_memory().
  782. * remote-nindy.c (#include "dcache.h"): Removed.
  783. (nindy_dcache): Removed.
  784. (nindy_open): Removed code that created local dcache.
  785. (nindy_resume): Removed call to dcache_invd().
  786. (nindy_load): Likewise.
  787. (nindy_xfer_inferior_memory): Changed to call ninMemPut() and
  788. ninMemGet() instead of dcache_xfer_memory().
  789. * remote-sds.c (#include "dcache.h"): Removed.
  790. (sds_dcache): Removed.
  791. (sds_open): Removed code that created local dcache.
  792. (sds_resume): Removed call to dcache_invd().
  793. (sds_xfer_memory): Changed to call sds_write_bytes() and
  794. sds_read_bytes() instead of dcache_xfer_memory().
  795. * remote-utils.c (gr_open): Removed code that created local dcache.
  796. * remote-utils.h (#include "dcache.h"): Removed.
  797. (struct gr_settings): Removed dcache, readfunc, and writefunc fields.
  798. (gr_get_dcache, gr_set_dcache): Removed macro definitions.
  799. * remote.c (#include "dcache.h"): Removed.
  800. (remote_dcache): Removed.
  801. (remote_open_1): Removed code that created local dcache.
  802. (remote_async_open_1): Likewise.
  803. (remote_resume): Removed call to dcache_invd().
  804. (remote_async_resume): Likewise.
  805. (remote_xfer_memory): Changed to call remote_write_bytes() and
  806. remote_read_bytes() instead of dcache_xfer_memory().
  807. * wince.c (#include "dcache.h"): Removed.
  808. (remote_dcache): Removed.
  809. (child_create_inferior): Removed code that created local dcache.
  810. (child_xfer_memory): Changed to call remote_write_bytes() and
  811. remote_read_bytes() instead of dcache_xfer_memory().
  812. (child_resume): Removed call to dcache_invd().
  813. * target.c (target_dcache): Added.
  814. (target_load): Invalidate target_dcache.
  815. (do_xfer_memory): New function.
  816. (target_xfer_memory): Reimplement in terms of dcache_xfer_memory().
  817. (target_xfer_memory_partial): Likewise.
  818. (initialize_targets): Create target_dcache.
  819. * target.h (#include "dcache.h"): Added.
  820. (target_open): Invalidate target_dcache.
  821. (target_resume): Likewise.
  822. (do_xfer_memory): New declaration.
  823. * dcache.c (dcache_init): Removed reading and writing arguments.
  824. (dcache_struct): Removed read_memory and write_memory fields.
  825. (dcache_write_line): Call do_xfer_memory.
  826. (dcache_read_line): Likewise.
  827. (dcache_xfer_memory): Likewise.
  828. (dcache_invalidate): Renamed from dcache_invd.
  829. (dcache_init): Updated.
  830. (dcache_xfer_memory): Updated.
  831. * dcache.h (memxferfunc): Removed definition.
  832. (dcache_init): Removed reading and writing arguments.
  833. 2000-11-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  834. * objfiles.c (objfile_relocate): Relocate ei.entry_point with
  835. its section offset, use SECT_OFF_TEXT only as a fallback.
  836. 2000-11-01 Kevin Buettner <kevinb@redhat.com>
  837. * symm-nat.c (print_1167_regs): Remove extraneous blank line
  838. after function declarator.
  839. * symtab.c (search_symbols): Likewise.
  840. * ultra3-nat.c (fetch_core_registers): Protoize.
  841. 2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>
  842. * config/sh/tm-linux.h: New file. Include generic tm-linux.h,
  843. plus tm-sh.h, then define SVR4_FETCH_LINK_MAP_OFFSETS to use
  844. the sh target function instead of the default link map offsets.
  845. * config/sh/sh.mt: Add solib.o and solib-svr4.o to TDEPFILES.
  846. Use sh/tm-linux.h instead of sh/tm-sh.h.
  847. * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets):
  848. New function. Construct target-specific link map offsets.
  849. * i386-linux-tdep.c (i386_linux_svr4_fetch_link_map_offsets:
  850. New function. Construct target-specific link map offsets.
  851. * config/i386/tm-linux.h: Use above function instead of default.
  852. 2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>
  853. * config/i386/tm-linux.h: Remove definition of SVR4_SHARED_LIBS,
  854. and inclusion of solib.h. Move up into ../tm-linux.h.
  855. config/tm-linux.h: Define SVR4_SHARED_LIBS, include solib.h.
  856. 2000-10-30 Kevin Buettner <kevinb@redhat.com>
  857. * top.c (simplified_command_loop, add_info, add_com,
  858. help_command): Protoize.
  859. * ui-out.c (gdb_query): Protoize.
  860. 2000-10-30 Kevin Buettner <kevinb@redhat.com>
  861. Changes based on analysis from Peter Schauer:
  862. * solist.h (struct so_list): Remove field lmend.
  863. (struct target_so_ops): Remove field lm_addr. Add field
  864. relocate_section_addresses. Add comments for all fields
  865. in this structure
  866. (TARGET_SO_LM_ADDR): Remove.
  867. (TARGET_SO_RELOCATE_SECTION_ADDRESSES): New macro.
  868. * solib-svr4.c (svr4_relocate_section_addresses): New function.
  869. (_initialize_svr4_solib): Remove lm_addr initialization. Add
  870. initialization for relocate_section_addresses.
  871. * solib.c (solib_map_sections): Invoke
  872. TARGET_SO_RELOCATE_SECTION_ADDRESSES instead of using now
  873. defunct TARGET_SO_LM_ADDR to relocate the section addresses.
  874. Also, eliminate assignment to the lmend field since this
  875. field no longer exists.
  876. (symbol_add_stub): Remove machinery for determining the lowest
  877. section.
  878. (info_sharedlibrary_command): Print the text section starting
  879. and ending addresses.
  880. (solib_address): Don't use TARGET_SO_LM_ADDR, nor so->lmend to
  881. determine if an address is in a shared object. Instead, scan
  882. the section table and test against the starting and ending
  883. addresses for each section.
  884. 2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>
  885. * config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES.
  886. * config/powerpc/linux.mh: ditto.
  887. * config/ia64/linux.mh: ditto.
  888. * config/i386/linux.mh: ditto.
  889. * config/alpha/alpha-linux.mh: ditto.
  890. * config/arm/linux.mh: ditto.
  891. * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES.
  892. * config/powerpc/linux.mt: ditto.
  893. * config/ia64/linux.mt: ditto.
  894. * config/i386/linux.mt: ditto.
  895. * config/alpha/alpha-linux.mt: ditto.
  896. * config/arm/linux.mt: ditto.
  897. 2000-10-30 J.T. Conklin <jtc@redback.com>
  898. * gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c,
  899. mips-tdep.c, monitor.c, regcache.c, remote-es.c, ser-unix.c,
  900. somread.c, tracepoint.c: Fix spelling errors in comments.
  901. * gdbarch.c: Regenerate.
  902. * gnu-nat.c (S_exception_raise_request): Fix typos and spelling
  903. errors in strings.
  904. * m3-nat.c (intercept_exec_calls, mach_thread_parse_id): Likewise.
  905. * mcore-tdep.c (mcore_analyze_prologue): Likewise.
  906. * mips-tdep.c (mips16_next_pc, _initialize_mips_tdep): Likewise.
  907. * remote-e7000.c (e7000_start_remote): Likewise.
  908. * remote-rdp.c (handle_swi): Likewise.
  909. * remote-vx.c (vx_load_command): Likewise.
  910. * sh-tdep.c (sh_do_pseudo_register): Likewise.
  911. * sol-thread.c (td_err_string): Likewise.
  912. * symtab.c (decode_line_2): Likewise.
  913. Mon Oct 30 10:19:01 2000 David Taylor <taylor@redhat.com>
  914. * eval.c (parse_and_eval_long): New function.
  915. * value.h: Declare it.
  916. * breakpoint.c (breakpoints_info, maintenance_info_breakpoints):
  917. Call parse_and_eval_long, not parse_and_eval_address.
  918. * command.c (do_setshow_command): Ditto.
  919. * infcmd.c (step_1, signal_command, continue_command): Ditto.
  920. * infrun.c (signals_info): Ditto.
  921. * stack.c (set_backtrace_limit_command, backtrace_command_1,
  922. up_silently_base, down_silently_base): Ditto.
  923. * tracepoints.c (tracepoints_info, trace_find_command,
  924. trace_find_tracepoint_command): Ditto.
  925. * valprint.c (set_radix): Ditto.
  926. * values.c (show_values): Ditto.
  927. 2000-10-28 Kevin Buettner <kevinb@redhat.com>
  928. * symtab.c (decode_line_2, file_matches, search_symbols): Protoize.
  929. * thread.c (iterate_over_threads): Protoize.
  930. 2000-10-27 J.T. Conklin <jtc@redback.com>
  931. * arch-utils.c (set_architecture, set_architecture_from_arch_mach,
  932. set_gdbarch_from_file): Fix spelling error in string.
  933. * v850-tdep.c (v850_target_architecture_hook): Likewise.
  934. * gdbarch.sh: Fix spelling errors in comments.
  935. * gdbarch.c, gdbarch.h: Regenerate.
  936. * ppcnbsd-nat.c (fetch_core_registers, fetch_inferior_registers,
  937. store_inferior_registers): Support older NetBSD/powerpc systems
  938. from before fp reg support was added. Adapt to register number
  939. changes caused when powerpc target was multi-arched.
  940. 2000-10-26 David B. Anderson <davea@sgi.com>
  941. * breakpoint.c breakpoint.h hppab-nat.c infrun.c
  942. language.h mcore-tdep.c mips-tdep.c symfile.c symtab.c
  943. symtab.h target.c tm-mips.h xm-sun4sol2.h: Corrected
  944. spelling errors in comments.
  945. * gdbarch.c gdbarch.sh: Removed word from comment.
  946. 2000-10-26 Kevin Buettner <kevinb@redhat.com>
  947. * sun3-nat.c (fetch_core_registers): Protoize.
  948. * symm-nat.c (print_1167_regs, child_xfer_memory): Protoize.
  949. 2000-10-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  950. * stabsread.c (define_symbol): Update comment.
  951. 2000-10-26 Pierre Muller <muller@ics.u-strasbg.fr>
  952. * stabsread.c (define_symbol): Set the type_name of the type
  953. of the new symbol to the symbol name for type symbol, if the
  954. language is Pascal.
  955. 2000-10-26 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  956. * arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):
  957. New function.
  958. * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Add.
  959. * gdbarch.c, gdbarch.h: Regenerate.
  960. * valops.c (find_function_addr): Use CONVERT_FROM_FUNC_PTR_ADDR
  961. unconditionally.
  962. * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Delete
  963. definition.
  964. * config/powerpc/tm-linux.h (CONVERT_FROM_FUNC_PTR_ADDR): Remove
  965. undef.
  966. * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Fix comment.
  967. (rs6000_gdbarch_init): Register rs6000_convert_from_func_ptr_addr
  968. if not ELFOSABI_LINUX.
  969. 2000-10-25 Kevin Buettner <kevinb@redhat.com>
  970. * config/rs6000/rs6000lynx.mt (TDEPFILES): Revert 2000-10-24
  971. change in which solib-svr4.o was inadvertently added to this
  972. list.
  973. 2000-10-25 Fred Fish <fnf@cygnus.com>
  974. * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Define using either
  975. the current arch or use zero.
  976. 2000-10-25 Fernando Nasser <fnasser@cygnus.com>
  977. * ser-unix.c (do_unix_readchar): Coding style improvement only.
  978. 2000-10-25 Fernando Nasser <fnasser@cygnus.com>
  979. * target.c (generic_mourn_inferior): Notify GUI that inferior is gone
  980. by calling detach_hook, if defined.
  981. 2000-10-24 Kevin Buettner <kevinb@redhat.com>
  982. * coffread.c (coff_end_symtab): When calling end_symtab(),
  983. use SECT_OFF_TEXT() instead of 0 to represent the .text
  984. section.
  985. * hp-symtab-read.c (hpread_expand_symtab): Likewise.
  986. * hpread.c (hpread_expand_symtab, hpread_process_one_debug_symbol):
  987. Likewise.
  988. 2000-10-24 Kevin Buettner <kevinb@redhat.com>
  989. * solib-svr4.c: New file created out of much of solib.c...
  990. * solib.c (_SYSCALL32, BKPT_AT_SYMBOL): Move these defines to
  991. solib-svr4.c.
  992. (sys/types.h, signal.h, sys/param.h, fcntl.h, a.out.h,
  993. elf/external.h, link.h): Move these includes to solib-svr4.c.
  994. (bkpt_names, debug_base_symbols, main_name_list,
  995. solib_extract_address, SOLIB_EXTRACT_ADDRESS, dynamic_copy,
  996. ld_2_copy, debug_addr, flag_addr, LM_ADDR, LM_NEXT, LM_NAME,
  997. IGNORE_FIRST_LINK_MAP_ENTRY, breakpoint_addr,
  998. allocate_rt_common_objfile, solib_add_common_symbols,
  999. bfd_lookup_symbol, look_for_base, elf_locate_base, locate_base,
  1000. first_link_map_member, open_symbol_file_object, match_main,
  1001. current_sos, interp_text_sect_low, interp_text_sect_high,
  1002. interp_plt_sect_low, interp_plt_sect_high,
  1003. in_svr4_dynsym_resolve_code, disable_break, enable_break,
  1004. special_symbol_handling): Moved to solib-svr4.c.
  1005. (debug32_copy, shadow_contents, fdmatch)
  1006. Removed entirely.
  1007. (struct so_list): Moved to solist.h
  1008. (MAX_PATH_SIZE): Moved to solist.h and renamed to
  1009. SO_NAME_MAX_PATH_SIZE.
  1010. * solist.h: New file created from struct so_list in solib.c.
  1011. (struct lm_info): Add forward declaration.
  1012. (struct so_list): Remove fields lm, lm32, lmaddr. Replace with a
  1013. single field, lm_info, which will be a pointer to target specific
  1014. data.
  1015. (struct target_so_ops): New struct.
  1016. (free_so): Add extern declaration.
  1017. (current_target_so_ops): Declare new global variable.
  1018. (solib_map_sections):
  1019. (TARGET_SO_LM_ADDR, TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB,
  1020. TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK,
  1021. TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS,
  1022. TARGET_SO_OPEN_SYMBOL_FILE_OBJECT): New macros.
  1023. * solib.c (solib_map_sections, free_so, symbol_add_stub,
  1024. update_solib_list, solib_add, info_shared_library_command,
  1025. solib_address, clear_solib, solib_create_inferior_hook): Use
  1026. new TARGET_SO_* macros to call function on target specific
  1027. side indirectly.
  1028. (current_target_so_ops): Define new global variable.
  1029. (_initialize_solib): Eliminate HAVE_LINK_H ifdef.
  1030. * solib-svr4.h: New file; defines struct link_map_offsets and
  1031. SVR4_FETCH_LINK_MAP_OFFSETS.
  1032. * solib-svr4.c (_initialize_svr4_solib, svr4_clear_solib,
  1033. svr4_free_so): New functions.
  1034. (special_symbol_handling, solib_create_inferior_function_hook,
  1035. current_sos): Rename by adding a svr4_ prefix.
  1036. (default_svr4_fetch_link_map_offsets): New function.
  1037. (LM_ADDR, LM_NEXT, LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY,
  1038. first_link_map_member, open_symbol_file_object, svr4_current_sos):
  1039. Remove dependence on existence of link.h by calling
  1040. SVR4_FETCH_LINK_MAP_OFFSETS to obtain the offsets of shared library
  1041. data. As a result, SVR4 and non-SVR4 versions of many of these
  1042. functions coalesce into a single function and HAVE_STRUCT_LINK_MAP32
  1043. ugliness is moved into default_svr4_fetch_link_map_offsets where it
  1044. is relatively contained.
  1045. (SOLIB_EXTRACT_ADDRESS): Revert 2000-08-29 change in which
  1046. solib_extract_address() is called instead of extract_address().
  1047. (solib_extract_address): Removed.
  1048. * Makefile.in (solib.o): Add solist.h as a dependency.
  1049. (solib-svr4.o): Add dependencies.
  1050. * config/alpha/alpha-linux.mh, config/alpha/fbsd.mh,
  1051. config/arm/linux.mh, config/i386/fbsd.mh,
  1052. config/i386/i386dgux.mh, config/i386/i386gnu.mh,
  1053. config/i386/i386sco5.mh, config/i386/i386sol2.mt,
  1054. config/i386/i386v4.mh, config/i386/i386v42mp.mh,
  1055. config/i386/linux.mh, config/i386/nbsd.mh,
  1056. config/i386/nbsdelf.mh, config/i386/ncr3000.mt,
  1057. config/i386/ptx4.mh, config/i386/sun386.mt,
  1058. config/ia64/linux.mh, config/m68k/linux.mh,
  1059. config/m68k/m68kv4.mh, config/m68k/nbsd.mh,
  1060. config/m68k/sun2os4.mt, config/m68k/sun3os4.mt,
  1061. config/m88k/delta88v4.mh, config/mips/mipsv4.mh,
  1062. config/ns32k/nbsd.mh, config/powerpc/linux.mh,
  1063. config/powerpc/nbsd.mh, config/powerpc/solaris.mh,
  1064. config/rs6000/rs6000lynx.mt, config/sparc/linux.mt,
  1065. config/sparc/nbsd.mh, config/sparc/nbsdelf.mh,
  1066. config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh
  1067. (NATDEPFILES): Add solib-svr4.o to list.
  1068. * sparc-tdep.c (gregset.h): Don't include unless USE_PROC_FS is
  1069. defined.
  1070. 2000-10-24 Kevin Buettner <kevinb@redhat.com>
  1071. * stabsread.c (dbx_lookup_type, dbx_alloc_type,
  1072. read_sun_builtin_type, read_sun_floating_type,
  1073. read_range_type): Protoize.
  1074. Wed Oct 25 01:19:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1075. * solib.c (open_symbol_file_object): Update function signature to
  1076. match catch_errors function argument.
  1077. Wed Oct 25 00:08:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1078. From 2000-09-06 Angela Marie Thomas <angela@cygnus.com>:
  1079. * infttrace.c (get_dictionary_entry_of_page): Function
  1080. require_memory_page_dictionary takes no args.
  1081. Tue Oct 24 16:12:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1082. * gdba.el: Delete file.
  1083. * NEWS: Mention.
  1084. 2000-10-23 David B Anderson <davea@sgi.com>
  1085. * TODO: Correct spelling errors
  1086. * command.c (_initialize_command) corelow.c (core_open)
  1087. main.c (captured_command_loop) mips-tdep.c (mips32_next_pc)
  1088. remote.c serial.h top.c utils.c config/nm-lynx.h:
  1089. Correct spelling errors in comments
  1090. 2000-10-22 Kevin Buettner <kevinb@redhat.com>
  1091. * sparc-nat.c (fetch_core_registers): Protoize.
  1092. * sparcl-tdep.c (download): Protoize.
  1093. Fri Oct 20 19:08:47 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1094. * MAINTAINERS: Add Fred Fish to Blanket Write Privs list.
  1095. 2000-10-19 Josef Ezra <jezra@emc.com>
  1096. * ax-gdb.c (gen_struct_ref): while generating data code, cases of
  1097. "collect p1->p2->data" where not covered if p2 is a 'typedefed'
  1098. type. this simple fix should forward the type pointer to the real
  1099. type.
  1100. 2000-10-19 Kevin Buettner <kevinb@redhat.com>
  1101. * solib.c (LM_ADDR, LM_NEXT, LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY,
  1102. open_symbol_file_object): Protoize.
  1103. 2000-10-17 Kevin Buettner <kevinb@redhat.com>
  1104. * remote-vx29k.c (vx29k_frame_chain_valid): Protoize.
  1105. * remote.c (remote_xfer_memory, remote_search): Protoize.
  1106. * sol-thread.c (sol_thread_xfer_memory): Protoize.
  1107. 2000-10-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  1108. * sparc-tdep.c (sparc_fix_call_dummy): Improve comments.
  1109. Adjust call_dummy_breakpoint_offset, so that `finish' after a stop
  1110. in a call dummy works.
  1111. (sparc_gdbarch_init): Fix setting of pc_in_call_dummy, it depends
  1112. on SPARC32/64_CALL_DUMMY_ON_STACK, not DO_CALL_DUMMY_ON_STACK.
  1113. 2000-10-15 Kevin Buettner <kevinb@redhat.com>
  1114. * remote-st.c (st2000_xfer_inferior_memory): Protoize.
  1115. * remote-utils.c (gr_multi_scan): Protoize.
  1116. * remote-vx.c (vx_xfer_memory, net_get_symbols): Protoize.
  1117. 2000-10-13 Fernando Nasser <fnasser@cygnus.com>
  1118. * remote.c (putpkt_binary): Call read_frame, not getpkt. Log message.
  1119. (read_frame): Do not call error() on communication error when
  1120. reading checksum, but return failure instead and log message.
  1121. 2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1122. * varobj.c (type_changeable): Arrays are not changeable.
  1123. Trying to check for updates was causing an error if the array lived
  1124. in a register as gdb value_equal() cannot handle that case yet.
  1125. 2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1126. * varobj.c (varobj_update): Prevent uninitialized error code to be
  1127. returned on type_changed. Also, prevent value_equal() to be called
  1128. for the types we do not want to test for updates.
  1129. 2000-10-11 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1130. From Grant Edwards <grante@visi.com>
  1131. This keeps the GUI alive while running an RDI target and lets the
  1132. STOP button be used to stop the target.
  1133. * remote-rdi.c (arm_rdi_stop): New function. Implements target_stop.
  1134. (init_rdi_ops): Set to_stop target vector entry to the above.
  1135. * rdi-share/ardi.c (stop_request): New variable. Tells when a stop
  1136. has been requested.
  1137. (angel_RDI_stop_request): New function. Registers that a stop has
  1138. been requested.
  1139. (angel_RDI_ExecuteOrStep): Add call to ui_loop_hook() in loop that
  1140. waits while target is executing. Initialize and reset stop_request.
  1141. * rdi-share/ardi.h: Add declaration of angel_RDI_stop_request().
  1142. 2000-10-12 Kevin Buettner <kevinb@redhat.com>
  1143. * remote-rdp.c (remote_rdp_xfer_inferior_memory): Protoize.
  1144. * remote-sds.c (sds_xfer_memory): Protoize.
  1145. * remote-sim.c (gdbsim_xfer_inferior_memory): Protoize.
  1146. 2000-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1147. From Daniel Berlin <dberlin@redhat.com> :
  1148. * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize the symbol
  1149. language to auto instead of unknown, so it will try to demangle
  1150. the symbol.
  1151. * symtab.h (OPNAME_PREFIX_P): Change operator prefix to correct value.
  1152. * symtab.c (gdb_mangle_name): Properly handle C++ operators.
  1153. 2000-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1154. From Daniel Berlin <dberlin@redhat.com> :
  1155. * symtab.c (lookup_symbol_aux): New function. Renamed from
  1156. lookup_symbol. Move code to do demangling/case sensitivity to
  1157. lookup_symbol().
  1158. (lookup_symbol): Now wrapper for lookup_symbol_aux, so we can
  1159. perform case sensitivity/demangling without leaking memory. Move
  1160. code to do demangling/case sensitivity from old_lookup_symbol to
  1161. here.
  1162. (lookup_partial_symbol): Use SYMBOL_SOURCE_NAME instead of
  1163. SYMBOL_NAME.
  1164. (lookup_block_symbol): Use SYMBOL_SOURCE_NAME instead of
  1165. SYMBOL_NAME. Don't do linear search in case of C++.
  1166. * symfile.c (compare_symbols): Use SYMBOL_SOURCE_NAME instead of
  1167. SYMBOL_NAME.
  1168. (compare_psymbols): Same here.
  1169. 2000-10-09 Kevin Buettner <kevinb@redhat.com>
  1170. * remote-nindy.c (non_dle, nindy_xfer_inferior_memory): Protoize.
  1171. * remote-os9k.c (rombug_xfer_inferior_memory): Protoize.
  1172. * remote-rdi.c (arm_rdi_xfer_memory): Protoize.
  1173. 2000-10-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  1174. * config/i386/i386sol2.mh: Add XM_CLIBS definition to resolve
  1175. reference to gethostbyname.
  1176. 2000-10-06 Kevin Buettner <kevinb@redhat.com>
  1177. * remote-eb.c (eb_xfer_inferior_memory): Protoize.
  1178. * remote-es.c (es1800_xfer_inferior_memory, es1800_files_info):
  1179. Protoize.
  1180. * remote-mm.c (expect_msg): Protoize.
  1181. 2000-10-04 Kevin Buettner <kevinb@redhat.com>
  1182. * rs6000-tdep.c (skip_prologue): Add new parameter lim_pc.
  1183. Update all callers.
  1184. 2000-10-03 Kevin Buettner <kevinb@redhat.com>
  1185. * remote-bug.c (bug_xfer_memory, bug_insert_breakpoint,
  1186. bug_remove_breakpoint): Protoize.
  1187. * remote-e7000.c (fetch_regs_from_dump, e7000_xfer_inferior_memory):
  1188. Protoize.
  1189. 2000-10-01 Kevin Buettner <kevinb@redhat.com>
  1190. * remote-adapt.c (adapt_insert_breakpoint, adapt_remove_breakpoint):
  1191. Protoize.
  1192. * remote-array.c (write_monitor, array_xfer_memory): Protoize.
  1193. 2000-09-29 Kevin Buettner <kevinb@redhat.com>
  1194. * ppc-linux-nat.c (supply_gregset, fill_gregset): Change type
  1195. of first argument from gregset_t to gdb_gregset_t in order
  1196. to match declarations in gregset.h.
  1197. (supply_fpregset, fill_fpregset): Change type of first argument
  1198. from fpregset_t to gdb_fpregset_t in order to match declarations
  1199. in gregset.h.
  1200. 2000-09-29 Kevin Buettner <kevinb@redhat.com>
  1201. * procfs.c (proc_iterate_over_mappings, proc_iterate_over_threads,
  1202. procfs_xfer_memory): Protoize.
  1203. * ptx4-nat.c (proc_iterate_over_mappings): Protoize.
  1204. 2000-09-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  1205. * sol-thread.c (ps_pdmodel): Return PR_MODEL_UNKNOWN instead of
  1206. PS_ERR if exec_bfd is not yet open.
  1207. 2000-09-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  1208. * target.c (target_signal_from_host, do_target_signal_to_host):
  1209. Add support for Solaris realtime signals.
  1210. 2000-09-27 Kevin Buettner <kevinb@redhat.com>
  1211. * os9kread.c (os9k_symfile_read, os9k_end_psymtab): Protoize.
  1212. * osfsolib.c (find_solib): Protoize.
  1213. 2000-09-25 Kevin Buettner <kevinb@redhat.com>
  1214. * ns32knbsd-nat.c (fetch_core_registers): Protoize.
  1215. * ocd.c (ocd_xfer_memory): Protoize.
  1216. 2000-09-25 Andrew Cagney <ac131313@cygnus.com>
  1217. * MAINTAINERS: Add Mark Kettenis to ``Blanket Write Privs'' list.
  1218. 2000-09-24 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  1219. * rs6000-tdep.c (rs6000_pop_frame): Use PC_IN_CALL_DUMMY to test
  1220. for call dummy instead of accessing stop_stack_dummy, which does
  1221. not work if we `return' from a stop in a call dummy.
  1222. (rs6000_gdbarch_init): Use generic_save_dummy_frame_tos for
  1223. dummy_frame_tos function to make PC_IN_CALL_DUMMY work.
  1224. 2000-09-23 Kevin Buettner <kevinb@redhat.com>
  1225. * mdebugread.c (mdebug_next_symbol_text): Protoize.
  1226. * monitor.c (monitor_xfer_memory): Protoize.
  1227. 2000-09-22 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  1228. * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER,
  1229. OLD_CANNOT_FETCH_REGISTER): New definitions for accessible registers
  1230. when accessing the registers via the U area.
  1231. (fetch_register, store_register): Use them.
  1232. (cannot_fetch_register, cannot_store_register): New functions,
  1233. all registers should be accessible if we have GETREGS support.
  1234. * config/i386/nm-linux.h: Use cannot_fetch/store_register for
  1235. CANNOT_FETCH/STORE_REGISTER definitions.
  1236. 2000-09-06 Fred Fish <fnf@cygnus.com>
  1237. * infttrace.c (update_thread_state_after_attach): Pass address
  1238. of ttstate_t object, not the object itself.
  1239. 2000-09-18 Mark Kettenis <kettenis@gnu.org>
  1240. * lin-lwp.c (stop_wait_callback): Remove bogus assertions in the
  1241. code that deals with exiting/signalled threads. Replace with
  1242. code similar to what's done in lin_lwp_wait.
  1243. 2000-09-17 Kevin Buettner <kevinb@redhat.com>
  1244. * ppc-linux-nat.c (fill_gregset, fill_fpregset): New functions.
  1245. * config/powerpc/linux.mh (NATDEPFILES): Remove linux-thread.o.
  1246. Add proc-service.o, thread-db.o, and lin-lwp.o.
  1247. (LOADLIBES): Define.
  1248. * config/powerpc/nm-linux.h (ATTACH_DETACH, SVR4_SHARED_LIBS):
  1249. Remove defines which are already present in ../nm-linux.h.
  1250. (solib.h): Don't include this file; it's already included by
  1251. ../nm-linux.h.
  1252. (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS, ATTACH_LWP): Define
  1253. to use the following lin-lwp.c functions...
  1254. (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
  1255. lin_lwp_attach_lwp): Declare.
  1256. 2000-09-17 Kevin Buettner <kevinb@redhat.com>
  1257. * m88k-nat.c (fetch_inferior_registers): Protoize.
  1258. * m88k-tdep.c (m88k_skip_prologue): Protoize.
  1259. 2000-09-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1260. * varobj.c (varobj_set_value): Call wrapped version of
  1261. parse_exp_1() to avoid longjumps.
  1262. 2000-09-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1263. * remote.c (putpkt_binary): Call read_frame, not getpkt. Log message.
  1264. (read_frame): Do not call error() on communication error when
  1265. reading checksum, but return failure instead and log message.
  1266. 2000-09-15 Fernando Nasser <fnasser@cygnus.com>
  1267. * ser-unix.c (do_unix_readchar): Prevent infinite read wait to be
  1268. interrupted after 32K seconds.
  1269. 2000-09-15 Kevin Buettner <kevinb@redhat.com>
  1270. * language.c (show_case_command, set_case_command): Protoize.
  1271. * m3-nat.c (m3_xfer_memory, fetch_thread_info): Protoize.
  1272. 2000-09-12 Kevin Buettner <kevinb@redhat.com>
  1273. * lin-thread.c (threadlist_iter, get_lwp_from_thread_id,
  1274. thread_db_xfer_memory): Protoize.
  1275. * linux-thread.c (iterate_active_threads): Protoize.
  1276. 2000-09-12 Kevin Buettner <kevinb@redhat.com>
  1277. * objfiles.c (objfile_relocate): Don't assume that offsets
  1278. associated with one of SECT_OFF_TEXT, SECT_OFF_DATA, or
  1279. SECT_OFF_BSS will be adequate for relocating all of the
  1280. sections in an objfile.
  1281. 2000-09-12 Fernando Nasser <fnasser@cygnus.com>
  1282. * remote-rdi.c (arm_rdi_open): Fix typo in error message.
  1283. Wed Sep 13 03:08:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1284. * remote-mips.c (mips_expect, mips_getstring, mips_send_packet,
  1285. mips_send_packet, pmon_insert_breakpoint, send_srec,
  1286. pmon_check_ack, pmon_check_entry_address,
  1287. _initialize_remote_mips): Replace the magic two seconds with
  1288. ``remote_timeout''.
  1289. (pmon_check_entry_address, pmon_check_total): New functions. Use
  1290. ``remote_timeout'' instead of magic two seconds.
  1291. (pmon_end_download): Rewrite. Use pmon_check_entry_address and
  1292. pmon_check_total.
  1293. 2000-09-12 Alexandre Oliva <aoliva@redhat.com>
  1294. * MAINTAINERS: Added myself.
  1295. 2000-09-11 Alexandre Oliva <aoliva@redhat.com>
  1296. * acinclude.m4 (CY_GNU_GETTEXT): Add dummy definition, so that the
  1297. one brought in by ../bfd/acinclude.m4 prevails.
  1298. * aclocal.m4, configure: Rebuilt.
  1299. 2000-09-11 Kevin Buettner <kevinb@redhat.com>
  1300. * configure.in (HAVE_STRUCT_LINK_MAP32): Change test to use
  1301. AC_TRY_COMPILE instead of AC_TRY_RUN.
  1302. * configure: Regenerate.
  1303. 2000-09-11 Kevin Buettner <kevinb@redhat.com>
  1304. * irix4-nat.c (fetch_core_registers): Protoize.
  1305. * irix5-nat.c (fetch_core_registers, find_solib): Protoize.
  1306. 2000-09-06 Mark Kettenis <kettenis@gnu.org>
  1307. * lin-lwp.c (normal_mask, blocked_mask): New variables.
  1308. (lin_lwp_wait): Block SIGCHLD here if it isn't already blocked.
  1309. (lin_lwp_mourn_inferior): Restore the origional signal mask, and
  1310. reset the mask of blocked signals.
  1311. (_initialize_lin_lwp): Don't block SIGCHLD here, but do initialize
  1312. suspend_mask and blocked_mask. This makes us pass
  1313. gdb.base/sigall.exp for Linux/x86 now.
  1314. (lin_thread_get_thread_signals): Treat the LinuxThreads "cancel"
  1315. signal similarly to SIGCHLD in the generic code. Avoids GDB being
  1316. terminated by a Real-time signal.
  1317. 2000-09-08 Kevin Buettner <kevinb@redhat.com>
  1318. * infptrace.c, infttrace.c (child_xfer_memory): Protoize.
  1319. 2000-09-07 J.T. Conklin <jtc@redback.com>
  1320. * config/i386/nbsd.mt (TDEPFILES): Add i386nbsd-tdep.o.
  1321. * i386nbsd-nat.c (i386nbsd_use_struct_convention): Moved from here.
  1322. * i386nbsd-tdep.c (i386nbsd_use_struct_convention): To here.
  1323. * i386nbsd-tdep.c: New file.
  1324. 2000-09-07 Kevin Buettner <kevinb@redhat.com>
  1325. * i386mach-nat.c (fetch_inferior_registers, fetch_core_registers):
  1326. Protoize.
  1327. * i960-tdep.c (i960_skip_prologue, leafproc_return, mem): Protoize.
  1328. Thu Sep 7 21:59:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1329. * aclocal.m4: Regenerate.
  1330. * config.in, configure: Regenerate.
  1331. Wed Sep 6 23:15:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1332. * remote-rdi.c (voiddummy): Update function signature to match
  1333. struct Dbg_HostosInterface's reset method.
  1334. * remote-rdp.c (rdp_step): Fix handle parameter to
  1335. remote_rdp_insert_breakpoint and remote_rdp_remove_breakpoint.
  1336. * arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS_P): Provide default
  1337. definition.
  1338. (arm_init_extra_frame_info): Use.
  1339. 2000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  1340. * m68hc11-tdep.c (m68hc11_store_return_value): Store the value
  1341. in D and X if it's larger than 16-bits.
  1342. (m68hc11_extract_return_value): Fix extractions for 1 and 3 bytes
  1343. return.
  1344. (m68hc11_push_return_address): Use CALL_DUMMY_ADDRESS for the
  1345. return address.
  1346. (m68hc11_use_struct_convention): Check for struct and union.
  1347. (m68hc11_return_value_on_stack): Use the struct convention.
  1348. (m68hc11_call_dummy_address): Use the entry point address.
  1349. (m68hc11_push_arguments): Fix alignment and padding.
  1350. (m68hc11_stack_align): New function.
  1351. (m68hc11_gdbarch_init): Register it.
  1352. 2000-09-06 Scott Bambrough <scottb@netwinder.org>
  1353. * arm-linux-tdep.c (arm_linux_skip_solib_resolver):
  1354. Removed debug print statement. Removed arm_pc_is_thumb prototype.
  1355. * config/arm/tm-arm.h (arm_pc_is_thumb, arm_pc_is_thumb_dummy):
  1356. Move prototypes here from tm-embed.h.
  1357. * config/arm/tm-embed.h (arm_pc_is_thumb, arm_pc_is_thumb_dummy):
  1358. Remove prototypes. Moved to tm-arm.h.
  1359. 2000-09-06 H.J. Lu <hjl@gnu.org>
  1360. * TODO: Add hardware watchpoint problems on x86 OSes for 5.1.
  1361. 2000-09-06 Kevin Buettner <kevinb@redhat.com>
  1362. * ia64-tdep.c (examine_prologue): Add rotating register rename
  1363. support for the general registers.
  1364. (ia64_get_saved_register): Add rotating register rename support
  1365. for the predicate registers and the floating-point registers.
  1366. 2000-09-05 Kevin Buettner <kevinb@redhat.com>
  1367. * config/arm/tm-linux.h (arm_linux_sigcontext_register_address,
  1368. arm_linux_in_sigtramp): Declare.
  1369. (IN_SIGTRAMP, SIGCONTEXT_REGISTER_ADDRESS): Define.
  1370. * arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Define to be 0
  1371. if not already defined by tm.h.
  1372. (arm_scan_prologue): Don't assume that the prologue instructions
  1373. will be in a contiguous clump.
  1374. (arm_init_extra_frame_info): Add support for sigtramp frames.
  1375. (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Change type of
  1376. `memaddr' from bfd_vma to CORE_ADDR.
  1377. * arm-linux-tdep.c (gdbcore.h, frame.h): Include.
  1378. (arm_pc_is_thumb): Declare.
  1379. (arm_linux_skip_solib_resolver): Fix printf() statement. [Which
  1380. shouldn't be there anyway.]
  1381. (ARM_LINUX_SIGRETURN_INSTR, ARM_LINUX_RT_SIGRETURN_INSTR): New
  1382. defines.
  1383. (arm_linux_in_sigtramp, arm_linux_sigcontext_register_address):
  1384. New functions.
  1385. 2000-09-05 Kevin Buettner <kevinb@redhat.com>
  1386. * i386aix-nat.c (fetch_core_registers): Protoize.
  1387. * hpux-thread.c (hpux_thread_xfer_memory): Protoize.
  1388. 2000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  1389. * m68hc11-tdep.c (m68hc11_frame_chain): Check for pc in call dummy.
  1390. (m68hc11_guess_from_prologue): 'des' instruction to allocate 1 byte
  1391. on the stack can appear in the prologue.
  1392. 2000-09-05 Michael Snyder <msnyder@cleaver.cygnus.com>
  1393. * sol-thread.c (ps_pdmodel): Protect with an ifdef.
  1394. Mon Sep 4 16:21:31 2000 Andrew Cagney <cagney@amy.cygnus.com>
  1395. * gdbarch.sh: Use printf instead of echo.
  1396. (do_read): During read, pad ``::'' with spaces and then strip out
  1397. those spaces. Avoid problems with IFS=:.
  1398. 2000-09-04 Mark Kettenis <kettenis@gnu.org>
  1399. * config/i386/nm-linux.h: Include <signal.h>.
  1400. 2000-09-04 Pierre Muller <muller@ics.u-strasbg.fr>
  1401. * c-typeprint.c (c_typedef_print): remove (replaced by
  1402. typedef_print in typeprint.c).
  1403. * typeprint.c (typedef_print): new function. (old c_typedef_print
  1404. function with pascal language support added).
  1405. * value.h (c_printdef_print): removed.
  1406. (typedef_print): declare.
  1407. * symtab.c (print_symbol_info): call to c_typedef_print replaced
  1408. by call to typedef_print.
  1409. 2000-09-03 Mark Kettenis <kettenis@gnu.org>
  1410. * config/i386/nm-linux.h (PREPARE_TO_PROCEED, ATTCH_LWP,
  1411. GET_THREAD_SIGNALS): New defines.
  1412. * config/i386/linux.mh (NATDEPFILES): Remove lin-thread.o and
  1413. linux-threads.o. Add proc-service.o, thread-db.o and lin-lwp.o.
  1414. * proc-service.c: New file.
  1415. * thread-db.c: New file.
  1416. * lin-lwp.c: New file.
  1417. * gdb_assert.h: New file.
  1418. * gdb_thread_db.h [HAVE_THREAD_DB_H]: Include <thread_db.h>.
  1419. [!HAVE_THREAD_DB_H]: Update from current glibc thread_db.h. Deal
  1420. with absence of <stdint.h> here.
  1421. * gdb_proc_service.h: Add copyright notice.
  1422. Protect against multiple inclusion.
  1423. Add fix for broken prfpregset_t here.
  1424. (struct ps_prochandle): Declare here.
  1425. [HAVE_PROC_SERVICE_H]: Include <proc_service.h>.
  1426. [!HAVE_PROC_SERVICE_H]: Include "gregset.h", define prgregset_t
  1427. and prfpregset_t in terms of gdb_gregset_t and gdb_fpregset_t if
  1428. necessary.
  1429. * lin-thread.c: Unconditionally include "gdb_proc_service.h".
  1430. Remove fix for broken prfpregset_t here.
  1431. (struct ps_prochandle): Don't declare here.
  1432. * MAINTAINERS: Add myself as threads co-maintainer.
  1433. 2000-09-01 David Anderson <davea@sgi.com>
  1434. * arch-utils.c arch-utils.h blockframe.c fork-child.c:
  1435. Corrected comment spelling dependant->dependent.
  1436. * corelow.c (default_core_sniffer): Corrected comment
  1437. spelling.
  1438. * cp-valprint.c (cp_print_value_fields): Corrected
  1439. comment spelling.
  1440. * d10v-tdep.c dbxread.c: Corrected comment spelling
  1441. dependan->dependen.
  1442. * defs.h: Corrected spelling, meant 64, not 32, in comment.
  1443. * dst.h eval.c event-loop.c: Corrected comment spelling.
  1444. * event-top.c gdb-events.sh: Corrected comment spelling.
  1445. * gdbarch.c: Corrected comment spelling.
  1446. * gdbarch.h gdbarch.sh: Corrected comment spelling,
  1447. dependant->dependent.
  1448. * gdbtypes.c gdbtypes.h: Corrected comment spelling.
  1449. * infcmd.c infrun.c: Corrected comment spelling.
  1450. * symfile.c symfile.h target.h: Corrected comment spelling,
  1451. dependant->dependent.
  1452. * tracepoint.h: Corrected comment spelling.
  1453. 2000-09-01 Kevin Buettner <kevinb@redhat.com>
  1454. * hppa-tdep.c (record_text_segment_lowaddr): Protoize.
  1455. * hppah-nat.c (child_xfer_memory): Protoize.
  1456. 2000-09-01 Kevin Buettner <kevinb@redhat.com>
  1457. * symtab.c (decode_line_1): Make sure leading character is
  1458. actually a colon before skipping over leading colons in global
  1459. namespace specification.
  1460. 2000-09-01 Michael Snyder <msnyder@cleaver.cygnus.com>
  1461. * regcache.c (reg_flush_command): New function. Maintainer-mode
  1462. command, flushes GDB's register cache, for testing purposes.
  1463. 2000-08-31 J.T. Conklin <jtc@redback.com>
  1464. * dcache.c (dcache_info): Output a cache line's state vector so it
  1465. lines up under the data vector.
  1466. * dcache.c (dcache_read_line): New function.
  1467. (dcache_peek_byte): Use it.
  1468. (dcache_alloc): Return NULL if write of reclaimed cache line fails.
  1469. (dcache_peek_byte, dcache_poke_byte): Return failure if
  1470. dcache_alloc() returns a NULL data block pointer.
  1471. (dcache_xfer_memory): Don't force writeback unless we were writing.
  1472. * monitor.c (monitor_expect): Change places where immediate_quit
  1473. is set to 1 or 0 to increments and decrements respectively. This
  1474. allows such changes to nest properly.
  1475. * ocd.c (ocd_start_remote): Likewise.
  1476. * remote-adapt.c (expect): Likewise.
  1477. * remote-array.c (expect): Likewise.
  1478. * remote-eb.c (expect): Likewise.
  1479. * remote-e7000.c (e7000_start_remote): Likewise.
  1480. * remote-mips.c (mips_expect_timeout, mips_getstring): Likewise.
  1481. * remote-nrom.c (expect): Likewise.
  1482. * remote-os9k.c (expect): Likewise.
  1483. * remote-sds.c (sds_start_remote): Likewise.
  1484. * remote-st.c (expect): Likewise.
  1485. * remote-utils.c (sr_expect): Likewise.
  1486. * remote.c (remote_start_remote): Likewise.
  1487. * tracepoint.c (read_actions): Likewise.
  1488. * remote-mips.c (mips_getstring): Balance changes to immediate_quit.
  1489. 2000-08-31 David Anderson <davea@sgi.com>
  1490. * MAINTAINERS: Add myself to write-after-approval list.
  1491. 2000-08-30 Kevin Buettner <kevinb@redhat.com>
  1492. * gnu-nat.c (gnu_xfer_memory): Protoize.
  1493. * hp-psymtab-read.c (scan_procs, hp_quick_traverse): Protoize.
  1494. 2000-08-30 Kevin Buettner <kevinb@redhat.com>
  1495. * solib.c (solib_extract_address, LM_ADDR, LM_NEXT, LM_NAME,
  1496. LM_ADDR, IGNORE_FIRST_LINK_MAP_ENTRY, first_link_map_member,
  1497. open_symbol_file_object, current_sos): Rename
  1498. bfd_elf_get_arch_size to bfd_get_arch_size().
  1499. * sol-thread.c (rw_common, ps_pdmodel): Likewise.
  1500. 2000-08-30 David Edelsohn <dje@watson.ibm.com>
  1501. Patch applied by Kevin Buettner <kevinb@redhat.com>:
  1502. * rs6000-nat.c (xcoff_relocate_symtab): Pass correct size
  1503. to xrealloc().
  1504. 2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
  1505. * valops.c (value_cast): Indentation fix-up.
  1506. * acconfig.h (HAVE_PRGREGSET32_T, HAVE_PRFPREGSET32_T,
  1507. HAVE_STRUCT_LINK_MAP32): New configure macros.
  1508. * config.in: Ditto.
  1509. * configure.in: Test for the above new macros.
  1510. * breakpoint.c: Update copyright date.
  1511. * core-sol2.c: Include v9/sys/privregs.h directly to
  1512. work around a bug in Sun's Solaris 8 header files.
  1513. (fetch_core_registers): Use the above new configure macros to
  1514. handle cross-debugging of 32-bit core files on a 64-bit host.
  1515. * sol-thread.c (ps_pdmodel) New function.
  1516. (rw_common): For debugging of 32-bit apps on a 64-bit host,
  1517. truncate addresses to 32 bits.
  1518. * solib.c (solib_extract_address): Functionize. Make 32/64 aware.
  1519. (LM_ADDR, LM_NEXT, LM_NAME): Ditto.
  1520. (IGNORE_FIRST_LINK_MAP): Ditto.
  1521. (first_link_map_member): Make 32/64 aware.
  1522. (open_symbol_file_object): Ditto.
  1523. (current_sos): Ditto.
  1524. 2000-08-29 Michael Snyder <msnyder@cleaver.cygnus.com>
  1525. * i386-linux-nat.c (i386_linux_skip_solib_resolver,
  1526. skip_hurd_resolver, find_minsym_and_objfile): Move these
  1527. solib functions into i386-linux-tdep.c for cross debugging.
  1528. * i386-linux-tdep.c: Receive the above functions.
  1529. 2000-08-29 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  1530. * m68hc11-tdep.c (stack_correction): New variable for stack offset
  1531. correction (1 for 68hc11, 0 for 68hc12).
  1532. (m68hc11_saved_pc_after_call): Use it.
  1533. (m68hc11_frame_chain): Likewise.
  1534. (m68hc11_frame_init_saved_regs): Likewise.
  1535. (m68hc11_init_extra_frame_info): Likewise.
  1536. (m68hc11_push_return_address): Likewise.
  1537. (m68hc11_push_arguments): Struct address must be corrected by
  1538. applying the stack_correction offset.
  1539. (m68hc11_store_struct_return): Likewise.
  1540. 2000-08-28 Kevin Buettner <kevinb@redhat.com>
  1541. * gdbserver/utils.c (error, fatal): Protoize.
  1542. 2000-08-27 Mark Kettenis <kettenis@gnu.org>
  1543. * i386-linux-nat.c (fetch_inferior_registers): Move call to
  1544. dummy_sse_values ...
  1545. (supply_fpregset): ... here.
  1546. 2000-08-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1547. * pa64solib.c (pa64_solib_load_symbols): Don't use ANOFFSET as an
  1548. lvalue.
  1549. * xcoffread.c (xcoff_symfile_offsets): Ditto
  1550. * somsolib.c (som_solib_section_offsets): Ditto.
  1551. * somread.c (som_symfile_offsets): Ditto.
  1552. * rs6000-nat.c (vmap_symtab): Ditto.
  1553. * remote-vx.c (vx_add_symbols): Ditto.
  1554. * remote-os9k.c (rombug_wait): Ditto.
  1555. 2000-08-27 Mark Kettenis <kettenis@gnu.org>
  1556. * gregset.h: Protect against multiple inclusion. Remove some
  1557. redundant spaces.
  1558. Sun Aug 27 00:00:04 2000 Christopher Faylor <cgf@cygnus.com>
  1559. * win32-nat.c (dll_symbol_command): Tack a .dll on the end of a
  1560. supplied argument if it is missing an extension.
  1561. 2000-08-24 Egor Duda <deo@logos-m.ru>
  1562. * corelow.c: Define O_BINARY if it isn't defined.
  1563. (core_open): Open core file in binary mode.
  1564. * config/i386/tm-cygwin.h (child_clear_solibs): Rename from
  1565. child_clear_solib.
  1566. * config/i386/cygwin.mh: Add dependency from corelow.o.
  1567. * win32-nat.c (register_loaded_dll): New function. Add dll to the list
  1568. of currently loaded dlls.
  1569. (handle_load_dll): Use register_loaded_dll.
  1570. (child_solib_add): Distinguish between active process and core targets.
  1571. (solib_symbols_add): Load symbols from loaded dll.
  1572. (core_dll_symbols_add): New function. Load symbols from dll referenced
  1573. in core.
  1574. (core_section_load_dll_symbols): New function.
  1575. (dll_code_sections_add): New function.
  1576. (map_single_dll_code_section): New function.
  1577. (fetch_elf_core_registers): New function.
  1578. (_initialize_core_win32): New function.
  1579. 2000-08-26 Kevin Buettner <kevinb@redhat.com>
  1580. * gdbserver/gdbreplay.c (main): Protoize.
  1581. * gdbserver/server.c (start_inferior, main): Protoize.
  1582. 2000-08-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  1583. * m68hc11-tdep.c (m68hc11_register_names): Update name of registers.
  1584. (m68hc11_get_register_info): New function.
  1585. (m68hc11_initialize_register_info): New function to get addresses
  1586. of soft registers.
  1587. (m68hc11_which_soft_register): New function.
  1588. (m68hc11_fetch_pseudo_register, m68hc11_store_pseudo_register):
  1589. New functions to translate read/write of soft registers into a
  1590. memory read/write.
  1591. (m68hc11_guess_from_prologue): Initialize soft register addresses.
  1592. Use the soft register addresses to guess the prologue.
  1593. (m68hc11_gdbarch_init): Install the pseudo registers.
  1594. * m68hc11-tdep.c (m68hc11_register_name, m68hc11_breakpoint_from_pc,
  1595. m68hc11_saved_pc_after_call, m68hc11_frame_saved_pc,
  1596. m68hc11_frame_args_address, m68hc11_frame_locals_address,
  1597. m68hc11_guess_from_prologue, m68hc11_push_arguments,
  1598. m68hc11_call_dummy_address, m68hc11_call_dymmy_address,
  1599. m68hc11_register_virtual_type, m68hc11_store_struct_return,
  1600. m68hc11_store_return_value, m68hc11_extract_return_value,
  1601. m68hc11_use_struct_convention, m68hc11_return_value_on_stack,
  1602. m68hc11_extract_struct_value_address, m68hc11_push_return_address,
  1603. m68hc11_register_byte, m68hc11_register_raw_size,
  1604. m68hc11_gdbarch_init): New functions for multi-arch support.
  1605. (m68hc11_not_yet): Remove.
  1606. Fri Aug 25 16:57:05 2000 David Taylor <taylor@texas.cygnus.com>
  1607. * regcache.c (register_changed): New function.
  1608. * value.h: Declare it.
  1609. Fri Aug 25 12:11:21 2000 David Taylor <taylor@texas.cygnus.com>
  1610. * symtab.c (search_symbols): Fix off by one error in index for
  1611. initializing variables ourtype, ourtype2, ourtype3, and ourtype4.
  1612. (symtab_symbol_info): fix similar off by one error.
  1613. Fri Aug 25 12:03:15 2000 David Taylor <taylor@texas.cygnus.com>
  1614. * gdbarch.sh (TARGET_ADDR_BIT): New macro for the number
  1615. of bits in gdb's representation of a target address.
  1616. * gdbarch.c, gdbarch.h: Regenerated.
  1617. * gdbtypes.c (build_gdbtypes): Use TARGET_ADDR_BIT instead of
  1618. TARGET_PTR_BIT when initializing builtin_type_CORE_ADDR.
  1619. * printcmd.c (print_address_numeric): Use TARGET_ADDR_BIT instead
  1620. of TARGET_PTR_BIT, because we're printing an address, not a pointer.
  1621. 2000-08-25 Pierre Muller <muller@ics.u-strasbg.fr>
  1622. * Makefile.in: add rules to compile and link pascal specific files.
  1623. * config/djgpp/fnchange.lst: add substitution for p-exp.tab.c.
  1624. 2000-08-20 Michael Chastain <chastain@redhat.com>
  1625. * remote.c (read_frame): Handle SERIAL_TIMEOUT while reading
  1626. checksum.
  1627. 2000-08-23 Kevin Buettner <kevinb@redhat.com>
  1628. * dstread.c (dst_symfile_offsets): Protoize.
  1629. * fork-child.c (fork_inferior): Protoize.
  1630. 2000-08-21 Kevin Buettner <kevinb@redhat.com>
  1631. * dbxread (dbx_symfile_read, process_later): Protoize.
  1632. * dsrec.c (load_srec): Protoize.
  1633. 2000-08-18 Andrew Cagney <cagney@ops1.cygnus.com>
  1634. * mips-tdep.c (mips_gdbarch_init): Check arches->gdbarch and not
  1635. current_gdbarch for a match.
  1636. 2000-08-18 J.T. Conklin <jtc@redback.com>
  1637. * MAINTAINERS: Add myself as dcache.c maintainer.
  1638. * remote-nindy.c (nindy_load): Invalidate dcache.
  1639. * dcache.c (dcache_invd): Renamed from dcache_flush. The term
  1640. flush with respect to caches usually implies that data will be
  1641. written to memory.
  1642. (dcache_init, dcache_xfer_memory): Updated.
  1643. * monitor.c (flush_monitor_dcache, monitor_resume, monitor_load):
  1644. Updated.
  1645. * ocd.c (ocd_open, ocd_resume, bdm_reset_command): Updated.
  1646. * remote-bug.c (bug_load, bug_resume): Updated.
  1647. * remote-nindy.c (nindy_open, nindy_resume): Updated.
  1648. * remote-sds.c (sds_open, sds_resume): Updated.
  1649. * remote-utils.c (gr_open): Updated.
  1650. * remote.c (remote_open_1, remote_resume, remote_async_resume,
  1651. remote_cisco_open): Updated.
  1652. * wince.c (child_create_inferior, child_resume): Updated.
  1653. * monitor.c (monitor_open): Free dcache before creating a new one.
  1654. * dcache.c (dcache_free): New function.
  1655. * dcache.h (dcache_free): New prototype.
  1656. 2000-08-18 Andrew Cagney <cagney@ops1.cygnus.com>
  1657. * remote-array.c (array_fetch_register): Pass dummy parameter to
  1658. array_fetch_registers.
  1659. (array_store_register): Ditto.
  1660. 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
  1661. * value.h (struct value) <lazy>: Add a comment about its use for
  1662. watchpoints.
  1663. 2000-08-12 Kevin Buettner <kevinb@redhat.com>
  1664. * cxux-nat.c (fetch_inferior_registers): Protoize.
  1665. * d10v-tdep.c (d10v_frame_chain_valid, d10v_extract_return_value):
  1666. Protoize.
  1667. * d30v-tdep.c (d30v_frame_chain_valid, d30v_extract_return_value):
  1668. Protoize.
  1669. Fri Aug 11 19:00:51 2000 Andrew Cagney <cagney@makita.cygnus.com>
  1670. * config/mn10300/tm-mn10300.h (REGISTER_SIZE,
  1671. MAX_REGISTER_RAW_SIZE, REGISTER_VIRTUAL_TYPE, REGISTER_BYTE,
  1672. REGISTER_VIRTUAL_SIZE, REGISTER_RAW_SIZE): Disable.
  1673. * mn10300-tdep.c (mn10300_do_registers_info,
  1674. mn10300_print_register): New functions. Pretty print registers.
  1675. (mn10300_register_virtual_type, mn10300_register_byte,
  1676. mn10300_register_virtual_size, mn10300_register_raw_size): New
  1677. functions.
  1678. (mn10300_gdbarch_init): Update.
  1679. * mn10300-tdep.c (mn10300_gdbarch_init): Check for mn10300 variant
  1680. and not mips variant in the info struct.
  1681. 2000-08-11 Mark Kettenis <kettenis@gnu.org>
  1682. * i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs,
  1683. store_fpxregs): Return 0.
  1684. 2000-08-11 Andrew Cagney <cagney@lulu.cygnus.com>
  1685. * regcache.c (GET_SAVED_REGISTER): Restore definition. Was lost
  1686. as part of 2000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>.
  1687. 2000-08-11 J.T. Conklin <jtc@redback.com>
  1688. * dcache.c (dcache_info): Don't print cache state if last_cache
  1689. is NULL.
  1690. 2000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>
  1691. * config/mn10300/tm-mn10300.h, mn10300-tdep.c
  1692. (mn10300_push_arguments): Fix function signature to match gdbarch
  1693. vector.
  1694. * config/mn10300/tm-mn10300.h (REGISTER_NAME): Delete.
  1695. * mn10300-tdep.c (struct gdbarch_tdep): Define.
  1696. (mn10300_generic_register_names, am33_register_names): Convert to
  1697. functions.
  1698. (set_machine_hook): Delete.
  1699. (register_name): New function.
  1700. (mn10300_register_name): Delete.
  1701. (mn10300_dump_tdep, mn10300_gdbarch_init): New functions.
  1702. (_initialize_mn10300_tdep): Call register_gdbarch_init instead of
  1703. specify_exec_file_hook.
  1704. (AM33_MODE): Define.
  1705. (set_movm_offsets): Update.
  1706. 2000-08-10 Mark Kettenis <kettenis@gnu.org>
  1707. Adapt support for SSE registers in Linux/x86 for Linux 2.4.
  1708. * i386-linux-nat.c: Various doc fixes. Include "i387-nat.h".
  1709. (GETFPXREGS_SUPPLIES): Renamed from GETXFPREGS_SUPPLIES.
  1710. (have_ptrace_getfpxregs): Renamed from have_ptrace_getxfpregs.
  1711. (convert_to_gregset): Removed. Moved logic to ...
  1712. (fill_gregset): ... here. Simplified function.
  1713. (fetch_regs): Use perror_with_name for error reporting.
  1714. (store_regs): Add `regno' parameter. Use perror_with_name for
  1715. error reporting. Call fill_gregset instead of convert_to_gregset.
  1716. (FPREG_ADDR): Remove.
  1717. (supply_fpregset): Implement by calling i387_supply_fsave.
  1718. (convert_to_fpregset): Remove.
  1719. (fill_fpregset): Implement by calling i387_fill_fsave.
  1720. (fetch_fpregs): Use perror_with_name fro error reporting.
  1721. (store_fpregs) Add `regno' parameter. Use perror_with_name fro
  1722. error reporting. Call fill_fpregset instead of
  1723. convert_to_fpregset.
  1724. (supply_xfpregset, convert_to_xfpregset): Removed.
  1725. (supply_fpxregset, fill_fpxregset): New functions.
  1726. (fetch_fpxregs): Renamed from fetch_xfpregs. Use perror_with_name
  1727. for error reporting. Call supply_fpxregset instead of
  1728. supply_xfpregset.
  1729. (store_xfpregs): Removed.
  1730. (store_fpxregs): New function.
  1731. (fetch_inferior_registers): Adjust for xfp -> fpx change. Tweak
  1732. message in call to internal_error.
  1733. (store_inferior_registers): Adjust for xfp ->fpx change. Pass
  1734. REGNO to store_regs, store_fpregs and store_fpxregs.
  1735. (fetch_core_registers): Adjust for xfp -> fpx change.
  1736. * acconfig.h (HAVE_PTRACE_GETFPXREGS): Renamed from
  1737. HAVE_PTRACE_GETXFPREGS.
  1738. * config.in: Regenerated.
  1739. * configure.in: Replace check for PTRACE_GETXFPREGS with check for
  1740. PTRACE_GETFPXREGS. Remove comment about Cygnus SSE extensions.
  1741. * configure: Regenerated.
  1742. * config/i386/linux.mh (NATDEPFILES): Add i387-nat.o.
  1743. * config/i386/tm-linux.h: Base definition of HAVE_SSE_REGS on
  1744. HAVE_PTRACE_GETFPXREGS instead of HAVE_PTRACE_GETXFPREGS.
  1745. 2000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>
  1746. * regcache.c (TARGET_WRITE_PC, TARGET_READ_PC, TARGET_READ_FP,
  1747. TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP): Move
  1748. initialization from here.
  1749. * gdbarch.sh: To here.
  1750. * gdbarch.h, gdbarch.c: Regenerate.
  1751. Thu Aug 10 18:58:04 2000 Andrew Cagney <cagney@makita.cygnus.com>
  1752. * defs.h (TARGET_BFD_VMA_BIT, TARGET_SHORT_BIT, TARGET_INT_BIT,
  1753. TARGET_LONG_BIT, TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT,
  1754. TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_PTR_BIT): Move
  1755. non- multi-arch handling from here.
  1756. * gdbarch.sh: To here. Update printf gdbarch_update_p. Make more
  1757. portable.
  1758. * gdbarch.h, gdbarch.c: Regenerate.
  1759. 2000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>
  1760. * partial-stab.h (DBX_READ): Eliminate redundant check for null
  1761. ``pst''. Also fixes GCC warning.
  1762. 2000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>
  1763. * rs6000-nat.c (set_host_arch): Check value returned by
  1764. gdbarch_update_p.
  1765. * gdbarch.sh (gdbarch_update_p): Rename gdbarch_update.
  1766. * gdbarch.h, gdbarch.c: Regenerate
  1767. * arch-utils.c (set_gdbarch_from_file,
  1768. initialize_current_architecture, set_endian): Update.
  1769. 2000-08-10 Jimmy Guo <guo@cup.hp.com>
  1770. * c-lang.c: Set case sensitivity on for c_language_defn,
  1771. cplus_language_defn, and asm_language_defn.
  1772. * ch-lang.c: Set case sensitivity on for chill_language_defn.
  1773. * f-lang.c: Set case sensivitity off for f_language_defn.
  1774. * jv-lang.c: Set case sensitivity on for java_language_defn.
  1775. * language.h: Add enum case_mode, case_sensitivity.
  1776. * language.c: Define case_mode, case_sensitivity. Set case
  1777. sensitivity on for unknown_language_defn, auto_language_defn,
  1778. and local_language_defn.
  1779. (show_case_command,set_case_command,set_case_str): New static func.
  1780. (set_type_range_case): New static func, replaces set_type_range ().
  1781. (set_language_command,set_type_command,set_range_command,set_language):
  1782. Call set_type_range_case ().
  1783. (language_info): Print case sensitivity setting.
  1784. (_initialize_language): Add set/show commands for 'case-sensitive'.
  1785. Set default case mode 'auto'. Set default language 'auto'.
  1786. * m2-lang.c: Set case sensitivity on for m2_language_defn.
  1787. * p-lang.c: Set case sensitivity on for pascal_language_defn.
  1788. * scm-lang.c: Set case sensitivity off for scm_language_defn.
  1789. * symtab.c (lookup_symbol): Downcase symbol name if case sensivitity
  1790. is off.
  1791. 2000-08-10 Jimmy Guo <guo@cup.hp.com>
  1792. * MAINTAINERS: Change my contact email for hp tests maintainership.
  1793. Thu Aug 10 15:28:17 2000 Andrew Cagney <cagney@ryobi.cygnus.com>
  1794. * sparc-tdep.c (sparc_init_extra_frame_info): Fix number of
  1795. arguments to fetch_instruction.
  1796. 2000-08-10 Kazu Hirata <kazu@hxi.com>
  1797. * hppa_tdep.c: Fix a comment typo.
  1798. * gdba.el: Likewise.
  1799. 2000-08-10 Tom Tromey <tromey@cygnus.com>
  1800. * MAINTAINERS: Added myself with write-after-approval access.
  1801. 2000-08-10 J.T. Conklin <jtc@redback.com>
  1802. * monitor.c (monitor_open): If a dcache has already been created,
  1803. invalidate it rather than creating another.
  1804. * ocd.c (ocd_open): Likewise.
  1805. * remote-nindy.c (nindy_open): Likewise.
  1806. * remote-sds.c (sds_open): Likewise.
  1807. * remote-utils.c (gr_open): Likewise.
  1808. * remote.c (remote_open_1, remote_cisco_open): Likewise.
  1809. * dcache.c (dcache_alloc): Changed to take address of line as an
  1810. argument, and to invalidate cache line before returning.
  1811. (dcache_peek_byte): Updated.
  1812. (dcache_poke_byte): Updated.
  1813. 2000-08-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1814. From Greg McGary <greg@mcgary.org>:
  1815. * partial-stab.h: Don't crash if pst is null.
  1816. 2000-08-10 Mark Kettenis <kettenis@gnu.org>
  1817. * i387-nat.h (i387_supply_fsave, i387_fill_fsave): Make extern.
  1818. (i387_supply_fxsave, i387_fill_fxsave): New prototypes.
  1819. * i387-nat.c (i387_supply_fsave): Declare `val' as `unsigned int'.
  1820. (fxsave_offset): New variable.
  1821. (FXSAVE_ADDR): New macro.
  1822. (i387_supply_fxsave, i387_fill_fxsave, i387_tag): New functions.
  1823. 2000-08-08 Tom Tromey <tromey@cygnus.com>
  1824. * jv-valprint.c (java_value_print): Only print non-null Strings.
  1825. 2000-08-09 Kevin Buettner <kevinb@redhat.com>
  1826. * core-sol2.c (fetch_core_registers): Protoize; add prefatory
  1827. comment.
  1828. * corefile.c (specify_exec_file_hook, generic_search): Protoize.
  1829. 2000-08-09 Michael Snyder <msnyder@cleaver.cygnus.com>
  1830. * blockframe.c (sigtramp_saved_pc): Use dynamic allocation,
  1831. since TARGET_PTR_BIT is no longer a constant (MULTI_ARCH).
  1832. * irix4-nat.c (get_longjmp_target): Ditto.
  1833. * irix5-nat.c (get_longjmp_target): Ditto.
  1834. * jv-valprint.c (java_value_print): Ditto.
  1835. * m3-nat.c (get_cprocs): Ditto.
  1836. * m68k-tdep.c (get_longjmp_target): Ditto.
  1837. * mips-nat.c (get_longjmp_target): Ditto.
  1838. * mipsv4-nat.c(get_longjmp_target): Ditto.
  1839. * pa64solib.c (read_dynamic_info): Ditto.
  1840. * solib.c (elf_locate_base): Ditto.
  1841. Mon Aug 7 23:21:22 2000 David Taylor <taylor@texas.cygnus.com>
  1842. * TODO: remove build_parse entry.
  1843. 2000-08-07 Kevin Buettner <kevinb@redhat.com>
  1844. * command.c (add_cmd, add_abbrev_cmd, add_prefix_cmd,
  1845. add_abbrev_prefix_cmd): Protoize.
  1846. 2000-08-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1847. * objfiles.h (SECT_OFF_BSS): Don't detect invalid sect_index_bss
  1848. here, let the users of the macro do it.
  1849. * symtab.h (ANOFFSET): Detect here if the section index is not
  1850. initialized.
  1851. * xcoffread.c (find_targ_sec): Don't treat .bss as special,
  1852. because some objfiles may not have that section at all.
  1853. * coffread.c (cs_to_section): Ditto.
  1854. * elfread.c (elf_symtab_read): Detect an uninitialized index
  1855. value.
  1856. (elfstab_offset_sections): The macro ANOFFSET cannot be used as an
  1857. lvalue anymore.
  1858. * remote.c (get_offsets, remote_cisco_objfile_relocate): Don't use
  1859. ANOFFSET as an lvalue.
  1860. * objfiles.c (objfile_relocate, objfile_relocate): Don't use
  1861. ANOFFSET as an lvalue.
  1862. * symfile.c (default_symfile_offsets): Don't use ANOFFSET as an
  1863. lvalue.
  1864. Mon Aug 7 10:24:30 2000 David Taylor <taylor@texas.cygnus.com>
  1865. * parse.c (build_parse): don't write off the end of the std_regs
  1866. array.
  1867. 2000-05-21 Mark Kettenis <kettenis@gnu.org>
  1868. * solib.c (bfd_lookup_symbol): Fall back on the dynamic symbol
  1869. table if the symbol couldn't be found in the normal symbol table
  1870. (i.e. if the shared object in question was stripped).
  1871. 2000-08-06 Kevin Buettner <kevinb@redhat.com>
  1872. * ch-exp.c (parse_opt_name_string): Protoize. [Thanks to Eli
  1873. Zaretskii for the prefatory comment.]
  1874. * core-regset.c (fetch_core_registers): Protoize; revise
  1875. comment.
  1876. 2000-08-06 Christopher Faylor <cgf@cygnus.com>
  1877. * win32-nat.c: Perform various gcc warning cleanups.
  1878. (safe_symbol_file_add_cleanup): Reset stdout to saved stdout, not
  1879. stderr.
  1880. (dll_symbol_command): Pass OBJF_USERLOADED to safe_symbol_file_add.
  1881. (get_child_debug_event): Always reset last_sig. Always reset inferior
  1882. pid appropriately.
  1883. (do_initial_child_stuff): New function. Called when attaching or
  1884. starting a new inferior process.
  1885. (child_attach): Use do_initial_child_stuff.
  1886. (child_create_inferior): Ditto.
  1887. * config/i386/cygwin.mh (NAT_FILE): Set to modern location.
  1888. * config/i386/tm-cygwin.h: Define ATTACH_NO_WAIT.
  1889. 2000-08-05 Eli Zaretskii <eliz@is.elta.co.il>
  1890. * go32-nat.c: (go32_wait): If child_cwd[] is empty, initialize
  1891. it to GDB's current directory.
  1892. (go32_create_inferior, init_go32_ops): Initialize child_cwd[] to
  1893. an empty string, to signal an uninitialized value.
  1894. From Robert Hoehne <robert.hoehne@gmx.net>.
  1895. 2000-08-04 Kevin Buettner <kevinb@redhat.com>
  1896. * symtab.h (fixup_psymbol_section): Declare.
  1897. * symtab.c (fixup_psymbol_section): Make extern.
  1898. (fixup_section): Fix up section as well as bfd_section.
  1899. * objfiles.c (objfile_relocate): Call fixup_symbol_section
  1900. or fixup_psymbol_section before attempting to access
  1901. the SYMBOL_SECTION component of a symbol or partial symbol.
  1902. 2000-08-04 Kevin Buettner <kevinb@redhat.com>
  1903. * minsyms.c (build_minimal_symbol_hash_tables): New function.
  1904. (compact_minimal_symbols): Don't construct hash tables here.
  1905. (install_minimal_symbols): Instead, construct them here.
  1906. (msymbols_sort): And rebuild them here too.
  1907. * dwarf2read.c (struct comp_unit_head): Add fields offset_size
  1908. and initial_length_size. Change type of ``length'' field to long.
  1909. (read_initial_length, read_offset): New functions.
  1910. (dwarf2_build_psymtabs_easy): Call read_initial_length() instead
  1911. of just reading 4 bytes.
  1912. (read_comp_unit_head): Likewise; also, call read_offset() to
  1913. fetch the offset instead of just reading 4 bytes.
  1914. (dwarf_decode_lines): Likewise.
  1915. (read_comp_unit_head): Fix internal error message so it
  1916. accurately reflects the function in which the error occurred.
  1917. (dwarf2_build_psymtabs_hard): Properly account for size of the
  1918. initial length field in the section.
  1919. (read_attribute, dwarf2_get_ref_die_offset): Add a case for
  1920. DW_ORM_ref8.
  1921. (dwarf2_build_psymtabs_hard, psymtabs_to_symtab_1): Don't
  1922. assume that the .text section will have index 0 in the
  1923. section_offsets table.
  1924. Fri Aug 4 18:00:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1925. * remote.c (enum Z_packet_type): Define.
  1926. (remote_protocol_Z): Change to an array of size NR_Z_PACKET_TYPES.
  1927. (remote_insert_watchpoint): Check watchpoint type.
  1928. (watchpoint_to_Z_packet): New function.
  1929. (enum packet_result): Define.
  1930. (packet_ok): New function. Return enum packet_result.
  1931. (init_all_packet_configs): New function.
  1932. (remote_open_1, remote_async_open_1, remote_cisco_open): Use
  1933. init_all_packet_configs instead of initializing remote_protocol_P,
  1934. remote_protocol_Z, remote_protocol_binary_download separatly.
  1935. (remote_remove_hw_breakpoint, remote_insert_hw_breakpoint,
  1936. remote_remove_watchpoint, remote_insert_watchpoint): Use
  1937. watchpoint_to_Z_packet and packet_ok. Remove #ifdef
  1938. TARGET_HAS_HARDWARE_WATCHPOINTS.
  1939. (set_remote_protocol_Z_software_bp_packet_cmd,
  1940. show_remote_protocol_Z_software_bp_packet_cmd,
  1941. set_remote_protocol_Z_hardware_bp_packet_cmd,
  1942. show_remote_protocol_Z_hardware_bp_packet_cmd,
  1943. set_remote_protocol_Z_write_wp_packet_cmd,
  1944. show_remote_protocol_Z_write_wp_packet_cmd,
  1945. set_remote_protocol_Z_read_wp_packet_cmd,
  1946. show_remote_protocol_Z_read_wp_packet_cmd,
  1947. set_remote_protocol_Z_access_wp_packet_cmd,
  1948. show_remote_protocol_Z_access_wp_packet_cmd): New functions.
  1949. (remote_Z_packet_packet_detect): New variable.
  1950. (show_remote_protocol_Z_packet_cmd,
  1951. set_remote_protocol_Z_packet_cmd): Iterate over all ``Z'' packet
  1952. variants.
  1953. (add_packet_config_cmd): Add argument legacy. Change syntax to
  1954. ``set/show remote FULL_NAME-packet ...'' command. Add ``set/show
  1955. remote XXX-packet ...'' command using add_alias_cmd when legacy.
  1956. (set_packet_config_cmd): Delete.
  1957. (show_remote_cmd): New function.
  1958. * TODO: Update.
  1959. Fri Aug 4 14:05:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1960. * Makefile.in (infodir, SER_HARDWIRE): Fix merge problems from
  1961. 2000-07-07 Michael Snyder <msnyder@cleaver.cygnus.com>.
  1962. Wed Aug 2 21:15:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1963. * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Add.
  1964. * gdbarch.h, gdbarch.c: Regenerate.
  1965. * valops.c (hand_function_call): Replace #ifndef
  1966. NO_EXTRA_ALIGNMENT_NEEDED with if EXTRA_STACK_ALIGNMENT_NEEDED.
  1967. * d10v-tdep.c (d10v_gdbarch_init): Set
  1968. extra_stack_alignment_needed to 0.
  1969. * config/d10v/tm-d10v.h (NO_EXTRA_ALIGNMENT_NEEDED): Delete.
  1970. * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Replace
  1971. NO_EXTRA_ALIGNMENT_NEEDED.
  1972. 2000-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  1973. * MAINTAINERS (m68hc11): Stephane Carrez is maintainer.
  1974. 2000-08-03 Kevin Buettner <kevinb@redhat.com>
  1975. * breakpoint.c (bpstat_alloc, map_catch_names,
  1976. map_breakpoint_numbers): Protoize.
  1977. Thu Aug 3 15:02:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1978. * remote-mips.c (mips_expect, mips_expect_timeout, common_open,
  1979. fputs_readable): Make string pointer arguments constant.
  1980. Thu Aug 3 18:39:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1981. * MAINTAINERS, TODO: Tweeks.
  1982. Thu Aug 3 15:46:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1983. * TODO (5.1): Update.
  1984. 2000-08-02 Kevin Buettner <kevinb@redhat.com>
  1985. * alpha-tdep.c (alpha_extract_return_value): Protoize.
  1986. 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
  1987. * gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSET
  1988. to be printed only if CALL_DUMMY_BREAKPOINT_OFFSET_P.
  1989. * gdbarch.c: Regenerated.
  1990. 2000-08-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1991. * remote-vx.c (vx_add_symbols): Fix typos.
  1992. Wed Aug 2 19:15:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
  1993. * arch-utils.h, gdbarch.c (default_register_sim_regno): New
  1994. function.
  1995. * gdbarch.sh (REGISTER_SIM_REGNO): Add.
  1996. * gdbarch.h, gdbarch.c: Regenerate.
  1997. * remote-sim.c (REGISTER_SIM_REGNO): Delete definition.
  1998. * config/d10v/tm-d10v.h (REGISTER_SIM_REGNO): Delete.
  1999. * d10v-tdep.c (d10v_gdbarch_init): Update.
  2000. (struct gdbarch_tdep): Delete member register_sim_regno.
  2001. (d10v_register_sim_regno): Delete function.
  2002. Wed Aug 2 14:46:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2003. * remote.c (enum packet_detect, packet_support_enums,
  2004. packet_support_auto, packet_enable, packet_disable): Delete.
  2005. (show_packet_config_cmd, set_packet_config_cmd,
  2006. init_packet_config): Use add_set_auto_boolean_cmd.
  2007. * TODO: Update.
  2008. Wed Aug 2 13:06:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2009. * remote-udi.c (udi_xfer_inferior_memory, udi_files_info,
  2010. udi_kill): Update function signatures so that match target vector.
  2011. * MAINTAINERS: Update.
  2012. Wed Aug 2 11:04:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2013. * TODO: Updates.
  2014. 2000-08-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2015. * gdbarch.sh: Multiarch DO_REGISTERS_INFO macro.
  2016. * gdbarch.h, gdbarch.c: Regenerate.
  2017. * infcmd.c (do_registers_info): Make not static and
  2018. unconditionalize.
  2019. * inferior.h (do_registers_info): Export.
  2020. 2000-08-01 Kazu Hirata <kazu@hxi.com>
  2021. * MAINTAINERS: Add myself to "Write After Approval" list.
  2022. Tue Aug 1 21:02:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2023. * MAINTAINERS: Update list of target maintainers. List all
  2024. targets explicitly.
  2025. (sh): Elena Zannoni is maintainer.
  2026. (powerpc): Nick Duffek is a maintainer.
  2027. Tue Aug 1 17:45:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2028. * gdbarch.sh: Parse and save comments in the function_list. Print
  2029. them out as part of the header. Convert all function definitions
  2030. to ISO-C form.
  2031. * gdbarch.h, gdbarch.c: Regenerate.
  2032. Tue Aug 1 14:50:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2033. * top.c (get_prompt_1), tracepoint.c (replace_comma): Update
  2034. function signatures so that they match catch_errors and
  2035. make_cleanup callbacks.
  2036. * tracepoint.c (encode_actions): Fix arguments passed to
  2037. stringify_collection_list.
  2038. 2000-07-31 Kevin Buettner <kevinb@redhat.com>
  2039. * ppc-tdep.h: New file.
  2040. * Makefile.in (ppc-linux-tdep.o, rs6000-tdep.o): Add ppc-tdep.h
  2041. as a dependency.
  2042. * ppc-linux-tdep.c, rs6000-tdep.c (ppc-tdep.h): Include.
  2043. * ppc-linux-tdep.c (ppc_linux_at_sigtramp_return_path): Made static.
  2044. * rs6000-tdep.c (elf-bfd.h): Include.
  2045. (gdbarch_tdep): Add field osabi to this struct.
  2046. (rs6000_init_extra_frame_info, rs6000_frame_init_saved_regs,
  2047. rs6000_frameless_function_invocation, rs6000_frame_saved_pc,
  2048. rs6000_frame_chain): No longer static.
  2049. (process_note_abi_tag_sections, get_elfosabi): New static
  2050. functions.
  2051. (rs6000_gdbarch_init): Revised to accomodate ELF executables;
  2052. also use Linux specific methods when the target is Linux.
  2053. * config/powerpc/aix.mt, config/powerpc/cygwin.mt,
  2054. config/powerpc/macos.mt, config/powerpc/nbsd.mt,
  2055. config/powerpc/ppc-eabi.mt, config/powerpc/ppc-nw.mt,
  2056. config/powerpc/ppc-sim.mt, config/powerpc/ppcle-eabi.mt,
  2057. config/powerpc/ppcle-sim.mt, config/powerpc/solaris.mt,
  2058. config/powerpc/vxworks.mt, config/rs6000/aix4.mt,
  2059. config/rs6000/rs6000.mt, config/rs6000/rs6000lynx.mt
  2060. (TDEPFILES): Add ppc-linux-tdep.o.
  2061. * config/tm-linux.h (SIGCONTEXT_PC_OFFSET, FRAME_SAVED_PC,
  2062. INIT_EXTRA_FRAME_INFO, FRAMELESS_FUNCTION_INVOCATION,
  2063. FRAME_INIT_SAVED_REGS, FRAME_CHAIN, PUSH_ARGUMENTS,
  2064. MEMORY_REMOVE_BREAKPOINT: Removed defines.
  2065. (ppc_linux_frame_saved_pc, ppc_linux_init_extra_frame_info,
  2066. ppc_linux_frameless_function_invocation,
  2067. ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain,
  2068. ppc_sysv_abi_push_arguments, ppc_linux_memory_remove_breakpoint):
  2069. Removed declarations.
  2070. (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Disabled.
  2071. * dink32-rom.c (dink32_regnames): Make array size implicit.
  2072. * ppc-bdm.h (ppc-tdep.h): Include.
  2073. * rs6000-tdep.c, ppc-linux-tdep.c, ppc-bdm.h, ppc-tdep.h
  2074. (GP0_REGNUM, TOC_REGNUM, PS_REGNUM, CR_REGNUM, LR_REGNUM,
  2075. CTR_REGNUM, XER_REGNUM, MQ_REGNUM): Add PPC_ prefix.
  2076. From Nick Duffek:
  2077. * ppc-tdep.h (ppc_linux_frame_saved_pc, rs6000_frame_saved_pc):
  2078. Change return type to CORE_ADDR.
  2079. * ppc-linux-tdep.c (ppc_linux_frame_saved_pc): Likewise.
  2080. 2000-07-31 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2081. * sh-tdep.c (sh_push_arguments): Make header match prototype.
  2082. * remote-e7000.c (e7000_start_remote): Use void *, not char * as
  2083. parameter to avoid compiler warning.
  2084. (fetch_regs_from_dump): Call get_hex() with the correct number of
  2085. parameters.
  2086. 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
  2087. * config/djgpp/fnchange.lst: Add file mappings as per last weekly
  2088. snapshot.
  2089. 2000-07-29 Kevin Buettner <kevinb@redhat.com>
  2090. * a29k-tdep.c, a68v-nat.c, abug-rom.c, alpha-nat.c,
  2091. alpha-tdep.c, annotate.c, arc-tdep.c, arch-utils.c, ax-gdb.c,
  2092. ax-general.c, blockframe.c, breakpoint.c, buildsym.c,
  2093. c-lang.c, c-typeprint.c, c-valprint.c, ch-exp.c, ch-lang.c,
  2094. ch-typeprint.c, ch-valprint.c, cli-out.c, coff-solib.c,
  2095. coffread.c, command.c, complaints.c, copying.c, core-aout.c,
  2096. core-regset.c, core-sol2.c, corefile.c, corelow.c,
  2097. cp-valprint.c, cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c,
  2098. d30v-tdep.c, dbug-rom.c, dbxread.c, dcache.c, delta68-nat.c,
  2099. demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c, dstread.c,
  2100. dve3900-rom.c, dwarf2read.c, dwarfread.c, elfread.c,
  2101. environ.c, eval.c, event-top.c, exec.c, expprint.c, f-lang.c,
  2102. f-typeprint.c, f-valprint.c, findvar.c, fork-child.c,
  2103. fr30-tdep.c, gdbarch.c, gdbserver/gdbreplay.c,
  2104. gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
  2105. gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
  2106. gdbserver/low-sim.c, gdbserver/low-sparc.c,
  2107. gdbserver/low-sun3.c, gdbserver/remote-utils.c,
  2108. gdbserver/utils.c, gdbtypes.c, gnu-nat.c, h8300-tdep.c,
  2109. h8500-tdep.c, hp-psymtab-read.c, hp-symtab-read.c,
  2110. hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c,
  2111. hppam3-nat.c, hpread.c, hpux-thread.c, i386-linux-nat.c,
  2112. i386-stub.c, i386-tdep.c, i386aix-nat.c, i386b-nat.c,
  2113. i386ly-tdep.c, i386m3-nat.c, i386mach-nat.c, i386nbsd-nat.c,
  2114. i386v-nat.c, i386v4-nat.c, i387-tdep.c, i960-tdep.c,
  2115. ia64-linux-nat.c, ia64-tdep.c, infcmd.c, inflow.c,
  2116. infptrace.c, infrun.c, inftarg.c, infttrace.c, irix4-nat.c,
  2117. irix5-nat.c, jv-lang.c, jv-typeprint.c, jv-valprint.c,
  2118. kdb-start.c, kod-cisco.c, kod.c, language.c, lin-thread.c,
  2119. linux-thread.c, lynx-nat.c, m2-lang.c, m2-typeprint.c,
  2120. m2-valprint.c, m3-nat.c, m32r-rom.c, m32r-stub.c, m32r-tdep.c,
  2121. m68hc11-tdep.c, m68k-stub.c, m68k-tdep.c, m68klinux-nat.c,
  2122. m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
  2123. mac-xdep.c, maint.c, mcore-rom.c, mcore-tdep.c, mdebugread.c,
  2124. mem-break.c, mi/mi-cmds.c, mi/mi-main.c, mi/mi-out.c,
  2125. mi/mi-parse.c, minsyms.c, mips-nat.c, mips-tdep.c,
  2126. mipsm3-nat.c, mipsread.c, mipsv4-nat.c, mn10200-tdep.c,
  2127. mn10300-tdep.c, mon960-rom.c, monitor.c, news-xdep.c,
  2128. nindy-tdep.c, nlm/gdbserve.c, nlm/i386.c, nlm/ppc.c,
  2129. nlmread.c, ns32k-tdep.c, ns32km3-nat.c, ns32knbsd-nat.c,
  2130. objfiles.c, ocd.c, op50-rom.c, os9kread.c, osfsolib.c,
  2131. p-lang.c, p-typeprint.c, p-valprint.c, pa64solib.c, parse.c,
  2132. ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
  2133. ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
  2134. proc-flags.c, proc-why.c, procfs.c, ptx4-nat.c,
  2135. remote-adapt.c, remote-array.c, remote-bug.c, remote-e7000.c,
  2136. remote-eb.c, remote-es.c, remote-est.c, remote-hms.c,
  2137. remote-mips.c, remote-mm.c, remote-nindy.c, remote-nrom.c,
  2138. remote-os9k.c, remote-rdi.c, remote-rdp.c, remote-sds.c,
  2139. remote-sim.c, remote-st.c, remote-udi.c, remote-utils.c,
  2140. remote-vx.c, remote-vx29k.c, remote-vx68.c, remote-vx960.c,
  2141. remote-vxmips.c, remote-vxsparc.c, remote.c, rom68k-rom.c,
  2142. rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-valprint.c,
  2143. ser-e7kpc.c, ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c,
  2144. sh-stub.c, sh-tdep.c, sh3-rom.c, sol-thread.c, solib.c,
  2145. somread.c, somsolib.c, source.c, sparc-nat.c, sparc-stub.c,
  2146. sparc-tdep.c, sparcl-stub.c, sparcl-tdep.c, sparclet-rom.c,
  2147. sparclet-stub.c, stabsread.c, stack.c, standalone.c,
  2148. stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c, symfile.c,
  2149. symm-nat.c, symm-tdep.c, symmisc.c, symtab.c, target.c,
  2150. thread.c, tic80-tdep.c, top.c, tracepoint.c, tui/tui-file.c,
  2151. tui/tui.c, tui/tuiLayout.c, tui/tuiRegs.c, tui/tuiStack.c,
  2152. tui/tuiWin.c, typeprint.c, ui-file.c, ui-out.c, ultra3-nat.c,
  2153. ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
  2154. valarith.c, valops.c, valprint.c, values.c, varobj.c,
  2155. vax-tdep.c, w65-tdep.c, w89k-rom.c, win32-nat.c, wince.c,
  2156. wrapper.c, xcoffread.c, xcoffsolib.c, xmodem.c, z8k-tdep.c:
  2157. Convert old-style, pre-ISO function definitions to prototyped
  2158. form.
  2159. 2000-07-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2160. * sh-tdep.c (sh_gdbarch_init): For sh4 initialize
  2161. register_convert_to_raw, register_convert_to_virtual,
  2162. register_convertible.
  2163. (sh_sh4_register_convertible): New function.
  2164. (sh_sh4_register_convert_to_virtual): New function.
  2165. (sh_sh4_register_convert_to_raw): New function.
  2166. Include floatformat.h.
  2167. Thu Jul 27 14:06:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2168. From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
  2169. * configure.tgt: Recognize the 68hc11.
  2170. * m68hc11-tdep.c: New file for 68hc11 target.
  2171. * config/m68hc11/m68hc11.mt: New file for 68hc11 port.
  2172. * configure.tgt: When 68hc11, set gdb_multi_arch.
  2173. Wed Jul 26 17:22:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2174. * configure.in (GDB_MULTI_ARCH): Define from configure.tgt
  2175. or makefile fragment.
  2176. * acconfig.h (GDB_MULTI_ARCH): Add.
  2177. * config.in, configure: Regenerate.
  2178. * gdbarch.sh (GDB_MULTI_ARCH): Delete definition, moved to
  2179. configure.in and defs.h. Use GDB_MULTI_ARCH_TM,
  2180. GDB_MULTI_ARCH_PARTIAL and GDB_MULTI_ARCH_PURE in tests.
  2181. * gdbarch.h, gdbarch.c: Regenerate.
  2182. * defs.h (GDB_MULTI_ARCH_PARTIAL, GDB_MULTI_ARCH_TM, ,
  2183. GDB_MULTI_ARCH_PURE): Define. Only include "tm.h" when the target
  2184. is less than pure multi-arch.
  2185. 2000-07-26 Jimmy Guo <guo@cup.hp.com>
  2186. * config/convex/tm-convex.h: Remove stray control characters.
  2187. * config/m68k/tm-altos.h: Ditto.
  2188. * config/tahoe/tm-tahoe.h: Ditto.
  2189. 2000-07-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2190. * sh-tdep.c (sh_sh4_register_name, sh_sh4_register_byte,
  2191. sh_sh4_register_raw_size, sh_sh4_register_virtual_type,
  2192. sh_fetch_pseudo_register, sh_store_pseudo_register,
  2193. sh_do_pseudo_register, sh_gdbarch_init): Fix names for pseudoregs,
  2194. they should be numbered as drx fvy where x and y are multiples of
  2195. 2 and 4 respectively.
  2196. * config/sh/tm-sh.h: Fix names of pseudo regs.
  2197. 2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2198. * config/sh/tm-sh.h (struct gdbarch_tdep): Add sh4 specific
  2199. pseudo registers.
  2200. (DO_REGISTERS_INFO): Define.
  2201. * sh-tdep.c (sh_sh4_register_name): New function.
  2202. (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
  2203. sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update
  2204. signature.
  2205. (sh_show_regs_command): New function. Actual function called by
  2206. the 'regs' command.
  2207. (sh_register_byte): Rename to...
  2208. (sh_default_register_byte): ...New function.
  2209. (sh_sh4_register_byte): New function.
  2210. (sh_register_raw_size): Rename to...
  2211. (sh_default_register_raw_size): ...New function.
  2212. (sh_sh4_register_raw_size): New function.
  2213. (sh_sh4_register_virtual_type): New function.
  2214. (sh_sh4_build_float_register_type): New function.
  2215. (sh_fetch_pseudo_register, sh_store_pseudo_register): New
  2216. functions.
  2217. (fv_reg_base_num, dr_reg_base_num): New functions.
  2218. (do_fv_register_info, do_dr_register_info, sh_do_pseudo_register,
  2219. sh_do_fp_register, sh_do_register, sh_print_register,
  2220. sh_do_registers_info): New functions.
  2221. (sh_gdbarch_init): Initialize sh4 pseudo registers to -1. Update
  2222. architecture specific parts.
  2223. (_initialize_sh_tdep): Use sh_show_regs_command for 'regs' command.
  2224. 2000-07-24 Jim Blandy <jimb@redhat.com>
  2225. * dwarf2read.c (read_structure_scope): Correct overzealous
  2226. addition of cu_header argument.
  2227. Mon Jul 24 07:47:46 2000 Anthony Green <green@redhat.com>
  2228. * TODO: Update. Two of my java patches are in.
  2229. 2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2230. * gdbarch.sh: Add FETCH_PSEUDO_REGISTER and STORE_PSEUDO_REGISTER
  2231. to the gdbarch structure.
  2232. * gdbarch.c: Regenerate.
  2233. * gdbarch.h: Regenerate.
  2234. * inferior.h (FETCH_PSEUDO_REGISTER, STORE_PSEUDO_REGISTER):
  2235. Delete macros.
  2236. * regcache.c (write_register, read_register, write_register_bytes,
  2237. write_register_gen, read_register_bytes, read_register_gen):
  2238. Rename ARCH_FECTH_PSEUDO_REGISTERS to FETCH_PSEUDO_REGISTERS and
  2239. ARCH_STORE_PSEUDO_REGISTER to STORE_PSEUDO_REGISTER.
  2240. 2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2241. * gdbarch.sh: Add NUM_PSEUDO_REGS to the gdbarch structure.
  2242. * gdbarch.c: Regenerate.
  2243. * gdbarch.h: Regenerate.
  2244. * inferior.h (NUM_PSEUDO_REGS): Delete macro.
  2245. Sun Jul 23 21:40:55 2000 Anthony Green <green@redhat.com>
  2246. * language.c: Include jv-lang.h.
  2247. (lang_bool_type): Add case for java booleans.
  2248. Mon Jul 24 11:23:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2249. * dwarf2read.c (address_size): Delete file wide global.
  2250. (struct comp_unit_head): Add signed_addr_p;
  2251. (read_comp_unit_head): New function.
  2252. (psymtab_to_symtab_1, dwarf2_build_psymtabs_hard): Use
  2253. read_comp_unit_head to parse the debug_info header.
  2254. (read_address): Add parameters cu_header and bytes_read. When
  2255. specified, sign extend the address.
  2256. * dwarf2read.c (add_partial_symbol, decode_locdesc,
  2257. die_containing_type, die_type, dwarf_decode_lines,
  2258. dwarf2_add_field, dwarf2_add_member_fn,
  2259. dwarf2_build_psymtabs_hard, dwarf2_const_value, new_symbol,
  2260. process_die, psymtab_to_symtab_1, read_array_type,
  2261. read_enumeration, read_attribute, read_common_block,
  2262. read_comp_unit, read_file_scope, read_full_die, read_func_scope,
  2263. read_lexical_block_scope, read_partial_die, scan_partial_symbols,
  2264. read_structure_scope, read_subroutine_type, read_tag_const_type,
  2265. read_tag_pointer_type, read_tag_ptr_to_member_type,
  2266. read_tag_reference_type, read_type_die, read_typedef,
  2267. tag_type_to_type): Pass cu_header parameter.
  2268. 2000-07-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2269. * regcache.c (read_register, read_register_bytes): Fix typos.
  2270. 2000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>
  2271. * thread.c (thread_apply_all_command): Update thread list first.
  2272. * printcmd.c (printf_command): Guard against 0-length string.
  2273. * config/i386/tm-i386.h: treat PC and FP as unsigned.
  2274. (SAVED_PC_AFTER_CALL): Use read_memory_unsigned_integer.
  2275. (FRAME_SAVED_PC): Ditto.
  2276. (FRAME_CHAIN): Ditto.
  2277. 2000-07-20 Michael Snyder <msnyder@cleaver.cygnus.com>
  2278. * valarith.c (value_sub): Call check_typedef.
  2279. 2000-07-19 Nicholas Duffek <nsd@redhat.com>
  2280. * thread.c (free_thread): New function.
  2281. (init_thread_list): Always zero highest_thread_num. Call
  2282. free_thread() instead of free().
  2283. (delete_thread): Move thread cleanup code to free_thread().
  2284. 2000-07-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2285. Multiarch the sh target.
  2286. * sh-tdep.c:
  2287. (sh_generic_reg_names, sh_reg_names,sh3_reg_names, sh3e_reg_names,
  2288. sh_dsp_reg_names, sh3_dsp_reg_names, sh_processor_type_table):
  2289. Remove.
  2290. (XMALLOC): Define.
  2291. (struct frame_extra_info): Define.
  2292. (sh_register_raw_size, sh_register_virtual_size,
  2293. sh_register_virtual_type, sh_register_byte, sh_breakpoint_from_pc,
  2294. sh_frame_saved_pc, sh_skip_prologue,
  2295. sh_nofp_frame_init_saved_regs, sh_fp_frame_init_saved_regs,
  2296. sh_extract_struct_value_address, sh_use_struct_convention,
  2297. sh_store_struct_return, sh_push_arguments, sh_push_return_address,
  2298. sh_saved_pc_after_call, sh_generic_register_name,
  2299. sh_sh_register_name, sh_sh3_register_name, sh_sh3e_register_name,
  2300. sh_sh_dsp_register_name, sh_sh3_dsp_register_name,
  2301. sh_frame_args_address, sh_frame_locals_address,
  2302. sh_coerce_float_to_double, sh_default_store_return_value,
  2303. sh3e_sh4_store_return_value, sh_generic_show_regs,
  2304. sh3_show_regs,sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs,
  2305. sh_dsp_show_regs, sh_register_byte, sh_register_raw_size,
  2306. sh_register_virtual_size, sh_sh3e_register_virtual_type,
  2307. sh_default_register_virtual_type, sh_gdbarch_init): New functions.
  2308. (sh_target_architecture_hook, sh_frame_find_saved_regs,
  2309. sh_show_regs): Delete functions.
  2310. (sh_frame_chain, sh_find_callers_reg, sh_init_extra_frame_info,
  2311. sh_pop_frame, sh_extract_return_value): Update
  2312. * config/sh/tm-sh.h (GDB_MULTI_ARCH): Define to 1.
  2313. (struct gdbarch_tdep): Define.
  2314. Remove all unnecessary defines.
  2315. * remote-e7000.c ({PR,GBR,SR,MACL,VBR,MACH}_REGNUM): Define to -1,
  2316. for h8300 case.
  2317. (want_sh,want_nopc_sh,want_nopc_sh3): Make nomenclature
  2318. consistent.
  2319. (e7000_fetch_registers): Remove ifdef GDB_TARGET_IS_SH, use
  2320. runtime check instead.
  2321. (e7000_wait): Ditto.
  2322. * sh3-rom.c (sh3_supply_register): Use gdbarch_tdep to get the SSR
  2323. and SPC register numbers.
  2324. (sh3_regnames, sh3e_regnames): Don't specify a size.
  2325. * config/h8300/tm-h8300.h: Add comment.
  2326. Wed Jul 19 12:50:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2327. * solib.c (elf_locate_base, info_sharedlibrary_command): Rename
  2328. bfd_elf_get_arch_size to bfd_get_arch_size.
  2329. Tue Jul 18 17:13:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2330. From Richard Henderson <rth@cygnus.com>:
  2331. * dwarf2read.c (dwarf2_empty_hash_tables): Renamed from
  2332. dwarf2_empty_die_ref_table; zero dwarf2_cached_types as well.
  2333. Update all callers.
  2334. 2000-07-17 Daniel Berlin <dberlin@redhat.com>
  2335. * valops.c (value_struct_elt): Change error message
  2336. 2000-07-17 matthew green <mrg@redhat.com>
  2337. * config/sparc/nm-nbsd.h (GDB_GREGSET_T, GDB_FPREGSET_T): Define.
  2338. Mon Jul 17 13:08:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2339. * values.c (value_as_pointer): When VAL is an integer, explictly
  2340. cast to a pointer before converting to a CORE_ADDR.
  2341. * gdbtypes.c (build_gdbtypes): For builtin_type_ptr, construct a
  2342. real void pointer instead of an integer.
  2343. 2000-07-15 Daniel Berlin <dberlin@redhat.com>
  2344. * valops.c (typecmp): Seperate loop into two, add support for
  2345. references. This way, we can say a reference to a pointer to a
  2346. char is compatible with a pointer to a char. Before, this would
  2347. not be true.
  2348. 2000-07-14 Nicholas Duffek <nsd@redhat.com>
  2349. * ppcbug-rom.c (ppcbug_regnames[]): Make array size implicit.
  2350. * rs6000-tdep.c (DEFAULT_LR_SAVE): Move to config/*/tm-*.h.
  2351. (rs6000_gdbarch_init): Use generic_pc_in_call_dummy instead of
  2352. rs6000_pc_in_call_dummy.
  2353. * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Move here from
  2354. rs6000-tdep.c.
  2355. * config/powerpc/tm-ppc-eabi.h: Remove various definitions
  2356. handled by multi-arched rs6000-tdep.c.
  2357. 2000-07-14 Nick Clifton <nickc@cygnus.com>
  2358. * config/mcore/tm-mcore.h (SKIP_PROLOGUE): Fix defintion to avoid
  2359. assignment.
  2360. 2000-07-13 Michael Snyder <msnyder@cleaver.cygnus.com>
  2361. * parse.c: Include inferior.h.
  2362. 2000-07-12 Michael Snyder <msnyder@cleaver.cygnus.com>
  2363. * regcache.c (registers_changed, registers_fetched): Use
  2364. ARCH_NUM_REGS directly, eliminating an unnecessary variable.
  2365. This change adds pseudo-register capability to GDB.
  2366. Pseudo-registers are handled like registers, but they
  2367. don't come from or live on the target. They may be
  2368. aliases for an existing register, or they may be computed.
  2369. * inferior.h (NUM_PSEUDO_REGISTERS): Define default of zero.
  2370. (ARCH_FETCH_PSEUDO_REGISTERS): Define default of no-op.
  2371. (ARCH_STORE_PSEUDO_REGISTERS): Define default of no-op.
  2372. # regcache.c (registers_changed): Mark pseudo-registers
  2373. invalid, as well as real registers.
  2374. (registers_fetched): Do not mark pseudo-registers as fetched
  2375. at the same time as other (real) registers.
  2376. (read_register_bytes): Fetch pseudo-registers (if any) from
  2377. the target architecture module instead of from the target.
  2378. (read_register_gen): Ditto.
  2379. (read_register): Ditto.
  2380. (write_register_bytes): Store pseudo-registers (if any) to
  2381. the target architecture module instead of to the target.
  2382. (write_register_gen): Ditto.
  2383. (write_register): Ditto.
  2384. (build_regcache): Allocate enough register_valid space for
  2385. pseudo-registers as well as normal (real) ones.
  2386. * parse.c (target_map_name_to_register): Include pseudo-regs.
  2387. Tue Jul 11 19:45:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2388. * valops.c (value_cast): Allow cast from INT, ENUM or RANGE to
  2389. POINTER.
  2390. 2000-07-11 Scott Bambrough <scottb@netwinder.org>
  2391. * command.c (do_setshow_command): Fix typo in var_auto_boolean
  2392. case.
  2393. Tue Jul 11 20:38:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2394. * mips-tdep.c: General cleanup. Delete all #if 0 code. Convert
  2395. all old style K&R function definitions to ISO-C.
  2396. (struct gdbarch_tdep): Add mips_abi_string.
  2397. (mips_gdbarch_init): Initialize.
  2398. (mips_dump_tdep): Print mips_abi_string and other values.
  2399. (mips_push_arguments): Add more detailed tracing.
  2400. Tue Jul 11 20:16:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2401. * mips-tdep.c (mips32_next_pc, mips16_next_pc,
  2402. read_next_frame_reg, mips_push_dummy_frame, mips_skip_stub,
  2403. mips_saved_pc_after_call): Use read_signed_register when
  2404. extracting register value. Ensures all addresses are sign
  2405. extended.
  2406. (mips_read_pc): New function. Return sign extended address.
  2407. (mips_gdbarch_init): Set gdbarch_read_pc.
  2408. Tue Jul 11 19:06:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2409. * remote-mips.c (mips_request): Change all arguments to ULONGEST.
  2410. (mips_exit_debug, mips_resume, mips_initialize, mips_wait,
  2411. mips_fetch_registers, mips_store_registers, mips_fetch_word):
  2412. Update.
  2413. (mips_xfer_memory): When mask_address_p, mask MEMADDR down to just
  2414. 32 bits.
  2415. (_initialize_remote_mips): Add ``set mask-address'' command.
  2416. * mips-tdep.c (_initialize_mips_tdep): Replace "set mask-address"
  2417. with "set mips mask-address". Implement using
  2418. add_set_auto_boolean_cmd.
  2419. (struct gdbarch_tdep): Add default_mask_address_p.
  2420. (mips_mask_address_p, show_mask_address): New functions.
  2421. (mips_addr_bits_remove): Use mips_mask_address_p() to determine if
  2422. masking is needed.
  2423. (mips_gdbarch_init): Set default_mask_address_p to zero.
  2424. (mips_dump_tdep): Print value of mask_address_p.
  2425. Tue Jul 11 18:32:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2426. * printcmd.c (print_scalar_formatted): Move masking of 'a' address
  2427. from here.
  2428. (print_address_numeric): To here.
  2429. * TODO: Update.
  2430. Tue Jul 11 17:50:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2431. * symtab.c: Use paddr_nz() to print addresses.
  2432. Tue Jul 11 12:52:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2433. * value.h (read_register, read_signed_register): Change return
  2434. type to ULONGEST.
  2435. (read_signed_register, read_signed_register_pid): Declare.
  2436. * regcache.c (read_register, read_register_pid): Update.
  2437. (read_signed_register_pid, read_signed_register): New functions.
  2438. Mon Jul 10 18:06:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2439. * mips-tdep.c (mips_push_arguments): Always align struct_addr on a
  2440. 16 byte boundary. Align allocated argument space using
  2441. MIPS_STACK_ARGSIZE. Reserve space on stack for the struct return
  2442. and floating-point registers. Use fp_register_arg_p to determine
  2443. if float_argreg should be aligned.
  2444. 2000-07-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2445. * config/sh/tm-sh.h (STORE_RETURN_VALUE): Redefine as
  2446. sh_store_return_value().
  2447. * sh-tdep.c (sh_store_return_value): New function. Store the
  2448. value returned by a function into the appropriate register.
  2449. 2000-07-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2450. * sh-tdep.c (sh_skip_prologue): Before looking at the actual
  2451. instructions, try to see if the symbol table can be of help, by
  2452. calling after_prologue(). If this doesn't work, call
  2453. skip_prologue_hard_way().
  2454. (skip_prologue_hard_way): Renamed from sh_skip_prologue. Add some
  2455. more instruction pattern matching for pushing of arguments, and
  2456. manipulation of r14.
  2457. (after_prologue): New function. Use symbol table info to determine
  2458. the end of the prologue, if possible.
  2459. 2000-07-07 Michael Snyder <msnyder@cleaver.cygnus.com>
  2460. * findvar.c (_initialize_findvar, build_findvar, write_fp, read_fp,
  2461. generic_target_write_fp, generic_target_read_fp, write_sp, read_sp,
  2462. generic_target_write_sp, generic_target_read_sp, write_pc, read_pc,
  2463. generic_target_write_pc, generic_target_read_pc, write_pc_pid,
  2464. read_pc_pid, supply_register, write_register_pid, write_register,
  2465. read_register_pid, read_register, write_register_bytes,
  2466. read_register_bytes, write_register_gen, read_register_gen,
  2467. registers_fetched, registers_changed, find_saved_register,
  2468. read_relative_register_raw_bytes, default_get_saved_register,
  2469. read_relative_register_raw_bytes_for_frame, get_saved_register):
  2470. Move from this file into new file regcache.c.
  2471. (register_valid, registers_pid, registers): Ditto.
  2472. * regcache.c: New file to hold the register cache.
  2473. (register_cached): New function to read register_valid array.
  2474. * value.h (register_cached): Declare.
  2475. * defs.h (default_get_saved_register): Delete decl of static function.
  2476. * Makefile.in: Add regcache module.
  2477. Mon Jul 10 15:02:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2478. From 2000-07-05 Pierre Muller <muller@ics.u-strasbg.fr>:
  2479. * p-typeprint.c (pascal_type_print_method_args): Add braces around
  2480. isdigit after while keyword.
  2481. 2000-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2482. * TODO: Remove readline 4.1 import item.
  2483. 2000-07-09 Nick Duffek <nsd@redhat.com>
  2484. * gdbtypes.c (is_ancestor): Infer type equivalence from name
  2485. equivalence.
  2486. (rank_one_type): Use strcmp instead of == to compare type names.
  2487. Don't swap parm with arg when checking TYPE_CODE_REF types.
  2488. * valops.c (find_overload_match): Fix indentation. Compare
  2489. parameter rankings to 0..9, 10..99, and 100+ instead of 0, 10,
  2490. and 100.
  2491. 2000-07-07 David Edelsohn <edelsohn@gnu.org>
  2492. * xcoffread.c (read_symbol_nvalue): Return CORE_ADDR.
  2493. * rs6000-tdep.c (rs6000_pop_frame): Make addr CORE_ADDR type.
  2494. Fri Jul 7 18:29:51 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2495. * config/mips/tm-mips.h (IEEE_FLOAT, SKIP_PROLOGUE,
  2496. SAVED_PC_AFTER_CALL, DECR_PC_AFTER_BREAK, BREAKPOINT_FROM_PC,
  2497. INNER_THAN): Macros.
  2498. * mips-tdep.c (mips_in_lenient_prologue): Delete function.
  2499. (mips32_skip_prologue, mips16_skip_prologue, mips_skip_prologue):
  2500. Remove ``lenient'' argument.
  2501. (mips_saved_pc_after_call): New function.
  2502. (mips_gdbarch_init): Initialize gdbarch members inner_than,
  2503. breakpoint_from_pc, decr_pc_after_break, ieee_float,
  2504. skip_prologue, saved_pc_after_call.
  2505. 2000-07-07 Mark Kettenis <kettenis@gnu.org>
  2506. * config/i386/tm-linux.h: Add longjmp support.
  2507. (JB_ELEMENT_SIZE, JB_PC): New defines.
  2508. (GET_LONGJMP_TARGET): Define.
  2509. (get_longjmp_target): Add prototype.
  2510. * breakpoint.c (bpstat_what): Keep returning
  2511. BPSTAT_WHAT_SET_LONGJMP_RESUME when hitting multiple longjmp()
  2512. breakpoints instead of signalling an error by returning
  2513. BPSTAT_WHAT_STOP_NOISY.
  2514. 2000-07-06 Michael Snyder <msnyder@cleaver.cygnus.com>
  2515. * mips-tdep.c: Replace '16' with bfd_mach_mips16 where appropriate.
  2516. 2000-07-06 Christopher Faylor <cgf@cygnus.com>
  2517. * infcmd.c (attach_command): Move "stop_soon_quietly" setting
  2518. inside ATTACH_NO_WAIT conditional since we are not about to
  2519. stop soon if we're not calling wait_for_inferior.
  2520. Wed Jul 5 21:06:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2521. * config/i386/fbsd.mh (NATDEPFILES): Keep NATDEPFILES to a single
  2522. line. configure.in assumes this.
  2523. Wed Jul 5 20:48:22 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2524. * configure.in (SER_HARDWIRE): When go32 or DJGPP, set to
  2525. ser-go32.c.
  2526. * configure: Re-generate.
  2527. Wed Jul 5 20:28:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2528. * top.h (command_loop_marker), top.c (command_loop_marker):
  2529. Delete.
  2530. * event-top.c (command_handler), top.c (simplified_command_loop,
  2531. command_loop): Use null_cleanup instead of command_loop_marker.
  2532. Wed Jul 5 20:09:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2533. * event-loop.c: Include either <poll.h> or <sys/poll.h>.
  2534. * configure.in (targ_archs): Check for <poll.h> and <sys/poll.h>.
  2535. * configure, config.in: Re-generate.
  2536. Wed Jul 5 18:10:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2537. From 2000-06-12 Bill Nottingham <notting@redhat.com>:
  2538. * Makefile.in: add $(infodir) to FLAGS_TO_PASS
  2539. Wed Jul 5 18:03:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2540. * TODO: Updates.
  2541. 2000-07-05 Mark Kettenis <kettenis@gnu.org>
  2542. * TODO: Update.
  2543. 2000-07-03 Chris Faylor <cfg@cygnus.com>
  2544. Committed by Elena Zannoni <ezannoni@cygnus.com>
  2545. * sh-tdep.c (sh_skip_prologue): Change prologue matching for modern
  2546. compilers.
  2547. (sh_frame_find_saved_regs): Ditto.
  2548. (sh_find_callers_reg): Stop if pc is zero.
  2549. Sat Jul 1 17:47:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2550. * ser-unix.c (do_unix_readchar): Revert Tue Mar 28 18:19:50 2000
  2551. Andrew Cagney <cagney@b1.cygnus.com>. Locks up when no data is
  2552. pending.
  2553. Sat Jul 1 15:40:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2554. * Makefile.in (SER_HARDWIRE): Restore code to set it by configure.
  2555. 2000-06-26 Kevin Buettner <kevinb@redhat.com>
  2556. * copying.awk: Eliminate use of PARAMS from this file.
  2557. Fri Jun 23 20:47:03 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2558. * mips-tdep.c (mips_push_arguments): Use the variable stack_used_p
  2559. to determine if any arguments were written to the stack. Do not
  2560. rely on NUMARG>=8.
  2561. Mon Jun 19 11:29:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2562. * command.h (add_set_auto_boolean_cmd): Add declaration.
  2563. (enum var_types): Add var_auto_boolean.
  2564. * command.c (add_set_auto_boolean_cmd): New function.
  2565. (do_setshow_command): Recognize auto_boolean.
  2566. (parse_binary_operation): Recognize enable and disable.
  2567. (parse_auto_binary_operation): Parse auto binary variables.
  2568. * TODO: Update
  2569. Fri Jun 23 16:20:21 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2570. * mips-tdep.c (fp_register_arg_p): New function.
  2571. (mips_push_arguments): Use. Do not pass floating point arguments
  2572. on in an integer register.
  2573. 2000-06-21 Pierre Muller <muller@ics.u-strasbg.fr>
  2574. * symfile.c (init_filename_language_table): add ".pas", ".p" and ".pp"
  2575. as pascal source file extensions.
  2576. 2000-06-19 J.T. Conklin <jtc@redback.com>
  2577. * remote-nindy.c (nindy_fetch_word, nindy_store_word): Removed
  2578. (nindy_xfer_inferior_memory): Use dcache_xfer_memory() instead of
  2579. breaking transfer into chunks and using nindy_fetch_word() and
  2580. nindy_store_word().
  2581. * remote-bug.c (bug_xfer_memory): Use dcache_xfer_memory() instead
  2582. of breaking transfer into chunks and using gr_fetch_word() and
  2583. gr_store_word().
  2584. * remote.c (remote_fetch_word, remote_store_word): Removed.
  2585. * remote-utils.h (gr_fetch_word, gr_store_word): Removed.
  2586. * remote-utils.c (gr_fetch_word, gr_store_word): Removed.
  2587. * dcache.h (dcache_fetch, dcache_poke, dcache_poke_block): Removed.
  2588. * dcache.c (dcache_fetch, dcache_poke): Removed.
  2589. 2000-06-16 Pierre Muller <muller@ics.u-strasbg.fr>
  2590. * defs.h: define language_pascal in language enumeration.
  2591. * language.h: define _LANG_pascal macro.
  2592. * language.c: add language_pascal support in all language dependant
  2593. functions.
  2594. Sun Jun 18 01:01:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2595. * mips-tdep.c (mips_debug): New variable.
  2596. (_initialize_mips_tdep): Add command "set debug mips".
  2597. (mips_push_arguments): Add code to dump the argument list as it is
  2598. created.
  2599. Sun Jun 18 00:27:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2600. * mips-tdep.c (mips_push_arguments): For MIPS_EABI, squeeze a
  2601. strut containing a floating-point into an FP register.
  2602. Sat Jun 17 16:00:56 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2603. * remote-mips.c: Include <ctype.h>
  2604. (mips_receive_header): Write printable characters to gdb_stdtarg
  2605. instead of gdb_stdlog. Only count non-printables as invalid.
  2606. (mips_syn_garbage): Reduce to 10.
  2607. Sat Jun 17 15:39:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2608. * mips-tdep.c (mips_gdbarch_init): When the object file header
  2609. specifies EABI64, select EABI64 and not EABI32.
  2610. 2000-06-16 Nicholas Duffek <nsd@redhat.com>
  2611. * rs6000-tdep.c: Changes throughout for multi-arch 64-bit
  2612. support. Incorporate most of tm-rs6000.h.
  2613. (find_toc_address_hook): Rename to rs6000_find_toc_address_hook.
  2614. (rs6000_set_host_arch_hook): Declare.
  2615. (read_memory_addr): Define.
  2616. (pop_frame): Rename to rs6000_pop_frame.
  2617. (rs6000_pop_frame, rs6000_fix_call_dummy, rs6000_push_arguments,
  2618. rs6000_frame_saved_pc, rs6000_frame_chain): Remove non-generic
  2619. dummy frame handling.
  2620. (branch_dest, rs6000_pop_frame, rs6000_skip_trampoline_code,
  2621. rs6000_frame_saved_pc, frame_get_saved_regs,
  2622. frame_initial_stack_address, rs6000_frame_chain,
  2623. rs6000_convert_from_func_ptr_addr): Call read_memory_addr instead
  2624. of read_memory_integer.
  2625. (branch_dest, rs6000_pop_frame, rs6000_push_arguments,
  2626. rs6000_skip_trampoline_code, rs6000_frame_saved_pc,
  2627. frame_get_saved_regs, frame_initial_stack_address,
  2628. rs6000_frame_chain): Replace 4 with TDEP->wordsize.
  2629. (skip_prologue): Recognize some 64-bit stack adjustments.
  2630. (push_dummy_frame, pop_dummy_frame, set_processor,
  2631. show_processor): Delete.
  2632. (frame_get_saved_regs): Manipulate saved register addresses using
  2633. CORE_ADDR instead of int.
  2634. (rs6000_create_inferior): New function.
  2635. (register_names_*[]): Change to struct reg registers_*[].
  2636. (variants[]): Assimilate into multi-arch approach.
  2637. (register_names_*[], variants[]): Refer to pre-PowerPC
  2638. architectures as POWER instead of RS6000.
  2639. * rs6000-nat.c: Ubiquitous changes for 64-bit support.
  2640. (vmap_secs, xcoff_relocate_symtab): Cast addresses
  2641. to unsigned long to avoid sign-extension errors.
  2642. (set_host_arch): New function.
  2643. (xcoff_relocate_symtab): Try disabling usleep(36000) workaround.
  2644. (rs6000_core_fns): Use new bfd_target_xcoff_flavour.
  2645. (_initialize_core_rs6000): Initialize rs6000_set_host_arch_hook.
  2646. * symfile.c (find_sym_fns): Remove special xcoff kludge.
  2647. * xcoffread.c (secnum_to_bfd_section): Initialize args.objfile.
  2648. (process_linenos): Query line struct size from coff
  2649. backend instead of using compile-time constant.
  2650. (enter_line_range): Likewise.
  2651. (read_xcoff_symtab): Pass "XCOFF64" instead of "XCOFF" to
  2652. record_debugformat() if appropriate.
  2653. (process_xcoff_symbol): Access symbol addresses using
  2654. SYMBOL_VALUE_ADDRESS instead of SYMBOL_VALUE.
  2655. (read_symbol_lineno): Retrieve XCOFF64 symbol names from strtbl.
  2656. (scan_xcoff_symtab): Likewise. Query syment struct size from
  2657. coff backend instead of using compile-time constant.
  2658. (xcoff_sym_fns): Set flavour to bfd_target_xcoff_flavour.
  2659. * Makefile.in (INTERNAL_LDFLAGS): Add $(MH_LDFLAGS) to list of flags
  2660. that this Makefile variable get set to. (From Kevin Buettner.)
  2661. * config/powerpc/aix.mh (MH_LDFLAGS): Add linker flags so that
  2662. the TOC doesn't overflow. (From Kevin Buettner.)
  2663. * config/powerpc/tm-ppc-aix.h: Move config decisions to
  2664. multi-arched rs6000-tdep.c.
  2665. * config/rs6000/tm-rs6000.h: Likewise.
  2666. (GDB_MULTI_ARCH): Define.
  2667. (skip_trampoline_code): Rename to rs6000_skip_trampoline_code.
  2668. (is_magic_function_pointer): Replace with
  2669. rs6000_convert_from_func_ptr_addr.
  2670. (TARGET_CREATE_INFERIOR_HOOK): Define.
  2671. (find_toc_address_hook): Rename to rs6000_find_toc_address_hook.
  2672. (rs6000_set_host_arch_hook): Declare.
  2673. * config/rs6000/nm-rs6000.h (CHILD_XFER_MEMORY): Define.
  2674. 2000-06-15 Kevin Buettner <kevinb@redhat.com>
  2675. * v850ice.c: Eliminate use of PARAMS from this file.
  2676. 2000-06-15 Michael Snyder <msnyder@cygnus.com>
  2677. * valops.c (value_cast): Break up long lines.
  2678. * utils.c: Fix comment typo.
  2679. 2000-06-14 Jim Blandy <jimb@redhat.com>
  2680. * dwarf2read.c (dump_die): Use the proper printf format for
  2681. printing DW_UNSND values; they're longs now.
  2682. * dwarf2read.c (dump_die): We can read DW_FORM_data8 now, on
  2683. at least some platforms, so print it out too.
  2684. 2000-06-14 James E. Wilson <wilson@bletchleypark.cygnus.com>
  2685. * dwarf2read.c (struct attribute): Change unsnd and snd field types
  2686. to long.
  2687. (read_8_bytes): Change return type to long.
  2688. (read_unsigned_leb128): Change return type to long. Change type of
  2689. local result to long. Cast argument of left shift to long.
  2690. (read_signed_leb128): Likewise.
  2691. 2000-06-14 Pierre Muller <muller@ics.u-strasbg.fr>
  2692. Add support for Pascal language. Part 1: new files.
  2693. * p-exp.y, p-lang.c, p-lang.h, p-typeprint.c, p-valprint.c: New files.
  2694. 2000-06-13 Kevin Buettner <kevinb@redhat.com>
  2695. * ser-ocd.c, symtab.c: Eliminate use of PARAMS from these files.
  2696. Tue Jun 13 09:21:23 2000 Jeffrey A Law (law@cygnus.com)
  2697. * configure.host (hppa*64*): Renamed from hppa2.0w per
  2698. gcc/binutils changes.
  2699. * configure.tgt: Similarly.
  2700. 2000-06-12 Bill Nottingham <notting@redhat.com>
  2701. Patch applied by Kevin Buettner <kevinb@redhat.com>:
  2702. * ia64-linux-nat.c, gdbserver/low-linux.c (u_offsets): PT_CR_IFS
  2703. is deprecated. Use PT_CFM instead.
  2704. 2000-06-12 Michael Snyder <msnyder@cygnus.com>
  2705. * breakpoint.c (breakpoint_thread_match): Fix comment.
  2706. 2000-06-12 Fernando Nasser <fnasser@cygnus.com>
  2707. * valops.c (value_assign): Adjust the length to take into
  2708. consideration that we are not starting from the beginning.
  2709. 2000-06-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2710. * symfile.c (add_symbol_file_command): Properly reformat "else if"
  2711. code.
  2712. * coffread.c (coff_symtab_read): Ditto.
  2713. Mon Jun 12 15:24:04 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2714. * Makefile.in (SER_HARDWIRE): Set using autoconf.
  2715. * configure.in (SER_HARDWIRE): Define, add ser-tcp.o.
  2716. * configure: Re-generate.
  2717. * config/i386/go32.mh (SER_HARDWIRE): Delete. Handled by
  2718. configure.in.
  2719. * config/sparc/sun4sol2.mh, config/sparc/sun4os4.mh,
  2720. config/sparc/sparclynx.mh, config/sparc/nbsdelf.mh,
  2721. config/sparc/nbsd.mh, config/sparc/linux.mh,
  2722. config/rs6000/rs6000lynx.mh, config/powerpc/solaris.mh,
  2723. config/powerpc/nbsd.mh, config/powerpc/linux.mh,
  2724. config/powerpc/cygwin.mh, config/pa/hpux11w.mh,
  2725. config/pa/hpux11.mh, config/pa/hpux1020.mh, config/pa/hppaosf.mh,
  2726. config/pa/hppahpux.mh, config/pa/hppabsd.mh, config/ns32k/nbsd.mh,
  2727. config/mips/irix5.mh, config/mips/irix4.mh, config/m68k/nbsd.mh,
  2728. config/m68k/m68klynx.mh, config/m68k/linux.mh,
  2729. config/i386/nbsdelf.mh, config/i386/nbsd.mh, config/i386/linux.mh,
  2730. config/i386/i386sco5.mh, config/i386/i386lynx.mh,
  2731. config/i386/i386dgux.mh, config/i386/fbsd.mh,
  2732. config/i386/cygwin.mh, config/arm/linux.mh, config/alpha/fbsd.mh,
  2733. config/alpha/alpha-osf3.mh, config/alpha/alpha-linux.mh: Remove
  2734. ser-tcp.o from XDEPFILES.
  2735. * config/ia64/linux.mh: Ditto.
  2736. * TODO: Update.
  2737. Mon Jun 12 14:26:02 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2738. * mips-tdep.c (GDB_TARGET_IS_MIPS64): Define.
  2739. (struct gdbarch_tdep): Add gdb_target_is_mips64.
  2740. (mips_addr_bits_remove): Update.
  2741. (mips_gdbarch_init): Initialize.
  2742. * config/mips/tm-mips64.h (GDB_TARGET_IS_MIPS64,
  2743. GDB_TARGET_IS_MIPS64): Delete.
  2744. Mon Jun 12 12:17:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2745. * mips-tdep.c: Include "symcat.h".
  2746. (mips_dump_tdep): Print all known but not yet multi-arched values.
  2747. 2000-06-12 Mark Kettenis <kettenis@gnu.org>
  2748. * config/i386/tm-i386.h: Add forward declaration of `struct value'.
  2749. (FIX_CALL_DUMMY): Redefined to call i386_fix_call_dummy.
  2750. (i386_fix_call_dummy): Add prototype.
  2751. * i386-tdep.c (i386_fix_call_dummy): New function based on the
  2752. code from the old FIX_CALL_DUMMY macro.
  2753. 2000-06-12 Kevin Buettner <kevinb@redhat.com>
  2754. * procfs.c, remote.c: Eliminate use of PARAMS from these files.
  2755. Mon Jun 12 10:21:24 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2756. * gdbarch.sh (gdbarch_dump): When non multi-arch skip macros that
  2757. return void.
  2758. Sun Jun 11 12:06:21 2000 Christopher Faylor <cgf@cygnus.com>
  2759. * exec.c (exec_file_attach): Add .exe extension when __CYGWIN__.
  2760. Sat Jun 10 22:31:46 2000 Christopher Faylor <cgf@cygnus.com>
  2761. * win32-nat.c (safe_symbol_file_add_args): Store old gdb_stderr and
  2762. gdb_stdout here.
  2763. (safe_symbol_file_add_stub): Redirect gdb_stdout as well as stderr.
  2764. (safe_symbol_file_add_cleanup): Restore gdb_stdout.
  2765. (info_dll_command): Use the pager for displaying DLLs since there are
  2766. often quite a few.
  2767. Sun Jun 11 11:34:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2768. From Sat Jun 10 17:54:04 2000 Hans-Peter Nilsson <hp@axis.com>:
  2769. * configure.in (targ_archs): Clear out secondary components.
  2770. * configure: Regenerate.
  2771. Fri Jun 9 15:06:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2772. * gdbarch.sh (struct gdbarch): Add member dump_tdep.
  2773. (struct gdbarch_registration): Ditto.
  2774. (gdbarch_dump): Add ui_file and gdbarch arguments. Add support
  2775. for external dump functions. Dump the macro value. Call target
  2776. dump routine.
  2777. (gdbarch_register): New function.
  2778. (gdbarch_registrary): Replace gdbarch_init_registrary.
  2779. * gdbarch.h, gdbarch.c: Re-generate.
  2780. * arch-utils.c (set_arch): Update.
  2781. * mips-tdep.c (mips_dump_tdep): New function. Move dump code here.
  2782. (mips_gdbarch_init): From here.
  2783. * maint.c (maintenance_print_architecture): New function.
  2784. (_initialize_maint_cmds): Add command ``maintenance print
  2785. architecture''.
  2786. 2000-06-08 Kevin Buettner <kevinb@redhat.com>
  2787. * command.h, monitor.h: Eliminate use of PARAMS from these
  2788. files.
  2789. 2000-06-08 Fernando Nasser <fnasser@cygnus.com>
  2790. * config/i386/tm-embed.h: New file. Specific for embedded targets
  2791. like i386-elf, i386-coff and i386-aout.
  2792. * config/i386/embed.mt (): Specify tm-embed.h instead of the System V
  2793. header file.
  2794. 2000-06-08 Fernando Nasser <fnasser@cygnus.com>
  2795. * MAINTAINERS: Add myself to gdbtk list.
  2796. 2000-06-08 Kevin Buettner <kevinb@redhat.com>
  2797. * config/ia64/nm-linux.h (U_REGS_OFFSET): Define.
  2798. 2000-06-08 Fernando Nasser <fnasser@cygnus.com>
  2799. * configure.in: Replace misplaced CONFIG_ADD by the correct
  2800. CONFIG_CLEAN.
  2801. * configure, config.in: Regenerate.
  2802. 2000-06-08 Fernando Nasser <fnasser@cygnus.com>
  2803. * values.c (value_primitive_field): Copy VALUE_REGNO as well.
  2804. With typed registers we may have the location information in this field,
  2805. in addition to VALUE_ADDRESS (which was already being copied).
  2806. Thu Jun 8 15:26:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2807. * config/mips/tm-mips.h (GDB_MULTI_ARCH): Define as 1.
  2808. (CALL_DUMMY, TARGET_BYTE_ORDER_SELECTABLE_P,
  2809. COERCE_FLOAT_TO_DOUBLE): Delete.
  2810. * config/mips/tm-vr5000el.h, config/mips/tm-vr5000.h,
  2811. config/mips/tm-vr4xxxel.h, config/mips/tm-vr4xxx.h,
  2812. config/mips/tm-vr4100.h, config/mips/tm-tx39l.h
  2813. config/mips/tm-tx39.h, config/mips/tm-irix5.h: Delete
  2814. GDB_MULTI_ARCH.
  2815. * config/mips/tm-mips64.h (TARGET_LONG_BIT, TARGET_LONG_LONG_BIT,
  2816. TARGET_PTR_BIT): Delete definitions.
  2817. * config/mips/tm-vr5000el.h, config/mips/tm-vr5000.h,
  2818. config/mips/tm-tx39l.h, config/mips/tm-vr4100.h,
  2819. config/mips/tm-tx39.h: Delete definition of MIPS_EABI.
  2820. * mips-tdep.c (mips_gdbarch_init): Use the ISA to determine the
  2821. ABI. If all else fails, assume O32.
  2822. * TODO, NEWS: Update. Mention MIPS is multi-arch.
  2823. Thu Jun 8 14:23:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2824. * config/mips/tm-vr4xxxel.h, config/mips/tm-vr4xxx.h,
  2825. config/mips/tm-vr4100.h, config/mips/tm-tx39l.h,
  2826. config/mips/tm-tx39.h: Delete definition of
  2827. MIPS_DEFAULT_FPU_TYPE. Enable multi-arch.
  2828. * mips-tdep.c: (mips_gdbarch_init): The bfd_mach_mips3900 has no
  2829. FPU. bfd_mach_mips4650 FPU is single precision.
  2830. * config/mips/tm-mips.h (MIPS_FPU_SINGLE_REGSIZE):
  2831. (MIPS_FPU_DOUBLE_REGSIZE): Move from here.
  2832. * mips-tdep.c: To here. Change to an enum.
  2833. Wed Jun 7 18:27:51 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2834. * configure.in (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Use config.bfd
  2835. to determine the default architecture / target.
  2836. * acconfig (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Add.
  2837. * configure, config.in: Regenerate.
  2838. * arch-utils.c (set_endian): Better separate multi-arch and non-
  2839. multi-arch cases.
  2840. (set_endian_from_file): Call internal_error when multi-arch.
  2841. (initialize_current_architecture): Rewrite logic selecting a byte
  2842. order. Use DEFAULT_BFD_ARCH DEFAULT_BFD_VEC.
  2843. (version.h): Include.
  2844. * config/mips/tm-mips.h, config/mips/tm-bigmips64.h,
  2845. config/mips/tm-bigmips.h: Delete definition of
  2846. TARGET_BYTE_ORDER_DEFAULT.
  2847. Thu Jun 8 11:41:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2848. * infrun.c (follow_inferior_fork): Bad merge from below. Compare
  2849. strings using follow_fork_mode_ask and not "ask".
  2850. Wed Jun 7 15:13:04 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2851. * command.h (add_set_enum_cmd): Make ``enumlist'' and ``var''
  2852. constant char pointers.
  2853. (complete_on_enum): Change ``enumlist'' to a constant char
  2854. pointer.
  2855. (struct cmd_list_element): Ditto for member ``enums''.
  2856. * command.c (complete_on_enum, add_set_enum_cmd,
  2857. do_setshow_command): Update.
  2858. * infrun.c (follow_fork_mode_ask, follow_fork_mode_parent,
  2859. follow_fork_mode_both, follow_fork_mode_child): New. Use to
  2860. construct the follow_fork_mode_kind_names.
  2861. (set_follow_fork_mode_command): Delete function.
  2862. (_initialize_infrun): Update.
  2863. (follow_inferior_fork): Do not strdup follow_fork_mode_string.
  2864. Use follow_fork_mode_* variables directly instead. Call
  2865. internal_error instead of error when unimplemented "ask" mode.
  2866. * infrun.c (scheduler_enums, scheduler_mode, schedlock_off,
  2867. schedlock_on, schedlock_step): Update.
  2868. * serial.c (serial_logbase, logbase_hex, logbase_octal,
  2869. logbase_ascii, logbase_enums): Update.
  2870. * remote.c (packet_support_enums, packet_support_auto,
  2871. packet_enable, packet_disable, struct packet_config): Update.
  2872. * arch-utils.c (initialize_current_architecture,
  2873. set_architecture_string): Update.
  2874. (endian_big, endian_little, endian_auto, endian_enum,
  2875. set_endian_string): Update.
  2876. * i386-tdep.c (valid_flavors, att_flavor, intel_flavor,
  2877. disassembly_flavor): Update.
  2878. * mips-tdep.c (size_enums, size_64, size_32, size_auto,
  2879. mips_stack_argsize_string, mips_saved_regsize_string): Update.
  2880. * arm-tdep.c (disassembly_flavor, valid_flavors): Update.
  2881. (_initialize_arm_tdep): Ditto.
  2882. * TODO: Update.
  2883. Mon Jun 5 18:44:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2884. * thread.c (make_cleanup_restore_current_thread,
  2885. do_restore_current_thread_cleanup): New functions.
  2886. (thread_apply_all_command, thread_apply_command): Use. Call
  2887. do_cleanups when finished.
  2888. * defs.h (make_cleanup_func): Delete typedef.
  2889. * TODO: Update.
  2890. Wed Jun 7 11:34:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2891. * arch-utils.c (target_byte_order, target_byte_order_auto,
  2892. show_endian, set_endian, set_endian_big, set_endian_little,
  2893. set_endian_auto, set_endian_from_file, enum set_arch,
  2894. target_architecture_auto, set_architecture_string,
  2895. target_architecture_hook, target_architecture, arch_ok, set_arch,
  2896. set_architecture_from_arch_mach, set_architecture_from_file,
  2897. show_architecture, set_architecture, info_architecture,
  2898. set_gdbarch_from_file, initialize_current_architecture): Copy from
  2899. gdbarch.c. Rewrite ``set architecture'' and ``set endian''
  2900. commands to use enums.
  2901. (_initialize_gdbarch_utils): Fix name.
  2902. * arch-utils.h (set_architecture_from_arch_mach,
  2903. target_architecture_hook): Copy from gdbarch.h.
  2904. * gdbarch.sh: Update.
  2905. * gdbarch.h, gdbarch.c: Re-generate.
  2906. * TODO: Update.
  2907. * v850-tdep.c, sh3-rom.c, sh-tdep.c, i386-tdep.c: Include
  2908. "arch-utils.h".
  2909. * Makefile.in (v850-tdep.o): Specify dependencies.
  2910. (i386-tdep.o, sh3-rom.o, sh-tdep.o): Add arch-utils.h to
  2911. dependency list.
  2912. 2000-06-06 Michael Snyder <msnyder@cygnus.com>
  2913. * configure.in: Enable autoconf to find curses.h on Solaris 2.8.
  2914. * configure: Regenerate.
  2915. Tue Jun 6 21:14:47 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2916. * command.c (do_setshow_command): Accept an enum option immediatly
  2917. when it is an exact match.
  2918. Tue Jun 6 16:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2919. * config/mips/tm-vr5000el.h, config/mips/tm-vr5000.h,
  2920. config/mips/tm-vr4xxxel.h, config/mips/tm-vr4xxx.h,
  2921. config/mips/tm-vr4300el.h, config/mips/tm-vr4100.h,
  2922. config/mips/tm-vr4300.h, config/mips/tm-tx39l.h,
  2923. config/mips/tm-tx39.h, config/mips/tm-embedl64.h,
  2924. config/mips/tm-embedl.h, config/mips/tm-embed64.h,
  2925. config/mips/tm-embed.h: Delete TARGET_BYTE_ORDER_SELECTABLE_P.
  2926. * tm-mips.h (TARGET_BYTE_ORDER_SELECTABLE_P): Define as 1.
  2927. Tue Jun 6 16:21:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2928. * gdbarch.sh (generic_register_convertible_not,
  2929. frame_num_args_unknown): Move from here.
  2930. * arch-utils.c (generic_register_convertible_not,
  2931. frame_num_args_unknown): To here.
  2932. * arch-utils.h (frame_num_args_unknown): Add declaration.
  2933. * gdbarch.h, gdbarch.c: Re-generate.
  2934. Tue Jun 6 15:07:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2935. * remote-mips.c (mips_open): Select the default monitor prompt
  2936. based on the target ISA.
  2937. * config/mips/tm-vr4100.h (TARGET_MONITOR_PROMPT),
  2938. config/mips/tm-vr4300el.h (TARGET_MONITOR_PROMPT),
  2939. config/mips/tm-vr4300.h (TARGET_MONITOR_PROMPT),
  2940. config/mips/tm-vr4xxx.h (TARGET_MONITOR_PROMPT),
  2941. config/mips/tm-vr4xxxel.h (TARGET_MONITOR_PROMPT),
  2942. config/mips/tm-vr5000el.h (TARGET_MONITOR_PROMPT),
  2943. config/mips/tm-vr5000.h (TARGET_MONITOR_PROMPT),
  2944. config/mips/tm-mips.h (TARGET_MONITOR_PROMPT): Delete macro.
  2945. 2000-06-05 Daniel Berlin <dan@cgsoftware.com>
  2946. * c-exp.y (yylex): template handling fixes.
  2947. 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
  2948. * symtab.h (VTBL_PREFIX_P): Add newer g++ vtbl prefix to prefix
  2949. list.
  2950. * symtab.c (lookup_partial_symbol): Change to stop forcing linear
  2951. searches on C++ when we fail the binary search, by doing the
  2952. binary search right.
  2953. 2000-05-30 Daniel Berlin <dan@cgsoftware.com>
  2954. * buildsym.c (hashname): Change to use hash function from bcache.c/.h
  2955. * bcache.c (hash): Change to newer hash function.
  2956. * bcache.h (hash): Prototype for hash function
  2957. * dwarf2read.c (TYPE_HASH_SIZE): New define for controlling size
  2958. of type hash.
  2959. (dwarf2_cached_types): New variable that is the cached types.
  2960. (tag_type_to_type): Do the actual caching of types here.
  2961. 2000-06-05 Mark Kettenis <kettenis@gnu.org>
  2962. * acconfig.h, configure.in, i386bsd.c (HAVE_STRUCT_REG_R_FS):
  2963. Renamed from HAVE_R_FS.
  2964. (HAVE_STRUCT_REG_GS): Renamed from HAVE_R_GS.
  2965. * configure, config.in: Regenerated.
  2966. Sun Jun 4 14:00:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2967. * TODO: Update. Mention GNU/Linux/SPARC problems.
  2968. Wed May 31 21:41:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2969. * gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Change buf
  2970. to a void pointer. Update initial values.
  2971. * gdbarch.h, gdbarch.c: Re-generate.
  2972. * findvar.c (address_to_signed_pointer,
  2973. signed_pointer_to_address): New functions.
  2974. * inferior.h (signed_pointer_to_address,
  2975. signed_address_to_pointer): Declare.
  2976. * inferior.h, findvar.c (unsigned_pointer_to_address,
  2977. address_to_unsigned_pointer): Rename generic_address_to_pointer
  2978. and generic_pointer_to_address. Update signatures to match
  2979. gdbarch changes.
  2980. * config/mips/tm-mips.h (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER):
  2981. Define. MIPS has signed pointers.
  2982. * defs.h, utils.c (host_pointer_to_address,
  2983. address_to_host_pointer): New functions.
  2984. * irix5-nat.c (next_link_map_member, first_link_map_member),
  2985. procfs.c (proc_set_watchpoint, proc_iterate_over_mappings): Use.
  2986. * irix5-nat.c (solib_map_sections, symbol_add_stub): Change
  2987. function signature to match catch_errors_ftype.
  2988. * TODO: Update. GDB builds using the IRIX native compiler.
  2989. Sat Jun 3 20:43:59 2000 Andrew Cagney <cagney@b1.cygnus.com>
  2990. * defs.h (strsignal, safe_strsignal): Delete declarations.
  2991. * utils.c (safe_strsignal): Delete.
  2992. * corelow.c (core_open): Replace save_strsignal with
  2993. target_signal_to_string + target_signal_from_host.
  2994. * TODO: Document problems with target_signal_from_host.
  2995. 2000-06-03 Kevin Buettner <kevinb@redhat.com>
  2996. * annotate.c, annotate.h, breakpoint.c, command.c, command.h,
  2997. config/rs6000/tm-rs6000.h, corefile.c, d10v-tdep.c,
  2998. d30v-tdep.c, dbxread.c, dcache.c, dcache.h, dsrec.c,
  2999. dve3900-rom.c, exec.c, fork-child.c, gdbcore.h, hpux-thread.c,
  3000. language.h, linux-thread.c, mdebugread.c, monitor.h, ocd.c,
  3001. procfs.c, ptx4-nat.c, remote-sim.c, remote-utils.h, remote.c,
  3002. rs6000-tdep.c, ser-ocd.c, sol-thread.c, sparcl-tdep.c,
  3003. stabsread.h, stack.c, symfile.c, symfile.h, symtab.h,
  3004. target.c, target.h, top.c, tracepoint.c, tracepoint.h,
  3005. tui/tui.h, tui/tuiIO.c, utils.c, v850ice.c, varobj.c,
  3006. win32-nat.c, wince.c, xcoffsolib.c, xcoffsolib.h: Eliminate
  3007. PARAMS from function pointer declarations.
  3008. 2000-06-03 Christopher Faylor <cgf@cygnus.com>
  3009. * win32-nat.c (safe_symbol_file_add_cleanup): Ensure that gdb_stderr is
  3010. flushed before deleting and restoring it.
  3011. (safe_symbol_file_add): Ensure that gdb_stderr is flushed before
  3012. reassigning it.
  3013. (handle_load_dll): Split into two functions so that WFI can handle
  3014. shared library events.
  3015. (child_solib_loaded_library_pathname): New function.
  3016. (child_clear_solibs): New function. Clears shared library list.
  3017. (child_solib_add): New function. Adds shared library symbols.
  3018. (dll_symbol_command): New function. Handles "dll-symbol" command.
  3019. (info_dll_command): New function. Handles info
  3020. "sharedlibrary" command.
  3021. (handle_exceptions): Eliminate 'ignore_trap' argument.
  3022. (get_child_debug_event): Eliminate two arguments. Return "pid" when
  3023. appropriate. Break out on most events to allow WFI to handle stuff.
  3024. (child_wait): Accomodate get_child_debug_event changes.
  3025. (child_attach): Clear thread list and list of loaded dlls.
  3026. (child_create_inferior): Clear list of loaded dlls. Use
  3027. wait_for_inferior in a loop to look for first "trap".
  3028. (child_resume): Avoid accessing a possibly-freed thread pointer.
  3029. (_initialize_inftarg): Add "dll-symbols", "sharedlibrary", and "info
  3030. sharedlibrary" commands.
  3031. * config/i386/tm-cygwin.h: Add some shared library (aka DLL) hooks.
  3032. 2000-06-02 Christopher Faylor <cgf@cygnus.com>
  3033. * win32-nat.c: Fix up gcc warnings throughout.
  3034. (handle_load_dll): Change DLL name to lower case.
  3035. (handle_exception): Add a second argument indicating whether a
  3036. breakpoint should be ignored. Return a 0 if the breakpoint was
  3037. ignored.
  3038. (get_child_debug_event): Pass argument to handle_exception to control
  3039. whether a breakpoint should be ignored.
  3040. (child_create_inferior): Use modern cygwin API. Explicitly clear
  3041. last_sig. Pass FIRST_EXCEPTION to get_child_debug_event for detection
  3042. of first breakpoint.
  3043. 2000-06-02 Christopher Faylor <cgf@cygnus.com>
  3044. * configure.in: Detect correct versions of dlltool and windres when
  3045. cross-compiling.
  3046. * configure: Regenerate.
  3047. 2000-06-02 J.T. Conklin <jtc@redback.com>
  3048. * configure.tgt: Add pattern for i[3456]86-*-netbsdelf*.
  3049. * config/i386/nbsdelf.mt: New file.
  3050. * config/i386/tm-nbsdelf.h: New file.
  3051. * config/i386/tm-nbsd.h: change include of tm-nbsd.h to
  3052. the more explicit config/tm-nbsd.h.
  3053. 2000-06-02 Mark Kettenis <kettenis@gnu.org>
  3054. * alphabsd-nat.c (supply_fpregset): Substract FP0_REGNUM from
  3055. register number when used as index into fpr_regs array.
  3056. Tue May 30 13:31:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3057. * defs.h (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,
  3058. TARGET_LONG_DOUBLE_FORMAT): Delete.
  3059. * gdbarch.sh: Add support for parameterized expressions.
  3060. (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,
  3061. TARGET_LONG_DOUBLE_FORMAT): Add. Include "floatformat.h".
  3062. * gdbarch.h, gdbarch.c: Regenerate.
  3063. * arch-utils.c (default_single_format, default_double_format,
  3064. default_long_double_format): New functions. Include
  3065. "floatformat.h"
  3066. * arch-utils.h: Declare.
  3067. * d10v-tdep.c (d10v_gdbarch_init): Set floating point format.
  3068. Note that long double is 64 bit, the rest are 32 bit. Include
  3069. "floatformat.h".
  3070. 2000-06-02 Mark Kettenis <kettenis@gnu.org>
  3071. * config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define.
  3072. 2000-06-01 Michael Snyder <msnyder@cygnus.com>
  3073. * sol-thread.c (rw_common): Circumstances (eg. a bug in Sun's
  3074. thread_db library) may cause this function to be called with an
  3075. illegal address, in which case procfs_to_xfer_memory will
  3076. return zero. Return an error code instead of looping forever.
  3077. Thu Jun 1 20:05:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3078. * TODO: More suggestions added.
  3079. 2000-06-01 Klee Dienes <kdienes@apple.com>
  3080. * MAINTAINERS: Add Klee Dienes and Jim Ingham as maintainers for
  3081. Mac OS X and Objective C components (to be contributed).
  3082. 2000-05-31 J.T. Conklin <jtc@redback.com>
  3083. * configure.host: Add patterns for i[3456]86-*-netbsdaout*
  3084. and i[3456]86-*-netbsdelf*.
  3085. * config/i386/nm-nbsdelf.h: New file.
  3086. * config/i386/nbsdelf.mh: New file.
  3087. * config/i386/nm-nbsd.h: change include of nm-nbsd.h to
  3088. the more explicit config/nm-nbsd.h.
  3089. * config/i386/tm-nbsd.h: change include of tm-i386bsd.h to
  3090. tm-i386.h.
  3091. (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Define.
  3092. 2000-06-01 Mark Kettenis <kettenis@gnu.org>
  3093. * NEWS: Mention FreeBSD/Alpha and FreeBSD/i386 3.x and up as new
  3094. native configurations.
  3095. * i386bsd-nat.c: Include "gregset.h".
  3096. (CANNOT_STORE_REGISTER): Define to cannot_fetch_register instead
  3097. of CANNOT_FETCH_REGISTER, if not already defined.
  3098. (supply_gregset): Call supply_register with NULL as its second
  3099. argument instead of supplying our own zeroed out buffer.
  3100. (fill_gregset): Copy contents of correct registers instead of the
  3101. contents of register REGNO.
  3102. 2000-05-31 Kevin Buettner <kevinb@redhat.com>
  3103. * gnu-regex.c (re_match_2_internal): Revert 2000-05-27
  3104. patch which removed use of PARAMS from declaration. This
  3105. file should not have been touched as it is supposed to track
  3106. the version in glibc.
  3107. 2000-05-31 Mark Kettenis <kettenis@gnu.org>
  3108. Add support for FreeBSD/Alpha.
  3109. * configure.host, configure.tgt (alpha*-*-freebsd*): New entry.
  3110. * alphabsd-nat.c, config/alpha/fbsd.mh, config/alpha/fbsd.mt,
  3111. config/alpha/nm-fbsd.h, config/alpha/tm-fbsd.h,
  3112. config/alpha/xm-fbsd.h: New files.
  3113. 2000-05-31 Pierre Muller <muller@sourceware.cygnus.com>
  3114. * MAINTAINERS: Add myself to "Write After Approval" list.
  3115. Tue May 30 18:48:33 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3116. * TODO: Re-organize.
  3117. Tue May 30 11:22:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3118. * gdbarch.sh: Add field ``postdefault''. Rename fields
  3119. ``startup'' and ``default'' to ``staticdefault'' and
  3120. ``predefault''. Fix initialization of valid_p. Create/compare
  3121. gdbarch.log.
  3122. Mon May 29 22:47:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3123. * config/sparc/nm-sun4sol2.h (GDB_GREGSET_T, GDB_FPREGSET_T):
  3124. Define.
  3125. * config/sparc/xm-sun4sol2.h: (GDB_GREGSET_TYPE,
  3126. GDB_FPREGSET_TYPE): Delete.
  3127. Mon May 29 15:41:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3128. * symtab.h (make_cleanup_free_search_symbols): Add declaration.
  3129. * symtab.c (make_cleanup_free_search_symbols,
  3130. do_free_search_symbols_cleanup): New functions.
  3131. (search_symbols, symtab_symbol_info, rbreak_command): Update.
  3132. (search_symbols): Pass ``sr'', and not its address, to
  3133. make_cleanup_free_search_symbols.
  3134. 2000-05-28 Kevin Buettner <kevinb@redhat.com>
  3135. * config/nm-linux.h (GDB_GREGSET_T, GDB_FPREGSET_T): Fix typos.
  3136. 2000-05-27 Kevin Buettner <kevinb@redhat.com>
  3137. * abug-rom.c, alpha-nat.c, alpha-tdep.c, annotate.c,
  3138. annotate.h, arc-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
  3139. ax.h, breakpoint.c, breakpoint.h, c-exp.y, c-lang.c, c-lang.h,
  3140. call-cmds.h, ch-exp.c, ch-lang.c, ch-lang.h, cli-out.c,
  3141. coff-solib.h, coffread.c, command.c, command.h, complaints.c,
  3142. complaints.h, config/a29k/tm-a29k.h, config/a29k/tm-vx29k.h,
  3143. config/alpha/nm-linux.h, config/alpha/nm-osf.h,
  3144. config/alpha/nm-osf2.h, config/alpha/tm-alpha.h,
  3145. config/alpha/tm-alphalinux.h, config/arc/tm-arc.h,
  3146. config/arm/tm-embed.h, config/d30v/tm-d30v.h,
  3147. config/fr30/tm-fr30.h, config/h8300/tm-h8300.h,
  3148. config/h8500/tm-h8500.h, config/i386/nm-i386bsd.h,
  3149. config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
  3150. config/i386/nm-i386v.h, config/i386/nm-linux.h,
  3151. config/i386/nm-nbsd.h, config/i386/nm-ptx4.h,
  3152. config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
  3153. config/i386/tm-i386.h, config/i386/tm-i386nw.h,
  3154. config/i386/tm-i386sol2.h, config/i386/tm-i386v.h,
  3155. config/i386/tm-i386v4.h, config/i386/tm-nbsd.h,
  3156. config/i386/tm-ptx.h, config/i386/tm-sun386.h,
  3157. config/i960/tm-mon960.h, config/i960/tm-nindy960.h,
  3158. config/m32r/tm-m32r.h, config/m68k/nm-dpx2.h,
  3159. config/m68k/nm-linux.h, config/m68k/tm-cisco.h,
  3160. config/m68k/tm-delta68.h, config/m68k/tm-es1800.h,
  3161. config/m68k/tm-isi.h, config/m68k/tm-linux.h,
  3162. config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
  3163. config/m68k/tm-news.h, config/m68k/tm-sun3.h,
  3164. config/m68k/tm-vx68.h, config/m68k/xm-hp300bsd.h,
  3165. config/m88k/tm-m88k.h, config/mcore/tm-mcore.h,
  3166. config/mips/nm-irix3.h, config/mips/nm-irix4.h,
  3167. config/mips/nm-irix5.h, config/mips/nm-mips.h,
  3168. config/mips/tm-embed.h, config/mips/tm-mips.h,
  3169. config/mn10200/tm-mn10200.h, config/mn10300/tm-mn10300.h,
  3170. config/nm-linux.h, config/nm-lynx.h, config/ns32k/nm-nbsd.h,
  3171. config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
  3172. config/pa/nm-hppah.h, config/pa/tm-hppa.h,
  3173. config/pa/tm-hppa64.h, config/pa/xm-hppah.h,
  3174. config/powerpc/nm-linux.h, config/powerpc/tm-linux.h,
  3175. config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-solaris.h,
  3176. config/powerpc/xm-aix.h, config/rs6000/nm-rs6000.h,
  3177. config/rs6000/tm-rs6000.h, config/rs6000/xm-rs6000.h,
  3178. config/sh/tm-sh.h, config/sparc/nm-linux.h,
  3179. config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
  3180. config/sparc/tm-sp64.h, config/sparc/tm-sp64sim.h,
  3181. config/sparc/tm-sparc.h, config/sparc/tm-sparclet.h,
  3182. config/sparc/tm-spc-em.h, config/sparc/tm-sun4os4.h,
  3183. config/sparc/tm-sun4sol2.h, config/tic80/tm-tic80.h,
  3184. config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
  3185. config/w65/tm-w65.h, config/xm-aix4.h, config/z8k/tm-z8k.h,
  3186. copying.c, core-aout.c, core-regset.c, core-sol2.c,
  3187. corefile.c, corelow.c, cp-valprint.c, cpu32bug-rom.c,
  3188. d10v-tdep.c, d30v-tdep.c, dbug-rom.c, dbxread.c, dcache.c,
  3189. dcache.h, demangle.c, dink32-rom.c, dsrec.c, dstread.c,
  3190. dve3900-rom.c, dwarf2read.c, dwarfread.c, elfread.c,
  3191. environ.h, eval.c, exec.c, expprint.c, expression.h, f-exp.y,
  3192. f-lang.c, f-lang.h, f-valprint.c, findvar.c, fr30-tdep.c,
  3193. frame.h, gdb_string.h, gdbcmd.h, gdbcore.h,
  3194. gdbserver/server.h, gdbtypes.c, gdbtypes.h, gnu-regex.c,
  3195. h8300-tdep.c, hp-psymtab-read.c, hp-symtab-read.c,
  3196. hp300ux-nat.c, hppa-tdep.c, hppah-nat.c, hpread.c, hpread.h,
  3197. hpux-thread.c, i386-tdep.c, i386aix-nat.c, i386mach-nat.c,
  3198. i386v-nat.c, i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c,
  3199. inferior.h, inflow.c, infptrace.c, inftarg.c, irix4-nat.c,
  3200. irix5-nat.c, jv-exp.y, jv-lang.c, jv-lang.h, language.c,
  3201. language.h, lynx-nat.c, m2-exp.y, m2-lang.c, m2-lang.h,
  3202. m32r-rom.c, mac-nat.c, main.c, maint.c, mdebugread.c,
  3203. mi/mi-out.c, minsyms.c, mips-nat.c, mips-tdep.c, mipsread.c,
  3204. mn10300-tdep.c, mon960-rom.c, monitor.c, monitor.h, nlmread.c,
  3205. objfiles.c, objfiles.h, ocd.c, ocd.h, op50-rom.c, os9kread.c,
  3206. osfsolib.c, pa64solib.c, pa64solib.h, parse.c, parser-defs.h,
  3207. ppc-bdm.c, printcmd.c, procfs.c, remote-array.c, remote-bug.c,
  3208. remote-e7000.c, remote-es.c, remote-est.c, remote-hms.c,
  3209. remote-mips.c, remote-nindy.c, remote-nrom.c, remote-rdi.c,
  3210. remote-rdp.c, remote-sds.c, remote-sim.c, remote-udi.c,
  3211. remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
  3212. rom68k-rom.c, rs6000-nat.c, rs6000-tdep.c, scm-exp.c,
  3213. scm-lang.c, scm-lang.h, ser-e7kpc.c, ser-mac.c, sh3-rom.c,
  3214. sol-thread.c, solib.c, solib.h, somread.c, somsolib.c,
  3215. somsolib.h, source.c, sparc-nat.c, sparcl-tdep.c,
  3216. sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
  3217. sun3-nat.c, symfile.c, symfile.h, symmisc.c, symtab.c,
  3218. symtab.h, target.c, target.h, terminal.h, thread.c, top.c,
  3219. top.h, tracepoint.c, tracepoint.h, tui/tui-file.c, tui/tui.c,
  3220. tui/tui.h, tui/tuiCommand.h, tui/tuiData.c, tui/tuiData.h,
  3221. tui/tuiDataWin.h, tui/tuiDisassem.c, tui/tuiDisassem.h,
  3222. tui/tuiGeneralWin.c, tui/tuiGeneralWin.h, tui/tuiIO.c,
  3223. tui/tuiIO.h, tui/tuiLayout.c, tui/tuiLayout.h, tui/tuiRegs.c,
  3224. tui/tuiRegs.h, tui/tuiSource.c, tui/tuiSource.h,
  3225. tui/tuiSourceWin.h, tui/tuiStack.c, tui/tuiStack.h,
  3226. tui/tuiWin.c, tui/tuiWin.h, typeprint.c, ui-file.c, ui-out.h,
  3227. ultra3-nat.c, utils.c, v850-tdep.c, v850ice.c, valarith.c,
  3228. valops.c, valprint.c, value.h, values.c, varobj.c, w89k-rom.c,
  3229. win32-nat.c, wince.c, wrapper.c, wrapper.h, xcoffread.c,
  3230. xcoffsolib.c, xmodem.h, z8k-tdep.c: Remove PARAMS from function
  3231. declarations.
  3232. 2000-05-26 Michael Snyder <msnyder@cygnus.com>
  3233. * gregset.h: New file. Typedefs for gdb_gregset_t and
  3234. gdb_fpregset_t, prototypes for supply_gregset and friends.
  3235. * procfs.c: Include gregset.h. Delete local prototypes for
  3236. supply_gregset etc., and local typedef gdb_gregset_t etc.
  3237. * sol-thread.c: Include gregset.h, delete local prototypes,
  3238. add appropriate casts to gdb_gregset_t.
  3239. * uw-thread.c, lin-thread.c, core-sol2.c, core-regset.c,
  3240. sparc-tdep.c, ptx4-nat.c, ppc-linux-nat.c, mipsv4-nat.c,
  3241. m88k-nat.c, m68klinux-nat.c, m68k-tdep.c, irix5-nat.c,
  3242. irix4-nat.c, ia64-linux-nat.c, i386v4-nat.c, cxux-nat.c,
  3243. arm-linux-nat.c, alpha-nat.c: Include gregset.h.
  3244. * config/nm-linux.h: Define GDB_GREGSET_T, GDB_FPREGET_T.
  3245. * config/sparc/nm-sun4sol2.h: Ditto.
  3246. * config/sparc/xm-sun4sol2.h: (GDB_GREGSET_TYPE,
  3247. GDB_FPREGSET_TYPE): Delete (replaced by GDB_GREGSET_T etc.)
  3248. Thu May 25 16:56:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3249. * configure.in (AC_CHECK_HEADERS): Check for ncurses.h.
  3250. * config.in, configure: Re-generate.
  3251. 2000-05-25 Scott Bambrough <scottb@netwinder.org>
  3252. * arm-linux-tdep.c (find_minsym_and_objfile): New.
  3253. (skip_hurd_resolver): New.
  3254. (arm_linux_skip_solib_resolver): New.
  3255. (arm_skip_solib_resolver): Removed.
  3256. * config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Changed to use
  3257. arm_linux_skip_solib_resolver.
  3258. 2000-05-25 Mark Kettenis <kettenis@gnu.org>
  3259. * acconfig.h (HAVE_R_FS, HAVE_R_GS): Add.
  3260. * configure.in: Add checks for r_fs and r_gs members of
  3261. `struct reg'.
  3262. * config.in, configure: Regenerated.
  3263. 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
  3264. * ser-go32.c: Remove PARAMS.
  3265. Thu May 25 15:22:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3266. * configure.in (AC_CHECK_HEADERS): Check for <dirent.h>,
  3267. <sys/ndir.h>, <sys/dir.h> and <ndir.h>.
  3268. * config.in, configure: Re-generate.
  3269. * gdb_dirent.h: New file
  3270. * infptrace.c: Include "gdb_dirent.h" instead of <sys/dir.h>.
  3271. * core-aout.c: Ditto.
  3272. * procfs.c: Include "gdb_dirent.h" instead of <dirent.h>.
  3273. Thu May 25 14:43:30 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3274. * config.in: Regenerate.
  3275. Thu May 25 13:49:17 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3276. From Fri 19 May 2000 Eli Zaretskii <eliz@is.elta.co.il>: *
  3277. config/djgpp/fnchange.lst: Fix bfd/coff-tic54x.c, bfd/coff-tc54x.c
  3278. and gdb/testsuite/gdb.mi/mi-var-cmd.exp.
  3279. Thu May 25 11:09:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3280. * configure.in (AC_OUTPUT): Do not generate tui/Makefile.
  3281. (enable-tui): Convert Makefile configury to use the same mechanism
  3282. as MI.
  3283. * Makefile.in (BUILD_TUI, TUI_LIBRARY, TUI_DIR, TUI_SRC,
  3284. TUI_CFLAGS): Delete
  3285. (all-tui): Delete target.
  3286. (tuiWin.o, tuiStack.o, tuiSourceWin.o, tuiSource.o, tuiRegs.o,
  3287. tuiLayout.o, tuiIO.o, tuiGeneralWin.o, tuiDisassem.o,
  3288. tuiDataWin.o, tuiData.o, tuiCommand.o, tui.o): New targets.
  3289. (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS, SUBDIR_TUI_DEPS,
  3290. SUBDIR_TUI_INITS, SUBDIR_TUI_LDFLAGS, SUBDIR_TUI_CFLAGS,
  3291. SUBDIR_TUI_ALL, SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL,
  3292. SUBDIR_TUI_UNINSTALL): Define.
  3293. * TODO: Update.
  3294. Thu May 25 11:02:24 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3295. * TODO: Update. Mark Kettenis fixed FreeBSD >2.2 support.
  3296. * MAINTAINERS: Update Jim Ingham's address.
  3297. 2000-05-25 Mark Kettenis <kettenis@gnu.org>
  3298. Add support for FreeBSD/i386 ELF.
  3299. * i386bsd-nat.c: New file.
  3300. * config/i386/tm-fbsd.h (HAVE_I387_REGS): Define.
  3301. Include "i386/tm-i386.h" instead of "i386/tm-i386b.h".
  3302. (NUM_REGS): Remove redefinition.
  3303. (USE_STRUCT_CONVENTION): Define.
  3304. (i386_float_info): Remove prototype.
  3305. (FLOAT_INFO): Remove define.
  3306. (JB_ELEMENT_SIZE): Define to 4.
  3307. (JB_PC): Define to 0.
  3308. (GET_LONGJMP_TARGET): Define.
  3309. (SIGTRAMP_START, SIGTRAMP_END): Define.
  3310. (SIGCONTEXT_PC_OFFSET): Define.
  3311. (IN_SOLIB_CALL_TRAMPOLINE): Only define if !SVR4_SHARED_LIBS
  3312. * config/i386/nm-fbsd.h (PTRACE_ARG3_TYPE): Define to caddr_t.
  3313. (FETCH_INFERIOR_REGISTERS): Define.
  3314. (ATTACH_DETACH): Define.
  3315. (kernel_u_size): Remove PARAMS.
  3316. (register_u_addr): Use CORE_ADDR in prototype where appropriate.
  3317. Remove PARAMS.
  3318. (SVR4_SHARED_LIBS) [FREEBSD_ELF || __ELF__ && !FREEBSD_AOUT]:
  3319. Define.
  3320. [SVR4_SHARED_LIBS]: Include "elf/common.h".
  3321. Only define aliases for struct members from <link.h> if
  3322. !SVR4_SHARED_LIBS.
  3323. * config/i386/xm-fbsd.h: New file.
  3324. * config/i386/fbsd.mt (TDEPFILES): Remove solib.o.
  3325. * config/i386/fbsd.mh (NATDEPFILES): Remove i386b-nat.o. Add
  3326. core-regset.o i387-nat.o i386bsd-nat.o.
  3327. 2000-05-24 Michael Snyder <msnyder@cygnus.com>
  3328. * findvar.c (value_from_register): Factor code, simplify logic.
  3329. 2000-05-23 J.T. Conklin <jtc@redback.com>
  3330. * config/i386/nbsd.mt (TDEPFILES): Move solib.o from here...
  3331. * config/i386/nbsd.mh (NATDEPFILES): ...to here.
  3332. * config/m68k/nbsd.mt (TDEPFILES): Move solib.o from here...
  3333. * config/m68k/nbsd.mh (NATDEPFILES): ...to here.
  3334. * config/ns32k/nbsd.mt (TDEPFILES): Move solib.o from here...
  3335. * config/ns32k/nbsd.mh (NATDEPFILES): ...to here.
  3336. * config/powerpc/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o.
  3337. * configure.tgt (powerpc-*-netbsd*): add gdbserver to configdirs.
  3338. * gdbserver/low-nbsd.c (initialize_arch): Define for PPC.
  3339. (fetch_inferior_registers): Likewise.
  3340. (store_inferior_registers): Likewise.
  3341. * gdbserver/low-nbsd.c (fetch_inferior_registers): Handle X86
  3342. floating point registers.
  3343. (store_inferior_registers): Likewise.
  3344. 2000-05-24 Mark Kettenis <kettenis@gnu.org>
  3345. * i387-nat.h, i387-nat.c: New files.
  3346. Tue May 23 17:21:24 2000 Alexandre Oliva <aoliva@cygnus.com>
  3347. * config/sparc/nm-linux.h: Include config/nm-linux.h.
  3348. * config/powerpc/nm-linux.h: Likewise.
  3349. Tue May 23 13:20:00 1999 Gregory Lielens <info@fft.be>
  3350. * f-valprint.c : Corrected f_val_print function for TYPE_CODE
  3351. (type) = TYPE_CODE_COMPLEX
  3352. Wed May 24 00:38:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3353. * utils.c (make_cleanup_close, do_close_cleanup): New functions.
  3354. * defs.h (make_cleanup_close): Add declaration.
  3355. Tue May 23 20:47:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3356. * configure.in (build_warnings): Add -Wuninitialized.
  3357. * configure: Regenerate.
  3358. Tue May 23 17:44:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3359. From Mon May 8 14:49:51 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3360. (gdb 5.0): From Michael Paddon <mmpp@esec.com.au>:
  3361. * configure.in (AC_CHECK_HEADERS): Check for <sys/user.h>.
  3362. * configure: Re-generate.
  3363. * proc-api.c: Only include <sys/user.h> when available.
  3364. (ioctl_table): Check that PIOCGETPR and PIOCGETU are defined.
  3365. * TODO: Update.
  3366. 2000-05-17 Michael Snyder <msnyder@cygnus.com>
  3367. * config/sparc/tm-sun4sol2.h: Turn on multi-arch.
  3368. * sparc-tdep.c (gdb_print_insn_sparc): Remove temp. multi-arch hack.
  3369. 2000-05-17 Andrew Cagney <cagney@sourceware.cygnus.com>
  3370. * GDB 5.0 released.
  3371. * Makefile.in (VERSION): Set to 5.0.
  3372. Mon May 22 16:20:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3373. * inferior.h (make_cleanup_restore_inferior_status):
  3374. * infrun.c (make_cleanup_restore_inferior_status,
  3375. do_restore_inferior_status_cleanup): New functions.
  3376. * valops.c (hand_function_call): Use.
  3377. * infcmd.c (disable_longjmp_breakpoint_cleanup): New function.
  3378. (step_1): Use.
  3379. * symfile.c (clear_symtab_users_cleanup): New function.
  3380. (syms_from_objfile, reread_symbols): Use.
  3381. * objfiles.c (make_cleanup_free_objfile, do_free_objfile_cleanup):
  3382. New functions.
  3383. * objfiles.h (make_cleanup_free_objfile): Add declaration.
  3384. * symfile.c (syms_from_objfile, reread_symbols), hpread.c
  3385. (hpread_build_psymtabs), hp-psymtab-read.c
  3386. (hpread_build_psymtabs): Use.
  3387. * dwarf2read.c (make_cleanup_free_die_list,
  3388. do_free_die_list_cleanup): New functions.
  3389. (psymtab_to_symtab_1): Use.
  3390. * tracepoint.c (make_cleanup_free_actions,
  3391. do_free_actions_cleanup): New functions.
  3392. (read_actions): Use.
  3393. * corelow.c (core_close_cleanup): New function.
  3394. (core_open): Use.
  3395. * dbxread.c (make_cleanup_free_bincl_list,
  3396. do_free_bincl_list_cleanup): New function.
  3397. (read_dbx_symtab): Use.
  3398. * coffread.c (free_linetab_cleanup, free_stringtab_cleanup): New
  3399. functions.
  3400. (coff_symfile_read): Use.
  3401. * varobj.c (make_cleanup_free_variable, do_free_variable_cleanup):
  3402. New function.
  3403. (varobj_create): Use.
  3404. * sparcl-tdep.c (close_tty), infrun.c (resume_cleanups), parse.c
  3405. (free_funcalls): Change signature to match make_cleanup_ftype.
  3406. * infrun.c (resume), tracepoint.c (encode_actions), remote-udi.c
  3407. (download), solib.c (open_symbol_file_object), sparcl-tdep.c
  3408. (sparclite_open), parse.c (parse_exp_1): Remove cast using
  3409. make_cleanup_func.
  3410. Mon May 22 15:49:13 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3411. * procfs.c (info_proc_cmd): Use make_cleanup_freeargv.
  3412. (proc_iterate_over_mappings): Use make_cleanup_close.
  3413. (proc_get_LDT_entry): Ditto.
  3414. (do_closedir_cleanup): New function.
  3415. (proc_update_threads): Use.
  3416. (do_destroy_procinfo_cleanup): New function.
  3417. (info_proc_cmd): Use.
  3418. Mon May 22 15:21:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3419. * top.h (command_loop_marker): Change signature to match
  3420. make_cleanup_ftype.
  3421. * top.c (command_loop_marker): Update.
  3422. (command_loop, simplified_command_loop), event-top.c
  3423. (command_handler): Remove cast using make_cleanup_func.
  3424. * event-top.c (command_handler): Ditto.
  3425. * top.c (do_chdir_cleanup): New function.
  3426. (gdb_init): Use. Use xstrdup instead of strsave.
  3427. * top.c (do_fclose_cleanup): New function.
  3428. (source_command): Use.
  3429. * top.c (do_restore_instream_cleanup): Rename
  3430. source_cleanup. Change signature to match make_cleanup.
  3431. (read_command_filem execute_user_command): Update. Remove cast
  3432. using make_cleanup_func.
  3433. * top.c (do_free_command_lines_cleanup,
  3434. make_cleanup_free_command_lines): New funtions.
  3435. (get_command_line, read_command_lines): Use.
  3436. * top.c (arg_cleanup): Change signature to match make_cleanup.
  3437. (setup_user_args): Remove cast using make_cleanup_func.
  3438. Mon May 22 12:05:13 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3439. * defs.h (t_reg): Delete typedef.
  3440. (preg, preg_nz): Delete function. Replaced by phex and phex_nz.
  3441. * utils.c (phex, phex_nz): New functions.
  3442. (paddr, paddr_nz): Use.
  3443. * monitor.c (monitor_store_register): Replace preg with phex.
  3444. Mon May 22 11:46:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3445. * TODO: Add note on typecast using catch_errors_ftype.
  3446. 2000-05-21 Mark Kettenis <kettenis@gnu.org>
  3447. * i387-tdep.c (print_i387_value): Cast &value to (char *) in
  3448. pointer arithmetic. Fixes a bug which manifested itself on
  3449. FreeBSD.
  3450. 2000-05-20 J.T. Conklin <jtc@redback.com>
  3451. * target.h (target_memory_bfd_section): Removed declaration.
  3452. * target.c (target_memory_bfd_section): Removed.
  3453. * exec.c (xfer_memory): Removed #if'ed-out code which referenced
  3454. target_memory_bfd_section.
  3455. * target.h (target_read_memory_section): Removed declaration.
  3456. * target.c (target_read_memory_section): Removed.
  3457. (target_xfer_memory): Update, removed bfd_section argument.
  3458. (target_read_string, target_read_memory, target_write_memory):
  3459. Update for above change.
  3460. * gdbcore.h (read_memory_section): Removed declaration.
  3461. * corefile.c (read_memory_section): Removed.
  3462. * jv-lang.c (get_java_utf8_name): Changed calls to
  3463. read_memory_section to read_memory.
  3464. * printcmd.c (printf_command): Likewise.
  3465. * valops.c (value_at, value_fetch_lazy): Likewise.
  3466. 2000-05-18 J.T. Conklin <jtc@redback.com>
  3467. * configure.host, configure.tgt (powerpc-*-netbsd*): New entry.
  3468. * config/powerpc/nbsd.mh, config/powerpc/nbsd.mt,
  3469. config/powerpc/tm-nbsd.h, config/powerpc/nm-nbsd.h,
  3470. config/powerpc/xm-nbsd.h: New files.
  3471. 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
  3472. * config/djgpp/README: Fine-tune installation instructions
  3473. based on user reports.
  3474. Wed May 17 18:27:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3475. * configure.in (build_warnings): List possible warnings.
  3476. * configure: Regenerate.
  3477. * TODO: More updates.
  3478. * MAINTAINERS: Add Gary Thomas and Joern Renneck to Write After
  3479. Approval.
  3480. Wed May 17 16:48:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3481. From 2000-04-14 Gary Thomas <gthomas@redhat.com>:
  3482. * config/v850/tm-v850.h: Change breakpoint sequence to be
  3483. 'br *' since there is no 16bit "illegal" instruction on this
  3484. processor.
  3485. Tue May 16 18:57:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3486. * TODO: Review. Delete anything that is no longer applicable.
  3487. Tue May 16 14:17:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3488. * utils.c (free_current_contents): Make more robust.
  3489. Tue May 16 13:30:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3490. * symtab.h (make_cleanup_discard_minimal_symbols): Replace
  3491. discard_minimal_symbols.
  3492. * minsyms.c (make_cleanup_discard_minimal_symbols):
  3493. (do_discard_minimal_symbols_cleanup): New functions.
  3494. * xcoffread.c (xcoff_initial_scan), somread.c (som_symfile_read),
  3495. solib.c (solib_add_common_symbols), os9kread.c
  3496. (os9k_symfile_read), nlmread.c (nlm_symfile_read), mipsread.c
  3497. (mipscoff_symfile_read), elfread.c (elf_symfile_read), dstread.c
  3498. (dst_symfile_read), dbxread.c (dbx_symfile_read), coffread.c
  3499. (coff_symfile_read): Replace make_cleanup.
  3500. Mon May 15 09:32:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3501. * command.h (add_set_cmd): Change VAR parameter to void pointer.
  3502. (add_set_enum_cmd): Change VAR parameter to char pointer pointer.
  3503. (struct command): Change member VAR to void pointer.
  3504. * command.c (add_set_cmd, add_set_enum_cmd): Update.
  3505. * remote.c (add_packet_config_cmd), mips-tdep.c
  3506. (_initialize_mips_tdep), infrun.c (_initialize_infrun),
  3507. i386-tdep.c (_initialize_i386_tdep), arm-tdep.c
  3508. (_initialize_arm_tdep): Update VAR parameter to add_set_enum_cmd.
  3509. Tue May 16 12:46:04 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3510. * wrapper.h (wrap_value_subscript): Delete declaration.
  3511. Tue May 16 10:54:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3512. * defs.h (make_cleanup_bfd_close): Add declaration.
  3513. * utils.c (do_bfd_close_cleanup, make_cleanup_bfd_close): New
  3514. functions.
  3515. * symfile.c (generic_load), sparcl-tdep.c (download), remote-udi.c
  3516. (download), remote-e7000.c (e7000_load), corelow.c (core_open,
  3517. core_file_to_sym_file): Replace calls to make_cleanup.
  3518. Mon May 15 16:50:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3519. * TODO: Add notes on register cache.
  3520. Mon May 15 21:27:27 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
  3521. * sh-tdep.c (sh_dsp_reg_names, sh3_dsp_reg_names): New arrays.
  3522. (sh_processor_type_table): Add entries for bfd_mach_sh_dsp and
  3523. bfd_mach_sh3_dsp.
  3524. (sh_show_regs): Floating point registers are called fr0-fr15.
  3525. For sh4, display fpul, fpscr and fr0-fr15 / dr0-dr14 as appropriate.
  3526. Handle sh-dsp and sh3-dsp.
  3527. config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): sh-dsp / sh3-dsp
  3528. don't have floating point registers.
  3529. (DSR_REGNUM, A0G_REGNUM, A0_REGNUM, A1G_REGNUM, A1_REGNUM): Define.
  3530. (M0_REGNUM, M1_REGNUM, X0_REGNUM, X1_REGNUM, Y0_REGNUM): Likewise.
  3531. (Y1_REGNUM, MOD_REGNUM, RS_REGNUM, RE_REGNUM, R0B_REGNUM): Likewise.
  3532. 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
  3533. * Makefile.in (gdbtypes.o, varobj.o): Depend on wrapper.h.
  3534. * wrapper.h (gdb_value_subscript, wrap_value_subscript): Add
  3535. prototypes.
  3536. Mon May 15 15:31:30 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3537. * valops.c (hand_function_call): Replace #ifdef
  3538. SAVE_DUMMY_FRAME_TOS with if SAVE_DUMMY_FRAME_TOS_P.
  3539. * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Add.
  3540. * gdbarch.h, gdbarch.c: Regenerate.
  3541. Mon May 15 16:05:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3542. * ax.h (make_cleanup_free_agent_expr): Add declaration.
  3543. * ax-general.c (do_free_agent_expr_cleanup):
  3544. (make_cleanup_free_agent_expr): New functions.
  3545. * tracepoint.c (validate_actionline, encode_actions), ax-gdb.c
  3546. (expr_to_agent, gen_trace_for_expr, agent_command): Replace calls
  3547. to make_cleanup.
  3548. Mon May 15 14:06:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3549. * breakpoint.h (make_cleanup_delete_breakpoint,
  3550. make_exec_cleanup_delete_breakpoint): Declare.
  3551. * breakpoint.c (make_cleanup_delete_breakpoint,
  3552. make_exec_cleanup_delete_breakpoint,
  3553. do_delete_breakpoint_cleanup): New fuctions.
  3554. * infcmd.c (finish_command), hppa-tdep.c (hppa_pop_frame),
  3555. breakpoint.c (until_break_command, until_break_command): Replace
  3556. call to make_cleanup / make_exec_cleanup.
  3557. Mon May 15 13:25:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3558. * defs.h (core_addr_greaterthan, core_addr_lessthan), utils.c
  3559. (core_addr_greaterthan, core_addr_lessthan): Move from here.
  3560. * arch-utils.h (core_addr_greaterthan, core_addr_lessthan),
  3561. arch-utils.c (core_addr_greaterthan, core_addr_lessthan): To here.
  3562. Mon May 15 12:07:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3563. * printcmd.c (print_frame_args), stack.c (print_frame), command.c
  3564. (do_setshow_command), breakpoint.c (print_it_typical, mention):
  3565. Use make_cleanup_ui_out_stream_delete.
  3566. Mon May 15 11:23:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3567. * proc-events.c (init_syscall_table): Delete stray ``;''.
  3568. * ui-out.c (ui_out_set_flags, ui_out_clear_flags): Return old
  3569. value.
  3570. * mdebugread.c (START_PSYMTAB): Add paren to avoid x=x=x.
  3571. 2000-05-12 Michael Snyder <msnyder@cygnus.com>
  3572. * config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Define.
  3573. 2000-05-12 Kevin Buettner <kevinb@redhat.com>
  3574. * dwarf2read.c (dwarf2_const_value_data): Fix typo in sign
  3575. extension code.
  3576. Fri May 12 20:38:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3577. * TODO: Mention weak symbol problem. Mention UnixWare thread
  3578. problem.
  3579. Fri May 12 14:12:17 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3580. * README: Update section on kernel debugging.
  3581. Fri May 12 19:13:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3582. * mips-tdep.c (mips_get_saved_register): New function. Handle
  3583. case of 32 ABI saving 32 bit registers on stack when target has 64
  3584. bit ISA.
  3585. (mips_gdbarch_init): Update.
  3586. Fri May 12 14:46:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3587. * mips-tdep.c (MIPS_EABI): Fix typo. Test for MIPS_ABI_EABI64.
  3588. Thu May 11 21:52:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3589. * configure.in (WERROR_CFLAGS): Check that GCC accepts a -W
  3590. options before using them. Report result.
  3591. * configure: Regenerate.
  3592. 2000-05-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  3593. * coffread.c (coff_symtab_read): In the case of C_THUMBEXT |
  3594. C_THUMBEXTFUNC | C_EXT, sec will never ever be the index for
  3595. .rodata, because cs_to_section doesn't deal with .rodata. Fix test
  3596. accordingly.
  3597. Thu May 11 21:33:59 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3598. * gdbarch.sh (gdbarch_dump): Print the value of GDB_MULTI_ARCH.
  3599. Always check that a macro is defined before printing it.
  3600. * gdbarch.c: Re-generate.
  3601. Thu May 11 17:22:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3602. * README: Update for GDB 5.0.
  3603. Thu May 11 13:24:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3604. * mips-tdep.c (MIPS_DEFAULT_STACK_ARGSIZE): Fix typo.
  3605. * config/mips/tm-irix5.h (GDB_MULTI_ARCH): Add
  3606. definition. Disable. Document known problems.
  3607. (MIPS_DEFAULT_ABI): Define.
  3608. * mips-tdep.c (enum mips_abi): Define.
  3609. (struct gdbarch_tdep): Replace mips_eabi with mips_abi.
  3610. (MIPS_EABI): Update.
  3611. (mips_gdbarch_init): Add preliminary support for IRIX N32 ABI.
  3612. Determine ABI from either ELF_FLAGS or MIPS_DEFAULT_ABI. When
  3613. looking for a matching architecture require a matching MIPS_ABI.
  3614. (mips_gdbarch_init): Cleanup arch_debug information.
  3615. 2000-05-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  3616. * solib.c (symbol_add_stub): Remember the index and the name of
  3617. the section with the lowest address. Use this data (instead of
  3618. data from .text) to pass info into symbol_file_add.
  3619. * elfread.c (record_minimal_symbol_and_info): Use the section
  3620. where the symbol lives to get the index, instead of guessing.
  3621. 2000-05-10 Michael Snyder <msnyder@cygnus.com>
  3622. Make Sparc a Multi-Arch target. Discard PARAMS macro (require ANSI).
  3623. * sparc-tdep.c: include arch-utils.h.
  3624. (SPARC_HAS_FPU, FP_REGISTER_BYTES, FP_MAX_REG NUM, SPARC_INTREG_SIZE,
  3625. DUMMY_REG_SAVE_OFFSET): provide multi-arch-compatible definitions.
  3626. (GDB_TARGET_IS_SPARC64): make into a runtime test.
  3627. (struct frame_extra_info): Define, use instead of the macro.
  3628. (Many places): Use alloca instead of statically allocated buffers
  3629. that depend on a multi-arch variable such as MAX_REGISTER_RAW_SIZE.
  3630. (sparc_extract_struct_value_address): Accept a pointer arg instead
  3631. of an array sized by REGISTER_BYTES.
  3632. (examine_prologue): Accept a pointer to an array of CORE_ADDR,
  3633. instead of the defunct struct frame_saved_regs. Recognize new
  3634. Sparc64 store instructions as part of the prologue. Ignore the
  3635. destination of a frame store when parsing the prologue (so long
  3636. as it's on the stack).
  3637. (sparc_push_dummy_frame): Fix incorrect buffer offset for PSTATE.
  3638. (sparc_frame_find_saved_regs): Accept a ptr to an array of CORE_ADDR
  3639. instead of the defunct struct frame_saved_regs.
  3640. (supply_gregset): Discard unnecessary 'zerobuf': just send NULL to
  3641. supply_register. Provide 4-byte offset to compensate for diff
  3642. between size of the prgreg_t elements on a 64-bit host and size
  3643. of the registers for a 32-bit target. Fill all inaccessible regs
  3644. with zero so they won't keep being requested again and again.
  3645. (fill_gregset): Handle 32/64 size difference between registers
  3646. and prgreg_t. Handle as many new 64-bit regs as possible.
  3647. (supply_fpregset, fill_fpregset): Attempt to handle 64-bit world.
  3648. (sparc_push_arguments): Rename to sparc32_push_arguments.
  3649. Copy arguments into registers as well as onto stack, so that the
  3650. CALL_DUMMY (code pushed onto the target stack) is not required.
  3651. (sparc_extract_return_value): Rename to sparc32_extract_return_value.
  3652. (sparc_store_return_value): Use memset instead of bzero.
  3653. Use write_register_gen instead of write_register_bytes.
  3654. (sparclet_store_return_value): New function.
  3655. (_initialize_sparc_tdep): Call register_gdbarch_init to activate
  3656. the gdbarch multi-architecture system.
  3657. (sp64_push_arguments): Rename to sparc64_push_arguments.
  3658. Extend to store arguments in general registers as well as on stack.
  3659. (sparc64_extract_return_value): Rename to sp64_extract_return_value.
  3660. Use as a private function, to be called by the new external function
  3661. sparc64_extract_return_value.
  3662. (sparclet_extract_return_value): New function.
  3663. (sparc32_stack_align, sparc64_stack_align, sparc32_register_name,
  3664. sparc64_register_name, sparc_print_extra_frame_info,
  3665. sparclite_register_name, sparclet_register_name,
  3666. sparc_push_return_address, sparc64_use_struct_convention,
  3667. sparc32_store_struct_return, sparc64_store_struct_return,
  3668. sparc32_register_virtual_type, sparc64_register_virtual_type,
  3669. sparc32_register_size, sparc64_register_size,
  3670. sparc32_register_byte, sparc64_register_byte,
  3671. sparc_gdbarch_skip_prologue, sparc_convert_to_virtual,
  3672. sparc_convert_to_raw, sparc_frame_init_saved_regs,
  3673. sparc_frame_address, sparc_gdbarch_fix_call_dummy,
  3674. sparc_coerce_float_to_double, sparc_call_dummy_address,
  3675. sparc_y_regnum, sparc_reg_struct_has_addr, sparc_intreg_size,
  3676. sparc_return_value_on_stack): New functions supporting multi-arch.
  3677. (sparc_gdbarch_init): New function; initialize multi-arch.
  3678. (struct gdbarch_tdep): Define, use for private multi-arch data.
  3679. * config/sparc/tm-sparc.h: Move definitions around, enclose with
  3680. #ifdef GDB_MULTI_ARCH tests, provide some multi-arch alternate
  3681. definitions. Add enums for register names, to help debugging gdb.
  3682. This header file must work for non-multi-arch and for multi-arch.
  3683. * config/sparc/tm-sp64.h: Add GDB_MULTI_ARCH configuration. Also add
  3684. AT_ENTRY_POINT definitions for CALL_DUMMY, for non-multi-arch case.
  3685. Define GDB_MULTI_ARCH.
  3686. * config/sparc/tm-sparclet.h: Add GDB_MULTI_ARCH configuration.
  3687. Do not define GDB_MULTI_ARCH (bfd does not correctly identify target).
  3688. * config/sparc/tm-sparclite.h: Ditto.
  3689. * config/sparc/tm-sun4sol2.h: Define GDB_MULTI_ARCH.
  3690. * sparclet-rom.c (sparclet_regnames): Initialize explicitly, to
  3691. avoid using deprecated REGISTER_NAMES macro.
  3692. * Makefile.in: Let sparc-tdep.c depend on arch-utils.h.
  3693. 2000-05-08 Michael Snyder <msnyder@cygnus.com>
  3694. * gdbarch.sh: Add FP0_REGNUM to list of multi-arched register numbers.
  3695. * gdbarch.c, gdbarch.h: Regenerate.
  3696. * core-regset.c: Change FP0_REGNUM to a runtime test.
  3697. * procfs.c: Ditto.
  3698. * sun3-nat.c: Ditto.
  3699. * sparc-tdep.c: Ditto.
  3700. * i386mach-nat.c: Remove unnecessary ifdef for FP0_REGNUM.
  3701. * ptx4-nat.c: Ditto.
  3702. * sol-thread.c (sol_thread_create_inferior): only add the thread
  3703. to the thread list if it is not already in there.
  3704. (prototypes for thread_db func ptrs): pretty up formatting.
  3705. 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
  3706. * config/djgpp/djconfig.sh: Use more warning switches.
  3707. * config/djgpp/fnchange.lst: Replace the leading gdb-0222 with the
  3708. @V@ placebo. djunpack.bat changed accordingly.
  3709. Mon May 8 11:19:47 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3710. * mips-tdep.c (size_auto, size_32, size_64, size_enums): Rename
  3711. saved_gpreg_size_auto, saved_gpreg_size_32, saved_gpreg_size_64
  3712. and saved_gpreg_size_enums.
  3713. (mips_stack_argsize): Update. Cleanup.
  3714. * mips-tdep.c (STACK_ARGSIZE): Delete macro. Replaced by
  3715. MIPS_STACK_ARGSIZE.
  3716. (MIPS_NABI32): Delete macro. Replaced by
  3717. MIPS_REGS_HAVE_STACK_HOME_P.
  3718. (mips_push_arguments): Update.
  3719. (mips_push_arguments): Replace check for MIPS_EABI or MIPS_NABI32
  3720. with test for MIPS_REGS_HAVE_STACK_HOME_P.
  3721. (MIPS_REGS_HAVE_STACK_HOME_P): Define. Provide non- multi-arch
  3722. default.
  3723. (struct gdbarch_tdep): Add mips_regs_have_stack_home_p and
  3724. mips_default_stack_argsize.
  3725. (MIPS_STACK_ARGSIZE): Define as mips_stack_argsize.
  3726. (mips_stack_argsize_string): New static variable.
  3727. (mips_stack_argsize): New function, handle default case.
  3728. (__initialize_mips_tdep): Add command ``set mips stack-arg-size''
  3729. implemented as an enum using size_auto et.al.
  3730. (mips_gdbarch_init): Initialize mips_default_stack_argsize and
  3731. mips_regs_have_stack_home_p.
  3732. * config/mips/tm-irix5.h (MIPS_DEFAULT_SAVED_REGSIZE): Define as 8
  3733. for n32.
  3734. (MIPS_REGS_HAVE_STACK_HOME_P): Define as 0 for n32.
  3735. Mon May 8 00:49:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3736. * procfs.c (PROCFS_TRACE): Delete definition.
  3737. * proc-utils.h (PROCFS_NOTE, PROC_PRETTYFPRINT_STATUS): Always
  3738. define.
  3739. 2000-05-05 Michael Snyder <msnyder@cygnus.com>
  3740. * procfs.c: Cleanup of procfs tracing. Move defines and
  3741. prototypes to proc-utils.h
  3742. * proc-utils.h: Define tracing macros. Declare trace functions.
  3743. * proc-api.c: Make procfs tracing a runtime option.
  3744. (prepare_to_trace): New function, abstracted out of several
  3745. places. Open a trace file if one is required.
  3746. (ioctl_with_trace, write_with_trace, open_with_trace,
  3747. close_with_trace, wait_with_trace, lseek_with_trace):
  3748. Report errno if an error occurs in a system call.
  3749. (write_with_trace): Make 2nd arg void *, to agree with write.
  3750. 2000-05-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  3751. * elfread.c (elf_symtab_read): The calculation of 'offset'
  3752. must be done for each symbol, not just once. The index
  3753. used must be the index of the section where 'sym' resides,
  3754. not .text.
  3755. 2000-05-05 Michael Snyder <msnyder@cygnus.com>
  3756. * procfs.c (many functions): change int cmd; to long cmd;
  3757. Solaris /proc API calls this parameter a long, and requires it
  3758. for 64-bit hosts (where sizeof(long) != sizeof(int)). UnixWare
  3759. calls it an int, but on existing UnixWare hosts, int and long
  3760. are the same size. So long it must be. If a future UnixWare
  3761. version has problems with this, we'll have to use autoconf.
  3762. * proc-api.c (write_with_trace): use long instead of int.
  3763. 2000-05-04 Mark Kettenis <kettenis@gnu.org>
  3764. * i386-linux-nat.c: Define PT_READ_U and PT_WRITE_U if they're not
  3765. already defined.
  3766. 2000-05-01 Mark Kettenis <kettenis@gnu.org>
  3767. * infrun.c (handle_inferior_event): Add missing call to keep_going
  3768. and missing return when handling an ordinary signal from the
  3769. inferior.
  3770. 2000-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  3771. * objfiles.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
  3772. SECT_OFF_RODATA): Define as functions of OBJFILE. Add
  3773. sect_index_text, sect_index_data, sect_index_rodata,
  3774. sect_index_bss to objfile structure.
  3775. * gdb-stabs.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
  3776. SECT_OFF_RODATA): Remove.
  3777. * objfiles.c (allocate_objfile): Initialize
  3778. sect_index_{text,data,bss,rodata} to -1, for error detection.
  3779. * symfile.c (default_symfile_offsets): Initialize
  3780. sect_index_{text,data,bss,rodata} from bfd information.
  3781. * xcoffread.c (xcoff_symfile_offsets): Ditto.
  3782. * somread.c (som_symfile_offsets): Initialize
  3783. sect_index_{text,data,bss,rodata}.
  3784. * coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c,
  3785. hp-symtab-read.c, hpread.c, mdebugread.c, minsyms.c,
  3786. mipsread.c, objfiles.c, os9kread.c, pa64solib.c, partial-stab.h,
  3787. remote-os9k.c, remote-vx.c, remote.c, rs6000-nat.c, somsolib.c,
  3788. stabsread.c, symfile.c, xcoffread.c:
  3789. Update use of SECT_OFF_{TEXT,DATA,BSS,RODATA} to depend on the
  3790. current objfile.
  3791. * xcoffread.c: Add new field objfile to find_targ_sec_arg.
  3792. Thu May 4 20:54:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3793. * config/mips/tm-mipsv4.h (Dest_Reg), config/mips/tm-irix5.h
  3794. (MIPS_NUM_ARG_REGS, Dest_Reg), config/mips/tm-mips.h
  3795. (MIPS_NUM_ARG_REGS), config/mips/tm-mips.h (MIPS_NUM_FP_ARG_REGS):
  3796. Delete unused macros.
  3797. 2000-05-03 Michael Snyder <msnyder@cygnus.com>
  3798. * solib.c (elf_locate_base, info_sharedlibrary_command):
  3799. Look at the bfd to determine if it is elf32 or elf64, rather
  3800. than using an ifdef. This makes it runtime teststable and
  3801. multi-arch.
  3802. 2000-05-01 Mark Kettenis <kettenis@gnu.org>
  3803. * infrun.c (handle_inferior_event): When doing a "next", and
  3804. stepping out of a signal handler into its calling trampoline
  3805. ignore the value of step_frame_address.
  3806. (step_over_function): Only modify step_resume_breakpoint->frame if
  3807. the value of step_frame_address is non-zero.
  3808. 2000-05-03 Michael Snyder <msnyder@cygnus.com>
  3809. * monitor.c (monitor_fetch_register): MAX_REGISTER_RAW_SIZE
  3810. is not static in the MULTI_ARCH world, so don't use it in a
  3811. static array declaration.
  3812. 2000-05-03 Elena Zannoni <ezannoni@makita.cygnus.com>
  3813. * symtab.c (in_prologue): From Jim Blandy. Rewrite, more
  3814. intelligently, making sure we use the information from the
  3815. symbol tables fully.
  3816. 2000-05-02 H.J. Lu <hjl@gnu.org>
  3817. * ia64-tdep.c (ia64_gdbarch_init): Reference to ELFOSABI_NONE
  3818. instead of ELFOSABI_SYSV.
  3819. Tue May 2 19:07:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3820. * gdbarch.sh (NPC_REGNUM, NNPC_REGNUM): Add.
  3821. * gdbarch.h, gdbarch.c: Re-generate.
  3822. * gdbserver/remote-utils.c (prepare_resume_reply): Change #ifdef
  3823. NPC_REGNUM to run-time test.
  3824. * findvar.c (generic_target_write_pc): Change #ifdef NPC_REGNUM
  3825. and NNPC_REGNUM to run-time test.
  3826. * procfs.c (procfs_fetch_registers): Change #ifdef NPC_REGNUM to
  3827. run-time test.
  3828. (procfs_store_registers): Ditto.
  3829. Tue May 2 18:48:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3830. * gdbarch.sh: Provide non- multi-arch defaults by direct
  3831. definition in "gdbarch.h" instead of going through "gdbarch.c".
  3832. * gdbarch.h, gdbarch.c: Re-generate.
  3833. * defs.h: When non- multi-arch, include "arch-utils.h" so that
  3834. legacy definitions are globally visible.
  3835. Tue May 2 16:32:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3836. * MAINTAINERS: Add Syd Polk to gdbtk maintainers.
  3837. (symtabs): Add Elena to symtabs maintainers list.
  3838. (Blanket Write Privs): Add Jim Blandy.
  3839. 2000-05-01 Stan Shebs <shebs@apple.com>
  3840. Remove obsolete Gould configuration:
  3841. * configure.host, configure.tgt: Remove Gould configs.
  3842. * Makefile.in: Remove Gould-related actions.
  3843. * gould-xdep.c, gould-tdep.c, config/gould/*: Remove files.
  3844. * NEWS: Mention removal.
  3845. Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3846. From 2000-04-28 Andreas Jaeger <aj@suse.de>:
  3847. * defs.h: Properly check for GCC version number.
  3848. 2000-04-30 Mark Kettenis <kettenis@gnu.org>
  3849. Fix single-stepping out of signal trampolines.
  3850. * config/i386/nm-linux.h (CHILD_RESUME): Define.
  3851. * i386-linux-nat.c (child_resume): New function.
  3852. Fri Apr 28 16:22:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3853. * blockframe.c (frameless_look_for_prologue): Use
  3854. PROLOG_FRAMELESS_P instead of SKIP_PROLOGUE_FRAMELESS_P.
  3855. * gdbarch.sh (PROLOG_FRAMELESS_P): Define.
  3856. * gdbarch.h, gdbarch.c: Re-generate.
  3857. * arch-utils.h, arch-utils.c (generic_prologue_frameless_p): New
  3858. function.
  3859. Fri Apr 28 15:31:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3860. From "Serge Nikulin" <nikulin@actsw.amat.com>:
  3861. * m68k-tdep.c (delta68_in_sigtramp): Return 0 when the function
  3862. name is unknow.
  3863. 2000-04-27 Michael Snyder <msnyder@cygnus.com>
  3864. * gdbarch.sh (d10v_daddr_p, d10v_iaddr_p, d10v_convert_daddr_to_raw,
  3865. d10v_convert_iaddr_to_raw): make these multi-arch functions optional.
  3866. * gdbarch.c, gdbarch.h: regenerate
  3867. Fri Apr 28 12:21:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3868. From Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>:
  3869. * target.c (do_monitor_command): Cast tcomplain to correct
  3870. function type in comparison.
  3871. Fri Apr 28 11:43:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3872. From 2000-04-25 Guy Harris <guy@netapp.com>:
  3873. * config/alpha/alpha-osf3.mh (XDEPFILES): Add ser-tcp.o and
  3874. ser-pipe.o
  3875. 2000-04-27 Michael Snyder <msnyder@cygnus.com>
  3876. * jv-valprint.c (java_val_print): Add arg declaration,
  3877. fix compiler warning.
  3878. * corelow.c (core_open): Call set_gdbarch_from_file so that
  3879. gdbarch becomes aware of the architecture encoded in the
  3880. corefile.
  3881. * findvar.c (write_register_gen): Export this useful interface.
  3882. * value.h (write_register_gen): Declare.
  3883. 2000-04-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  3884. * cxux-nat.c (add_shared_symbol_files): Don't treat .text section
  3885. as special in the section_addr_info structure.
  3886. * pa64solib.c (pa64_solib_add_solib_objfile): Ditto.
  3887. * osfsolib.c (symbol_add_stub): Ditto.
  3888. * irix5-nat.c (symbol_add_stub): Ditto.
  3889. Thu Apr 27 14:07:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3890. * mips-tdep.c, d10v-tdep.c: Include "arch-utils.h".
  3891. Thu Apr 27 10:06:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3892. * TODO: Document IRIX X ARM cross compile problems.
  3893. 2000-04-26 Michael Snyder <msnyder@cygnus.com>
  3894. * utils.c (internal_verror): Call target_terminal_ours.
  3895. * wrapper.h: Fix minor comment typo.
  3896. * proc-api.c (write_with_trace): Change 'arg' from long to int.
  3897. Treat 'off_t' and 'size_t' as unsigned long in printfs.
  3898. (lseek_with_trace): Treat 'off_t' as unsigned long in printf.
  3899. * procfs.c (comments): Eliminate "???" in comments, which GCC
  3900. wants to interpret as a trigraph. (fill_gregset, supply_gregset,
  3901. fill_fpregset, supply_fpregset): Declare.
  3902. (procfs_wait): Sysargs is a long, change printf format to match.
  3903. (test-mapping, mapping_test, test_mapping_cmd) Remove (test only).
  3904. 2000-04-26 Kevin Buettner <kevinb@redhat.com>
  3905. * config/djgpp/fnchange.lst (ia64-linux-nat.c): Map to
  3906. ia64linux-nat.c.
  3907. Wed Apr 26 13:50:35 2000 Philippe De Muyter <phdm@macqel.be>
  3908. * ax-gdb.c (agent_command): Remove now useless cast of
  3909. `free_current_contents' when passed to `make_cleanup'.
  3910. * coffread.c (coff_symfile_read): Ditto.
  3911. * dwarf2read.c (dwarf2_add_member_fn, read_array_type): Ditto.
  3912. (dwarf_decode_lines): Ditto.
  3913. * eval.c (parse_and_eval_address, parse_and_eval_address_1): Ditto.
  3914. (parse_and_eval, parse_to_comma_and_eval): Ditto.
  3915. * parse.c (parse_exp_1): Ditto.
  3916. * printcmd.c (print_command_1, output_command, set_command): Ditto.
  3917. (x_command, print_frame_args, printf_command): Ditto.
  3918. * top.c (execute_control_command): Ditto.
  3919. * tracepoint.c (validate_actionline): Ditto.
  3920. * typeprint.c (whatis_exp, ptype_command): Ditto.
  3921. (maintenance_print_type): Ditto.
  3922. 2000-04-26 Kevin Buettner <kevinb@redhat.com>
  3923. * Makefile.in (ALLDEPFILES): Add ia64-linux-tdep.c.
  3924. (ia64-linux-tdep.o): Add dependencies.
  3925. (ia64-tdep.o): Add dependency for arch-utils.h.
  3926. * ia64-linux-tdep.c, ia64-tdep.c (arch-utils.h): Include.
  3927. 2000-04-25 Michael Snyder <msnyder@cygnus.com>
  3928. * blockframe.c: Fix a minor typo in a comment.
  3929. 2000-04-25 Kevin Buettner <kevinb@redhat.com>
  3930. * ia64-tdep.c (examine_prologue): Recognize store instructions;
  3931. those whose source operands are input registers which haven't
  3932. been seen before are considered to be part of the prologue.
  3933. Tue Apr 25 13:51:58 2000 glen mccready <gkm@pobox.com>
  3934. * rs6000-nat.c (xcoff_relocate_symtam): Recover from the wrong
  3935. patch being applied `Fri Apr 7 13:44:38 2000'.
  3936. 2000-04-24 Kevin Buettner <kevinb@redhat.com>
  3937. * ia64-linux-tdep.c: New file.
  3938. * ia64-tdep.c (elf-bfd.h): Include.
  3939. (ia64_linux_sigcontext_register_address): New extern declaration.
  3940. (struct gdbarch_tdep): New struct.
  3941. (SIGCONTEXT_REGISTER_ADDRESS): New define.
  3942. (read_sigcontext_register): New static function.
  3943. (extract_bit_field, replace_bit_field, slotN_contents,
  3944. replace_slotN_contents): Made static.
  3945. (ia64_frame_chain, ia64_frame_saved_pc, ia64_init_extra_frame_info):
  3946. Added new code for signal handler frames and call dummy frames.
  3947. (ia64_frame_init_saved_regs): Handle signal handler frames.
  3948. (ia64_find_saved_register): Removed.
  3949. (ia64_get_saved_register): Handle call dummy frames; reorganized
  3950. to call generic_get_saved_register() to find registers saved
  3951. in previous frames.
  3952. (process_note_abi_tag_sections): New static function.
  3953. (ia64_gdbarch_init): Attempt to determine the ABI/OS of the
  3954. executable. Based upon this information, set target dependent
  3955. field sigcontext_register_address appropriately. Also set
  3956. FRAME_CHAIN_VALID to be generic_func_frame_chain_valid.
  3957. * config/ia64/linux.mt (TDEPFILES): Add ia64-linux-tdep.o.
  3958. * config/ia64/tm-linux.h (IN_SIGTRAMP): Define.
  3959. (ia64_linux_in_sigtramp): New declaration.
  3960. 2000-04-23 Eli Zaretskii <eliz@is.elta.co.il>
  3961. * TODO, NEWS: Update due to inclusion of gdbmi.texinfo in the GDB
  3962. manual.
  3963. 2000-04-23 Eli Zaretskii <eliz@is.elta.co.il>
  3964. * config/djgpp/README: Explain how to unpack using djunpack.bat.
  3965. Fri Apr 21 15:23:13 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3966. * stabsread.c (REG_STRUCT_HAS_ADDR): Delete default.
  3967. (define_symbol): Check REG_STRUCT_HAS_ADDR_P before using
  3968. REG_STRUCT_HAS_ADDR.
  3969. (define_symbol): Ditto.
  3970. * valops.c (hand_function_call): Replace #ifdef
  3971. REG_STRUCT_HAS_ADDR with if REG_STRUCT_HAS_ADDR_P. Re-indent
  3972. affected code.
  3973. * gdbarch.sh (REG_STRUCT_HAS_ADDR): Add along with the predicate
  3974. function REG_STRUCT_HAS_ADDR_P.
  3975. * gdbarch.h, gdbarch.c: Re-generate.
  3976. 2000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  3977. * gdb-stabs.h (SECT_OFF_MAX): Increase to 40.
  3978. 2000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  3979. * win32-nat.c (handle_load_dll): Don't treat .text as a special
  3980. section anymore.
  3981. * somread.c (som_symfile_offsets): Ditto.
  3982. * somsolib.c (som_solib_add_solib_objfile): Ditto.
  3983. Fri Apr 21 16:14:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3984. * MAINTAINERS: Make Jimmy Guo TUI maintainer.
  3985. Fri Apr 21 14:37:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3986. * command.h (help_all): Delete declaration.
  3987. * command.c (help_all): Add declaration. Convert function
  3988. argument list to ISO-C.
  3989. Thu Apr 20 18:15:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3990. * d10v-tdep.c (d10v_gdbarch_init): Initialize stack_align.
  3991. (d10v_stack_align): Make static.
  3992. * config/d10v/tm-d10v.h (STACK_ALIGN): Delete.
  3993. Thu Apr 20 14:35:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
  3994. * valops.c (hand_function_call): Replace #ifdef STACK_ALIGN with
  3995. run-time test for STACK_ALIGN_P.
  3996. * gdbarch.sh: Add support for function and variable predicates.
  3997. (STACK_ALIGN): Add. Implement with predicate - STACK_ALIGN_P.
  3998. * gdbarch.h, gdbarch.c: Re-generate.
  3999. Thu Apr 20 17:39:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4000. * defs.h, utils.c (free_current_contents): Change parameter to
  4001. void*.
  4002. From Philippe De Muyter <phdm@macqel.be>:
  4003. * printcmd.c (print_address_symbolic): Call `make_cleanup' with
  4004. `(free_current_contents, &x)', not `(free, x)'.
  4005. * utils.c (free_current_contents): Do not `free (NULL)'.
  4006. * printcmd.c (print_address_symbolic): Cleanup after a failed
  4007. call to build_address_symbolic.
  4008. 2000-04-20 Christopher Faylor <cgf@cygnus.com>
  4009. * wince-stub.c (FREE): New macro.
  4010. (mempool): Just free any buffer prior to reuse. Don't bother with
  4011. realloc.
  4012. (flag_single_step): New function.
  4013. (skip_message): Detect "helpful" Windows CE messages and skip sending
  4014. them to the host.
  4015. (wait_for_debug_event): Use skip_message to avoid sending debug
  4016. messages to the host.
  4017. (dispatch): Prelimary implementation of single step detection.
  4018. * wince.c: Rework SH single stepping code to be more consistent with
  4019. other wince targets.
  4020. (handle_output_debug_string): Allow first chance exceptions to come
  4021. through since they seem to be all that we get on some versions of
  4022. Windows CE.
  4023. (check_for_step): New function, conditionally compiled based on target.
  4024. (regptr): Delete obsolete function.
  4025. (handle_exception): Detect illegal instructions.
  4026. (get_child_debug_event): Return success only if event code matches
  4027. target.
  4028. (child_create_inferior): Reflect change to get_child_debug_event
  4029. arguments.
  4030. 2000-04-20 Christopher Faylor <cgf@cygnus.com>
  4031. * win32-nat.c (thread_rec): Be more defensive about suspending already
  4032. suspended threads.
  4033. (safe_symbol_file_add_stub): New function.
  4034. (safe_symbole_file_add_cleanup): New function.
  4035. (safe_symbol_file_add): New function.
  4036. (handle_load_dll): Use wrapper to add DLL symbol information to avoid
  4037. bogus errors from non-stabs DLLs.
  4038. (handle_exception): Add work around for detection of first exception
  4039. breakpoint which does not seem to occur on W2K. Detect more "signals"
  4040. that can be effectively passed to the debuggee. Reorganize to eliminate
  4041. continue_status global.
  4042. (child_continue): Reorganize to eliminate continue_status global.
  4043. (child_wait): Ditto.
  4044. (child_resume): Ditto.
  4045. (get_child_debug_event): Ditto. Recognize when an a breakpoint
  4046. exception should be ignored. Change method for signalling when an
  4047. important event has occured to the caller.
  4048. (child_create_inferior): Use new method for noticing when
  4049. get_child_debug_event has found something interesting.
  4050. Fri Apr 7 13:44:38 2000 glen mccready <gkm@pobox.com>
  4051. * rs6000-nat.c (xcoff_relocate_symtab): Grow buffer if ptrace()
  4052. fails due to lack of space.
  4053. Fri Mar 24 12:10:38 2000 glen mccready <gkm@pobox.com>
  4054. * command.c, command.h (help_all): Add functionality to display
  4055. a complete listing of available commands.
  4056. 2000-04-20 Scott Bambrough <scottb@netwinder.org>
  4057. * arm-linux-nat.c (PIDGET, TIDGET): New.
  4058. (get_thread_id, GET_THREAD_ID): New.
  4059. (fetch_nwfpe_register, store_nwfpe_register): New.
  4060. (fetch_register, store_register): New.
  4061. (fetch_fpregister, store_fpregister): New.
  4062. (fill_gregset, supply_gregset): New.
  4063. (fill_fpregset, supply_fpregset): New.
  4064. (fetch_fpregs): Modified to use thread id's.
  4065. (store_fpregs): Modified to use thread id's and
  4066. fetch_nwfpe_register.
  4067. (fetch_regs): Modified to use thread id's.
  4068. (store_regs): Modified to use thread id's.
  4069. (fetch_inferior_registers): Modified to handle single register
  4070. fetches.
  4071. (store_inferior_registers): Modified to handle single register
  4072. stores.
  4073. (arm_linux_register_u_addr): Removed.
  4074. * configure.tgt: Added gdbserver to configdirs for arm*-*-linux*.
  4075. * config/arm/linux.mh
  4076. (NATDEPFILES): Removed core-aout.o. Added core-regset.o.
  4077. (LOADLIBES): Define.
  4078. * config/arm/nm-linux.h: Include config/nm-linux.h.
  4079. (ATTACH_DETACH): Removed. Defined in config/nm-linux.h.
  4080. (REGISTER_U_ADDR): Removed.
  4081. (SVR4_SHARED_LIBS): Removed. Defined in config/nm-linux.h.
  4082. (#include "solib.h"): Removed. Included via config/nm-linux.h.
  4083. Thu Apr 20 18:54:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4084. From Daniel Berlin <dan@cgsoftware.com> and Tim Mooney
  4085. <mooney@dogbert.cc.ndsu.nodak.edu>:
  4086. * infrun.c (follow_fork_mode_kind_names): NULL terminate
  4087. array. Re-indent.
  4088. (scheduler_enums): Ditto.
  4089. Mon Apr 17 13:37:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4090. * gdbarch.sh: Make multi-arch variable defaults, defaults for non-
  4091. multi-arch targets.
  4092. (TARGET_BFD_VMA_BIT, IEEE_FLOAT, CALL_DUMMY_WORDS,
  4093. SIZEOF_CALL_DUMMY_WORDS): Update.
  4094. * inferior.h (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Default
  4095. provided by gdbarch.
  4096. (CALL_DUMMY_P): Add FIXME. gdbarch should provide default.
  4097. * valprint.c (IEEE_FLOAT): Default provided by gdbarch.
  4098. 2000-04-19 Jim Blandy <jimb@redhat.com>
  4099. Bring RETURN_VALUE_ON_STACK under gdbarch's control.
  4100. * gdbarch.sh (RETURN_VALUE_ON_STACK): New entry.
  4101. * gdbarch.c, gdbarch.h: Regenerated.
  4102. * arch-utils.c (default_return_value_on_stack): New function.
  4103. * arch-utils.h (default_return_value_on_stack): New declaration.
  4104. * values.c (RETURN_VALUE_ON_STACK): Delete default definition.
  4105. * i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
  4106. two-dimensional array, instead of faking it with explicit index
  4107. arithmetic.
  4108. * minsyms.c (prim_record_minimal_symbol_and_info): Doc fix.
  4109. (Thanks to Guy Harris.)
  4110. 2000-04-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4111. * xcoffsolib.c (solib_add): Fix call to vmap_symtab().
  4112. 2000-04-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  4113. * TODO: Update.
  4114. Wed Apr 19 19:10:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4115. * TODO: Document -Wreturn-type problem.
  4116. 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  4117. * maint.c (_initialize_maint_cmds): Add `mt i' alias for `mt info'.
  4118. 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  4119. * infcmd.c (_initialize_infcmd): Add `info r' alias for
  4120. `info registers'.
  4121. Wed Apr 19 17:03:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4122. From Philippe De Muyter <phdm@macqel.be>:
  4123. * bcache.c (free_bcache): Do not free NULL.
  4124. Wed Apr 19 16:37:47 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4125. * TODO: Cleanup.
  4126. * NEWS: Update GDB version. Duplicate paragraph explaining
  4127. obsolete.
  4128. Wed Apr 19 13:06:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4129. * Makefile.in (distclean): Delete tui/Makefile.
  4130. * TODO: Add deletion of tui/Makefile.in to list.
  4131. 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4132. * symfile.h (struct section_addr_info ): Remove fields for special
  4133. treatment of .text, .data and .bss sections.
  4134. * solib.c (symbol_add_stub): The special field text_addr is not
  4135. available anymore. Search for the .text field the hard way.
  4136. * symfile.c (build_section_addr_info_from_section_table): Don't
  4137. fill in {text, data, bss}_addr any more.
  4138. (default_symfile_offsets): Don't use {text, data, bss}_addr fields
  4139. to fill in section_offsets for objfile.
  4140. (syms_from_objfile): Don't deal with {text, data, bss}_addr as a
  4141. special case anymore.
  4142. (add_symbol_file_command): Ditto.
  4143. 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4144. symfile.c: (symbol_file_command): Remove support for rombug, to
  4145. simplify code.
  4146. 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4147. * symfile.c (add_symbol_file_command): Rewrite the arguments
  4148. processing part. Simplify syntax of command. Remove support for
  4149. rombug.
  4150. (_initialize_symfile): Update help message for add-symbol-file
  4151. command.
  4152. Mon Apr 17 15:53:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4153. * gdbarch.sh (IEEE_FLOAT): Only dump when defined.
  4154. * gdbarch.h, gdbarch.c: Re-generate.
  4155. Mon Apr 17 11:26:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4156. * remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.c
  4157. (MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT), target.h
  4158. (BREAKPOINT_FROM_PC), valops.c (COERCE_FLOAT_TO_DOUBLE),
  4159. gdbarch.sh (D10V_MAKE_DADDR, D10V_MAKE_IADDR,
  4160. FRAMELESS_FUNCTION_INVOCATION, REGISTER_CONVERTIBLE,
  4161. REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
  4162. REGISTER_NAME), findvar.c (POINTER_TO_ADDRESS,
  4163. ADDRESS_TO_POINTER): Delete default definition. Handled by
  4164. gdbarch.
  4165. * gdbarch.sh: Make multi-arch defaults, defaults for non-
  4166. multi-arch targets.
  4167. (REGISTER_NAME, COERCE_FLOAT_TO_DOUBLE, REGISTER_CONVERTIBLE,
  4168. REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
  4169. D10V_MAKE_DADDR, D10V_MAKE_IADDR, BREAKPOINT_FROM_PC,
  4170. MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT,
  4171. REMOTE_TRANSLATE_XFER_ADDRESS, FRAMELESS_FUNCTION_INVOCATION):
  4172. Provide default/legacy implementation.
  4173. (REGISTER_NAMES, CALL_DUMMY): Allow legacy definition.
  4174. * gdbarch.h, gdbarch.c: Re-generate.
  4175. 2000-04-16 Jim Blandy <jimb@redhat.com>
  4176. * findvar.c (store_typed_address, extract_typed_address): Fix
  4177. function names in error messages.
  4178. 2000-04-16 Eli Zaretskii <eliz@is.elta.co.il>
  4179. * config/djgpp/config.sed: Fix the lines which edit clean: and
  4180. uninstall-info: targets.
  4181. 2000-04-14 Jim Blandy <jimb@redhat.com>
  4182. Bring IEEE_FLOAT under gdbarch's control.
  4183. * gdbarch.sh (IEEE_FLOAT): New entry.
  4184. * gdbarch.c, gdbarch.h: Regenerated.
  4185. * valprint.c (IEEE_FLOAT): Provide a default #definition for this.
  4186. (print_floating): Use IEEE_FLOAT as if it were an expression; use
  4187. the code specific to IEEE-format numbers whenever the value of
  4188. IEEE_FLOAT is non-zero.
  4189. * config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
  4190. config/arc/tm-arc.h, config/arm/tm-arm.h, config/fr30/tm-fr30.h,
  4191. config/h8300/tm-h8300.h, config/i386/tm-i386.h,
  4192. config/i960/tm-i960.h, config/m88k/tm-m88k.h,
  4193. config/mips/tm-mips.h, config/pa/tm-hppa.h,
  4194. config/sparc/tm-sparc.h (IEEE_FLOAT): For all ports that #define
  4195. IEEE_FLOAT, make sure they give it the value (1).
  4196. Provide the hooks needed to support architectures on which
  4197. pointers are not always simple byte addresses.
  4198. * gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two new
  4199. functions which architectures can redefine, defaulting to
  4200. generic_pointer_to_address and generic_address_to_pointer.
  4201. * findvar.c (extract_typed_address, store_typed_address,
  4202. generic_pointer_to_address, generic_address_to_pointer): New
  4203. functions.
  4204. (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Provide default
  4205. definitions.
  4206. (extract_address, store_address): Doc fixes.
  4207. * values.c (value_as_pointer): Doc fix.
  4208. (value_from_pointer): New function.
  4209. * defs.h (extract_typed_address, store_typed_address): New
  4210. declarations.
  4211. * inferior.h (generic_address_to_pointer,
  4212. generic_pointer_to_address): New declarations.
  4213. * value.h (value_from_pointer): New declaration.
  4214. The following changes are all of the general form "Use these
  4215. functions instead of these other functions." In each case, the
  4216. change is because the new calls provide enough information to do
  4217. the appropriate address / pointer conversions, where the old calls
  4218. did not, or because the new functions are more appropriately named
  4219. for the operation being performed.
  4220. * ax-gdb.c (const_var_ref): Use value_from_pointer, not
  4221. value_from_longest.
  4222. * blockframe.c (generic_push_dummy_frame): Use read_pc and
  4223. read_sp, not read_register.
  4224. * c-valprint.c (c_val_print): Use extract_typed_address instead of
  4225. extract_address to extract vtable entries and references.
  4226. * cp-valprint.c (cp_print_value_fields): Use value_from_pointer
  4227. instead of value_from_longest to extract the vtable's address.
  4228. * eval.c (evaluate_subexp_standard): Use value_from_pointer
  4229. instead of value_from_longest to compute `this', and for doing
  4230. pointer-to-member dereferencing.
  4231. * findvar.c (read_register): Use extract_unsigned_integer, not
  4232. extract_address.
  4233. (read_var_value): Use store_typed_address instead of store_address
  4234. for building label values.
  4235. (locate_var_value): Use value_from_pointer instead of
  4236. value_from_longest.
  4237. * hppa-tdep.c (find_stub_with_shl_get): Use value_from_pointer,
  4238. instead of value_from_longest, to build arguments to __d_shl_get.
  4239. * printcmd.c (set_next_address): Use value_from_pointer, not
  4240. value_from_longest.
  4241. (x_command): Use value_from_pointer, not value_from_longest.
  4242. * tracepoint.c (set_traceframe_context): Use value_from_pointer,
  4243. not value_from_longest.
  4244. * valarith.c (value_add, value_sub): Use value_from_pointer, not
  4245. value_from_longest.
  4246. * valops.c (find_function_in_inferior, value_coerce_array,
  4247. value_coerce_function, value_addr, hand_function_call): Same.
  4248. * value.h (COERCE_REF): Use unpack_pointer, not unpack_long.
  4249. * values.c (unpack_long): Use extract_typed_address to produce
  4250. addresses from pointers and references, not extract_address.
  4251. (value_from_longest): Use store_typed_address instead of
  4252. store_address to produce pointer and reference values.
  4253. 2000-04-13 Mark Kettenis <kettenis@gnu.org>
  4254. * acconfig.h (HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, HAVE_LWPID_T,
  4255. HAVE_PSADDR_T): Add them here instead of in config.in.
  4256. * acconfig.h (PRFPREGSET_T_BROKEN): New define.
  4257. * configure.in: Add check for broken prfpregset_t type.
  4258. * lin-thread.c (gdb_prfpregset): New typedef, depends on
  4259. definition of PRFPREGSET_T_BROKEN.
  4260. (ps_lgetfpregs, ps_lsetfpregs, p_td_thr_getfpregs,
  4261. p_td_thr_setfpregs, thread_db_fetch_registers,
  4262. thread_db_store_registers): Use gdb_prfpregset_t instead of
  4263. prfpregset_t.
  4264. * config.in: Regenerated.
  4265. * configure: Regenerated.
  4266. 2000-04-13 DJ Delorie <dj@cygnus.com>
  4267. * mips-tdep.c (do_fp_register_row): copy the number of bytes
  4268. allocated, not the size of the pointer.
  4269. 2000-04-13 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  4270. * config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS): Define.
  4271. * config/i386/tm-i386sol2.h (HAVE_I387_REGS): Define.
  4272. * i386v4-nat.c (supply_fpregset, fill_fpregset): Add code
  4273. to handle floating point registers if NUM_FREGS is not zero.
  4274. 2000-04-13 Nick Duffek <nsd@cygnus.com>
  4275. * sol-thread.c (init_sol_core_ops): Initialize to_thread_alive
  4276. and document to_find_new_threads bug.
  4277. 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
  4278. * infrun.c (proceed, normal_stop): Change the error message about
  4279. failure to insert breakpoints/watchpoints so that it makes sense
  4280. even if ptrace is not used or no other processes can be active.
  4281. Thu Apr 13 13:24:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4282. * configure.in: Add --enable-maintainer-mode.
  4283. * aclocal.m4, configure: Re-generate.
  4284. * Makefile.in ($(srcdir)/copying.c): Enable dependencies only when
  4285. on maintainer-mode. Update copying.c in source directory.
  4286. (copying.txt): Delete rule.
  4287. (copying.o): Add explict paths to $(srcdir) and explicit make
  4288. rule.
  4289. 2000-04-12 Kevin Buettner <kevinb@redhat.com>
  4290. * ia64-linux-nat.c (IA64_PSR_DB, IA64_PSR_DD): Define.
  4291. (fetch_debug_register, fetch_debug_register_pair,
  4292. store_debug_register, store_debug_register_pair, is_power_of_2,
  4293. enable_watchpoints_in_psr, ia64_linux_insert_watchpoint,
  4294. ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
  4295. New functions.
  4296. * config/ia64/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS,
  4297. TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
  4298. STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
  4299. target_remove_watchpoint): Define.
  4300. (ia64_linux_stopped_by_watchpoint, ia64_linux_insert_watchpoint,
  4301. ia64_linux_remove_watchpoint): Declare.
  4302. 2000-04-12 Eli Zaretskii <eliz@is.elta.co.il>
  4303. * go32-nat.c (go32_insert_hw_breakpoint): When there are no more
  4304. hardware breakpoint resources, return EBUSY.
  4305. (go32_handle_nonaligned_watchpoint): If the argument WHAT is not
  4306. one of the enumerated values, return EINVAL.
  4307. 2000-04-12 Eli Zaretskii <eliz@is.elta.co.il>
  4308. * README: Mention special build instructions for DJGPP.
  4309. * NEWS: Update with FP features on x87 platforms, and
  4310. DJGPP-related changes.
  4311. 2000-04-12 Eli Zaretskii <eliz@is.elta.co.il>
  4312. * top.c (gdb_completer_file_name_break_characters): New variable.
  4313. (line_completion_function): When completing on file names, use
  4314. gdb_completer_file_name_break_characters as word break
  4315. characters for the readline library.
  4316. 2000-04-12 Mark Kettenis <kettenis@gnu.org>
  4317. * i387-tdep.c (print_i387_value): Avoid call to
  4318. floatformat_to_doublest if long double type is the same on host
  4319. and target.
  4320. 2000-04-11 Fernando Nasser <fnasser@cygnus.com>
  4321. * wrapper.h: Remove definitions of internal functions.
  4322. * wrapper.c: Remove definitions of exported functions (which are
  4323. already in wrapper.h) and make static all internal wrap_* functions.
  4324. Mon Apr 10 21:58:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4325. * acconfig.h (USE_INCLUDED_REGEX): Add.
  4326. * Makefile.in (REGEX_CFLAGS): Delete
  4327. * configure.in (REGEX_CFLAGS): Delete. Use AC_DEFINE instead.
  4328. * configure, config.in: Re-generate.
  4329. 2000-04-10 Philip Blundell <philb@gnu.org>
  4330. * arm-linux-nat.c (arm_skip_solib_resolver): Remove and move to
  4331. arm-linux-tdep.c.
  4332. * arm-linux-tdep.c (arm_skip_solib_resolver): New.
  4333. 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
  4334. From 2000-04-10 Rodney Brown <rdb@redhat.com>:
  4335. * command.h (enum command_class): Remove trailing "," to placate
  4336. AIX xlc.
  4337. Mon Apr 10 20:17:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4338. * TODO, NEWS: Update. Mention MI.
  4339. Mon Apr 10 00:21:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4340. * gdbarch-utils.h, gdbarch-utils.c: Delete.
  4341. * arch-utils.h, arch-utils.c: New files. Avoid 14 character file
  4342. name problems.
  4343. * Makefile.in: Update.
  4344. * gdbarch.c: Update.
  4345. Sun Apr 9 23:42:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4346. From 2000-04-07 Jonathan Larmour <jlarmour@redhat.co.uk>:
  4347. * mips-tdep.c (saved_gpreg_size_enums): Define enum command for
  4348. new "set mips saved-gpreg-size" command
  4349. (MIPS_SAVED_REGSIZE): Now a function mips_saved_regsize()
  4350. (MIPS_DEFAULT_SAVED_REGSIZE): Define for default MIPS_SAVED_REGSIZE,
  4351. either from target, or gdb multi-arch
  4352. (show_mips_command): New. For "show mips" prefix command
  4353. (set_mips_command): New. For "show mips" prefix command
  4354. (_initialize_mips_tdep): Add top-level mips prefix command
  4355. Add "set mips saved-gpreg-size" command
  4356. * mips-tdep.c (struct gdbarch_tdep): Rename mips_saved_regsize to
  4357. mips_default_saved_regsize.
  4358. (mips_gdbarch_init): Update.
  4359. (MIPS_DEFAULT_SAVED_REGSIZE): Update.
  4360. (mips_gdbarch_init): Use MIPS_REGSIZE as the default value for
  4361. mips_default_saved_regsize.
  4362. Sun Apr 9 23:27:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4363. From 2000-04-07 J.T. Conklin <jtc@redback.com>:
  4364. * lynx-nat.c (fetch_inferior_registers, store_inferior_registers):
  4365. replace calls to target_xfer_memory() with target_read_memory()
  4366. and target_write_memory().
  4367. Sun Apr 9 22:54:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4368. * valops.c (value_rtti_type): Compare VALUE_ADDRESS with ``0'' not
  4369. NULL. Macro returns a CORE_ADDR.
  4370. 2000-04-08 Jim Blandy <jimb@redhat.com>
  4371. * dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.
  4372. Don't include "bfd-elf.h".
  4373. (address_significant_size): Delete variable.
  4374. (dwarf2_build_psymtabs_hard): Don't set it, or check for
  4375. consistency between it and the Dwarf 2 compilation unit header
  4376. address size.
  4377. (read_address): Don't mask off bits above
  4378. address_significant_size.
  4379. * Makefile.in (dwarf2read.o): Don't depend on $(elf_bfd_h).
  4380. (elf_bfd_h): Remove variable; it's no longer used.
  4381. 2000-04-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  4382. * configure.in (NEW_PROC_API): Escape square brackets when testing
  4383. for solaris2.[678].
  4384. * configure: Regenerate.
  4385. 2000-04-07 Scott Bambrough <scottb@netwinder.org>
  4386. * ChangeLog: Correct date on last entry.
  4387. * arm-linux-tdep.c (arm_linux_push_arguments): New function.
  4388. * config/arm/tm-linux: Redefined PUSH_ARGUMENTS for Linux.
  4389. * config/arm/tm-embed: Fix build warning from redefinition of
  4390. LOWEST_PC.
  4391. * config/arm/tm-arm.h: Remove TARGET_BYTE_ORDER_SELECTABLE.
  4392. * config/arm/tm-wince.h: Remove TARGET_BYTE_ORDER_SELECTABLE and
  4393. TARGET_BYTE_ORDER. Add TARGET_BYTE_ORDER_SELECTABLE_P to
  4394. override default in tm-arm.h. Use default target byte order
  4395. from tm-arm.h.
  4396. 2000-04-07 Scott Bambrough <scottb@netwinder.org>
  4397. * Makefile.in: Add dependency information for arm-linux-tdep.c.
  4398. * config/djgpp/fnchange.lst: Add arm-linux-tdep.c, arm-linux-nat.c.
  4399. 2000-04-07 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  4400. * sol-thread.c (gdb_ps_addr_t): New typedef, depends on definition
  4401. of PROC_SERVICE_IS_OLD.
  4402. (ps_pglobal_lookup, ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite,
  4403. rw_common): Change argument type from psaddr_t to gdb_ps_addr_t.
  4404. Fri Apr 7 17:18:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4405. * Makefile.in (CFLAGS): Set using configure.
  4406. * configure.in (WARN_CFLAGS): Enable by default when GCC.
  4407. * configure: Re-generate.
  4408. Fri Apr 7 13:33:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4409. From 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
  4410. * procfs.c (init_procfs_ops): Set procfs_ops.to_has_memory and
  4411. procfs_ops.to_has_all_memory to 1.
  4412. * TODO: Update
  4413. 2000-04-06 Nick Duffek <nsd@cygnus.com>
  4414. * configure.in (_MSE_INT_H): Define on Solaris 7.
  4415. (NEW_PROC_API): Define on Solaris 7 and 8 as well as 6.
  4416. * acconfig.h (_MSE_INT_H): Define on Solaris 7.
  4417. * configure: Regenerate.
  4418. * config.in: Regenerate.
  4419. 2000-04-06 Michael Snyder <msnyder@cygnus.com>
  4420. * sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
  4421. Change to rely on PIDGET etc.
  4422. * config/i386/nm-i386sol2.h (TARGET_HAS_WATCHPOINTS,
  4423. TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
  4424. STOPPED_BY_WATCHPOINT, target_[insert/remove]_watchpoint):
  4425. define. Allow target to use procfs hardware watchpoints.
  4426. * config/sparc/nm-sun4sol2.h: ditto.
  4427. * config/i386/tm-i386sol2.h (PIDGET, TIDGET, MERGEPID): modify
  4428. definitions to use 16 bits for the pid, 15 bits for the tid, and
  4429. 1 bit for the flag.
  4430. * config/sparc/tm-sun4sol2.h: ditto.
  4431. (SOFTWARE_SINGLE_STEP, SOFTWARE_SINGLE_STEP_P): undefine.
  4432. 2000-04-06 Eli Zaretskii <eliz@is.elta.co.il>
  4433. * top.c (filename_completer): Set subsequent_name to 1 early on,
  4434. to prevent an infinite loop if the first file in the directory is
  4435. a backup file (whose name ends in a `~').
  4436. 2000-04-05 Jim Blandy <jimb@redhat.com>
  4437. * solib.c (update_solib_list): New function.
  4438. (solib_add): Call update_solib_list, and then read symbols.
  4439. (info_sharedlibrary_command): Call update_solib_list, not
  4440. solib_add.
  4441. 2000-04-05 Scott Bambrough <scottb@netwinder.org>
  4442. * arm-linux-tdep.c: Resolve implicit function declarations by
  4443. including target.h and value.h. Inclusion of symtab.h is
  4444. no longer needed.
  4445. 2000-04-05 Scott Bambrough <scottb@netwinder.org>
  4446. * arm-linux-tdep.c: New file.
  4447. * arm-linux-nat.c (fetch_fpregs): Remove unused code.
  4448. (arm_get_longjmp_target): Moved it and all defines
  4449. it uses to arm-linux-tdep.c.
  4450. (arm_linux_extract_return_value): Moved to
  4451. arm-linux-tdep.c.
  4452. * config/arm/linux.mt: Add arm-linux-tdep.c to TDEPFILES.
  4453. 2000-04-04 Nick Duffek <nsd@cygnus.com>
  4454. * infrun.c (handle_inferior_event): Call target_mourn_inferior
  4455. instead of kill_target.
  4456. 2000-04-04 Daniel Berlin <dan@cgsoftware.com>
  4457. * TODO: Make note of various C++ things i have planned for 5.1.
  4458. Tue Apr 4 12:13:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4459. * printcmd.c (print_scalar_formatted): Use local variable ptr_bit
  4460. in shift. Stop GCC thinking it has a shift overflow.
  4461. 2000-04-03 H.J. Lu <hjl@gnu.org>
  4462. * TODO: Remove the regex entry.
  4463. 2000-04-03 H.J. Lu <hjl@gnu.org>
  4464. * gdb_regex.h: New. Include "regex.h" if USE_INCLUDED_REGEX
  4465. is defined and <regex.h> otherwise.
  4466. * irix5-nat.c: Include "gdb_regex.h" instead of "gnu-regex.h".
  4467. * monitor.c: Likewise.
  4468. * osfsolib.c: Likewise.
  4469. * solib.c: Likewise.
  4470. * source.c: Likewise.
  4471. * symtab.c: Likewise.
  4472. * Makefile.in (REGEX): Changed to @REGEX@.
  4473. (REGEX_CFLAGS): New.
  4474. (REGEX1): Removed.
  4475. (ADD_DEPS): Use $(REGEX) instead of $(REGEX1).
  4476. (INTERNAL_WARN_CFLAGS): Add $(REGEX_CFLAGS).
  4477. * configure.in (--with-included-regex): New switch.
  4478. (REGEX): New. Subsstitue @REGEX@ in Makefile.in.
  4479. (REGEX_CFLAGS): New. Subsstitue @REGEX_CFLAGS@ in Makefile.in.
  4480. * configure: Regenerated.
  4481. 2000-04-03 Kevin Buettner <kevinb@redhat.com>
  4482. * NEWS (powerpc-*-linux*): Mention.
  4483. 2000-04-03 J.T. Conklin <jtc@redback.com>
  4484. * config/i386/xm-nbsd.h (HOST_LONG_DOUBLE_FORMAT): Define.
  4485. 2000-04-03 Kevin Buettner <kevinb@redhat.com>
  4486. * Makefile.in (ALLDEPFILES): Add ia64-linux-nat.c and ia64-tdep.c.
  4487. (ia64-linux-nat.o, ia64-tdep.o): Add dependencies.
  4488. * ia64-linux-nat.c (fill_gregset): Implement.
  4489. (supply_fpregset, fill_fpregset): New functions.
  4490. * ia64-tdep.c (ia64_init_extra_frame_info): Revise manner in
  4491. which the CFM is fetched for certain frames.
  4492. (find_global_pointer, find_extant_func_descr): Don't use
  4493. partial symtabs for locating sections.
  4494. * config/ia64/linux.mh (LOADLIBES): Define.
  4495. (NATDEPFILES): Add linux-thread.o and lin-thread.o.
  4496. * config/ia64/nm-linux.h (nm-linux.h): Include this upper-level
  4497. file containing generic linux declarations/definitions.
  4498. (SVR4_SHARED_LIBS, ATTACH_DETACH): Remove defines; already
  4499. defined in generic nm-linux.h.
  4500. (solib.h): Remove include; already included in generic nm-linux.h.
  4501. 2000-04-03 Jim Blandy <jimb@redhat.com>
  4502. * solib.c (solib_add): Move all the code for loading symbol tables
  4503. below the code to sort out additions and removals. That way, we
  4504. always catch all loaded shared libraries whose symbols we haven't
  4505. grabbed yet.
  4506. * solib.c (solib_add): Don't try to free a shared object's objfile
  4507. if it doesn't have one. Duh.
  4508. * solib.c (solib_add): If a pattern was given, but it doesn't
  4509. match any currently loaded shared libraries, print a message;
  4510. don't just be silent.
  4511. 2000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
  4512. * go32-nat.c (go32_handle_nonaligned_watchpoint): Use a
  4513. two-dimensional array instead of faking it with index
  4514. arithmetics.
  4515. 2000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
  4516. * config/i386/xm-go32.h (HOST_LONG_DOUBLE_FORMAT): Define.
  4517. * config/i386/tm-go32.h (TARGET_LONG_DOUBLE_BIT): Remove
  4518. definition (and use the common one in tm-i386.h).
  4519. (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Likewise.
  4520. (I386_DJGPP_TARGET): Don't define, it's no longer required.
  4521. (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Remove definition,
  4522. i386-tdep.c defines it for all x86 targets.
  4523. (LD_I387, HEX_LONG_DOUBLE_INPUT): Remove.
  4524. * config/djgpp/fnchange.lst: Add i386-linux-tdep.c.
  4525. * config/djgpp/djcheck.sh: Edit the copyright year out of the test
  4526. results. Fix editing of `main' arguments for non-GNU Sed.
  4527. 2000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
  4528. * symfile.c (map_overlay_command, unmap_overlay_command): Fix
  4529. error message: there's no "overlay on" command.
  4530. 2000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
  4531. * Makefile.in (copying.c): Depend on copying.txt, not COPYING.
  4532. (copying.txt): New target, a link to COPYING.
  4533. Mon Apr 3 18:20:03 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4534. * TODO: Update.
  4535. Mon Apr 3 14:56:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4536. * top.c: Re-indent.
  4537. (set_hook, error_hook): Remove PARAMS.
  4538. Mon Apr 3 14:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4539. * symtab.h (add_minsym_to_demangled_hash_table): Revert 2000-03-29
  4540. Daniel Berlin <dan@cgsoftware.com>. Function was static.
  4541. * minsyms.c (add_minsym_to_demangled_hash_table): Add prototype.
  4542. Mon Apr 3 14:10:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4543. * gdb-events.h, gdb-events.c, gdb-events.sh: Re-indent.
  4544. 2000-04-02 Nick Duffek <nsd@cygnus.com>
  4545. * gdbtypes.c (safe_parse_type): New wrapper function to ignore
  4546. error() during parse_and_eval_type().
  4547. (check_stub_method): Call safe_parse_type instead of
  4548. parse_and_eval_type().
  4549. * wrapper.c (gdb_parse_and_eval_type): New wrapper function.
  4550. (wrap_parse_and_eval_type): New support function.
  4551. * wrapper.h (gdb_parse_and_eval_type): Prototype.
  4552. (wrap_parse_and_eval_type): Prototype.
  4553. Sun Apr 2 10:32:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4554. * MAINTAINERS: Eli Zaretskii is a doco maintainer.
  4555. Fri Mar 31 08:59:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4556. * gdbarch-utils.h, gdbarch-utils.c: New files.
  4557. * Makefile.in (SFILES, COMMON_OBS): Update.
  4558. (gdbarch_utils_h) Define.
  4559. (gdbarch-utils.o): Add dependencies.
  4560. * gdbarch.c, gdbarch.sh: Include "gdbarch-utils.h". Fix code
  4561. handling default method values.
  4562. (startup_gdbarch): Rename default_gdbarch, name misleading.
  4563. (breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
  4564. (register_name): Default to legacy_register_name.
  4565. (call_dummy_words): Default to legacy_call_dummy_words.
  4566. (sizeof_call_dummy_words): Default to
  4567. legacy_sizeof_call_dummy_words.
  4568. (register_convertible): Default to
  4569. generic_register_convertible_not.
  4570. (breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
  4571. (remote_translate_xfer_address): Default to
  4572. generic_remote_translate_xfer_address.
  4573. (frameless_function_invocation): Default to
  4574. generic_frameless_function_invocation_not.
  4575. 2000-04-02 Mark Kettenis <kettenis@gnu.org>
  4576. * i386-linux-nat.c: Add copyright notice.
  4577. * config/i386/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define as
  4578. &floatformat_i387_ext.
  4579. * config/i386/xm-i386gnu.h (HOST_LONG_DOUBLE_FORMAT): Likewise.
  4580. 2000-03-29 Mark Kettenis <kettenis@gnu.org>
  4581. * findvar.c (extract_floating): Remove reference to
  4582. TARGET_EXTRACT_FLOATING.
  4583. (store_floating): Remove reference to TARGET_STORE_FLOATING.
  4584. 2000-03-30 Fernando Nasser <fnasser@cygnus.com>
  4585. * wrapper.c (gdb_value_subscript, wrap_value_subscript): New functions.
  4586. Safe version of value_subscript.
  4587. * varobj.c (): Use gdb_value_subscript() to get an array element value.
  4588. 2000-03-30 Michael Snyder <msnyder@cygnus.com>
  4589. * ui-file.c: Include "gdb_string.h"
  4590. * cli-out.c: Include gdb_string.h to avoid compiler warnings.
  4591. * wrapper.[ch] (struct gdb_wrapper_arguments): Change fields into
  4592. unions, since they are all used to hold both pointers and ints
  4593. at various times. Casting pointer to int and vice versa gives
  4594. warnings (and is not safe) if they are not the same size.
  4595. 2000-03-30 Michael Snyder <msnyder@cygnus.com>
  4596. * defs.h (struct continuation_arg): Make 'data' a union, to avoid
  4597. casting problems when int and pointer are not the same size.
  4598. * event-top.c (command_handler): Use data as a union.
  4599. (command_line_handler_continuation): Ditto.
  4600. * infcmd.c (step_1_continuation): Use data as a union. Re-indent.
  4601. (step_once): ditto. (finish_command_continuation): Ditto.
  4602. (finish_command): Ditto.
  4603. * breakpoint.c (until_break_command): Use data as a union.
  4604. (until_break_command_continuation): Ditto.
  4605. * utils.c (add_intermediate_continuation): Fix typo in comment.
  4606. Thu Mar 30 12:09:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4607. * gdbarch.h, gdbarch.c: Re-indent. Remove FIXMEs.
  4608. * gdbarch.sh: Re-sync with gdbarch.[hc].
  4609. 2000-03-29 Daniel Berlin <dan@cgsoftware.com>
  4610. * minsyms.c (add_minsym_to_demangled_hash_table): New function.
  4611. (install_minimal_symbols): Fix demangled symbol problems caused by
  4612. using add_minsym_to_hash_table for the demangled names, which is
  4613. wrong. Now we use add_minsym_to_demangled_hash_table.
  4614. (lookup_minimal_symbol): Fix problems with demangled symbol lookup
  4615. caused by weird control flow.
  4616. * symtab.h: Add add_minsym_to_demangled_hash_table prototype here.
  4617. 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
  4618. * configure.in: -linux-gnu*, not -linux-gnu.
  4619. Tue Mar 28 18:28:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4620. * remote.c (remote_threads_extra_info): Replace qfThreadExtraInfo
  4621. with qThreadExtraInfo.
  4622. 2000-03-29 J.T. Conklin <jtc@redback.com>
  4623. * i386nbsd-nat.c (fetch_core_registers): Make static.
  4624. * m68knbsd-nat.c (fetch_core_registers): Make static.
  4625. (m68knbsd_core_fns, _initialize_m68knbsd_nat): Added.
  4626. Wed Mar 29 13:40:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4627. * TODO: Update GDB 5 status.
  4628. Wed Mar 29 10:16:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4629. * breakpoint.h (remove_hw_watchpoints): Add declaration.
  4630. * breakpoints.c (remove_hw_watchpoints): Update.
  4631. * maint.c (maintenance_do_deprecate): Avoid assignment within IF
  4632. condition.
  4633. 2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  4634. breakpoint.c, breakpoint.h (remove_hw_watchpoints): New function.
  4635. infrun.c (resume): Remove hardware watchpoints before stepping
  4636. when CANNOT_STEP_HW_WATCHPOINTS is nonzero.
  4637. 2000-03-28 Michael Snyder <msnyder@cygnus.com>
  4638. * Makefile.in: Anchor tui-file.h dependency to $srcdir.
  4639. 2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  4640. * procfs.c (proc_set_watchpoint): Declare addr parameter as
  4641. CORE_ADDR, to match call from procfs_set_watchpoint.
  4642. * breakpoint.c (insert_breakpoints, do_enable_breakpoint):
  4643. Reselect the saved frame silently after frame selection for
  4644. watchpoint evaluation.
  4645. (insert_breakpoints): Add missing space in `Hardware watchpoint
  4646. deleted' message. Do not reinsert hardware watchpoint if it is
  4647. already marked for deletion at next stop.
  4648. 2000-03-28 Christopher Faylor <cgf@cygnus.com>
  4649. * partial-stab.h: Add one more check against corrupted or irregular
  4650. stabs entry.
  4651. Tue Mar 28 12:23:37 2000 Philippe De Muyter <phdm@macqel.be>
  4652. * gnu-regex.c (regerror): Function renamed from `__regerror'.
  4653. (Change also approved in the mainline glibc sources)
  4654. Tue Mar 28 18:19:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4655. From 2000-03-20 Jonathan Larmour <jlarmour@redhat.co.uk>:
  4656. * ser-unix.c (do_unix_readchar): Reorganise to be more robust,
  4657. particularly ensuring it can't return SERIAL_TIMEOUT when told
  4658. not to time out.
  4659. 2000-03-24 Daniel Berlin <dan@cgsoftware.com>
  4660. * gdbtypes.c (_initialize_gdbtypes): Add "set debug overload",
  4661. which never existed before, and thus, has no deprecated old command.
  4662. * gdbarch.c (_initialize_gdbarch): Add "set debug arch", deprecate
  4663. "set archdebug" (same goes for the show commands).
  4664. * gdb-events.c (_initialize_gdb_events): Add "set debug event",
  4665. deprecate "set eventdebug" (same goes for the show commands).
  4666. * gdbcmd.h: Add the setdebuglist and showdebuglist externs.
  4667. * top.c (init_main): Deprecate remotedebug, use "set/show debug remote"
  4668. instead.
  4669. x(init_main): Add the "set debug" and "show debug" commands.
  4670. Add setdebuglist and showdebuglist.
  4671. Fri Mar 24 13:00:10 2000 Daniel Berlin <dan@cgsoftware.com>
  4672. * maint.c (maintenance_do_deprecate): Fix crash if you call with no arguments, and fixed the warning.
  4673. Added prototype for the deprecate command so it doesn't complain.
  4674. Tue Mar 28 11:52:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4675. * top.c (print_gdb_version): Bump copyright year to 2000.
  4676. Tue Mar 28 10:13:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4677. * MAINTAINERS: Add Glen McCready to write after approval list.
  4678. Tue Mar 28 09:59:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4679. * acconfig.h: Fix typo in comment describing HAVE_PTRACE_GETREGS.
  4680. * config.h: Regenerate.
  4681. Mon Mar 27 19:53:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4682. * TODO: Update. Add criteria for next release of GDB.
  4683. Mon Mar 27 17:20:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4684. * acconfig.h: Provide default for HAVE_PTRACE_GETREGS.
  4685. * config.h: Regenerate.
  4686. Mon Mar 27 16:43:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4687. * Makefile.in (install-only): Create $(bindir) and $(man1dir)
  4688. before installing GDB.
  4689. Mon Mar 27 16:26:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4690. * Makefile.in (all-gdbtk): Check for an existing link/directory.
  4691. Re-format warning message. Document that post 5.0 this can be
  4692. deleted.
  4693. Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4694. * ChangeLog: Revert whitespace changes.
  4695. Mon Mar 27 10:20:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4696. * MAINTAINERS: Update folks who need accounts.
  4697. Mon Mar 27 09:29:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4698. * MAINTAINERS: J.T. Conklin is NetBSD maintainer.
  4699. 2000-03-27 Mark Kettenis <kettenis@gnu.org>
  4700. * config/i386/tm-i386.h: Fix typo. It is TARGET_LONG_DOUBLE_BIT
  4701. instead of TARGET_LONG_DOUBLE_BITS.
  4702. * config/i386/tm-i386mk.h: Likewise.
  4703. 2000-03-26 Mark Kettenis <kettenis@gnu.org>
  4704. Provide `long double' support for most i386 targets.
  4705. * config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT): Define as
  4706. &floatformat_i387_ext.
  4707. (TARGET_LONG_DOUBLE_BITS): Define as 96.
  4708. (REGISTER_VIRTUAL_TYPE): Change type for FPU registers to
  4709. `builtin_type_long_double'.
  4710. (REGISTER_CONVERT_TO_VIRTUAL): Call
  4711. i386_register_convert_to_virtual.
  4712. (REGISTER_CONVERT_TO_RAW): Call i386_register_convert_to_raw.
  4713. (i387_to_double, double_to_i387): Remove prototypes.
  4714. (i386_extract_return_value): Change prototype to match definition
  4715. in i386-tdep.c.
  4716. * config/i386/tm-i386mk.h (TARGET_LONG_DOUBLE_FORMAT): #undef.
  4717. (TARGET_LONG_DOUBLE_BITS): #undef.
  4718. * config/i386/tm-linux.h (TARGET_LONG_DOUBLE_BIT): Remove.
  4719. [HAVE_LONG_DOUBLE && HOST_I386] (LD_I387): Remove.
  4720. (i387_extract_floating, i387_store_floating): Remove prototypes.
  4721. (TARGET_EXTRACT_FLOATING, TARGET_STORE_FLOATING): Remove.
  4722. (REGISTER_CONVERT_TO_VIRTUAL, REGOISTER_CONVERT_TO_RAW): Remove.
  4723. (REGISTER_VIRTUAL_TYPE): Remove.
  4724. * i386-tdep.c (i386_register_convert_to_virtual): New function.
  4725. (i386_register_convert_to_raw): New function.
  4726. * i387-tdep.c [LD_I387] (i387_extract_floating): Remove.
  4727. (i387_store_floating): Remove.
  4728. Sat Mar 25 18:55:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4729. * maint.c: Re-indent.
  4730. Sat Mar 25 18:51:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4731. * maint.c (_initialize_maint_cmds): Remove quoted trailing space.
  4732. 2000-03-24 Christopher Faylor <cgf@cygnus.com>
  4733. * config/mips/tm-wince.h: Fix typo which caused include of tm-mips.h to
  4734. be inoperative.
  4735. 2000-03-24 Christopher Faylor <cgf@cygnus.com>
  4736. * win32-nat.c: Back out special frame walking code. It was broken.
  4737. (handle_exception): Correctly identify an illegal instruction.
  4738. * config/tm-cygwin.h: Eliminate special frame handling. Just use
  4739. normal i386 handling.
  4740. 2000-03-24 J.T. Conklin <jtc@redback.com>
  4741. * i386/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
  4742. * i386nbsd-nat.c (i386nbsd_use_struct_convention): New function.
  4743. (fetch_core_registers): Read fp registers.
  4744. (i386nbsd_core_fns, _initialize_i386nbsd_nat): Added.
  4745. 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
  4746. * arm-tdep.c (thumb_skip_prologue): Take function end addr argument
  4747. so that we can stop searching for the prologue past the function end
  4748. (arm_skip_prologue): Call thumb_skip_prologue with function end addr
  4749. 2000-03-24 Kevin Buettner <kevinb@redhat.com>
  4750. * linux-thread.c, lin-thread.c (save_inferior_pid,
  4751. restore_inferior_pid): Don't do compile time comparison
  4752. of TARGET_PTR_BIT and TARGET_INT_BIT.
  4753. Thu Mar 23 13:18:26 2000 Philippe De Muyter <phdm@macqel.be>
  4754. * m68k-tdep.c (P_LINKL_FP, P_LINKW_FP): Macros renamed from P_LINK_L
  4755. and P_LINK_W.
  4756. (P_PEA_FP, P_MOVL_SP_FP): New macros.
  4757. (P_MOVL, P_LEAL, P_MOVML): Macros renamed from P_MOV_L, P_LEA_L and
  4758. P_MOVM_L.
  4759. (altos_skip_prologue, isi_skip_prologue): Use P_* macros, not octal
  4760. constants.
  4761. (delta68_in_sigtramp): New function.
  4762. (delta68_frame_args_address, delta68_frame_saved_pc): Ditto.
  4763. (m68k_skip_prologue): Use P_* macros, not hex constants.
  4764. (m68k_find_saved_regs): Do not expect a fixed sequence of register save
  4765. instructions, but accept them in any order; use P_* macros, not octal
  4766. or hex constants; recognize also `fmovemx to (fp + displacement)' and
  4767. `moveml to (fp + displacement)'.
  4768. * m68/tm-delta68.h (IN_SIGTRAMP): New macro.
  4769. (FRAME_SAVED_PC, FRAME_ARGS_ADDRESS): Ditto.
  4770. Fri Mar 24 13:44:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4771. * MAINTAINERS: Add Fernando Nasser to testsuite maintainers.
  4772. 2000-03-23 Michael Snyder <msnyder@cygnus.com>
  4773. * solib.c (open_symbol_file_object): To sneak an int argument
  4774. past catch_errors, instead of casting it to a pointer, simply
  4775. pass it by address.
  4776. 2000-03-23 Jimmy Guo <guo@cup.hp.com>
  4777. * gdbtypes.c (rank_function): Rank all N parameters and use correct
  4778. index into the prams[] and args[] arrays.
  4779. 2000-03-23 Fernando Nasser <fnasser@cygnus.com>
  4780. From David Whedon <dwhedon@gordian.com>
  4781. * top.c (execute_command): Checks all commands beore executing
  4782. to see if the user needs to be warned that the command is
  4783. deprecated, warns user if appropriate.
  4784. (add_info), (add_info_alias), (add_com) , (add_com_alias): Changed
  4785. return values from void to struct cmd_list_element *.
  4786. * command.c (lookup_cmd_1): Check aliases before following link
  4787. in case user needs to be warned about a deprecated alias.
  4788. (deprecate_cmd): new exported function for command deprecation,
  4789. sets flags and posibly a replacement string.
  4790. (deprecated_cmd_warning): New exported funciton to warn user about
  4791. a deprecated command.
  4792. (lookup_cmd_composition): New exported function that determines
  4793. alias, prefix_command, and cmd based on a string. This is useful
  4794. is we want to full name of a command.
  4795. * command.h : Added prototypes for deprecate_cmd,
  4796. deprecated_warn_user and lookup_cmd_composition, added flags to
  4797. the cmd_list_element structure, changed return values for
  4798. add_com_* and add_info_* from void to cmd_list_element.
  4799. * maint.c : (maintenance_deprecate): New function to deprecate a
  4800. command. This exists only so that the testsuite can deprecate
  4801. commands at runtime and check the warning behavior.
  4802. (maintenance_undeprecate) : New function, drops deprecated flags.
  4803. (maintenance_do_deprecate): Actually does the (un)deprecation.
  4804. (initialize_maint_cmds): Added the above new deprecate commands.
  4805. 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
  4806. * command.c (apropos_cmd_helper): New function, meat of the
  4807. apropos command.
  4808. (apropos_command): New apropos command to search command
  4809. names/documentation for regular expressions.
  4810. (_initialize_command): Add the apropos command.
  4811. 2000-03-23 Michael Snyder <msnyder@cygnus.com>
  4812. * sol-thread.c (ps_pglobal_lookup): Change argument type from
  4813. paddr_t to psaddr_t. This mistake appears to date from an
  4814. erroneous man page in Solaris 2.5 -- the correct type from the
  4815. system headers has always been psaddr_t.
  4816. (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Ditto.
  4817. (rw_common): Ditto.
  4818. 2000-03-22 Kevin Buettner <kevinb@redhat.com>
  4819. * ia64-linux-nat.c: Fix copyright.
  4820. (fill_gregset): Minor formatting fix.
  4821. * ia64-tdep.c (template_encoding_table, fetch_instruction,
  4822. examine_prologue): Clean up some compiler warnings.
  4823. (is_float_or_hfa_type_recurse, is_float_or_hfa_type, find_func_descr,
  4824. find_global_pointer, find_extant_func_descr): New functions.
  4825. (ia64_use_struct_convention, ia64_extract_return_value,
  4826. ia64_push_arguments): Handle HFAs.
  4827. (ia64_push_arguments): Find (or build) a function descriptor
  4828. when given a function address.
  4829. (ia64_push_return_address): Moved code for finding the
  4830. global pointer into its own function, find_global_pointer ().
  4831. 2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4832. * event-loop.c (handle_file_event): Run through indent.
  4833. 2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4834. From Philippe De Muyter <phdm@macqel.be>
  4835. * event-loop.c (sys/types.h): File now included unconditionally.
  4836. (use_poll): New variable..
  4837. (gdb_notifier): poll- and select-versions merged.
  4838. (add_file_handler): If HAVE_POLL, check whether poll is usable,
  4839. and reset `use_poll' if not.
  4840. (create_file_handler): Select poll- or select-version according to
  4841. `use_poll'.
  4842. (delete_file_handler, handle_file_event): Likewise.
  4843. (gdb_wait_for_event, poll_timers): Likewise.
  4844. 2000-03-22 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  4845. * printcmd.c (print_scalar_formatted): Truncate addresses to the
  4846. size of a target pointer before passing them to print_address.
  4847. 2000-03-22 Mark Kettenis <kettenis@gnu.org>
  4848. * config/i386/tm-i386aix.h (I386_AIX_TARGET): Remove.
  4849. * config/i386/tm-linux.h (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM):
  4850. Remove
  4851. * i386-tdep.c (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): New defines.
  4852. (i386_extract_return_value): Rewritten. Correctly support all
  4853. floating-point types and large integer types on targets that use
  4854. the standard i386 GDB register layout and return floating-point
  4855. values in the FPU.
  4856. Wed Mar 22 15:09:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4857. * configure.in (CONFIG_INITS): Do not append remote-nrom.c
  4858. 2000-03-21 J.T. Conklin <jtc@redback.com>
  4859. * i386/nbsd.mh (NATDEPFILES): Change i386b-nat.o to i386nbsd-nat.o.
  4860. * i386nbsd-nat.c: New file.
  4861. * i386/tm-nbsd.h (NUM_REGS): Removed.
  4862. (HAVE_I387_REGS): Defined.
  4863. * i386/nm-nbsd.h (FLOAT_INFO): Removed.
  4864. * tm-nbsd.h (IN_SOLIB_CALL_TRAMPOLINE): Define if not
  4865. SVR4_SHARED_LIBS.
  4866. Wed Mar 22 11:18:59 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4867. * MAINTAINERS: Add Jim Blandy to breakpoint maintainers. David
  4868. taylor is the Solaris/SPARC maintainer. Add Jonathan Larmour to
  4869. the write after approval list.
  4870. 2000-03-21 Kevin Buettner <kevinb@redhat.com>
  4871. * symtab.h (MAX_SECTIONS, struct section_addr_info,
  4872. symbol_file_add): Move declarations from here...
  4873. * symfile.h: ...to here.
  4874. * solib.c (symbol_add_stub): Make symbol_file_add () aware of
  4875. all section addresses, not just .text.
  4876. * symfile.h, symfile.c (free_section_addr_info,
  4877. build_section_addr_info_from_section_table): New functions.
  4878. * symfile.h (MAX_SECTIONS): Increase value to 40.
  4879. * symfile.c (syms_from_objfile): Add bounds check prior to
  4880. accessing ``other'' array in a section_addr_info_struct.
  4881. Remove unused variable section_offsets.
  4882. (add_symbol_file_command): Remove unused variable text_addr.
  4883. 2000-03-21 Eli Zaretskii <eliz@is.elta.co.il>
  4884. * breakpoint.c (bpstat_stop_status): Don't stop if a read
  4885. watchpoint appears to break, but the watched value changed.
  4886. 2000-03-21 Jim Blandy <jimb@redhat.com>
  4887. * gdbarch.sh: Emit a definition and declaration for gdbarch_free,
  4888. a companion to gdbarch_alloc, which allows a gdbarch init function
  4889. to free partially-built gdbarch structures.
  4890. * gdbarch.c, gdbarch.h: Regenerated.
  4891. 2000-03-20 Kevin Buettner <kevinb@redhat.com>
  4892. * configure.host, configure.tgt (ia64-*-linux*): New entry.
  4893. * gdbserver/low-linux.c (u_offsets, ia64_register_u_addr,
  4894. initialize_arch): Define for IA-64.
  4895. (initialize_arch): Add declaration.
  4896. 2000-03-20 Eli Zaretskii <eliz@is.elta.co.il>
  4897. * breakpoint.c (insert_breakpoints, remove_breakpoint)
  4898. (bpstat_stop_status, can_use_hardware_watchpoint): Don't insert,
  4899. remove, or check status of hardware watchpoints for entire structs
  4900. and arrays unless the user explicitly asked to watch that struct
  4901. or array.
  4902. (insert_breakpoints): Try to insert watchpoints for all the values
  4903. on the value chain, even if some of them fail to insert.
  4904. * values.c (value_primitive_field): Set the offset in struct value
  4905. we return when the field is a packed bitfield.
  4906. 2000-03-20 Michael Snyder <msnyder@cygnus.com>
  4907. * remote.c (remote_threads_extra_info): New function.
  4908. Implement the extra thread info query for "info threads".
  4909. (remote_threads_info): Clean up a bit.
  4910. (use_threadinfo_query, use_threadextra_query): New variables.
  4911. Control whether GDB will use the new or old protocol for
  4912. thread info queries.
  4913. (remote_open_1): Initialize new variables.
  4914. (remote_async_open_1): Ditto.
  4915. (remote_cisco_open): Ditto.
  4916. 2000-03-20 Kevin Buettner <kevinb@redhat.com>
  4917. * ia64-linux-nat.c, ia64-tdep.c, config/ia64/linux.mh,
  4918. config/ia64/linux.mt, config/ia64/nm-linux.h, config/ia64/tm-ia64.h,
  4919. config/ia64/tm-linux.h, config/ia64/xm-linux.h: New files.
  4920. 2000-03-20 Kevin Buettner <kevinb@redhat.com>
  4921. * utils.c (floatformat_from_doublest): Don't assume that a long
  4922. will be exactly 32 bits in length. Also... make sure space
  4923. that we're writing the float to is completely initialized to
  4924. zeroes, even when the number of bits in the float is not
  4925. evenly divisible by FLOATFORMAT_CHAR_BIT.
  4926. 2000-03-20 Jim Blandy <jimb@redhat.com>
  4927. * i386-linux-nat.c: No need to #include "frame.h" any more.
  4928. (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
  4929. LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
  4930. LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
  4931. LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
  4932. LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
  4933. LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
  4934. linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
  4935. i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
  4936. i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
  4937. i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
  4938. i386_linux_sigtramp_saved_sp): Deleted. Folks rightly pointed
  4939. out that these are target-dependent, and useful in non-native
  4940. configurations. Moved to...
  4941. * i386-linux-tdep.c: ... Here, a new file.
  4942. * Makefile.in (ALLDEPFILES): Add i386-linux-tdep.c.
  4943. (i386-linux-tdep.o): New rule.
  4944. (i386-linux-nat.o): We no longer depend on frame.h.
  4945. * config/i386/linux.mt (TDEPFILES): Add i386-linux-tdep.o.
  4946. 2000-03-04 Eli Zaretskii <eliz@is.elta.co.il>
  4947. * event-loop.c (top-level) [NO_FD_SET]: Deprecate this branch.
  4948. Print an error at compile time if we are to use select, but FD_SET
  4949. is not available.
  4950. (SELECT_MASK, NBBY, FD_SETSIZE, NFDBITS, MASK_SIZE): Define only
  4951. if HAVE_POLL is not defined and NO_FD_SET *is* defined.
  4952. (create_file_handler) [!HAVE_POLL]: Use FD_SET and FD_CLR.
  4953. (delete_file_handler) [!HAVE_POLL]: Use FD_CLR and FD_ISSET.
  4954. (gdb_wait_for_event) [!HAVE_POLL]: Copy fd_set sets directly
  4955. instead of using memcpy and memset. Use FD_ISSET.
  4956. * config/i386/xm-go32.h (fd_mask): Remove typedef.
  4957. Mon Mar 20 19:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4958. * command.c (_initialize_command): Document requirements for ``!''
  4959. command.
  4960. Mon Mar 20 18:12:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4961. From Fri 10 Mar 2000 Robert
  4962. <robert.melchers@drives.eurotherm.co.uk>:
  4963. * sh-tdep.c (sh_processor_type_table): Add entry for sh2.
  4964. Mon Mar 20 17:33:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4965. From Thu Mar 16 16:49:27 EST 2000 John David Anglin
  4966. <dave@hiauly1.hia.nrc.ca>:
  4967. * configure.in (CONFIG_INITS): Don't include hpux-thread.c. Stops
  4968. _initialize_hpux_thread being called twice.
  4969. * configure: Regenerated.
  4970. 2000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
  4971. * event-top.c (_initialize_event_loop): If instream is not
  4972. connected to a terminal device, turn editing off.
  4973. 2000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
  4974. Support for building GDB with DJGPP, and running the test suite on
  4975. it:
  4976. * config/djgpp/djconfig.sh: New file.
  4977. * config/djgpp/config.sed: New file.
  4978. * config/djgpp/README: New file.
  4979. * config/djgpp/fnchange.lst: New file.
  4980. * config/djgpp/djcheck.sh: New file.
  4981. 2000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
  4982. * ser-go32.c (ports): Make the initializers complete, to pacify
  4983. GCC 2.9X.
  4984. 2000-03-17 Jim Blandy <jimb@redhat.com>
  4985. * i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
  4986. two-dimensional array, instead of faking it with explicit index
  4987. arithmetic.
  4988. * linux-thread.c (linuxthreads_attach, linuxthreads_detach,
  4989. linuxthreads_create_inferior): Fix typo in variable name: it's
  4990. linuxthreads_exit_status, not linux_exit_status.
  4991. * gdb_wait.h (WSETSTOP): Pass the appropriate number of arguments
  4992. to W_STOPCODE.
  4993. * solib.c (solib_add): Delete debugging code.
  4994. 2000-03-17 Mark Kettenis <kettenis@gnu.org>
  4995. * gdb_wait.h: add definitions of WSETSTOP and WSETEXIT for Linux.
  4996. * linux-thread.c: Use WSETSTOP instead of W_STOPCODE.
  4997. Fri Mar 17 11:06:59 2000 Philippe De Muyter <phdm@macqel.be>
  4998. * language.c (set_lang_str): Do not call `free' for a null pointer.
  4999. (set_type_str, set_range_str): Ditto.
  5000. 2000-03-16 Jim Blandy <jimb@redhat.com>
  5001. * i386-linux-nat.c (i386_linux_saved_pc_after_call): Lost in the
  5002. merge; reinstated.
  5003. * solib.c (current_sos): Be more careful about freeing the new
  5004. so_list node if an error occurs.
  5005. * i386-tdep.c (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
  5006. LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
  5007. LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
  5008. LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
  5009. LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
  5010. LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
  5011. linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
  5012. i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
  5013. i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
  5014. i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
  5015. i386_linux_sigtramp_saved_sp): Deleted. These all implement
  5016. Linux-specific signal trampoline detection, and should be moved
  5017. to...
  5018. * i386-linux-nat.c: ... here.
  5019. * config/i386/tm-linux.h (I386_LINUX_SIGTRAMP): No need to define
  5020. this any more, since we're not enabling OS-specific code in a
  5021. OS-independent file.
  5022. 2000-03-16 Eli Zaretskii <eliz@is.elta.co.il>
  5023. * Makefile.in (go32-nat.o): Add prerequisites.
  5024. (ALLDEPFILES): Add go32-nat.c.
  5025. 2000-03-15 Michael Snyder <msnyder@cygnus.com>
  5026. From "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
  5027. * symfile.c (reread_symbols): Clear msymbol hash table.
  5028. 2000-03-15 Jim Blandy <jimb@redhat.com>
  5029. Deal with the inferior unloading shared objects.
  5030. * solib.c (current_sos): New function, replacing find_solib.
  5031. (find_solib): Deleted.
  5032. (free_so): New function.
  5033. (clear_solib): Call free_so, instead of writing it out.
  5034. (solib_add): Rewritten: compare the inferior's current list of
  5035. shared objects with GDB's list, and do the required loads and
  5036. unloads.
  5037. (info_sharedlibrary_command, solib_address): Don't use find_solib
  5038. to walk the list of shared libraries: call solib_add, and then
  5039. walk the list at so_list_head normally.
  5040. * objfiles.c (free_objfile): Don't call CLEAR_SOLIB, and don't
  5041. detach the core target. These tasks are taken care of elsewhere.
  5042. * target.c (remove_target_sections): New function.
  5043. * target.h (remove_target_sections): New declaration.
  5044. * solib.c (symbol_add_stub): Check whether we've already created
  5045. an objfile for this shared object first, before doing all that
  5046. work to compute section addresses, etc.
  5047. * objfiles.c (unlink_objfile): Report an internal error if objfile
  5048. doesn't occur in the object_files list.
  5049. * solib.c (special_symbol_handling): Delete argument; it's not
  5050. used.
  5051. Changes from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
  5052. * solib.c (SOLIB_EXTRACT_ADDRESS): New macro to extract addresses
  5053. from solib structures. Use it throughout solib.c, get rid of all
  5054. CORE_ADDR casts.
  5055. (struct so_list): Change type of lmaddr to CORE_ADDR.
  5056. (first_link_map_member): Change return value type to CORE_ADDR,
  5057. update callers.
  5058. (solib_add_common_symbols): Change parameter type to CORE_ADDR,
  5059. update callers.
  5060. (open_symbol_file_object, find_solib): Change type of lm variable
  5061. to CORE_ADDR.
  5062. 2000-03-15 Eli Zaretskii <eliz@is.elta.co.il>
  5063. * ser-go32.c (dos_noop, dos_raw, dos_noflush_set_tty_state)
  5064. (dos_print_tty_state, dos_info, _initialize_ser_dos): Convert
  5065. to ISO C. Use ATTRIBUTE_UNUSED to avoid compiler warnings.
  5066. (dos_info): Avoid compiler warning when printing a ptrdiff_t.
  5067. * ser-go32.c (dos_get_tty_state): Fail if the (fake) handle was
  5068. not opened by dos_open, but let the 3 standard handles go through
  5069. unharmed.
  5070. 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5071. * eval.c (evaluate_subexp_with_coercion): Add call to
  5072. check_typedef, to handle typedeffed vars correctly.
  5073. Mon Mar 13 21:21:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5074. * defs.h (STREQ, STRCMP, STREQN): Document that these macros are
  5075. somewhat redundant.
  5076. (QUIT): Note that this can probably be replaced by a function.
  5077. 2000-03-13 James Ingham <jingham@leda.cygnus.com>
  5078. Add support for a variable object that tries to evaluate itself in
  5079. the currently selected frame, rather than in a fixed frame.
  5080. * wrapper.c,h (gdb_parse_exp_1): Added a wrapper for
  5081. gdb_parse_exp_1.
  5082. * varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n
  5083. of varobj_create.
  5084. * varobj.c (varobj_list): Return type indicates whether the
  5085. variable's type has changed (for current frame variables).
  5086. (varobj_update): Handle the case where the variable's type has
  5087. changed.
  5088. (delete_variable_1): Allow for deletion of variables that have not
  5089. been installed yet.
  5090. (new_root_variable): Initialize use_selected_frame variable.
  5091. (value_of_root): This is where most of the work to handle "current
  5092. frame" variables was added. Most of the complexity involves
  5093. handling the case where the type of the variable has changed.
  5094. (varobj_create): Add a "type" argument, to tell if the
  5095. variable is one of these "current frame" variables. Also protect
  5096. call to parse_exp_1 from long jumping.
  5097. 2000-03-13 Eli Zaretskii <eliz@is.elta.co.il>
  5098. * go32-nat.c (struct env387): Remove declaration.
  5099. (print_387_status, i386_go32_float_info): Remove redundant
  5100. functions.
  5101. (regno_mapping, sig_map, excepn_map): Add braces around inner
  5102. initializers.
  5103. (many functions): Use ATTRIBUTE_UNUSED to shut up the compiler;
  5104. fix code which mixed signed with unsigned.
  5105. (go32_resume): Use TARGET_SIGNAL_LAST instead of -1.
  5106. (go32_wait): Initialize INT3_addr.
  5107. (go32_fetch_registers): Extend all FP registers that are shorter
  5108. than 4 bytes to 32 bits. Support 32 standard FP registers defined
  5109. on config/i386/tm-i386.h.
  5110. (store_register): Support 32 FP registers.
  5111. (go32_create_inferior): Don't crash if handed a NULL pointer
  5112. instead of exec file name.
  5113. (ignore): Remove unused function.
  5114. (go32_insert_hw_breakpoint): Remove unused variables.
  5115. (init_go32_ops): Set value of processing_gcc_compilation to 2.
  5116. Mon Mar 13 18:54:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5117. From 2000-03-10 Daniel Berlin <dan@cgsoftware.com> Fix C++
  5118. overloading, add support for seeing through references:
  5119. * valops.c (find_overload_match): Handle STABS overloading for
  5120. C++.
  5121. (find_overload_match): Look in right place for function arguments
  5122. in the debug info.
  5123. (find_overload_match): Rather than giving up when we have >1
  5124. perfect match, just choose one, especially since the
  5125. recommendation GDB gives ("disambiguate it by specifying function
  5126. signature"), is basically impossible.
  5127. (check_field_in): STREQ->strcmp_iw
  5128. (search_struct_field): STREQ->strcmp_iw
  5129. (find_method_list): STREQ->strcmp_iw
  5130. * gdbtypes.c (rank_one_type): Add ability to see through
  5131. references.
  5132. (rank_one_type): strcmp->strcmp_iw, because the whitespace could
  5133. be different.
  5134. (rank_function): Rank function properly (was doing it wrong
  5135. before, comparing the wrong parts of the arrays)
  5136. (rank_one_type): Change #if 0 to #ifdef DEBUG_OLOAD.
  5137. * gdbtypes.h: Add REFERENCE_CONVERSION_BADNESS for "badness"
  5138. associated with converting a non-reference to a reference.
  5139. * eval.c (evaluate_subexp_standard): for OP_VAR_VALUE, always
  5140. return full value object; for STRUCTOP_PTR, use pointer to
  5141. rtti type to get member / method if objectprint is set and
  5142. target type of pointer is class.
  5143. * gdbtypes.c (rank_one_type): Add comment on how to eliminate the
  5144. #ifdef DEBUG_OLOAD.
  5145. 2000-03-11 Mark Kettenis <kettenis@gnu.org>
  5146. * gnu-nat.c: Fix the formatting where indent misinterpreted `&' as
  5147. a binary operator.
  5148. (gnu_attach): Change error message for missing
  5149. argument to be identical to the corresponding message in
  5150. `inftarg.c'. This makes the testsuite happy.
  5151. 2000-03-11 Mark Kettenis <kettenis@gnu.org>
  5152. * i386gnu-nat.c (gnu_store_registers): Make sure the T bit in the
  5153. %eflags isn't modified. This fixes a bug where every call to a
  5154. function in the program beyond the first call would fail.
  5155. Fri Mar 10 11:44:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5156. * MAINTAINERS: Devolve responsibility for domain maintenance.
  5157. 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5158. * minsyms.c (prim_record_minimal_symbol_and_info): Add comment.
  5159. 2000-02-25 Scott Bambrough <scottb@netwinder.org>
  5160. * gdb.base/long_long.exp: Correct test suite failure when printing
  5161. a long long value as a double on ARM platforms.
  5162. Thu Mar 9 14:21:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5163. * MAINTAINERS (Core): Anthony Green is the Java - including
  5164. testsuite - maintainer. Reformat testsuite and language support
  5165. sections
  5166. 2000-03-08 Mark Kettenis <kettenis@gnu.org>
  5167. * i386-tdep.c (i386_linux_saved_pc_after_call): New function.
  5168. * config/i386/tm-linux.h (SAVED_PC_AFTER_CALL): Define to call
  5169. i386_linux_saved_pc_after_call.
  5170. 2000-03-06 Jim Blandy <jimb@redhat.com>
  5171. From Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>:
  5172. * minsyms.c: #include <ctype.h>, for msymbol_hash_iw.
  5173. (compact_minimal_symbols): Added `objfile' argument.
  5174. Put symbols in the objfile's hash table.
  5175. (install_minimal_symbols): Put symbols in the objfile's demangled
  5176. hash table.
  5177. (lookup_minimal_symbol): Use hash table to find symbol in
  5178. objfile.
  5179. (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): New
  5180. functions.
  5181. (prim_record_minimal_symbol_and_info): Initialize the
  5182. hash link fields of the new minimal symbol.
  5183. * symtab.h (struct minimal_symbol): New fields `hash_next',
  5184. `demangled_hash_next'.
  5185. (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): Declare.
  5186. * objfiles.h (MINIMAL_SYMBOL_HASH_SIZE): New define.
  5187. (struct objfile): New fields `msymbol_hash',
  5188. `msymbol_demangled_hash'.
  5189. 2000-03-06 Jim Blandy <jimb@redhat.com>
  5190. * solib.c (first_link_map_member): Doc fix.
  5191. 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5192. From Eli Zaretskii <eliz@is.elta.co.il>:
  5193. * event-loop.c (poll_timers): Don't compare delta.tv_sec with
  5194. zero, since time_t might be unsigned.
  5195. 2000-03-06 Mark Kettenis <kettenis@gnu.org>
  5196. * i386-linux-nat.c (supply_fpregset): Mask off the reserved bits
  5197. in *FPREGSETP.
  5198. (convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP.
  5199. 2000-03-05 Mark Kettenis <kettenis@gnu.org>
  5200. Allow GDB to run on Linux 2.0 again.
  5201. * config.in: Add HAVE_PTRACE_GETREGS.
  5202. * configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS.
  5203. * configure: Regenerated.
  5204. * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER,
  5205. CANNOT_STORE_REGISTER): New defines.
  5206. * i386-linux-nat.c (have_ptrace_getregs): New variable.
  5207. (PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register,
  5208. old_fetch_inferior_registers, CANNOT_STORE_REGISTER,
  5209. store_register, old_store_inferior_registers): Copied over from
  5210. `inptrace.c' as a temporary measure.
  5211. (fetch_regs, store_regs, fetch_fpregs, store_fpregs):
  5212. Conditionalize on HAVE_PTRACE_GETREGS. Define stubs if
  5213. HAVE_PTRACE_GETREGS isn't defined.
  5214. (fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails
  5215. with EIO.
  5216. (fetch_inferior_registers, store_inferior_registers): Fall back on
  5217. the method use in `infptrace.c' (by calling
  5218. old_fetch_inferior_registers and old_store_inferior_registers) if
  5219. `have_ptrace_getregs' isn't set.
  5220. 2000-03-05 Mark Kettenis <kettenis@gnu.org>
  5221. * i386-linux-nat.c: Use elf_gregset_t and elf_fpregset_t instead
  5222. of gregset_t and fpregset_t. Those are the only names that are
  5223. guaranteed to specify the right types for all supported Linux
  5224. systems out there.
  5225. Various doc fixes and gratitious local variable renames, all in an
  5226. attempt to stress similarities between the code and unify the
  5227. terminology used. Use ISO-C all over.
  5228. (regmap): Remove trailing comma.
  5229. (FPREG_ADDR): Renamed from FPREGSET_T_FPREG_ADDR.
  5230. (convert_to_gregset): Make static. Remove GDB_REGS argument. It
  5231. is unnecessary and wasn't used anyway. All callers changed.
  5232. (convert_to_fpregset, convert_to_xfpregset): Likewise.
  5233. (fetch_regs, store_regs): Remove unused variable `regno'.
  5234. (fill_fpregs): If REGNO is not -1, only update the specified
  5235. register.
  5236. (fetch_core_registers): Renamed from
  5237. i386_linux_fetch_core_registers. There is no need for a unique
  5238. name since the function is static anyway.
  5239. (linux_elf_core_fns): Renamed from i386_linux_nat_core_functions
  5240. since it is more descriptive.
  5241. Sun Mar 5 19:40:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5242. * MAINTAINERS (readline/): Expand to include host maintainers.
  5243. 2000-03-04 Mark Kettenis <kettenis@gnu.org>
  5244. Fix support for Linux/i386 signal trampolines. The old approach
  5245. didn't work for Linux 2.2 and beyond, and didn't work with recent
  5246. versions of the GNU C library.
  5247. * i386-tdep.c (LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
  5248. LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): New defines.
  5249. (linux_rt_sigtramp_code): New variable.
  5250. (LINUX_RT_SIGTRAMP_LEN): New define.
  5251. (i386_linux_rt_sigtramp_start): New function. Detect start of
  5252. signal trampolines for RT signals.
  5253. (i386_linux_sigtramp): Removed.
  5254. (i386_linux_in_sigtramp): New function.
  5255. (i386_linux_sigcontext_addr): New function. Recognize the names
  5256. of the signal tranmpolines used by recent versions of the GNU C
  5257. library, and add support for RT signals.
  5258. (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET): New
  5259. defines. Moved here from config/i386/tm-linux.h.
  5260. (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
  5261. Reimplement in terms of i386_linux_sigcontext_addr.
  5262. * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed.
  5263. (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
  5264. Moved to i386-tdep.c.
  5265. (IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.
  5266. Sat Mar 4 19:38:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5267. By: Sat Mar 4 04:08:58 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
  5268. * Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}.
  5269. Sat Mar 4 17:23:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5270. * MAINTAINERS: Frank Ch. Eigler and Andrew Cagney co-ordinate the
  5271. sim directory.
  5272. Sat Mar 4 16:19:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5273. * MAINTAINERS: Add Michael Snyder and Peter Schauer to list of
  5274. ``Blanket Write Privs'' maintainers.
  5275. Sat Mar 4 15:58:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5276. From Sun 20 Feb 2000 Robert Lipe <robertl@sco.com>:
  5277. * language.c (longest_local_hex_string_custom): Don't compile
  5278. 'long long' section if host doesn't have 'long long'.
  5279. Sat Mar 4 15:45:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5280. * language.c (longest_raw_hex_string): Comment out. Appears
  5281. unused.
  5282. Sat Mar 4 13:02:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5283. * utils.c (mcalloc), defs.h (mcalloc): Keep consistent with
  5284. "mmalloc.h" which means using PTRs.
  5285. (init_malloc, msavestring, mstrsave): Convert to PTR free ISO-C.
  5286. Sat Mar 4 11:49:21 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5287. * defs.h (store_address, store_unsigned_integer, store_address):
  5288. Replace PTR with void* in delcaration.
  5289. * findvar.c (extract_signed_integer, extract_unsigned_integer,
  5290. extract_long_unsigned_integer, extract_address,
  5291. store_signed_integer, store_unsigned_integer, store_address):
  5292. Convert definition to ISO-C. Replace PTR with void*.
  5293. Sat Mar 4 10:57:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5294. * defs.h (make_cleanup_func): Document as deprecated.
  5295. (make_cleanup_ftype): New typedef. Make signature consistent with
  5296. other function typedefs. Document as not be used out side of
  5297. make_cleanup code. Use in make_cleanup declarations.
  5298. (null_cleanup): Replace PTR with void*.
  5299. * utils.c (make_cleanup, make_final_cleanup, make_run_cleanup,
  5300. make_exec_cleanup, make_exec_error_cleanup, make_my_cleanup,
  5301. null_cleanup): Change K&R definition to ISO-C using void* and
  5302. make_cleanup_fytpe.
  5303. (discard_my_cleanups): Don't cast argument to free.
  5304. 2000-03-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5305. * defs.h (struct continuation_arg): Change type of field 'data'
  5306. from PTR to void *.
  5307. * event-loop.h: Eliminate uses of PTR, use 'void *' instead.
  5308. * event-top.c: Ditto.
  5309. Fri Mar 3 15:39:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5310. * Makefile.in (CONFIG_CLEAN, CONFIG_ALL, LN_S): Defined by
  5311. configure.
  5312. (SUBDIR_MI_CLEAN, SUBDIR_GDBTK_CLEAN, SUBDIR_MI_ALL,
  5313. SUBDIR_GDBTK_ALL): Define.
  5314. (all-gdbtk, clean-gdbtk): New targets.
  5315. (all): Add CONFIG_ALL as dependency.
  5316. (clean): Add CONFIG_CLEAN as dependency.
  5317. * configure.in (CONFIG_ALL, CONFIG_CLEAN): Define.
  5318. (LN_S): Define. Delete GDBtk's link code.
  5319. Fri Mar 3 13:12:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5320. * configure.in (ENABLE_GDBTK): Delete variable.
  5321. (enable-gdbtk): Only enable gdbtk when there is a GDBTK directory.
  5322. * Makefile.in: Update.
  5323. * configure: Regenerate
  5324. 2000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5325. * config/alpha/alpha-linux.mh: Remove core-regset.o fron the
  5326. NATDEPFILES list.
  5327. 2000-03-02 Mark Kettenis <kettenis@gnu.org>
  5328. * config/i386/tm-i386aix.h (NUM_FPREGS, NUM_REGS, REGISTER_BYTES):
  5329. Override definitions to include the normal FPU registers.
  5330. (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
  5331. REGISTER_CONVERT_TO_RAW): Removed. The default definitions are
  5332. fine for AIX/i386.
  5333. (i387_to_double, double_to_i387): Remove prototypes.
  5334. 2000-03-02 Kevin Buettner <kevinb@redhat.com>
  5335. * findvar.c (extract_floating, store_floating): Use target
  5336. floating point type sizes rather host sizes to determine
  5337. which conversion needs to be done.
  5338. 2000-03-02 Nick Duffek <nsd@cygnus.com>
  5339. * uw-thread.c: Apply GNU conventions to comment formatting.
  5340. (deactivate_uw_thread): Call remove_thread_event_breakpoints().
  5341. (uw_thread_mourn_inferior): Move remove_thread_event_breakpoints()
  5342. call to deactivate_uw_thread().
  5343. Thu Mar 2 09:04:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5344. * MAINTAINERS: Daniel Berlin is C++ maintainer.
  5345. Thu Mar 2 08:55:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5346. * MAINTAINERS: Mark Kettenis is the x86 architcture maintainer and
  5347. a joint GNU/Linux/x86 maintainer. Nick Duffeck and Robert Lipe
  5348. share SCO/Unixware. Nick Duffek and Peter Schauer share
  5349. Solaris/x86.
  5350. Wed Mar 1 22:12:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5351. From Wed 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
  5352. * remote-sim.c (gdbsim_close): Call generic_mourn_inferior.
  5353. * remote-rdi.c (arm_rdi_close): Ditto.
  5354. Wed Mar 1 19:31:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5355. * CONTRIBUTE (configure.in): Note that patches to configure are
  5356. not needed.
  5357. 2000-03-01 Mark Kettenis <kettenis@gnu.org>
  5358. * MAINTAINERS: Correct my own mail address.
  5359. Wed Mar 1 11:26:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5360. * MAINTAINERS: Document people with paperwork pending.
  5361. Wed Mar 1 00:49:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5362. From 2000-02-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
  5363. Make NEW_PROC_ABI interface functional on Solaris x86.
  5364. * sol-thread.c (ps_lgetLDT): Rewrite to use new
  5365. procfs_find_LDT_entry function from procfs.c, mostly copied from
  5366. lin-thread.c.
  5367. * inferior.h, procfs.c (procfs_get_pid_fd): Removed, no longer
  5368. needed.
  5369. Wed Mar 1 00:34:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5370. From 2000-02-26 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
  5371. * config/i386/tm-i386sol2.h (MERGEPID): Define.
  5372. Wed Mar 1 00:06:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5373. From 1999-08-13 J.T. Conklin <jtc@redback.com>:
  5374. * config/i386/tm-i386.h (FRAME_INIT_SAVED_REGS): Replace
  5375. FRAME_FIND_SAVED_REGS.
  5376. (i386_frame_init_saved_regs): Replace i386_frame_find_saved_regs.
  5377. * i386-tdep.c (i386_frame_init_saved_regs, i386_pop_frame):
  5378. Update.
  5379. Tue Feb 29 23:56:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5380. From 2000-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
  5381. * objfiles.c (open_mapped_file): Fix obsolete references to `mapped'
  5382. parameter.
  5383. Tue Feb 29 18:47:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5384. From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
  5385. * config/i386/nm-go32.h (FLOAT_INFO): Remove macro definition.
  5386. (top level): Add prototypes for go32_* functions.
  5387. * config/i386/tm-go32.h (I386_DJGPP_TARGET): Define.
  5388. (FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC):
  5389. Override definitions from tm-i386.h.
  5390. (REGISTER_VIRTUAL_TYPE): Remove macro definition.
  5391. * i386-tdep.c (i386_extract_return_value)
  5392. [I386_AIX_TARGET || I386_GNULINUX_TARGET]: Add I386_DJGPP_TARGET
  5393. to the list of targets which return FP values in FP registers.
  5394. * i386-tdep.c (i386_extract_return_value): Add FIXME recommending
  5395. that this function be re-implemented using multi-arch.
  5396. Tue Feb 29 18:40:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5397. From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
  5398. * utils.c [__GO32__]: Include pc.h, for prototypes of ScreenCols
  5399. and ScreenRows.
  5400. * ser-go32.c: Include string.h, for prototype of strncasecmp.
  5401. (dpmi_regs, dpmi_sregs): Remove unused variables.
  5402. (dos_flush_input): Return a value, to prevent compiler warning.
  5403. * expprint.c (dump_prefix_expression): Use %ld in format and cast
  5404. sizeof(union exp_element) to long, to prevent GCC from complaining
  5405. about format/argument mismatch.
  5406. (dump_postfix_expression): Likewise.
  5407. Tue Feb 29 18:09:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5408. * arm-tdep.c: Include <ctype.h>.
  5409. Tue Feb 29 17:33:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5410. From Wed, 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
  5411. * stack.c (backtrace_command_1), infrun.c (normal_stop): Check
  5412. that the target's stack was valid.
  5413. Tue Feb 29 15:14:56 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5414. From 2000-02-22 Stephane Carrez <stcarrez@worldnet.fr>:
  5415. * dwarf2read.c (read_address): Read 16-bits addresses.
  5416. 2000-02-28 Scott Bambrough <scottb@netwinder.org>
  5417. * arm-linux-nat.c (fetch_nw_fpe_*):
  5418. Renamed to fetch_nwfpe_* to use the same naming convention
  5419. as in the Linux kernel. Modified prototype to get rid of
  5420. unused parameters.
  5421. (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same
  5422. naming convention as in the Linux kernel. Fixed calls to
  5423. fetch_nwfpe_*.
  5424. (store_fpregs): Fixed calls to store_nwfpe_*. Removed
  5425. unused variable.
  5426. Mon Feb 28 18:24:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5427. * MAINTAINERS: Transfer d30v maintainership to David Taylor.
  5428. 2000-02-28 Christopher Faylor <cgf@cygnus.com>
  5429. * win32-nat.c: Remove unneeded header.
  5430. * wince.c: Ditto.
  5431. Mon Feb 28 13:34:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5432. * wince.c: Include "gdb_wait.h" and not "wait.h".
  5433. Mon Feb 28 10:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5434. * MAINTAINERS: Mention mmalloc. Expand Host/Native and
  5435. Target/Architecture maintainers descriptions.
  5436. 2000-02-26 Mark Kettenis <kettenis@gnu.org>
  5437. * gnu-nat.c: Include "gdbthread.h". Include <hurd.h>.
  5438. Reorder headers a bit. Overall cleanup and minor reformatting.
  5439. (MIG_SERVER_DIED): Remove define.
  5440. (proc_update_sc): Add braces to silence compiler warning.
  5441. (proc_steal_exc_port): Initialize err to zero.
  5442. (make_proc): Add braces to silence compiler warning.
  5443. (inf_validate_task_sc): Add cast to silence compiler warning.
  5444. (inf_set_traced): Reorganize a bit to silence compiler warning.
  5445. (inf_validate_procs): Use mach_msg_type_number_t for all thread
  5446. numbers and add braces to silence compiler warning.
  5447. (gnu_wait): Add prototypes for server functions and add braces to
  5448. silence compiler warnings.
  5449. (S_exception_raise_request): Pass subcode to inf_debug call.
  5450. (gnu_write_inferior): Remove unused variable `protection_changed'.
  5451. (gnu_xfer_memory): Remove unused variable `result'.
  5452. (set_sig_thread_cmd): Remove unused varible `tid'.
  5453. (set_signals_cmd): Remve unused variable `trace'.
  5454. (add_task_commands): Provide complete prototype. Reformat help
  5455. strings a bit to make sure the first line is a full sentence.
  5456. Call info_port_rights_cmd instead of info_send_rights_cmd for the
  5457. "info port-rights" command.
  5458. (add_thread_commands): Provide complete prototype. Make static.
  5459. Reformat help strings a bit to make sure the first line is a full
  5460. sentence.
  5461. (_initialize_gnu_nat): Provide complete prototype.
  5462. 2000-02-26 Mark Kettenis <kettenis@gnu.org>
  5463. Make cross-compilation for the Hurd more friendly.
  5464. From Jeff Bailey <jbailey@gnu.org>:
  5465. * configure.in: Use AC_CHECK_TOOL to find MiG.
  5466. * Makefile.in (MIG): New variable.
  5467. * config/i386/i386gnu.mh (MIG): Remove.
  5468. * configure: Regenerated.
  5469. 2000-02-26 Kevin Buettner <kevinb@redhat.com>
  5470. * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add
  5471. comment explaining motivation behind this function and why
  5472. the generic facilities won't work for this platform.
  5473. * rs6000-tdep.c (skip_prologue): Always test to make sure
  5474. that an instruction is read successfully from the target's
  5475. memory. Introduce notion of instructions which may appear in
  5476. the prologue, but may not end the prologue. Added explicit
  5477. check for nop instruction. Use memset() to zero the frame
  5478. data instead of assignment from a statically allocated,
  5479. uninitialized structure.
  5480. Sat Feb 26 17:15:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5481. * MAINTAINERS: Chris Faylor is responsible for all MS Windows
  5482. systems. Note that Jim Blandy as maintainer for ``tracing
  5483. bytecode stuff''
  5484. 2000-02-25 Fernando Nasser <fnasser@cygnus.com>
  5485. From: Thomas Zenker <thz@Lennartz-electronic.DE>
  5486. * rdi-share/hsys.c: to compile under 4.4BSD derived systems (FreeBSD,
  5487. NetBSD...) sys_errlist should not be declared in hsys.c.
  5488. NEED_SYSERRLIST is set already by configure, so we can use it.
  5489. * rdi-share/unixcomm.c: 4.4BSD derived systems define BSD, but are
  5490. posix compliant and we should not work with the old compatibility
  5491. stuff. Because of that I undef BSD in case of FBSD etc and include
  5492. sys/ioctl to get the flags.
  5493. * rdi-share/unixcomm.c: If the TIOCEXCL flags exists set serial line
  5494. for exclusive use.
  5495. 2000-02-24 Kevin Buettner <kevinb@redhat.com>
  5496. * ppc-linux-tdep.c (ppc_sysv_abi_push_arguments): Put address
  5497. of return structure in r3 if necessary.
  5498. (ppc_linux_memory_remove_breakpoints): New function.
  5499. * rs6000-tdep.c (skip_prologue): Make sure that the cases
  5500. for storing either cr or lr to the stack only handle those
  5501. cases. (I.e, don't let these cases match 0x00000000 which is
  5502. found found in the shared library trampoline prior to the
  5503. loading of the shared library.)
  5504. * config/powerpc/tm-linux.h (ppc_linux_memory_remove_breakpoint):
  5505. Declare.
  5506. (MEMORY_REMOVE_BREAKPOINT): Define.
  5507. Wed Feb 23 23:27:48 2000 Andrew Cagney <cagney@behemoth.cygnus.com>
  5508. * hppah-nat.c: Include "gdb_wait.h" instead of <wait.h>.
  5509. Thu Feb 24 18:42:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5510. * configure.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Set to
  5511. $(SUBDIR_*_INSTALL) when so configured.
  5512. * configure: Regenerate.
  5513. * Makefile.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Define using
  5514. configure.
  5515. (install-only): Add dependency on $(CONFIG_INSTALL). Delete code
  5516. installing GDBtk.
  5517. (uninstall): Add dependency on $(CONFIG_UNINSTALL).
  5518. (SUBDIR_MI_INSTALL, SUBDIR_MI_UNINSTALL, SUBDIR_GDBTK_UNINSTALL,
  5519. SUBDIR_GDBTK_INSTALL): Define.
  5520. (install-gdbtk): New target.
  5521. Thu Feb 24 18:19:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5522. * configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace.
  5523. * configure: Regenerate.
  5524. 2000-02-24 Christopher Faylor <cgf@cygnus.com>
  5525. * configure.tgt: Add arm, mips, sh wince targets.
  5526. * config/arm/tm-wince.h: New file.
  5527. * config/arm/wince.mt: New file.
  5528. * config/sh/tm-wince.h: New file.
  5529. * config/sh/wince.mt: New file.
  5530. * config/mips/tm-wince.h: New file.
  5531. * config/mips/wince.mt: New file.
  5532. * wince.c: New file.
  5533. * wince-stub.c: New file.
  5534. * wince-stub.h: New file.
  5535. * sh-tdep.c: Use correct register names for Windows CE.
  5536. Wed Feb 23 19:01:45 EST 2000 Nicholas Duffek <nsd@cygnus.com>
  5537. * top.c (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Update comments.
  5538. (error_return, quit_return): Merge into catch_return pointer.
  5539. (return_to_top_level): Update comment. Longjmp to *catch_errors,
  5540. and communicate reason to catch_errors via setjmp return value.
  5541. (catch_errors): Always catch both quit and error, and if a catch
  5542. wasn't requested by caller, throw it to the next catch_error.
  5543. Replace dual longjmp buffer memcpy with single pointer change.
  5544. Add FIXME for possibly adding new interface to tell caller what
  5545. event was caught. Add extensive comments.
  5546. * defs.h (enum return_reason): Reserve 0 for use as initial
  5547. setjmp() return value.
  5548. (RETURN_MASK): New public macro to generate RETURN_MASK_* from
  5549. enum return_reason.
  5550. (RETURN_MASK_QUIT, RETURN_MASK_ERROR): Define using RETURN_MASK.
  5551. 2000-02-23 Fernando Nasser <fnasser@cygnus.com>
  5552. * infcmd.c (run_stack_dummy): Do not pop frame on random signal.
  5553. * valops.c (_initialize_valops): Add command "set unwindonsignal".
  5554. (hand_function_call): Test for unwind_on_signal and act accordingly.
  5555. Wed Feb 23 12:58:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5556. * gdbarch.sh (dis_asm_read_memory): Change LEN to unsigned long.
  5557. Match ../include/dis-asm.h change.
  5558. * gdbarch.h: Regenerate.
  5559. * corefile.c (dis_asm_read_memory): Update.
  5560. Mon Feb 21 13:57:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5561. * configure.in (CONFIG_INITS): Fix typo, was CONFIG_INIT.
  5562. (ENABLE_CFLAGS): Move initialization to start of file.
  5563. (enable-gdbmi): Add new configure option --enable-gdbmi. When
  5564. selected and an ${srcdir}/mi directory is present enable MI
  5565. interface.
  5566. * configure: Regenerate.
  5567. * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS, SUBDIR_MI_DEPS,
  5568. SUBDIR_MI_INITS, SUBDIR_MI_LDFLAGS, SUBDIR_MI_CFLAGS): New macros.
  5569. (CONFIG_OBS, CONFIG_SRCS, CONFIG_DEPS, CONFIG_INITS,
  5570. CONFIG_LDFLAGS): New macros. Initialized by autoconf via
  5571. @CONFIG...@.
  5572. (INTERNAL_LDFLAGS, CDEPS, LINTFILES, DEPFILES, SOURCES,
  5573. INIT_FILES): Use $(CONFIG_...) instead of @CONFIG...@.
  5574. * mi: New directory. MI interface to GDB.
  5575. * defs.h (interpreter_p): Declare when UI_OUT.
  5576. * top.c (gdb_init): When interpreter_p, check that the interpreter
  5577. was recognized by one of the linked in interpreters.
  5578. * main.c (interpreter_p): Define.
  5579. (captured_main): When UI_OUT, check for ``-i <interpreter>'' option.
  5580. * event-top.c (display_gdb_prompt): When interpreter_p, assume
  5581. interpreter displays prompt.
  5582. * breakpoint.c (print_it_typical, watchpoint_check,
  5583. print_one_breakpoint, mention): When MI include additional
  5584. target status information.
  5585. * infrun.c (print_stop_reason, normal_stop): Ditto.
  5586. 2000-02-22 Jim Blandy <jimb@redhat.com>
  5587. * gdbarch.sh: Make the `default' field really default to zero, as
  5588. documented.
  5589. Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
  5590. * valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
  5591. more function-like.
  5592. (default_coerce_float_to_double, standard_coerce_float_to_double):
  5593. New functions.
  5594. (value_arg_coerce): Adjust for new definition.
  5595. * value.h (default_coerce_float_to_double,
  5596. standard_coerce_float_to_double): New declarations for the above.
  5597. * gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
  5598. * gdbarch.c, gdbarch.h: Regenerated.
  5599. * tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
  5600. tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
  5601. definitions.
  5602. * mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
  5603. function here.
  5604. (mips_gdbarch_init): Install that as our coerce_float_to_double
  5605. function.
  5606. 2000-02-22 Kevin Buettner <kevinb@redhat.com>
  5607. * ppc-linux-nat.c (supply_gregset, supply_fpregset): Add return
  5608. type.
  5609. * ppc-linux-tdep.c (ppc_linux_at_sigtramp_return_path): Add
  5610. forward declaration.
  5611. * ppc-linux-tdep.c (ppc_linux_frame_saved_pc): Handle case
  5612. where the next frame is a signal handler caller.
  5613. * config/powerpc/tm-linux.h (PUSH_ARGUMENTS): Remove extraneous
  5614. undef.
  5615. (tm-linux.h): Include.
  5616. (tm-sysv4.h): Don't include (directly). config/tm-linux.h will
  5617. include this file for us.
  5618. (REALTIME_LO, REALTIME_HI): Don't define. These are defined by
  5619. config/tm-linux.h for us.
  5620. (SOFUN_ADDRESS_MAYBE_MISSING): Define.
  5621. 2000-02-21 Kevin Buettner <kevinb@redhat.com>
  5622. * Makefile.in (ppc-linux-nat.c, ppc-linux-tdep.c): New files.
  5623. (ppc-linux-nat.o, ppc-linux-tdep.o): Add dependencies.
  5624. * configure.tgt (powerpc-*-linux*): Separate from powerpc-*-eabi
  5625. and like targets.
  5626. * ppc-linux-nat.c, ppc-linux-tdep.c, config/powerpc/linux.mt,
  5627. config/powerpc/nm-linux.h, config/powerpc/tm-linux.h: New files.
  5628. * config/powerpc/xm-linux.h: Substantially revised for native
  5629. port.
  5630. * config/powerpc/linux.mh (NAT_FILE): Redefine to be nm-linux.h.
  5631. (NATDEPFILES): Update list to reflect the fact that we can
  5632. now debug natively.
  5633. * rs6000-tdep.c, config/rs6000/tm-rs6000.h
  5634. (rs6000_frameless_function_invocation, rs6000_frame_saved_pc):
  5635. Renamed; The former names were lacking the rs6000_ prefix.
  5636. * rs6000-tdep.c (rs6000_frame_saved_pc): Call FRAME_CHAIN
  5637. instead of rs6000_frame_chain.
  5638. (rs6000_frame_chain): Call FRAMELESS_FUNCTION_INVOCATION instead
  5639. of rs6000_frameless_function_invocation.
  5640. 2000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5641. From Philippe De Muyter <phdm@macqel.be>
  5642. * event-loop.c (handle_file_event): In case of poll, enable
  5643. printing of informational message if an error/exception is
  5644. detected on the file descriptor.
  5645. 2000-02-21 Jim Kingdon <kingdon@redhat.com>
  5646. * MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages.
  5647. Mon Feb 21 12:50:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5648. * buildsym.c: Include "language.h" and "expression.h" for
  5649. longest_local_hex_string_custom.
  5650. Mon Feb 21 11:17:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5651. * gdbarch.sh: Include <gdb_wait.h> instead of <wait.h>.
  5652. * gdbarch.c: Already updated by Wed Feb 9 18:59:16 2000 Andrew
  5653. Cagney <cagney@b1.cygnus.com>.
  5654. Mon Feb 21 11:03:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5655. * MAINTAINERS: Update: IA-64 - Kevin Buettner; ARM - Fernando
  5656. nasser, Jim Ingham and Scott Bambrough; GNU/Linux ARM - Scott
  5657. Bambrough; event loop - Elena Zannoni; SDS and RDI/APD protocol -
  5658. to Fernando Nasser and Jim Ingham; KOD - Fernando Nasser; MI -
  5659. Andrew Cagney, Elena Zannoni and Fernando Nasser; Web pages - Jim
  5660. Kingdon.
  5661. * MAINTAINERS: Add Nick Clifton to write after approval list.
  5662. Mon Feb 21 10:30:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5663. * MAINTAINERS: Add note on multiple maintainers.
  5664. 2000-02-19 Philippe De Muyter <phdm@macqel.be>
  5665. * cli-out.c (cli_table_header): Type of parameter `alignment' is
  5666. `enum ui_align', not `int'.
  5667. (cli_field_string, cli_field_skip): Likewise.
  5668. 2000-02-18 Jim Blandy <jimb@redhat.com>
  5669. From Jimmy Guo <guo@cup.hp.com>:
  5670. * buildsym.h (add_free_pendings): Declare.
  5671. * buildsym.c (add_free_pendings): New function.
  5672. (make_blockvector): 32x64 fix using longest_local_hex_string().
  5673. (start_subfile): initialize variable 'subfile'.
  5674. 2000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5675. * remote.c (remote_async_detach): Use target_mourn_inferior(), to
  5676. make sure that all is cleaned up after we disconnect from the
  5677. target.
  5678. (remote_detach): Ditto.
  5679. 2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5680. From Rodney Brown <RodneyBrown@pmsc.com>
  5681. * ui-out.c (ui_out_set_flags): Fix typo, removing warning and
  5682. potentially harming mistake.
  5683. 2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5684. * arm-tdep.c: Use header file instead of extern declarations for
  5685. the {get,set}_arm_regname* functions.
  5686. 2000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5687. * configure.in: Replaces obsolete gdbtk-variable.c with
  5688. gdbtk-varobj.c.
  5689. * configure: Regenerate.
  5690. * Makefile.in: Remove obsolete/extraneous references to
  5691. gdbtk-var* files.
  5692. 2000-02-16 Mark Kettenis <kettenis@gnu.org>
  5693. * target.c (do_target_signal_to_host): Do not use REALTIME_LO in
  5694. the conversion of the signal number. TARGET_SIGNAL_REALTIME_33 is
  5695. 33 by definition, whereas REALTIME_LO might be 32 on systems that
  5696. have SIG32 such as Linux. Make sure that the signal number
  5697. returned is within the range specified by REALTIME_LO and
  5698. REALTIME_HI.
  5699. 2000-02-16 Mark Kettenis <kettenis@gnu.org>
  5700. * configure: Regenerated.
  5701. 2000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5702. * arm-tdep.c (set_disassembly_flavor, arm_othernames,
  5703. _initialize_arm_tdep): Allows the user to choose between any of
  5704. the flavors available for the disassembly to be used in the "info
  5705. reg" command and elsewhere in gdb. It prevents having to maintain
  5706. this information in two places by using the data kept in the
  5707. opcodes directory.
  5708. 2000-02-09 Mark Kettenis <kettenis@gnu.org>
  5709. * configure.in: Check for lwpid_t, psaddr_t, prgregset_t and
  5710. prfpregset_t in <sys/procfs.h>.
  5711. * config.in: Add HAVE_LWPID_T, HAVE_PSADDR_T, HAVE_PRGREGSET_T,
  5712. HAVE_PRFPREGSET_T.
  5713. * gdb_proc_service.h: Only provide typedefs for lwpid_t, psaddr_t,
  5714. prgregset_t and prfpregset_t if they are not already present.
  5715. Wed Feb 16 19:00:02 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5716. From 2000-01-26 Rodney Brown <RodneyBrown@pmsc.com>:
  5717. * procfs.c: Define MERGEPID if not defined. For osf4.0e.
  5718. 2000-02-15 Jason Molenda (jsm@bugshack.cygnus.com)
  5719. * Makefile.in (diststuff): Run 'diststuff' in doc/ subdir, not
  5720. 'do-doc'.
  5721. 2000-02-15 Kevin Buettner <kevinb@redhat.com>
  5722. Changes for AIX 4.3:
  5723. * rs6000-tdep.c (rs6000_fix_call_dummy): Set TOC register
  5724. to correct value for generic dummy frames. When using
  5725. generic dummy frames, don't attempt to write TOC value or
  5726. function to call into the call dummy.
  5727. (rs6000_push_arguments): Adapt USE_GENERIC_DUMMY_FRAMES
  5728. code to also handle the PowerOpen ABI.
  5729. (ppc_push_return_address): Enable for all ports.
  5730. * config/powerpc/tm-ppc-aix.h (USE_GENERIC_DUMMY_FRAMES,
  5731. PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER,
  5732. CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LOCATION,
  5733. CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET): Override defaults
  5734. provided by generic RS6000 definitions so that call dummies
  5735. are implemented using generic dummy frames instead.
  5736. * rs6000-nat.c (store_inferior_registers): Call exec_one_dummy_insn()
  5737. prior to changing the stack pointer via ptrace(). Also, ignore
  5738. attempts to store to undefined registers that are less than
  5739. NUM_REGS.
  5740. * rs6000-tdep.c (DUMMY_FRAME_SIZE): Change size of the dummy
  5741. frame from 436 to 448 to account for alignment padding.
  5742. (rs6000_push_arguments): Obtain actual register size instead
  5743. of assuming the register is 4 bytes long. [There's still
  5744. more work to be done to totally remove the 4 byte assumption,
  5745. however.] Make sure the stack is 16 byte aligned as required
  5746. by the PowerOpen ABI. Also, make sure that small structures
  5747. passed in registers are properly aligned within the register.
  5748. 2000-02-15 Jesper Skov <jskov@cygnus.co.uk>
  5749. Patch applied by Kevin Buettner <kevinb@redhat.com>
  5750. * rs6000-tdep.c (skip_prologue): skip copying of argument
  5751. registers to local variable registers.
  5752. 2000-02-14 Jim Kingdon <kingdon@redhat.com>
  5753. * elfread.c (elf_symtab_read): Revert changes by Amit S. Kale. A
  5754. sym->section->index number is not a SECT_OFF_* code.
  5755. Tue Feb 15 12:07:30 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5756. * MAINTAINERS (write after approval): Add H.J. Lu.
  5757. 2000-02-14 Nick Clifton <nickc@cygnus.com>
  5758. * sh-tdep.c: Remove extraneous code.
  5759. 2000-02-14 Amit S. Kale <akale@veritas.com>
  5760. * elfread.c (elf_symtab_read): Move the use of sym to after where
  5761. it is set.
  5762. Checked in by Jim Kingdon <kingdon@redhat.com>
  5763. Mon Feb 14 15:39:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5764. * MAINTAINERS: Make Nick Duffek the UnixWare threads maintainer.
  5765. Mon Feb 14 15:20:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5766. From 1999-11-24 Jason Merrill <jason@casey.cygnus.com>:
  5767. * dwarf2read.c: (die_is_declaration): New fn.
  5768. (read_structure_scope): Use it.
  5769. * dwarf2read.c: (die_is_declaration): Convert to ISO-C.
  5770. 2000-02-10 J.T. Conklin <jtc@redback.com>
  5771. * config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
  5772. * configure.tgt (i[3456]86-*-netbsd*): add gdbserver to
  5773. configdirs.
  5774. * gdbserver/low-nbsd.c: New file.
  5775. * gdbserver/Makefile.in: convert to autoconf.
  5776. * gdbserver/configure.in: likewise.
  5777. * gdbserver/configure: generate.
  5778. Sun Feb 13 11:21:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5779. * CONTRIBUTE: New file. How to contribute to GDB.
  5780. Sun Feb 13 10:34:48 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5781. * MAINTAINERS: Add Eli Zaretskii to djgpp maintiners. Add Kevin
  5782. Buettner to powerpc maintainers. Make Kevin Buettner the
  5783. GNU/LINUX PPC native maintainer. Add J.T. Conklin, Jim Kingdon
  5784. and Jason Molenda to write after aproval list.
  5785. Sun Feb 13 10:18:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5786. * MAINTAINERS: Reformat. Separate into check-in categories.
  5787. Sat Feb 12 01:08:21 EST 2000 Nicholas Duffek <nsd@cygnus.com>
  5788. * uw-thread.c: Remove __FUNCTION__ GNUism.
  5789. 2000-01-17 Amit S. Kale <akale@veritas.com>
  5790. * elfread.c (elf_symtab_read): Use offset for the section in which a
  5791. symbol resides, instead of .text section for calculating address of a
  5792. symbol.
  5793. Checked in by Jim Kingdon <kingdon@redhat.com>
  5794. 2000-02-10 Mark Kettenis <kettenis@gnu.org>
  5795. * gnu-nat.c: Remove hackery to include <bits/waitflags.h>. It is
  5796. no longer necessary now we have gdb_wait.h.
  5797. 2000-02-09 Mark Kettenis <kettenis@gnu.org>
  5798. * gnu-nat.c (proc_string): Make global.
  5799. (do_mach_notify_dead_name): Suppress dead name notifications if we
  5800. know that the task is dead.
  5801. 1999-12-13 Mark Kettenis <kettenis@gnu.org>
  5802. * gnu-nat.c (inf_validate_task_sc): Get task info via proc server
  5803. instead of directly from the kernel. Add some hackery to make
  5804. sure that the info isn't influenced by suspension of the task in
  5805. the proc server itself.
  5806. 2000-02-10 Jim Kingdon <kingdon@redhat.com>
  5807. * defs.h (MERGEPID): Added. Patch submitted by Andrew Hobson and
  5808. approved by Michael Snyder.
  5809. 2000-02-09 Mark Kettenis <kettenis@gnu.org>
  5810. * linux-thread.c: Include defs.h before gdb_wait.h.
  5811. Wed Feb 9 18:59:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5812. * Makefile.in (wait_h): Delete macro. Update all dependencies
  5813. specifying gdb_wait.h instead.
  5814. * ser-unix.c, ser-pipe.c, remote.c, remote-udi.c, remote-sds.c,
  5815. remote-os9k.c, remote-es.c, remote-rdp.c, remote-vx960.c,
  5816. remote-vx.c, remote-st.c, remote-nindy.c, remote-mm.c,
  5817. convex-xdep.c, convex-tdep.c, target.c, win32-nat.c, standalone.c,
  5818. remote-vxmips.c, remote-vxsparc.c, remote-vx68.c, remote-vx29k.c,
  5819. remote-sim.c, remote-rdi.c, remote-mips.c, remote-eb.c,
  5820. remote-e7000.c, remote-bug.c, remote-array.c, remote-adapt.c,
  5821. ppc-bdm.c, ocd.c, monitor.c, m3-nat.c, linux-thread.c,
  5822. infttrace.c, lin-thread.c, infptrace.c, gnu-nat.c, gdbarch.c,
  5823. fork-child.c, command.c: Include "gdb_wait.h" instead of <wait.h>
  5824. or <sys/wait.h>.
  5825. * nindy-share/nindy.c, nindy-share/Onindy.c: Ditto.
  5826. * gdb_wait.h: New file. Based on ../include/wait.h. Include
  5827. <sys/wait.h> or <wait.h> and then define any missing WIF macros.
  5828. Wed Feb 9 01:14:54 2000 Andrew Cagney <cagney@amy.cygnus.com>
  5829. * config/d10v/tm-d10v.h (NO_EXTRA_ALIGNMENT_NEEDED): Define.
  5830. * config/d10v/tm-d10v.h (STACK_ALIGN): Define.
  5831. (d10v_stack_align): Declare.
  5832. * d10v-tdep.c (d10v_stack_align): Define.
  5833. 1999-08-23 J.T. Conklin <jtc@redback.com>
  5834. * top.c (remote_timeout): Change default to 2. Add comment
  5835. explaining history of changes to the default value.
  5836. * remote.c (_initialize_remote): Remove code that adds set/
  5837. show remotetimeout, as that's also done in top.c
  5838. 1999-10-18 J.T. Conklin <jtc@redback.com>
  5839. * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
  5840. Return E01 instead of P01 when 'P' command fails.
  5841. 2000-02-05 J.T. Conklin <jtc@redback.com>
  5842. * remote.c (putpkt_binary): Handle NAK from target stub.
  5843. 2000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5844. * configure.in: Remove the addition of sol-thread.c to the
  5845. CONFIG_INITS list. This caused problems with init.c, because
  5846. sol-thread.c would be grepped twice for _initialize_* functions.
  5847. * configure: Ditto.
  5848. * Makefile.in: Add FIXME for init.c.
  5849. 2000-02-07 Jim Kingdon <kingdon@redhat.com>
  5850. Clean up compiler warnings:
  5851. * bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c,
  5852. stack.c, valprint.c: Change variables to unsigned.
  5853. * bcache.c: Rearrange to avoid warnings about variables not being set.
  5854. * c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h
  5855. rather than declaring print_max and repeat_count_threashold
  5856. ourselves (incorrectly).
  5857. * valprint.h: Do declare repeat_count_threashold.
  5858. * ch-exp.c: Use default case for internal error.
  5859. * findvar.c: Don't omit argument type.
  5860. * symtab.c: Remove unused variable.
  5861. 2000-02-04 Jim Blandy <jimb@redhat.com>
  5862. * c-typeprint.c (remove_qualifiers): New function.
  5863. (c_type_print_base): Use it to remove qualifiers from C++
  5864. qualified names, not strrchr.
  5865. * c-typeprint.c (c_type_print_base): Recognize type conversion
  5866. operators by calling is_type_conversion_operator.
  5867. (is_type_conversion_operator): New function.
  5868. 2000-02-04 Nick Clifton <nickc@cygnus.com>
  5869. * config/arm/tm-arm.h (LOWEST_PC): Define.
  5870. 2000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5871. * infrun.c (resume): Make just one call to target_resume(), instead
  5872. of four: set up correct parameters in all the cases ahead of time,
  5873. and do call at the end.
  5874. 2000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5875. * config/powerpc/tm-ppc-eabi.h: Define
  5876. SOFUN_ADDRESS_MAYBE_MISSING.
  5877. 2000-02-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5878. * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy
  5879. frames (revisited).
  5880. Fri Feb 4 22:42:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5881. * Makefile.in (INIT_FILES): Append CONFIG_INITS
  5882. * configure.in (CONFIG_INIT): Initialize.
  5883. (links): Link srcdir/gdbtk/library to gdbtcl2.
  5884. * gdbtcl2: Moved to gdbtk/library.
  5885. ChangeLog-gdbtk, gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c,
  5886. gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c,
  5887. gdbtk.h: Moved to gdbtk/generic.
  5888. 2000-02-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5889. * printcmd.c (build_address_symbolic): New function. Returns all
  5890. the parts that are necessary to print an address in a symbolic
  5891. form.
  5892. (print_address_symbolic): Split into a printing part and an
  5893. information building part, build_address_symbolic().
  5894. * defs.h (build_address_symbolic): Export.
  5895. 2000-02-03 Jim Blandy <jimb@redhat.com>
  5896. * dwarf2read.c (decode_locdesc): Add support for the DW_OP_bregx
  5897. opcode.
  5898. 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5899. * arm-tdep.c (arm_push_arguments): Fix passing of floating point
  5900. arguments on dummy frames.
  5901. 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5902. * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy frames.
  5903. (arm_pop_frame): Account fr dummy frames (as opposed to real ones).
  5904. 2000-02-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5905. * remote.c (getpkt_sane): New function. It is the old getpkt(),
  5906. which now returns a timeout indication.
  5907. (getpkt): New function. Wrapper for getpkt_sane(), so that return
  5908. value can still be ignored.
  5909. Tue Feb 1 18:47:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5910. * top.c (print_gdb_version): Print ``UI_OUT'' when configured with
  5911. UI_OUT.
  5912. Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5913. * ui-file.c, ui-file.h: Rename gdb-file.h, gdb-file.c. Rename
  5914. ``struct gdb_file'' to ``struct ui_file''. Delete typedef
  5915. GDB_FILE.
  5916. * Makefile.in: Update.
  5917. * ax-gdb.c, ax-general.c, ax.h, buildsym.c, c-lang.c, c-lang.h,
  5918. c-typeprint.c, c-valprint.c, ch-lang.c, ch-lang.h, ch-typeprint.c,
  5919. ch-valprint.c, command.c, command.h, convex-tdep.c, corefile.c,
  5920. cp-valprint.c, d10v-tdep.c, d30v-tdep.c, defs.h, expprint.c,
  5921. expression.h, f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c,
  5922. frame.h, gdb-events.sh, gdb-file.c, gdb-file.h, gdbcmd.h,
  5923. gdbtypes.h, hppa-tdep.c, jv-lang.c, jv-lang.h, jv-typeprint.c,
  5924. jv-valprint.c, language.c, language.h, m2-lang.c, m2-lang.h,
  5925. m2-typeprint.c, m2-valprint.c, m3-nat.c, main.c, monitor.c,
  5926. printcmd.c, pyr-tdep.c, remote-mips.c, remote-sim.c, remote-udi.c,
  5927. remote.c, scm-lang.c, scm-lang.h, scm-valprint.c, ser-e7kpc.c,
  5928. ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c, ser-unix.h,
  5929. serial.c, serial.h, stack.c, symfile.c, symmisc.c, tahoe-tdep.c,
  5930. target.c, target.h, top.c, top.h, typeprint.c, typeprint.h,
  5931. utils.c, v850ice.c, valprint.c, valprint.h, value.h,
  5932. config/pa/tm-hppa.h: Update.
  5933. * cli-out.c, cli-out.h, ui-out.c, ui-out.h, varobj.c: Update.
  5934. 2000-01-31 Jason Molenda (jsm@bugshack.cygnus.com)
  5935. * config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh,
  5936. config/i386/i386dgux.mh, config/i386/i386sol2.mh,
  5937. config/i386/i386v4.mh, config/i386/i386v42mp.mh,
  5938. config/i386/ncr3000.mh, config/m68k/m68kv4.mh,
  5939. config/m88k/delta88v4.mh, config/mips/irix4.mh,
  5940. config/mips/irix5.mh, config/mips/mipsv4.mh,
  5941. config/powerpc/solaris.mh (NATDEPFILES): Change references to
  5942. proc_api.o, proc_events.o, proc_flags.o, and proc_why.o to
  5943. proc-api.o, proc-events.o, proc-flags.o, and proc-why.o.
  5944. Mon Jan 31 17:14:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
  5945. * top.c (fputs_unfiltered_hook): Moved to tui/tui-file.c.
  5946. * main.c (captured_main): Only use the legacy tui_file code when
  5947. linking in older code such as the TUI.
  5948. * gdb-file.h, gdb-file.c: New files.
  5949. * utils.c, defs.h (struct gdb_file, gdb_file_new, gdb_file_delete,
  5950. null_file_isatty, null_file_rewind, null_file_put,
  5951. null_file_flush, null_file_write, null_file_fputs,
  5952. null_file_delete, gdb_file_data, gdb_flush, gdb_file_isatty,
  5953. gdb_file_rewind, gdb_file_put, gdb_file_write, fputs_unfiltered,
  5954. set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_rewind,
  5955. set_gdb_file_put, set_gdb_file_write, set_gdb_file_fputs,
  5956. set_gdb_file_data, struct accumulated_gdb_file,
  5957. do_gdb_file_xstrdup, gdb_file_xstrdup, struct mem_file):
  5958. mem_file_new, mem_file_delete, mem_fileopen, mem_file_rewind,
  5959. mem_file_put, mem_file_write, struct stdio_file): stdio_file_new,
  5960. stdio_file_delete, stdio_file_flush, stdio_file_write,
  5961. stdio_file_fputs, stdio_file_isatty, stdio_fileopen, gdb_fopen):
  5962. Moved to gdb-file.h and gdb-file.c.
  5963. * utils.c (enum streamtype, struct tui_stream, tui_file_new,
  5964. tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
  5965. tui_file_rewind, tui_file_put, tui_file_fputs,
  5966. tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
  5967. fputs_unfiltered_hook):
  5968. Moved to tui/tui-file.c and tui/tui-file.h.
  5969. * Makefile.in (COMMON_OBS): Add gdb-file.o, tui-file.o.
  5970. (tui-file.o, gdb-file.o): Add dependencies.
  5971. (corefile.o, main.o, utils.o, simmisc.o): Update dependencies.
  5972. * main.c: #include tui/tui-file.h.
  5973. 2000-01-28 Fred Fish <fnf@cygnus.com>
  5974. * findvar.c (value_from_register): Special case handling of D10V
  5975. pointer values fetched from registers.
  5976. 2000-01-28 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5977. * arm-tdep.c (thumb_skip_prologue, thumb_scan_prologue): Add
  5978. support for new style thumb prologues.
  5979. 2000-01-28 Nick Clifton <nickc@redhat.com>
  5980. * arm-tdep.c: Remove extraneous dash at start of strings
  5981. introduced in previous delta.
  5982. 2000-01-27 Nick Clifton <nickc@redhat.com>
  5983. * arm-tdep.c: Replace uses of arm_toggle_renames() with
  5984. parse_arm_disassembler_option().
  5985. 2000-01-27 Jim Blandy <jimb@cygnus.com>
  5986. * symtab.c (decode_line_1): Don't let commas that are within
  5987. quotes or parenthesis terminate the line spec. Don't use pp when
  5988. removing the final double quote of a double-quoted string. Don't
  5989. forget to skip the opening double quote. I have no clue whether
  5990. this change is correct; probably we've just moved this function
  5991. from one buggy place to another buggy place, and never came within
  5992. an outhouse whiff of correctness.
  5993. (find_toplevel_char): New function.
  5994. 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5995. * arm-tdep.c (arm_push_arguments): Set the thumb mode bit when
  5996. passing the pointer to a thumb function as an argument.
  5997. 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5998. * remote-rdi.c (arm_rdi_mourn_inferior): Make sure breakpoints
  5999. are reinserted for another run.
  6000. 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6001. * cli-out.c (cli_filed_string): Test for NULL string.
  6002. 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6003. * infcmd.c (run_stack_dummy): Account for a random signal stopping
  6004. the inferior as well as breakpoints being hit while performing an
  6005. inferior function call.
  6006. * valops.c (hand_function_call): Ditto.
  6007. 2000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6008. From Mark Kettenis <kettenis@gnu.org>
  6009. * config/i386/tm-i386gnu.h (THREAD_STATE_FLAVOR): Define to
  6010. i386_REGS_SEGS_STATE.
  6011. (HAVE_I387_REGS): Define.
  6012. (FLOAT_INFO): Remove.
  6013. * i386gnu-nat.c: Almost completely rewritten to use new i386
  6014. register layout and `float info' implementation.
  6015. * gnu-nat.c (inf_update_procs, proc_get_state, proc_string):
  6016. Move prototypes from here.
  6017. * gnu-nat.h: To here.
  6018. 2000-01-24 Kevin Buettner <kevinb@redhat.com>
  6019. * utils.c (get_field, put_field): Fix buffer underruns and
  6020. overruns. Also, handle case where total_len is not evenly
  6021. divisible by 8.
  6022. (getfield): Make sure zeroing of unwanted bits occurs even
  6023. when bit field to extract does not straddle two or more
  6024. bytes.
  6025. 2000-01-23 Christopher Faylor <cgf@cygnus.com>
  6026. * defs.h: Add gdb_thread_select declaration.
  6027. 2000-01-23 Kevin Buettner <kevinb@redhat.com>
  6028. * linux-thread.c (_initialize_linuxthreads): Make sure that
  6029. linuxthreads_block_mask does not block SIGCHLD.
  6030. 2000-01-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6031. * rdi-share/devsw.c (openLogFile): On cygwin, set the log mode to
  6032. text so that new lines work properly.
  6033. 2000-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6034. * proc-utils.h: New file. Export functions from proc-*.c.
  6035. * proc_api.c: Rename to:
  6036. * proc-api.c: New file. Add include of proc-utils.h.
  6037. * proc_events.c: Rename to:
  6038. * proc-events.c: New file.
  6039. * proc_flags.c: Rename to:
  6040. * proc-flags.c: New file.
  6041. * proc_why.c: Rename to:
  6042. * proc-why.c: New file. Add include of proc-utils.h.
  6043. * procfs.c: Add includes of gdbthread.h, sys/wait.h, signal.h,
  6044. ctype.h, proc-utils.h.
  6045. (find_procinfo_or_die): Add braces to avoid ambiguous else clause.
  6046. (open_procinfo_files): Conditionalize local variable tmp, to avoid
  6047. compiler warnings.
  6048. (proc_iterate_over_mappings): Conditionalize local vars mapfd and
  6049. pathname.
  6050. (procfs_wait): Adjust format in some printf_filetered calls to
  6051. avoid compiler warnings.
  6052. (make_signal_thread_runnable): Ifdef 0. The calls to this function
  6053. are also ifdef'd 0 .
  6054. (procfs_resume): Add parentheses around '&&' operation.
  6055. (procfs_set_exec_trap): Remove unused variable.
  6056. (info_proc_cmd): Add braces to avoid ambiguous else clause.
  6057. * Makefile.in (procfs.o, proc-api.o, proc-events.o, proc-flags.o,
  6058. proc-why.o): Update dependencies.
  6059. * config/sparc/sun4sol2.mh (NATDEPFILES): Change proc_*.o files to
  6060. proc-*.o.
  6061. 2000-01-17 Jason Molenda (jsm@bugshack.cygnus.com)
  6062. * configure.in (NEW_PROC_API): Fix Unixware-matching regexp.
  6063. Fix from Robert Lipe <robertl@sco.com>.
  6064. * configure: Regenerated.
  6065. 2000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6066. * stack.c (print_frame_info_base): Break up into the frame info
  6067. (location) printing part and the rest (source line printing).
  6068. (print_frame): New function. Take care of printing the location
  6069. information.
  6070. Update copyright.
  6071. * infrun.c (normal_stop): Use enum values rather than integers for the
  6072. source_flag to be passed to show_and_print_stack_frame().
  6073. Update copyright.
  6074. * frame.h (print_what): New enum for 'source' argument to
  6075. print_frame_info_base(). Use this instead of obscure numbers.
  6076. Update copyright.
  6077. Sun Jan 16 17:58:00 2000 David Taylor <taylor@texas.cygnus.com>
  6078. * event-top.c (stdin_event_handler): call quit_command rather than
  6079. exit -- run cleanups, give target code a chance to say goodbye to
  6080. the target. Fixes bug where the inferior processes were left
  6081. around on Solaris (and probably elsewhere) by the testsuite.
  6082. 2000-01-14 Mark Salter <msalter@cygnus.com>
  6083. * v850-tdep.c (v850_target_architecture_hook): Setup correct
  6084. machine id for disassembly.
  6085. 2000-01-13 Jim Blandy <jimb@cygnus.com>
  6086. * i386-linux-nat.c (fill_gregset): Pass the correct arguments to
  6087. convert_to_regset, when regno indicates a specific register.
  6088. Thu Jan 13 23:34:17 EST 2000 Nicholas Duffek <nsd@cygnus.com>
  6089. * uw-thread.c: Document libthread.so debugging interface. Minor
  6090. comment and formatting tweaks.
  6091. (DEBUG): #define as 0 instead of 1.
  6092. (CALL_BASE): Include function name in error msg.
  6093. (libthread_stub): Adjust inferior_pid after thread exit.
  6094. (uw_thread_create_inferior): Deactivate uw_thread_ops before
  6095. asking procfs_ops to create inferior.
  6096. (libthread_init): Don't return nonlocally on error.
  6097. 2000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6098. * rdi-share/ardi.c (negotiate_params): Fix initialization of static
  6099. variable.
  6100. 2000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6101. * remote-rdi.c (arm_rdi_open): Call arm-rdi-close() to make sure
  6102. both sides are on the same state.
  6103. 2000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6104. * rdi-share/serdrv.c (find_baud_rate): Fix entries for 57600 and
  6105. 115200 (minor syntax mistake).
  6106. 2000-01-12 Jim Blandy <jimb@cygnus.com>
  6107. * config/sparc/tm-sun4sol2.h (MERGEPID): Provide a definition for
  6108. this here, to go along with the definitions of PIDGET and TIDGET.
  6109. 2000-01-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6110. * thread.c (do_captured_thread_select): New function. Switch
  6111. current thread, safely from within catch_errors().
  6112. (gdb_thread_select): New function. Switch threads safely.
  6113. (thread_command): Use gdb_thread_select().
  6114. Include ui-out.h.
  6115. (do_captured_list_thread_ids): New function.
  6116. (gdb_list_thread_ids): New function.
  6117. * defs.h (gdb_thread_select, gdb_list_thread_ids): Export.
  6118. 2000-01-11 Christopher Faylor <cgf@cygnus.com>
  6119. * configure.in: Avoid linking -limagehlp unless it's a native build.
  6120. * configure: Regenerate.
  6121. * thread.cc (add_thread): Clear private data pointer here or suffer
  6122. strange behavior when it is checked for NULL later.
  6123. 2000-01-09 Christopher Faylor <cgf@cygnus.com>
  6124. * win32nat.c (handle_exceptions): Handle various arithmetic exceptions.
  6125. * configure.in: Add an additional library to cygwin link.
  6126. * configure: Regenerate.
  6127. Patch from Egor Duda <deo@logos-m.ru>:
  6128. * coffread.c (coff_symfile_read): Reinstate ability to recognize "pe"
  6129. type.
  6130. 2000-01-07 Michael Snyder <msnyder@cygnus.com>
  6131. * uw-thread.c: New file to support UnixWare user-mode threads:
  6132. contributed by Nickolas Duffek <nsd@cygnus.com>.
  6133. * target.h (struct target_ops): New vector, to_extra_thread_info,
  6134. allows back-ends to give extra details in info thread display.
  6135. (target_extra_thread_info): define new macro.
  6136. (target_find_new_threads): simplify macro. Cleanup comments.
  6137. * target.c (to_extra_thread_info): default and inherit new vector.
  6138. (cleanup_target): eliminate PARAMS, break up long lines,
  6139. provide default definition for to_extra_thread_info, and
  6140. to_find_new_threads. Default to_thread_alive and to_query
  6141. to return_zero, not target_ignore (they each return int not void).
  6142. (debug_to_find_new_threads): new debug entry.
  6143. (setup_target_debug): add debug_to_find_new_threads.
  6144. * gdbthread.h: export struct thread_info, find_thread_pid, and
  6145. iterate_over_threads. Add comments. Eliminate PARAMS. Update
  6146. copyright. Add new private data pointer for use by target back-ends.
  6147. * thread.c (struct thread_info): move definition to gdbthread.h.
  6148. (find_thread_pid): new exported function for thread lookup.
  6149. (iterate_over_threads): new exported function for applying
  6150. arbitrary operations to threads. Update copyright to 2000.
  6151. (info_threads_command): use new target_extra_thread_info vector
  6152. to display extra information about each thread (if implemented).
  6153. * config/i386/tm-i386v42mp.h: remove obsolete #defines for procfs.
  6154. Add defines for PIDGET, etc.
  6155. * config/i386/tm-i386sol2.h: ditto.
  6156. * config/sparc/tm-sun4sol2.h: ditto.
  6157. * config/i386/i386v42mp.mh: add uw-thread.o to NATDEPFILES.
  6158. * procfs.c: (PIDGET, TIDGET, MERGEPID): change default to no-op.
  6159. (proc_flags): combine flags that UnixWare splits into two locations.
  6160. (proc_modify_flag): add support for PR_KLC (kill on last close).
  6161. (proc_[un]set_kill_on_last_close): new functions.
  6162. 2000-01-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6163. * infrun.c (normal_stop): Print out thread id when we stop.
  6164. 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6165. * remote.c (remote_open_1): Fix message so it does not imply a
  6166. specific syntax for serial ports, as it is OS dependent.
  6167. (remote_async_open_1): Ibid.
  6168. (init_remote_ops): Ibid.
  6169. 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6170. * rdi-share/serdrv.c (SerialOpen): Use speed from "-b" argument or
  6171. "set remotebaud" command (if set) when no speed is specified on
  6172. the "target rdi" command.
  6173. 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6174. * rdi-share/serdrv.c (find_baud_rate): Add entries for 57600 and
  6175. 115200.
  6176. (baud_options[]): Ibid.
  6177. 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6178. * rdi-share/unixcomm.c: Fix SERIAL_PREFIX so it matches the prefix
  6179. used by each operating system.
  6180. 2000-01-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6181. * breakpoint.c (until_break_command): Add an argument for the
  6182. continuation, the beginning of the cleanups set up by this
  6183. command.
  6184. (until_break_command_continuation): Do cleanups until the one
  6185. passed in as argument instead of doing all of them.
  6186. * infcmd.c (finish_command_continuation): Expect a new argument,
  6187. which indicates up to where to do cleanups. Update calls to
  6188. do_exec_cleanups to use this marker, instead of ALL_CLEANUPS.
  6189. (finish_command): Add another argument for the continuation: the
  6190. starting cleanup for this command.
  6191. 2000-01-05 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6192. From Grant Edwards <grante@visi.com> (original patch from Thomas
  6193. Zenker ):
  6194. * rdi-share/ardi.c: Allow interruption of interruptible
  6195. targets with a <CNTL-C>.
  6196. 2000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6197. * rdi-share/etherdrv.c (fetch_ports): Send extra words on request
  6198. to control port to accommodate some versions of Angel.
  6199. 2000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6200. * rdi-share/devsw.c (dumpPacket): Fix source of channel information.
  6201. Add interpretation for C Support Library packets.
  6202. 2000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6203. * rdi-share/devsw.c (DevSW_Close): Remove const from argument that
  6204. is now being modified.
  6205. * rdi-share/devsw.h: Adjust declaration of the above funtion.
  6206. For older changes see ChangeLog-1999
  6207. Local Variables:
  6208. mode: change-log
  6209. left-margin: 8
  6210. fill-column: 74
  6211. version-control: never
  6212. End: