ChangeLog-1999 352 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289
  1. Sun Dec 19 18:56:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2. * breakpoint.c (mention): Delete ui-out breakpoint code. Mention
  3. calls breakpoint_create_event and that, eventually, calls
  4. gdb_breakpoint_query which displays the breakpoint details.
  5. (hbreak_command_wrapper, thbreak_command_wrapper): Delete.
  6. Wed Dec 29 17:41:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
  7. * breakpoint.c (create_breakpoints, parse_breapoint_sals,
  8. breakpoint_sals_to_pc): New functions.
  9. (break_command_1): Rewrite. Use create_breakpoints,
  10. parse_breapoint_sals, breakpoint_sals_to_pcto create the list of
  11. breakpoints specified in ``sals''. Delete unused variables.
  12. Pre-allocate addr_strings for all breakpoints. Allocate a
  13. separate cond and cond_string for each breakpoint.
  14. (gdb_breakpoint, do_captured_breakpoint, struct
  15. captured_breakpoint_args): Provide a library interface into
  16. create_breakpoints.
  17. * defs.h (gdb_breakpoint): Add declaration.
  18. 1999-12-22 Michael Chastain <chastain@cygnus.com>
  19. * dbxread.c (process_one_symbol): check for nested LBRAC
  20. symbols before calling finish_block rather than after. Do not
  21. call define_symbol for these symbols.
  22. 1999-12-21 Stan Shebs <shebs@andros.cygnus.com>
  23. * blockframe.c (generic_pop_current_frame): Cosmetic changes to
  24. clarify.
  25. 1999-12-20 Michael Snyder <msnyder@cleaver.cygnus.com>
  26. * procfs.c: Completely rewritten. All functions replaced, to make
  27. maintainence easier in the presence of two very different versions
  28. of /proc (ioctl vs. read/write).
  29. * proc_api.c: New file, pretty-print /proc diagnostic trace info.
  30. * proc_events.c: New file, pretty-print /proc signals, exceptions.
  31. * proc_flags.c: New file, pretty-print /proc flags.
  32. * proc_why.c: New file, pretty-print /proc reasons for stopping.
  33. * Makefile.in: Add rules for above new files.
  34. * config/i386/i386sol2.mh: Add above new files to NATDEPFILES.
  35. * config/sparc/sun4sol2.mh: ditto.
  36. * config/i386/i386dgux.mh: ditto.
  37. * config/i386/i386v4.mh: ditto.
  38. * config/i386/i386v42mp.mh: ditto.
  39. * config/i386/ncr3000.mh: ditto.
  40. * config/m68k/m68kv4.mh: ditto.
  41. * config/m88k/delta88v4.mh: ditto.
  42. * config/mips/irix4.mh: ditto.
  43. * config/mips/irix5.mh: ditto.
  44. * config/mips/mipsv4.mh: ditto.
  45. * config/powerpc/solaris.mh: ditto.
  46. * config/alpha/alpha-osf2.mh: ditto.
  47. * config/alpha/alpha-osf3.mh: ditto.
  48. * acconfig.h: remove obsolete def HAVE_MULTIPLE_PROC_FDS,
  49. add new def NEW_PROC_API
  50. * config.in; ditto.
  51. * configure.in: Detect sparc solaris 7 and all versions of
  52. UnixWare, and define NEW_PROC_API.
  53. * configure: auto-generate.
  54. * infrun.c (MAY_SWITCH_FROM_INFERIOR_PID): remove define, make it
  55. the default behavior. (switched_from_inferior_pid): rename to
  56. previous_inferior_pid. (handle_inferior_event): remove the
  57. [Switching to thread...] message. (normal_stop): move the
  58. [Switching to thread...] message to here.
  59. * sol-thread.c (sol_find_new_threads): add a call to
  60. procfs_find_new_threads, so that new LWPs are found too.
  61. * config/mips/nm-irix5.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
  62. define to always use. (target_insert_watchpoint) define to use
  63. new procfs call (one additional parameter).
  64. (target_remove_watchpoint): ditto.
  65. (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT) define always true.
  66. * config/mips/nm-irix4.h: ditto.
  67. 1999-12-21 Jim Blandy <jimb@cygnus.com>
  68. * Makefile.in (elf_bfd_h): Look for elf-bfd.h in BFD_SRC, not
  69. BFD_DIR. Unlike bfd.h, it is not a generated file.
  70. Fri Dec 17 18:24:58 1999 David Taylor <taylor@texas.cygnus.com>
  71. * language.c (_initialize_language): move settings of language,
  72. range, and type and corresponding function calls
  73. set_language_command, set_type_command, and set_range_command
  74. closer together to match the model of having the user set the
  75. variable via the 'set {language | range | type}' commands.
  76. This eliminates startup noise introduced by Jimmy Guo's change
  77. of Dec 13th.
  78. 1999-12-17 Michael Snyder <msnyder@cleaver.cygnus.com>
  79. * configure.in: test for <stdint.h>, which is not available
  80. on earlier versions of Linux.
  81. * config.in: define HAVE_STDINT_H if it's present.
  82. * configure: autoconfiscate.
  83. * lin-thread.c: if not HAVE_STDINT_H, stub out the entire module.
  84. Fri Dec 17 20:45:21 1999 Andrew Cagney <cagney@b1.cygnus.com>
  85. * target.c (find_target_beneath): Change ``='' in if to ``==''.
  86. 1999-12-16 Michael Snyder <msnyder@cleaver.cygnus.com>
  87. * defs.h (TIDGET): add default definition.
  88. * lin-thread.c (check_for_thread_event): for now, just provide
  89. an empty definition (to be filled in later).
  90. 1999-12-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
  91. * varobj.c (varobj_list): Improve the test and the text of the
  92. assertion that guards against wrong tally of root varobjs.
  93. (uninstall_variable): Fix for a bug in which the number of root
  94. varobjs was not decremented if the first one in the list was deleted.
  95. 1999-12-16 Michael Snyder <msnyder@cleaver.cygnus.com>
  96. * linux-thread.c: Remove printf-debugging code.
  97. * lin-thread.c: ditto.
  98. * config/alpha/nm-linux.h: protect with NM_LINUX_H.
  99. 1999-12-16 Michael Snyder <msnyder@cleaver.cygnus.com>
  100. * lin-thread.c: new file. Implements multi-thread debugging on
  101. Linux using the thread_db API first implemented on Solaris. This
  102. frees GDB from any dependency on the internal implementation of
  103. the thread library. Future versions of the thread library will
  104. implement a libthread_db API for debuggers, which GDB will use.
  105. * config/i386/linux.mh: add lin-thread.o to the link, and add
  106. -ldl and -rdynamic since libthread_db is a dynamic library.
  107. * config/alpha/alpha-linux.mh: ditto.
  108. * configure.in: test for thread_db.h, proc_service.h
  109. * configure: autoconf.
  110. * config.in: conditionally define HAVE_THREAD_DB_H
  111. and HAVE_PROC_SERVICE_H
  112. * gdb_thread_db.h: new file, used when the system doesn't have it.
  113. * gdb_proc_service.h: ditto.
  114. 1999-12-16 Michael Snyder <msnyder@cleaver.cygnus.com>
  115. * linux-thread.c: changes to accomodate the new lin-thread.c
  116. module based on the thread_db API. These changes make parts of
  117. linux-thread.c shareable with lin-thread.c.
  118. (linuxthreads_wait_mask): replace with linuxthreads_block_mask.
  119. (using_thread_db): new variable. Allows linux-thread module to
  120. detect when lin-thread (thread_db API) module is in use.
  121. (save_inferior_pid, restore_inferior_pid): make 32/64 bit safe.
  122. (check_all_signal_numbers) make extern, shared with lin-thead.c.
  123. (linuxthreads_new_objfile): use target_new_objfile_chain to share
  124. this hook with the lin-thread module. Call the other module FIRST.
  125. If using_thread_db is turned on by the other thread module, do not
  126. set linuxthreads_debug and do not call update_stop_threads. Do call
  127. check_all_signal_numbers, to be sure it gets set before target_wait.
  128. (linux_child_wait): new function. Abstracts out the "child_wait"
  129. functionality, so that it can be shared with the lin-thread module.
  130. (linuxthreads_wait): call linux_child_wait, instead of doing the
  131. waiting inline. If using_thread_db, do not call update_stop_threads
  132. and do not turn on linuxthreads_debug.
  133. (linuxthreads_mourn_inferior): abstract out the clearing of global
  134. state, so that it can be shared with the lin-thread.c module.
  135. (_initialize_linuxthreads): use linuxthreads_wait_mask to block
  136. SIGCHLD exactly ONCE, and leave it blocked! Then linux_child_wait
  137. will call sigsuspend when it wants to wait for this signal.
  138. (thread_attach): abstract out ptrace attach to share with lin-thread.c
  139. 1999-12-16 Michael Snyder <msnyder@cleaver.cygnus.com>
  140. Make target_pid_to_str a target_ops vector.
  141. * target.h (target_pid_to_str): redefine to use a target_ops vector.
  142. (target_tid_to_str): default to using target_pid_to_str.
  143. (target_pid_or_tid_to_str): ditto.
  144. * target.c (update_current_target): inherit to_pid_to_str method.
  145. (find_target_beneath): new function. Find target stratum below
  146. the given one.
  147. * config/nm-gnu.h: don't define target_pid_to_str.
  148. * config/i386/tm-i386sol2.h: ditto.
  149. * config/sparc/tm-sun4sol2.h: ditto.
  150. * gnu-nat.c (init_gnu_ops): initialize to_pid_to_str vector.
  151. * linux-thread.c (init_linuxthreads_ops): ditto.
  152. * sol-thread.c (init_sol_thread_ops: ditto.
  153. * procfs.c (init_procfs_ops): ditto.
  154. * win32-nat.c (init_child_ops): ditto.
  155. * config/i386/tm-cygwin.h: don't define target_pid_to_str.
  156. * inftarg.c (child_pid_to_str): new function, used to initialize
  157. to_pid_to_str vector. May be suppressed by defining CHILD_PID_TO_STR.
  158. (init_child_ops): initialize to_pid_to_str using child_pid_to_str.
  159. Derivative modules may substitute their own child_pid_to_str func
  160. by defining CHILD_PID_TO_STR.
  161. * lynx-nat.c (lynx_pid_to_str): rename to child_pid_to_str.
  162. * config/nm-lynx.h: define CHILD_PID_TO_STR.
  163. Don't define target_pid_to_str.
  164. * hppah-nat.c (hppa_pid_to_str): rename to child_pid_to_str.
  165. * infttrace.c (hppa_pid_or_tid_to_str): call child_pid_to str
  166. instead of hppa_pid_to_str.
  167. * config/pa/nm-hppah.h: define CHILD_PID_TO_STR.
  168. Don't define target_pid_to_str.
  169. 1999-12-16 Michael Snyder <msnyder@cleaver.cygnus.com>
  170. * i386-linux-nat.c: introduce PIDGET/TIDGET macros as on Solaris,
  171. preparatory to using the thread_db debugging API for Linux.
  172. (fill_gregset): guard against invalid input.
  173. (fetch_regs): add a pid/thread_id argument, so we can fetch regs
  174. from multiple processes/clones/threads. (store_regs): ditto.
  175. (fetch_fpregs): ditto. (store_fpregs): ditto.
  176. (fetch_xfpregs): ditto. (store_xfpregs): ditto.
  177. (fetch_inferior_registers): use TIDGET to extract an appropriate
  178. thread/clone/process id from inferior_pid, if there's one there,
  179. and pass it to fetch_regs etc. (store_inferior_registers): ditto.
  180. * infptrace.c: include every available version of wait.h.
  181. introduce PIDGET/TIDGET macros for use with thread_db API on Linux.
  182. (call_ptrace): rearrange lines that were split by an ifdef.
  183. (fetch_register): use TIDGET to extract an appropriate process ID
  184. from inferior_pid, in case we are debugging more than one process.
  185. (store_register): ditto. This is for Linux.
  186. (child_xfer_memory): use PIDGET to extract the main process id from
  187. inferior_pid, in case we are debugging multiple processes that share
  188. the same address space (as on Linux).
  189. 1999-12-16 Christopher Faylor <cgf@cygnus.com>
  190. * win32-nat.c: Add a missing register to mappings array.
  191. (child_fetch_inferior_registers): Use precalculated index into mappings
  192. array as supply_registers argument.
  193. (handle_output_debug_string): Avoid considering every debug string as a
  194. cygwin signal.
  195. (handle_exception): Trap first chance exceptions.
  196. (child_create_inferior): Initialize Microsoft thread walking API.
  197. (sgmb): New function. Used by Microsoft API for stack walking.
  198. (child_frame_chain): New function. Uses Microsoft API for stack
  199. walking.
  200. (child_frame_chain_saved_pc): Ditto.
  201. * config/i386/tm-cygwin.h: Define frame handling stuff.
  202. 1999-12-15 Stan Shebs <shebs@andros.cygnus.com>
  203. ARM GNU/Linux support and general ARM target fixes/cleanup from
  204. Scott Bambrough <scottb@netwinder.org>, plus obsoletion of the old
  205. RISCix support.
  206. * NEWS: Mention addition and obsoletion.
  207. * configure.host: Recognize arm* instead of just arm.
  208. (arm*-*-linux*): Recognize.
  209. * configure.tgt: Ditto, plus assume arm*-*-* is embedded.
  210. * config/arm/arm.mh, config/arm/arm.mt, config/arm/nm-arm.h,
  211. config/arm/xm-arm.h: Mark as OBSOLETE.
  212. * config/arm/embed.mt, config/arm/tm-embed.h: New files.
  213. * config/arm/linux.mh, config/arm/linux.mt, config/arm/nm-linux.h,
  214. config/arm/tm-linux.h, config/arm/xm-linux.h: Ditto.
  215. * config/arm/tm-arm.h: Add more comments, eliminate PARAMS.
  216. (STACK_END_ADDR): Remove.
  217. (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT, THUMB_LE_BREAKPOINT,
  218. THUMB_BE_BREAKPOINT): Move to here from arm-tdep.c.
  219. (NUM_REGS): Define as sum.
  220. (NUM_FREGS, NUM_SREGS, NUM_GREGS): New definitions.
  221. (FP_REGISTER_RAW_SIZE, FP_REGISTER_VIRTUAL_SIZE,
  222. STATUS_REGISTER_SIZE): Define.
  223. (REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE,
  224. REGISTER_VIRTUAL_SIZE): Rewrite to use symbolic values.
  225. (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
  226. REGISTER_CONVERT_TO_RAW, USE_STRUCT_CONVENTION,
  227. EXTRACT_RETURN_VALUE): Rewrite to use new functions.
  228. (IN_SIGTRAMP): Remove definition.
  229. * arm-convert.s: Mark as OBSOLETE.
  230. * arm-linux-nat.c: New file.
  231. * Makefile.in: Add build rule for it.
  232. * arm-tdep.c (struct frame_extra_info): New struct.
  233. (arm_use_struct_convention): Rewrite.
  234. (arm_push_arguments): Rewrite to handle more cases.
  235. (arm_register_convertible, arm_register_convert_to_virtual,
  236. arm_register_convert_to_raw, arm_extract_return_value): New
  237. functions.
  238. (LITTLE_BREAKPOINT, BIG_BREAKPOINT): Remove.
  239. * arm-xdep.c: Mark as OBSOLETE.
  240. 1999-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  241. * infcmd.c (run_stack_dummy): Temporarily lie about the target
  242. ability to support asynchronous execution.
  243. * remote.c (remote_can_async_p, remote_is_async_p): Return true
  244. iff to_async_mask_value is true too.
  245. (remote_async): Error out if called when to_async_mask_value is 0.
  246. (init_remote_async_ops): Initialize to_async_mask_value to 1.
  247. (remote_async_detach, remote_async_resume, remote_async_wait,
  248. remote_async_kill): Change SERIAL_IS_ASYNC_P call to
  249. target_is_async_p call.
  250. (remote_async_resume): Change SERIAL_CAN_ASYNC_P call to
  251. target_can_async_p call.
  252. * target.c (update_current_target): Inherit to_async_mask_value.
  253. (target_async_mask): New function. To temporarily turn the target
  254. into a synchronous one for inferior function calls, and back to
  255. asynchronous.
  256. * target.h (to_async_mask_value): New entry in the target
  257. vector.
  258. (target_async_mask): Export.
  259. (target_async_mask_value): Define.
  260. Wed Dec 15 11:24:32 1999 Jeffrey A Law (law@cygnus.com)
  261. * hp-psymtab-read.c (trans_lang): Use HP_LANGUAGE_FORTRAN instead
  262. of HP_LANGUAGE_F77.
  263. Wed Dec 15 13:37:55 1999 Andrew Cagney <cagney@b1.cygnus.com>
  264. * gdb-events.h, gdb-events.c (set_gdb_event_hooks): Return the old
  265. event hooks vector.
  266. 1999-08-13 Jim Kingdon <http://developer.redhat.com/>
  267. * breakpoint.c (bpstat_stop_status): Revert 1998-09-08 change
  268. to ->frame matching. The change did not match the ChangeLog
  269. entry, looked fishy, and caused infinite stepping when running
  270. "next" from main on sparc w/ RH Linux. Thanks to Jakub for the
  271. report.
  272. 1999-12-14 Stan Shebs <shebs@andros.cygnus.com>
  273. * arm-tdep.c (arm_get_next_pc): Add argument to shifted_reg_val
  274. call.
  275. 1999-12-14 Mark Salter <msalter@cygnus.com>
  276. * mips-tdep.c (mips_print_register): Fix printing of individual
  277. registers when REGISTER_VIRTUAL_SIZE != REGISTER_RAW_SIZE.
  278. Tue Dec 14 23:29:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
  279. * defs.h (mcalloc): Delcare.
  280. * utils.c (xcalloc, mcalloc): New functions.
  281. 1999-12-13 Stan Shebs <shebs@andros.cygnus.com>
  282. * config/arm/tm-arm.h: Reformat comments, in preparation for
  283. real changes.
  284. * arm-tdep.c: Similarly, plus change function definitions to
  285. modern form.
  286. 1999-12-13 Michael Snyder <msnyder@cleaver.cygnus.com>
  287. * breakpoint.h (enum bptype): add new BP type bp_thread_event.
  288. This will be used when a target needs to set an invisible
  289. breakpoint to detect events such as thread creation.
  290. * breakpoint.c (interlan_breakpoint_number): remove ifdefs.
  291. (create_thread_event_breakpoint): new function.
  292. (remove_thread_event_breakpoints): new function.
  293. (bpstat_what): don't stop at invisible thread_event breakpoints.
  294. (update_breakpoints_after_exec): if bp_thread_event breakpoins
  295. still exist after an exec, delete them. They'll need to be
  296. found and installed anew anyway.
  297. (print_it_typical): don't announce bp_thread_event breakpoints.
  298. (print_one_breakpoint): account for new breakpoint type.
  299. (mention): don't mention invisible bp_thread_event breakpoints.
  300. (delete_command): don't delete invisible bp_thread_event bp's.
  301. (breakpoint_re_set_one): don't touch bp_thread_event bp's.
  302. Mon Dec 13 11:10:59 1999 Jimmy Guo <guo@cup.hp.com>
  303. * language.h (longest_raw_hex_string, longest_local_hex_string,
  304. longest_local_hex_string_custom): Declare.
  305. * language.c: New functions, and misc. fixes.
  306. (longest_raw_hex_string, longest_local_hex_string,
  307. longest_local_hex_string_custom): New functions.
  308. * c-typeprint.c
  309. (c_type_print_varspec_prefix,c_type_print_varpsec_suffix): Add
  310. TYPE_CODE_TEMPLATE case and default case.
  311. (c_type_print_base): Revise how demangled_no_class is found;
  312. print '}' before printing local file:line info.
  313. * c-valprint.c (c_value_print): print reference type to class.
  314. * valarith.c (value_binop): Add support for exponentiation,
  315. equal, not equal.
  316. (value_strcmp): New function.
  317. (value_equal,value_less): Add string equality comparison support.
  318. * m2-exp.y (lex): add default case statement to capture
  319. unhandled token and call error().
  320. 1999-12-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  321. * main.c (main): Remove unused variable.
  322. From Hubert VERSTRAETE (hubertV@bigfoot.com):
  323. * main.c (captured_main): Disambiguate command line option '-d' by
  324. preferring --directory over --dbx.
  325. * top.c (return_to_top_level): Do not do exec cleanups if the
  326. target is executing. Those cleanups are supposed to be done when
  327. the target has stopped.
  328. Mon Dec 13 20:52:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
  329. * breakpoint.c (do_captured_breakpoint_query,
  330. gdb_breakpoint_query): New functions. Implement a breakpoint
  331. query.
  332. * defs.h (enum gdb_rc): Declare.
  333. (gdb_breakpoint_query): Declare.
  334. Mon Dec 13 14:18:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
  335. * gdb-events.h: Fix typo in description of breakpoint events.
  336. * gdb-events.sh: Update.
  337. Mon Dec 13 13:57:26 1999 Andrew Cagney <cagney@b1.cygnus.com>
  338. * breakpoint.c (ep_type_description_t): Delete.
  339. (print_one_breakpoint): Add local declaration of struct
  340. ep_type_description.
  341. Mon Dec 13 12:38:31 1999 Andrew Cagney <cagney@b1.cygnus.com>
  342. * top.h: Delete #include <setjmp.h>. Moved to top.c.
  343. (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, SIGJMP_BUF, SIGSETJMP,
  344. SIGLONGJMP): Delete. Moved to top.c
  345. (error_return, quit_return): Delete extern declarations.
  346. * top.c: #include <setjmp.h>.
  347. (error_return, quit_return): Make static.
  348. (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, SIGJMP_BUF, SIGSETJMP,
  349. SIGLONGJMP): Define.
  350. Mon Dec 13 11:54:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
  351. * tracepoint.c (trace_start_command, tracepoints_info): Print
  352. step_count using %ld.
  353. * Makefile.in (tracepoint.o): Compile tracepoint.o with -Werror.
  354. 1999-12-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  355. * target.h (enum target_waitkind): Add new enumeration value
  356. TARGET_WAITKIND_IGNORE. For inferior events that we should do
  357. nothing about.
  358. * remote.c (remote_async_wait): After each character of console
  359. output from the inferior, return to the event loop with an event
  360. kind of TARGET_WAITKIND_IGNORE instead of looping here.
  361. * infrun.c (handle_inferior_event): In case of
  362. TARGET_WAITKIND_IGNORE, return immediately, and set things up so
  363. that we are still waiting for the inferior.
  364. 1999-12-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  365. * event-loop.c (handle_timer_event): When calling the timer
  366. procedure, use the saved_timer data, not the timer_ptr data,
  367. because the latter has been already freed.
  368. Fri Dec 10 12:01:43 1999 Andrew Cagney <cagney@b1.cygnus.com>
  369. * eval.c (evaluate_subexp): Only inline when GNUC and not STDC.
  370. Sat Dec 11 17:52:03 1999 Andrew Cagney <cagney@b1.cygnus.com>
  371. * breakpoint.c (print_one_breakpoint): New function. Move
  372. breakpoint print code to here.
  373. (breakpoint_1): From here.
  374. (print_one_breakpoint): Merge in ui-out code.
  375. (print_one_breakpoint): Add local variabls ``stb'' and
  376. ``old_chain''.
  377. (breakpoint_1): Use print_one_breakpoint when UI.
  378. (print_one_breakpoint): Print breakpoint type when UI.
  379. (breakpoint_1): Merge UI out code into non UI function.
  380. * ui-out.c (make_cleanup_ui_out_stream_delete): New function. Wrap
  381. make_cleanup.
  382. (do_stream_delete): New function. Wrap ui_out_stream_delete.
  383. * ui-out.h (make_cleanup_ui_out_stream_delete): Declare.
  384. Sat Dec 11 00:12:41 1999 Andrew Cagney <cagney@b1.cygnus.com>
  385. * breakpoint.c (breakpoint_1): Clone breakpoint_1 creating UI
  386. and non-UI versions.
  387. Mon Dec 6 20:31:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
  388. * gdbarch.sh: Replace field init_p with invalid_p.
  389. (TARGET_BFD_VMA_BIT): New architecture vector method. Defaults to
  390. architecture bits_per_address.
  391. * gdbarch.h, gdbarch.c: Update.
  392. * defs.h (TARGET_BFD_VMA_BIT): Provide default of TARGET_PTR_BIT
  393. for non- multi-arch case.
  394. * gdbtypes.h (builtin_type_bfd_vma, builtin_type_ptr,
  395. builtin_type_CORE_ADDR): New GDB specific address types.
  396. * gdbtypes.c (_initialize_gdbtypes, build_gdbtypes): Initialize
  397. new builtin types.
  398. Wed Dec 8 17:48:56 1999 Andrew Cagney <cagney@b1.cygnus.com>
  399. * config/sparc/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Delete
  400. definition. Already defined in config/nm-nbsd.h. Include the
  401. more explicit config/nm-nbsd.h.
  402. * config/sparc/nbsd.mt (TDEPFILES): Move solib.o from here.
  403. * config/sparc/nbsd.mh (NATDEPFILES): To here.
  404. * config/xm-nbsd.h: #include <sys/param.h> to get definition of
  405. NGROUPS needed by <limits.h> and missing on some systems.
  406. * config/nm-nbsd.h: Only macro's that match NetBSD definitions
  407. with what is expected by solib.c when not SVR4_SHARED_LIBS.
  408. * configure.host: Add patterns for sparc-*-netbsdaout* and
  409. sparc-*-netbsdelf*.
  410. * config/sparc/nm-nbsdelf.h: New file.
  411. * config/sparc/nbsdelf.mh: New file.
  412. Wed Dec 8 19:56:48 1999 Andrew Cagney <cagney@b1.cygnus.com>
  413. * frame.h, blockframe.c: Rename default_frame_chain_valid to
  414. file_frame_chain_valid. Rename alternate_frame_chain_valid to
  415. func_frame_chain_valid.
  416. * config/sparc/tm-sparclite.h, config/mips/tm-mipsv4.h,
  417. config/m88k/tm-delta88v4.h, config/m68k/tm-m68kv4.h,
  418. config/m68k/tm-monitor.h, config/i386/tm-i386nw.h,
  419. config/i386/tm-i386v4.h, config/h8300/tm-h8300.h: Update.
  420. * mips-tdep.c (mips_gdbarch_init): Update.
  421. Wed Dec 8 19:12:17 1999 Andrew Cagney <cagney@b1.cygnus.com>
  422. * blockframe.c (generic_file_frame_chain_valid): Rename
  423. generic_file_frame_chain_valid.
  424. * frame.h: Update.
  425. * config/fr30/tm-fr30.h, config/m32r/tm-m32r.h,
  426. config/mn10200/tm-mn10200.h, config/mn10300/tm-mn10300.h,
  427. config/sh/tm-sh.h, config/v850/tm-v850.h, config/mcore/tm-mcore.h:
  428. Update.
  429. * blockframe.c (generic_func_frame_chain_valid): New function.
  430. Implement dummy-frame equivalent of function based frame chain
  431. valid.
  432. * frame.h (generic_func_frame_chain_valid): Declare.
  433. Wed Dec 8 16:26:27 1999 Andrew Cagney <cagney@b1.cygnus.com>
  434. * blockframe.c (alternate_frame_chain_valid,
  435. default_frame_chain_valid): Swap implementations. The change Mon
  436. Nov 30 11:18:48 1998 Andrew Cagney <cagney@chook> which converted
  437. several macros to functions was backwards.
  438. * mips-tdep.c (mips_gdbarch_init): Update. Call
  439. alternate_frame_chain_valid and not default_frame_chain_valid.
  440. Wed Dec 8 15:29:48 1999 Andrew Cagney <cagney@b1.cygnus.com>
  441. * infptrace.c: Simplify handling of <sys/wait.h>. Always include
  442. "wait.h" from the ../include/wait.h directory. #include
  443. <sys/wait.h> was added as part of Mon Nov 29 12:14:10 1999 Andrew
  444. Cagney <cagney@b1.cygnus.com> but the ChangeLog was omitted.
  445. 1999-12-07 Jim Blandy <jimb@cygnus.com>
  446. Add support for SSE registers in core files.
  447. * corelow.c (get_core_register_section): New function.
  448. (get_core_registers): Fetch the new ".reg-xfp" sections,
  449. in addition to the traditional ".reg" and ".reg2" sections.
  450. Check for per-thread variants of all three. Use
  451. get_core_register_section, instead of writing it out over and over
  452. again.
  453. * i386-linux-nat.c (i386_linux_fetch_core_registers): New function.
  454. (i386_linux_nat_core_fns): New core_fns structure. We do our own
  455. core handling now, instead of using the generic code in core-regset.c.
  456. (_initialize_i386_linux_nat): New function, needed to register
  457. i386_linux_nat_core_fns.
  458. * config/i386/linux.mh (NATDEPFILES): Remove core-regset.o;
  459. i386-linux-nat.c has its own sniffer now.
  460. * gdbcore.h: (struct core_fns): Doc fix.
  461. * i386v-nat.c (i386_float_info): Definition is #if 0'd; delete it
  462. altogether. This should use the function i387-tdep.c.
  463. Patch from Mark Kettenis <kettenis@gnu.org>:
  464. * config/i386/tm-i386.h (FLOAT_INFO): New define.
  465. * i387-tdep.c (print_i387_value, print_i387_ext,
  466. print_i387_status_word, print_i387_control_word, i387_float_info):
  467. New functions, used to implement generic `info float' command.
  468. 1999-12-06 Christopher Faylor <cgf@cygnus.com>
  469. * dcache.c (set_dcache_state): New function.
  470. * dcache.h: Declare set_dcache_state().
  471. Sat Dec 4 15:17:44 1999 Andrew Cagney <cagney@b1.cygnus.com>
  472. * remote.c (build_remote_packet_sizes): Reduce the default packet
  473. size of 400 bytes by one to 399. Stops GDB trashing stubs that
  474. append a trailing NUL to an already full buffer.
  475. Sat Dec 4 01:16:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
  476. * tracepoint.c (remote_get_noisy_reply): Add parameter sizeof_buf.
  477. (finish_tfind_command): Add parameter sizeof_msg.
  478. * remote.c (remote_threads_info): Move assignment operator to
  479. outside of function call.
  480. (remote_send): Add parameter sizeof_buf.
  481. (getpkt): Add parameter sizeof_buf. Call read_frame passing in
  482. sizeof_buf.
  483. * remote.h (getpkt): Update.
  484. * tracepoint.c (remote_set_transparent_ranges,
  485. remote_get_noisy_reply, trace_start_command, trace_stop_command,
  486. trace_status_command, finish_tfind_command, trace_find_pc_command,
  487. trace_find_tracepoint_command, trace_find_line_command,
  488. trace_find_range_command, trace_find_outside_command): Update.
  489. * remote.c (set_thread, remote_thread_alive,
  490. remote_get_threadinfo, remote_get_threadlist,
  491. remote_current_thread, remote_threads_info,
  492. extended_remote_restart, get_offsets, remote_open_1,
  493. remote_async_open_1, remote_wait, remote_async_wait,
  494. remote_fetch_registers, check_binary_download, remote_write_bytes,
  495. remote_read_bytes, remote_send, remote_detach,
  496. remote_async_detach, remote_fetch_registers,
  497. store_register_using_P, store_register_using_P,
  498. remote_fetch_registers, remote_store_registers, putpkt_binary,
  499. remote_insert_breakpoint, remote_remove_breakpoint,
  500. compare_sections_command, remote_rcmd, packet_command,
  501. remote_info_process, remote_query, remote_insert_watchpoint,
  502. remote_search, remote_remove_watchpoint,
  503. remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Update.
  504. Fri Dec 3 17:38:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
  505. * (read_frame): Add sizeof_buf parameter. Don't allow repeat when
  506. first character. Always leave space at the end of the buffer.
  507. Return size of packet or -1.
  508. (getpkt): Update. Pass in PBUFSIZ.
  509. 1999-12-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  510. * breakpoint.c (print_it_typical): Print reason for stopping in
  511. case of bp_until.
  512. Thu Dec 2 17:14:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
  513. * ser-pipe.c: Include <string.h> for memset().
  514. 1999-12-01 Jim Blandy <jimb@cygnus.com>
  515. * gdbtypes.c (builtin_type_v4si, builtin_type_v8qi,
  516. builtin_type_v4hi, builtin_type_v2si): New SIMD types.
  517. (build_gdbtypes): Initialize them.
  518. (_initialize_gdbtypes): Gdbarch_swap them.
  519. * gdbtypes.h (builtin_type_v4si, builtin_type_v8qi,
  520. builtin_type_v4hi, builtin_type_v2si): Declare them.
  521. * findvar.c (read_register_bytes, write_register_bytes): Correctly
  522. determine how the region the caller is writing overlaps with each
  523. register's bytes.
  524. * value.h (struct value): Doc fixes.
  525. * valops.c (value_assign): Clarify error message.
  526. 1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  527. * stack.c (return_command_wrapper): New function, to export
  528. return_command().
  529. 1999-12-01 Christopher Faylor <cgf@cygnus.com>
  530. * config/i386/tm-cygwin.h: Change tm-i386.h include back to tm-i386v.h.
  531. 1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  532. * inf-loop.c (inferior_event_handler): In case of
  533. INF_EXEC_CONTINUE, don't do all the regular continuations, but
  534. just the intermediate ones.
  535. * infcmd.c (step_once): Add the continuation to the
  536. intermediate_continuation list instead of the regular continuation
  537. list.
  538. * utils.c (add_intermediate_continuation): New function, to add
  539. continuations to the intermedite_continuation list.
  540. (do_all_intermediate_continuations): New function, do all the
  541. continuations in the intermediate list.
  542. (discard_all_intermediate_continuations): New function, discard
  543. all the continuations in the intermediate list.
  544. (intermediate_continuation): New global list for use by step_1().
  545. * defs.h: Export intermediate_continuation,
  546. add_intermediate_continuation, do_all_intermediate_continuations,
  547. discard_all_intermediate_continuations.
  548. 1999-11-30 Christopher Faylor <cgf@cygnus.com>
  549. * win32-nat.c (mappings): Reorganize slightly for new uniform i386
  550. register configuration.
  551. (do_child_fetch_inferior_registers): Handle special case floating point
  552. registers.
  553. (handle_output_debug_string): Handle cygwin-specific signals broadcast
  554. from the cygwin DLL.
  555. (handle_exceptions): Add code to properly allow continuation after a
  556. CTRL-C.
  557. (child_continue): Accept propagated "continue_status" which controls
  558. how the inferior should be continued.
  559. (get_child_debug_event): New function.
  560. (child_wait): Use above function to handle debug events.
  561. (child_create_inferior): Add more intelligent method for running the
  562. inferior to the appropriate point before handing it off to the rest of
  563. gdb.
  564. (child_stop): Specifically send a CTRL-C to the debugged process.
  565. (child_kill_inferior): Set global continue status here to cause
  566. inferior to run to completion.
  567. (child_resume): Eliminate code which attempts to decide how to continue
  568. the inferior. This is now handled by child_continue.
  569. * config/i386/tm-cygwin.h: Gut and reorganize for consistency with new
  570. tm-i386.h.
  571. Patch from Egor Duda (deo@logos-m.ru)
  572. * win32-nat.c (psapi_get_dll_name): New function.
  573. (handle_load_dll): Correctly load DLL symbol tables after attaching to
  574. a running pid.
  575. 1999-11-30 Michael Snyder <msnyder@cleaver.cygnus.com>
  576. * infrun.c (handle_inferior_pid): revert 11-29 change: resuming
  577. a thread other than the current thread with a signal. Apparently
  578. target_resume with a specific pid, a specific signal, and no step
  579. means to continue ALL threads but to only send the signal to one
  580. (and not, as I had assumed, to continue only the specified thread).
  581. * i386-linux-nat.c (fill_gregset): guard against invalid input.
  582. 1999-11-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  583. * infcmd.c (step_once): New function. Used to do just one step
  584. operation.
  585. (step_1_continuation): New function. Figure out if we need to step
  586. again before returning control to the user.
  587. (step_1): If we are in asynchronous mode, don't do the for loop,
  588. but rather delegate to continuations the task of repeating the
  589. step operation.
  590. * utils.c (do_all_continuations): Copy the continuation list aside
  591. before working on it.
  592. * target.h (enum inferior_event_type): Add new enum
  593. INF_EXEC_CONTINUE.
  594. * inf-loop.c (inferior_event_handler): Handle new case
  595. INF_EXEC_CONTINUE.
  596. * infrun.c (fetch_inferior_event): If we are in the middle of a
  597. 'step n' type command, don't say that the execution is complete,
  598. but that it will have to continue.
  599. 1999-11-30 Kevin Buettner <kevinb@cygnus.com>
  600. * utils.c (verror): Don't traverse va_list argument twice. Also,
  601. removed extraneous va_end() call.
  602. 1999-11-29 Michael Snyder <msnyder@cleaver.cygnus.com>
  603. * infrun.c (handle_inferior_pid): If a child thread stops on a
  604. signal that we are ignoring, and GDB silently resumes the child,
  605. resume ALL threads (not just the one that got the signal). All
  606. threads are stopped, so all must be resumed.
  607. (handle_inferior_event): on detecting a thread context switch,
  608. swap infrun_state ONLY if both the old thread and the new one
  609. are in the thread list. Otherwise state information will be lost!
  610. Problem may arise with flaky back-ends.
  611. 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  612. * infrun.c (print_stop_reason): Don't print end of stepping reason
  613. if we are in the middle of a multistep command (same condition as
  614. in normal_stop).
  615. * breakpoint.c (bpstat_stop_status): Don't decrease hit_count
  616. in case of a wp that has not changed.
  617. Mon Nov 29 12:14:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
  618. * gdbtypes.c (init_simd_type): Make static.
  619. * configure.in (AC_CHECK_HEADERS): Check for <sys/ioctl.h>.
  620. * configure, config.h: Re-generate.
  621. * inflow.c: Include <sys/ioctl.h>
  622. * i386b-nat.c: Include "gdbcore.h".
  623. * fork-child.c: Include "command.h".
  624. * remote.c (remote_cisco_section_offsets,
  625. remote_start_remote_dummy, store_register_using_P,
  626. remote_info_process, remote_cisco_open, remote_cisco_close,
  627. readsocket, readtty, minitelnet, remote_cisco_wait,
  628. init_remote_async_ops, init_extended_async_remote_ops,
  629. set_remote_cmd), infrun.c (default_skip_permanent_breakpoint): Use
  630. ISO-C syntax for function definition.
  631. Mon Nov 29 11:28:21 1999 Andrew Cagney <cagney@b1.cygnus.com>
  632. * stabsread.c: Revert 1999-11-09 Jim Blandy
  633. <jimb@zwingli.cygnus.com> and 1999-11-08 Jim Blandy
  634. <jimb@cygnus.com>. Broken on non-Linux targets.
  635. 1999-11-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  636. * symfile.c (show_load_progress): Add total sent so far to the
  637. information passsed to the hook users.
  638. (generic_load): Collect total sent so far and pass that to the
  639. progress hook.
  640. * defs.h (show_load_progress): Update.
  641. 1999-11-25 Nick Clifton <nickc@cygnus.com>
  642. * coffread.c (coff_symfile_read): Treat "epoc-pe" targets as "pe"
  643. targets.
  644. * dbxread.c (dbx_read_symfile): Treat "epoc-pe" targets as "pe"
  645. targets.
  646. Wed Nov 24 17:07:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
  647. * Makefile.in (init.c): Add SUBDIR_INIT_FILES so that sub
  648. directories can hook in extra init files.
  649. Wed Nov 24 11:41:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
  650. * ui-out.h (field_string_ftype, ui_out_field_string): Make string
  651. parameter const.
  652. * cli-out.c (cli_field_string): Update.
  653. * ui-out.c (uo_field_string, ui_out_field_string,
  654. default_field_string): Update.
  655. 1999-11-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  656. * defs.h (show_load_progress): Export.
  657. * symfile.c (show_load_progress): New hook for download.
  658. (generic_load): Collect total size of executable to load.
  659. Call progress hook when downloading.
  660. Add output for ui case.
  661. (print_transfer_performance): Add output for ui case.
  662. Thu Nov 18 11:54:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
  663. * arc-tdep.c (codestream_fill): Rewrite byte swap code using
  664. function extract_unsigned_integer.
  665. Wed Nov 17 17:01:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
  666. * arm-xdep.c: #include "arm-opcode.h" -> "opcode/arm.h".
  667. 1999-11-22 Jim Blandy <jimb@cygnus.com>
  668. * Makefile.in (i386-tdep.o): Update list of dependencies.
  669. 1999-11-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  670. * stack.c (print_frame_info_base): Adjust output for stepi/nexti case.
  671. 1999-11-22 Jim Blandy <jimb@cygnus.com>
  672. * config/i386/tm-i386v.h (NUM_REGS, REGISTER_NAMES,
  673. REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE,
  674. REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE,
  675. MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE): Deleted. All
  676. of these should inherit identical or compatible values from
  677. tm-i386.h, as long as you don't define HAVE_SSE_REGS or
  678. HAVE_I387_REGS, which are new anyway.
  679. Mon Nov 22 21:39:27 1999 Andrew Cagney <cagney@b1.cygnus.com>
  680. * target.c (do_target_signal_to_host): New function. Indicate of
  681. the conversion was successful to the caller via an additional
  682. parameter.
  683. (target_signal_to_host_p): New function. Return non-zero if the
  684. GDB signal exists on the host system.
  685. (target_signal_to_host): Rewrite. Use do_target_signal_to_host.
  686. * target.h (target_signal_to_host_p): Add declaration. Document
  687. target_singal vs host signal vs target OS signal confusion.
  688. From 1999-11-08 Jimmy Guo <guo@cup.hp.com>:
  689. * hppah-nat.c (require_notification_of_events): Start by ignoring
  690. all signals and then adding back in ones we're interested in.
  691. Thu Nov 18 18:12:48 1999 Andrew Cagney <cagney@b1.cygnus.com>
  692. * jv-typeprint.c (java_type_print_base), kod-cisco.c
  693. (cisco_kod_open), kod.c (kod_set_os), xcoffread.c
  694. (process_linenos), symfile.c (add_symbol_file_command),
  695. remote-rdi.c (arm_rdi_open, rdilogfile_command), main.c
  696. (captured_main), go32-nat.c (go32_create_inferior), exec.c
  697. (exec_file_attach), corefile.c (core_file_command,
  698. reopen_exec_file): Replace strdup with xstrdup.
  699. * varobj.c (varobj_gen_name, c_name_of_child, c_value_of_variable,
  700. cplus_value_of_variable): Replace strdup with xstrdup.
  701. * ui-out.c (ui_out_table_begin): Ditto.
  702. Mon Nov 22 12:02:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
  703. * bcache.c (print_bcache_statistics): Fix printf_filtered
  704. arguments.
  705. (print_percentage): Make function void.
  706. 1999-11-21 Jim Blandy <jimb@cygnus.com>
  707. Make the bcache hash table grow.
  708. * bcache.h (BCACHE_NUM_BUCKETS): Delete definition.
  709. (struct bcache): Add new element: num_buckets. Make bucket be a
  710. pointer to an array, not an array.
  711. (free_bcache): New extern declaration.
  712. * bcache.c (CHAIN_LENGTH_THRESHOLD): New constant.
  713. (expand_hash_table): New function.
  714. (bcache): Grow the hash table if the average chain length reaches
  715. CHAIN_LENGTH_THRESHOLD.
  716. (free_bcache): New function.
  717. (print_bcache_statistics): Don't assume that the number of buckets
  718. is constant any more.
  719. (BSTRING_SIZE): Moved down to just above 'bcache' function, where
  720. it's used.
  721. * objfiles.c (free_objfile): Call free_bcache, instead of just
  722. freeing the bcache's obstack directly.
  723. * symfile.c (reread_symbols): Same.
  724. 1999-11-20 Jim Blandy <jimb@cygnus.com>
  725. * bcache.c, bcache.h: Rewritten. New version imposes less memory
  726. overhead, and has a more effective hash function, so it's probably
  727. faster, too.
  728. * config/nm-linux.h: No need to check whether __STDC__ is
  729. #defined --- GDB requires ANSI C now.
  730. * config/i386/nm-linux.h (linuxthreads_pid_to_str,
  731. linuxthreads_prepare_to_proceed): Delete declarations --- they're
  732. provided by config/nm-linux.h now.
  733. 1999-11-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  734. * top.c (print_command_lines): Remove unused var.
  735. 1999-11-19 Jim Kingdon <kingdon@redhat.com>
  736. Patch applied by Jim Blandy <jimb@cygnus.com>:
  737. Enable threads for all linux architectures:
  738. * config/nm-linux.h: New file.
  739. config/alpha/nm-linux.h, config/i386/nm-linux.h,
  740. config/m68k/nm-linux.h, config/sparc/nm-linux.h: Use it.
  741. * config/tm-linux.h: New file.
  742. * config/i386/tm-linux.h, config/m68k/tm-linux.h,
  743. config/sparc/tm-linux.h, config/alpha/tm-alphalinux.h: Use it.
  744. * config/m68k/linux.mh, config/sparc/linux.mh,
  745. config/alpha/alpha-linux.mh: Add linux-thread.o.
  746. 1999-11-18 Tom Tromey <tromey@cygnus.com>
  747. * tracepoint.h (get_tracepoint_by_number): Updated declaration.
  748. * tracepoint.c (trace_pass_command): Better error message. Fixed
  749. logic when `all' not specified.
  750. (get_tracepoint_by_number): Added `optional_p' argument. Fixed
  751. all callers.
  752. Wed Nov 17 17:40:30 1999 Andrew Cagney <cagney@b1.cygnus.com>
  753. * findvar.c (SWAP_FLOATING): Delete macro. Unused.
  754. 1999-11-16 Mark Salter <msalter@cygnus.com>
  755. * monitor.c (monitor_supply_register): Initialize value to zero.
  756. 1999-11-15 Eli Zaretskii <eliz@is.elta.co.il>
  757. (Patches applied by Jim Blandy <jimb@zwingli.cygnus.com>)
  758. Change DJGPP target use the common register layout in
  759. config/i386/tm-i386.h.
  760. * config/i386/tm-go32.h: #include "i386/tm-i386.h", not
  761. "i386/tm-i386v.h".
  762. (HAVE_I387_REGS): Define.
  763. (HAVE_SSE_REGS): Undefine.
  764. (NUM_FREGS, NUM_REGS, REGISTER_NAMES, FP_REGNUM, SP_REGNUM,
  765. PS_REGNUM, PC_REGNUM, FP0_REGNUM, FPC_REGNUM, FPCWD_REGNUM,
  766. FPSWD_REGNUM, FPTWD_REGNUM, FPIPO_REGNUM, FPIPS_REGNUM,
  767. FPOOS_REGNUM, FPOPS_REGNUM, REGISTER_BYTES, REGISTER_BYTE,
  768. REGBYTE_0, REGBYTE_10 REGBYTE_16, REGBYTE_24, REGBYTE_29,
  769. REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE,
  770. MAX_REGISTER_VIRTUAL_SIZE, REGISTER_CONVERTIBLE): Definitions
  771. deleted.
  772. (i387_to_double, double_to_i387): Declarations deleted.
  773. (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
  774. REGISTER_VIRTUAL_TYPE): Use definitions from
  775. config/i386/tm-i386.h, unless LD_I387 is #defined.
  776. * go32-nat.c (go32_fetch_registers, store_register)
  777. (go32_create_inferior, init_go32_ops): Replace fatal with
  778. internal_error.
  779. (sig_map): Map exception 7 to TARGET_SIGNAL_EMT.
  780. * utils.c (notice_quit): Doc fixes.
  781. 1999-11-15 Kevin Buettner <kevinb@cygnus.com>
  782. * gdbserver/server.h (initialize_low): Declare this target
  783. specific function.
  784. * gdbserver/server.c (main): Call initialize_low.
  785. * gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
  786. gdbserver/low-sim.c, gdbserver/low-sparc.c, gdbserver/low-sun3.c
  787. (initialize_low): Renamed from initialize. Also removed
  788. initialization of inferior_pid.
  789. (have_inferior_p): Removed.
  790. * gdbserver/low-lynx.c (initialize_low): New function.
  791. 1999-11-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
  792. * remote-rdi.c: Fix indentation accordingly to GNU standards.
  793. 1999-11-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  794. * breakpoint.h: Export {watch, awatch, rwatch}_command_wrapper().
  795. * breakpoint.c (print_it_typical): Add output for bp_watchpoint,
  796. bp_hardware_watchpoint, read_watchpoint, access_watchpoint cases.
  797. (watchpoint_check): Add output for when the watchpoint goes out of
  798. scope.
  799. (mention): Add output for bp_watchpoint, bp_hardware_watchpoint,
  800. read_watchpoint, access_watchpointcases. Move end of list to end
  801. of function.
  802. ({watch, awatch, rwatch}_command_wrapper): New functions, to
  803. export {watch, awatch, rwatch}_command().
  804. Thu Oct 28 00:28:51 1999 Andrew Cagney <cagney@b1.cygnus.com>
  805. * d10v-tdep.c (d10v_gdbarch_init): Make the d10v:ts3 the default.
  806. Tue Oct 26 09:57:29 1999 Andrew Cagney <cagney@b1.cygnus.com>
  807. * gdbarch.sh: Re-sync with Cagney's earlier const change.
  808. Sun Oct 24 20:07:31 1999 Andrew Cagney <cagney@b1.cygnus.com>
  809. * d10v-tdep.c (struct gdbarch_tdep): Replace nr_a_regs,
  810. imap0_regnum, nr_imap_regs, dmap0_regnum, with dmap_register and
  811. imap_register.
  812. (R0_REGNUM, LR_REGNUM, PSW_REGNUM, NR_IMAP_REGS, NR_A_REGS):
  813. Convert to enums.
  814. (TS2_NR_A_REGS, TS2_NR_IMAP_REGS, TS3_NR_IMAP_REGS,
  815. TS3_NR_A_REGS): Delete.
  816. (d10v_ts2_dmap_register, d10v_ts3_dmap_register,
  817. d10v_ts2_imap_register, d10v_ts3_imap_register): New functions.
  818. (d10v_dmap_register, d10v_imap_register,
  819. d10v_ts2_register_sim_regno, d10v_ts3_register_sim_regno,
  820. show_regs): Update.
  821. (remote_d10v_translate_xfer_address): Rewrite. Use
  822. sim_d10v_translate_addr to translate addresses.
  823. (d10v_gdbarch_init): Initialize tdep members dmap_register and
  824. imap_register.
  825. Sun Oct 24 00:12:44 1999 Andrew Cagney <cagney@b1.cygnus.com>
  826. * d10v-tdep.c (struct gdbarch_tdep): Declare.
  827. (NR_IMAP_REGS, NR_DMAP_REGS, A0_REGNUM, NR_A_REGS): Redefine using
  828. value in gdbarch_tdep.
  829. (d10v_dmap_register, d10v_imap_register): Ditto.
  830. (d10v_ts2_register_name, d10v_ts2_register_sim_regno): Rename
  831. d10v_register_name and d10v_register_sim_regno
  832. (enum ts3_regnums, d10v_ts3_register_name,
  833. d10v_ts3_register_sim_regno, d10v_register_sim_regno): New.
  834. (d10v_gdbarch_init): Configure registers and G packet according to
  835. d10v/ts2 and d10v/ts3.
  836. Sat Oct 23 21:28:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
  837. * config/d10v/tm-d10v.h (IMAP0_REGNUM, IMAP1_REGNUM, DMAP_REGNUM):
  838. Delete macro.
  839. (R0_REGNUM, LR_REGNUM, PSW_REGNUM, A0_REGNUM): Move from here.
  840. * d10v-tdep.c: To here.
  841. * d10v-tdep.c: (NR_DMAP_REGS, NR_IMAP_REGS, NR_A_REGS): Define.
  842. (d10v_dmap_register, d10v_imap_register): New functions.
  843. (remote_d10v_translate_xfer_address): Make static.
  844. (d10v_register_virtual_size): Use TYPE_LENGTH of
  845. REGISTER_VIRTUAL_TYPE.
  846. (d10v_register_byte, do_d10v_pop_frame,
  847. remote_d10v_translate_xfer_address, show_regs,
  848. d10v_register_raw_size): Ditto.
  849. (d10v_register_virtual_type): Ditto. Use explicitly sized builtin
  850. types.
  851. Sat Oct 23 19:08:39 1999 Andrew Cagney <cagney@b1.cygnus.com>
  852. * d10v-tdep.c: Include "sim-d10v.h".
  853. (enum ts2_regnums): Declare.
  854. (d10v_register_sim_regno): New function.
  855. * config/d10v/tm-d10v.h: Delete pre multi-arch code.
  856. (REGISTER_SIM_REGNO): Define.
  857. (d10v_register_sim_regno): Declare.
  858. Sat Oct 23 16:39:34 1999 Andrew Cagney <cagney@b1.cygnus.com>
  859. * gdbarch.c (initialize_current_architecture): Make ``choice''
  860. const.
  861. Wed Nov 10 16:10:22 1999 Jeffrey A Law (law@cygnus.com)
  862. * hppa-tdep.c (hppa_fix_call_dummy): Fix typo in error message.
  863. Wed Nov 10 16:47:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
  864. * utils.c (error_last_message): Use gdb_file_xstrdup.
  865. * defs.h (verror, internal_verror): Declare.
  866. * utils.c (verror, internal_error): New functions.
  867. (error, internal_error): Use verror / internal_verror.
  868. (error_stream): Use gdb_file_xstrdup. Correctly handle %s in
  869. error message body.
  870. (error_init): Use mem_fileopen.
  871. * corefile.c (memory_error): Use mem_fileopen instead of
  872. tui_sfileopen. Don't call error_begin.
  873. * varobj.c (c_value_of_variable): Use mem_fileopen () and
  874. gdb_file_xstrdup() instead of strdup and tui_sfileopen.
  875. * remote-sim.c (gdb_os_error): Rewrite using verror. Don't call
  876. error_begin.
  877. Wed Nov 10 14:21:43 1999 Andrew Cagney <cagney@b1.cygnus.com>
  878. * defs.h (gdb_file_xstrdup): New function.
  879. * utils.c (gdb_file_xstrdup, do_gdb_file_xstrdup): Implement.
  880. * ui-out.c (ui_out_stream_new): Simplify, XMALLOC doesn't return
  881. if malloc failed. Use mem_fileopen and gdb_file_xstrdup.
  882. 1999-11-09 Stan Shebs <shebs@andros.cygnus.com>
  883. * exec.c (exec_file_attach), irix5-nat.c, osfsolib.c, solib.c
  884. (info_sharedlibrary_command), pa64solib.c
  885. (pa64_sharedlibrary_info_command), somsolib.c
  886. (som_sharedlibrary_info_command): Replace "exec file" with
  887. "executable file" in messages.
  888. 1999-11-09 Jim Blandy <jimb@zwingli.cygnus.com>
  889. Finish the job attempted by the previous change.
  890. * stabsread.c (read_range_type): Make n2 and n3 LONGEST. Adjust
  891. the various tests that check for maximum values, bit counts, etc.
  892. In the long run, it might have been simpler just to give GDB bignums.
  893. Tue Nov 9 18:34:13 1999 Andrew Cagney <cagney@amy.cygnus.com>
  894. * defs.h (gdb_file_put): Add parameter write.
  895. (gdb_file_put_method_ftype): New typedef.
  896. * utils.c (gdb_file_put, mem_file_put, tui_file_put,
  897. null_file_put): Update.
  898. * utils.c (struct gdb_file): Add field magic.
  899. (gdb_file_new): Initialize.
  900. (gdb_file_data): Verify.
  901. * utils.c (mem_file_fputs): Delete. Replaced by.
  902. (mem_file_write): New function. Rewrite mem_file.
  903. (mem_file_new): Update.
  904. Tue Nov 9 17:51:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
  905. * remote-sim.c (gdb_os_write_stdout): Use gdb_file_write.
  906. (gdb_os_flush_stdout): Flush gdb_stdtarg instead of gdb_stdout.
  907. Tue Nov 9 15:33:43 1999 Andrew Cagney <cagney@b1.cygnus.com>
  908. * Makefile.in (procfs.o): Don't compile with -Werror for moment.
  909. * sol-thread.c (info_cb): Move assignments to outside of if
  910. statement.
  911. (info_cb): Use paddr when printing addresses.
  912. 1999-11-08 Jim Blandy <jimb@cygnus.com>
  913. * defs.h (ULONGEST_MAX, LONGEST_MAX): New definitions.
  914. * stabsread.c (read_huge_number): Parse and return LONGEST values.
  915. 1999-11-08 Mark Salter <msalter@cygnus.com>
  916. * utils.c (floatformat_to_doublest): Fix conversion of denormals.
  917. 1999-11-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  918. * breakpoint.c (hbreak_command_wrapper): New function, to export
  919. hbreak_command.
  920. (thbreak_command_wrapper): New function, to export thbreak_command.
  921. * symtab.c (rbreak_command_wrapper): New function, to export
  922. rbreak_command.
  923. * breakpoint.h (hbreak_command_wrapper, thbreak_command_wrapper,
  924. rbreak_command_wrapper): Export.
  925. Mon Nov 8 20:14:13 1999 Andrew Cagney <cagney@amy.cygnus.com>
  926. * remote.c (get_memory_read_packet_size): For moment limit read
  927. size to PBUFSIZ.
  928. (putpkt_binary): Remove check on packet size. Allocate ``cnt +
  929. 6'' characters for output buffer.
  930. (get_memory_packet_size): When packet size is ``fixed'' and the
  931. size is zero, return MAX_REMOTE_PACKET_SIZE. Check that packets
  932. are at least MIN_REMOTE_PACKET_SIZE.
  933. (set_memory_packet_size): Print usage when ``args'' is NULL.
  934. Mon Nov 8 18:18:07 1999 Andrew Cagney <cagney@b1.cygnus.com>
  935. * defs.h, utils.c (gdb_file_deallocate): Delete.
  936. * varobj.c (varobj_get_type, c_value_of_variable): Use
  937. make_cleanup_gdb_file_delete.
  938. * ui-out.c (ui_out_stream_delete): Use gdb_file_delete.
  939. * corefile.c (memory_error): Use make_cleanup_gdb_file_delete.
  940. * defs.h, utils.c (gdb_file_init_astring): Delete.
  941. * defs.h, utils.c (tui_file_get_strbuf): Rename
  942. gdb_file_get_strbuf.
  943. (tui_file_adjust_strbuf): Rename gdb_file_adjust_strbuf.
  944. * utils.c (error_stream, error_last_message): Update.
  945. * varobj.c (varobj_get_type, c_value_of_variable): Update.
  946. * ui-out.c (ui_out_field_stream): Update.
  947. Mon Nov 8 16:28:00 1999 Andrew Cagney <cagney@b1.cygnus.com>
  948. * defs.h, utils.c (gdb_fclose): Delete.
  949. * defs.h (make_cleanup_gdb_file): Declare.
  950. * utils.c (make_cleanup_gdb_file_delete, do_gdb_file_delete): New
  951. functions.
  952. * symmisc.c (maintenance_print_symbols,
  953. maintenance_print_psymbols, maintenance_print_msymbols): Use
  954. make_cleanup_gdb_file_delete.
  955. * serial.c (do_serial_close): Use gdb_file_delete.
  956. Mon Nov 8 14:16:32 1999 Andrew Cagney <cagney@b1.cygnus.com>
  957. * defs.h (gdb_file_write_ftype, set_gdb_file_write,
  958. gdb_file_write): Declare.
  959. * utils.c (struct gdb_file): Add to_write member.
  960. (gdb_file_write, set_gdb_file_write): New functions.
  961. (gdb_file_new): Initialize the write method.
  962. (null_file_write): New function.
  963. (null_file_fputs, null_file_write): ``write'' calls ``fputs'' and
  964. ``fputs'' calls ``write'' when the other is implemented.
  965. (stdio_file_new): Initialize write method.
  966. (stdio_file_write): New function.
  967. * utils.c (putchar_unfiltered, fputc_unfiltered): Use
  968. gdb_file_write.
  969. Thu Nov 4 11:59:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
  970. * remote.c (get_memory_packet_size, set_memory_packet_size,
  971. build_memory_packet_size): New functions. Set / compute / update
  972. the size of a memory read / write packet.
  973. (set_memory_read_packet_size, set_memory_write_packet_size): New
  974. functions. Verify changes to the memory read / write packet size.
  975. (prefered_memory_write_packet_size,
  976. current_memory_write_packet_size, prefered_memory_read_packet_size,
  977. current_memory_read_packet_size): New variables.
  978. (get_memory_read_packet_size, get_memory_write_packet_size): New
  979. functions. Determine the current memory read/write packet size. A
  980. function is needed as ``current_register_packet_size'', a variable
  981. is used in the calculation.
  982. (register_remote_packet_sizes, build_remote_packet_sizes):
  983. Initialize packet sizes according the current architecture.
  984. (remote_fetch_registers, remote_write_bytes, remote_read_bytes,
  985. build_remote_gdbarch_data): Update.
  986. (_initialize_remote): Add the commands ``set remote
  987. memory-read-packet-size'' and ``set remote
  988. memory-write-packet-size''. Deprecate ``set remotepacketsize''.
  989. Sun Nov 7 18:09:54 1999 Andrew Cagney <cagney@b1.cygnus.com>
  990. * target.h, target.c (target_load): Replace macro with a function.
  991. * config/i960/tm-nindy960.h (ADDITIONAL_OPTION_HANDLER): Rewrite
  992. replacing SET_TOP_LEVEL with catch_command_errors.
  993. (nindy_open): Add extern declaration.
  994. * top.h (top_level_val, SET_TOP_LEVEL): Delete.
  995. * defs.h (catch_command_errors_ftype, catch_command_errors): Add
  996. declarations.
  997. * top.c (struct captured_command_args): Declare.
  998. (do_captured_command, catch_command_errors): New functions. Call
  999. the command function via catch_errors.
  1000. (catch_errors): Add more comments.
  1001. * main.c (struct captured_main_args): Define.
  1002. (captured_main): New. Rewrite main. Replace SET_TOP_LEVEL with
  1003. calls to catch_command_errors. Delete calls to do_cleanups which
  1004. are now handled by catch_errors. Call the command loop via
  1005. captured_command_loop and catch_errors.
  1006. (main): Move code body to captured_main. Call captured_main via
  1007. catch_errors.
  1008. (captured_command_loop): New function. Wrap call to command_loop.
  1009. 1999-11-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1010. * procfs.c (unconditionally_kill_inferior) (init_procinfo)
  1011. (create_procinfo) (procfs_exit_handler) (proc_set_exec_trap)
  1012. (do_attach) (do_detach) (procfs_wait) (set_proc_siginfo)
  1013. (procfs_resume) (info_proc_mappings)
  1014. (modify_run_on_last_close_flag) (procfs_lwp_creation_handler)
  1015. (procfs_thread_alive): Remove unused variables, conditionalize
  1016. vars declarations to eliminate compiler warnings.
  1017. 1999-11-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1018. * infcmd.c (print_return_value): Add output for UI.
  1019. Fri Nov 5 16:32:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1020. * inferior.h (CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET,
  1021. CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LENGTH,
  1022. CALL_DUMMY_STACK_ADJUST, CALL_DUMMY_WORDS,
  1023. SIZEOF_CALL_DUMMY_WORDS, PUSH_DUMMY_FRAME, FIX_CALL_DUMMY,
  1024. STORE_STRUCT_RETURN), d10v-tdep.c (print_insn), d30v-tdep.c
  1025. (print_insn), target.h (SOFTWARE_SINGLE_STEP): Call internal_error
  1026. instead of abort.
  1027. * utils.c (stdio_file_delete, stdio_file_flush, stdio_file_fputs,
  1028. stdio_file_isatty, tui_file_delete, tui_file_isatty,
  1029. tui_file_rewind, tui_file_put, gdb_file_init_astring,
  1030. gdb_file_get_strbuf, gdb_file_adjust_strbuf): Call internal_error
  1031. instead of error.
  1032. 1999-11-04 Kevin Buettner <kevinb@cygnus.com>
  1033. * remote.c (build_remote_gdbarch_data): Set remote_address_size...
  1034. (_initialize_remote) ...but don't set it here. Also, tie
  1035. remote_address_size to the target architecture via call to
  1036. register_gdbarch_swap().
  1037. 1999-11-04 Jeff Holcomb <jeffh@cygnus.com>
  1038. * remote-rdp.c (send_rdp): Fix typo.
  1039. 1999-11-04 Michael Snyder <msnyder@cleaver.cygnus.com>
  1040. * breakpoint.c (commands_command): remove unprotected ref to
  1041. args pointer (which may be null).
  1042. 1999-11-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1043. * infcmd.c (print_return_value): New function. Print return value
  1044. from finish command.
  1045. (finish_command_continuation): Call print_return_value().
  1046. (finish_command): Ditto.
  1047. 1999-11-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1048. * breakpoint.c (print_it_typical): Print reason for stopping in
  1049. case of bp_finish.
  1050. 1999-11-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1051. * infrun.c (handle_inferior_event): Add calls to print_stop_reason()
  1052. for end of stepping range cases.
  1053. (print_stop_reason): Add output for END_STEPPING_RANGE, EXITED,
  1054. SIGNAL_EXITED, SIGNAL_RECEIVED cases.
  1055. * breakpoint.c (print_it_typical): Add printing of stop reason for
  1056. bp_breakpoint case.
  1057. Thu Nov 4 17:46:36 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1058. * event-loop.c (gdb_do_one_event): Delete SET_TOP_LEVEL call.
  1059. Move error code to start_event_loop.
  1060. (start_event_loop): Call gdb_do_one_event via catch_errors.
  1061. Handle caught errors.
  1062. Thu Nov 4 17:36:27 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1063. * breakpoint.c (get_number): Delete static declaration.
  1064. 1999-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>
  1065. * breakpoint.c (map_breakpoint_numbers): use a match count
  1066. instead of a goto.
  1067. 1999-11-03 Nick Clifton <nickc@cygnus.com>
  1068. * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): Change to
  1069. little endian.
  1070. 1999-11-02 Michael Snyder <msnyder@cleaver.cygnus.com>
  1071. * target.h (target_new_objfile) replace macro with function pointer
  1072. hook. Any module needing notification of new objfiles may claim
  1073. this hook. Multiple notification clients must cooperate by saving
  1074. the previous pointer (if any) and calling it.
  1075. * sol-thread.c (_initialize_sol_thread): point new_objfile hook at
  1076. sol_thread_new_objfile. Save old pointer if any.
  1077. (sol_thread_new_objfile): call old owner of event hook if any.
  1078. * hpux-thread.c (_initialize_hpux_thread, hpux_thread_new_objfile):
  1079. ditto.
  1080. * linux-thread.c (_initialize_linux_thread, linux_thread_new_objfile):
  1081. ditto.
  1082. symfile.c (symbol_file_add, clear_symtab_users) call the new
  1083. function pointer hook, instead of the macro.
  1084. * config/sparc/nm-sun4sol2.h: remove define of target_new_objfile.
  1085. * config/pa/nm-hppah.h: ditto.
  1086. * config/i386/nm-i386sol2.h: ditto.
  1087. * config/i386/nm-linux.h: ditto.
  1088. 1999-11-02 Tom Tromey <tromey@cygnus.com>
  1089. * NEWS: Mention breakpoint ranges.
  1090. 1999-11-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1091. * rdi-share/devsw.c (openLogFile): Change a call to setlinebuf()
  1092. to an equivalent call to setvbuf() to prevent an unresolved
  1093. reference when building on cygwin.
  1094. 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1095. * infrun.c (inferior_stop_reason): New enum, explicitly name the
  1096. resons for which the inferior stops.
  1097. (handle_inferior_event): Case TARGET_WAITKIND_EXITED: replace
  1098. printf's with call to print_stop_reason(). Case
  1099. TARGET_WAITKIND_SIGNALLED: Same. When stopped by random signal:
  1100. Same.
  1101. (print_stop_reason): New static function. Print relevant messages
  1102. when stopping.
  1103. 1999-11-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1104. * rdi-share/Makefile.in: Rename dependency from bytesex.o to
  1105. angel_bytesex.o.
  1106. 1999-11-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1107. * kod.c: Remove prototype for show_kod() which is no longer used.
  1108. 1999-11-01 Michael Snyder <msnyder@cygnus.com>
  1109. Tom Tromey <tromey@cygnus.com>
  1110. * tracepoint.h (get_tracepoint_by_number): Updated declaration.
  1111. * tracepoint.c (get_tracepoint_by_number): Added `multi_p'
  1112. argument. Now uses get_number_or_range and get_number.
  1113. (trace_pass_command): Allow a tracepoint range.
  1114. * breakpoint.h (get_number, get_number_or_range): Declare.
  1115. * breakpoint.c (get_number_trailer): New function.
  1116. (get_number): Rewrote to use get_number_trailer.
  1117. (get_number_or_range): New function.
  1118. (condition_command): Check `get_number' return value.
  1119. (commands_command): Likewise.
  1120. (ignore_command): Likewise.
  1121. (map_breakpoint_numbers): Use get_number_or_range.
  1122. 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1123. * remote-rdi.c (_initialize_remote_rdi): Make log commands
  1124. subcommands of maintenance. Remove improper identation from
  1125. command documentation.
  1126. 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1127. From Grant Edwards <grante@visi.com>:
  1128. * rdi-share/etherdrv.c (fetch_ports): Print out additional TCP/IP
  1129. port information in ethernet driver if the DEBUG flag is set.
  1130. * rdi-share/hostchan.c (Adp_addToQueue): Changed #if statement in
  1131. hostchan.c to avoid compiler complaint when DEBUG macro was
  1132. undefined.
  1133. * rdi-share/unixcomm.c (Unix_ReadSerial): Print system error code
  1134. if read() system call fails.
  1135. 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1136. * rdi-share/bytesex.h: Deleted. Conflicts with a system header file
  1137. on some systems like Linux Red Hat 5.2.
  1138. * rdi-share/angel_bytesex.h: New file. Replaces the above.
  1139. * rdi-share/bytesex.c: Deleted. Name changed to match the header
  1140. mentioned above (this is the implementation file).
  1141. * rdi-share/angel_bytesex.c: New file. Replaces the above.
  1142. * rdi-share/Makefile.am: Reflect above changes.
  1143. * rdi-share/Makefile.in: Reflect above changes.
  1144. 1999-11-01 Jimmy Guo <guo@cup.hp.com>
  1145. * annotate.c (breakpoints_changed, annotate_ignore_count_change,
  1146. annotate_stopped): Provide annotation for breakpoint ignore_count
  1147. changes but only provide once at annotate_stopped time for
  1148. sucessive ignore_count triggered breakpoint changes, to make GUIs
  1149. happy yet lazy.
  1150. * annotate.h (annotate_ignore_count_change): Declare.
  1151. * breakpoint.c (bpstat_stop_status): Call
  1152. annotate_ignore_count_change when ignore_count changes.
  1153. 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1154. From Grant Edwards <grante@visi.com>:
  1155. * rdi-share/ardi.c (HandleStoppedMessage): Changed code that
  1156. handles the "stop" message so that unrecognized errors are
  1157. returned as "Error" rather than "NoError". The old code resulted
  1158. in some error conditions not being reported to the user.
  1159. 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1160. From Grant Edwards <grante@visi.com>:
  1161. * remote-rdi.c (arm_rdi_open): Added a call to Adp_CloseDevice()
  1162. before attempting to open a connection. This allows the user to
  1163. issue the "target rdi" command multiple times (in case the user
  1164. needs to change options or re-initialize the link).
  1165. 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1166. From Grant Edwards <grante@visi.com>:
  1167. * rdi-share/endian.h: Deleted. Name clash with
  1168. /usr/include/endian.h. This was causing the wrong byte order to
  1169. be used by htons() in the RDI Ethernet driver.
  1170. * rdi-share/angel_endian.h: New file. Replaces the above.
  1171. * rdi-share/ardi.c: Replace include to reflect the above change.
  1172. * rdi-share/etherdrv.c: Ditto.
  1173. * rdi-share/hsys.c: Ditto.
  1174. * rdi-share/msgbuild.c: Ditto.
  1175. * rdi-share/params.c: Ditto.
  1176. * rdi-share/rx.c: Ditto.
  1177. * rdi-share/tx.c: Ditto.
  1178. * rdi-share/Makefile.am: Reflect above changes.
  1179. * rdi-share/Makefile.in: Reflect above changes.
  1180. 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1181. From Grant Edwards <grante@visi.com>:
  1182. * remote-rdi.c (_initialize_remote_rdi): Added command
  1183. rdilogenable. Allows the user to log ADP packets that are
  1184. exchanged between gdb and the target. Both the raw packets are
  1185. shown and some minimal decoding is attempted. Default state is
  1186. disabled.
  1187. (_initialize_remote_rdi): Added command rdilogfile. Allows the
  1188. user to specify the filename to which the ADP packet log is to be
  1189. written. Default state is "rdi.log".
  1190. (rdilogenable_command): New function. Related to rdilogenable.
  1191. (rdilogfile_command): New function. Related to rdilogfile.
  1192. * rdi-share/devsw.c (openLogFile, closeLogFile,
  1193. DevSW_SetLogEnable, DevSW_SetLogfile, dumpPacket): New
  1194. functions. Implement logging.
  1195. (DevSW_Read): Log if requested.
  1196. (DevSW_Write): Log if requested.
  1197. * rdi-share/devsw.h: Add prototypes for DevSW_SetLogfile and
  1198. DevSW_SetLogEnable.
  1199. * rdi-share/hostchan.c (Adp_SetLogEnable, Adp_SetLogfile): New
  1200. functions. Related to rdilogenable and rdilogfile.
  1201. * rdi-share/hostchan.h: Add prototypes for the above functions.
  1202. 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1203. From Grant Edwards <grante@visi.com>:
  1204. * remote-rdi.c (arm_rdi_open): Added code to split the arguments
  1205. to the 'target rdi' command at the first space. The first word is
  1206. passed to Adp_OpenDevice as the device name, the tail is passed as
  1207. the "arguments" parameter. This allows user specified baud rates
  1208. -- among other things that still need to be documented [e.g. (gdb)
  1209. target rdi /dev/ttyS1 19200]. NB: With very limited testing, the
  1210. ARM Embedded-ICE seems to run at 19.2K (though it is reported to
  1211. be unreliable above 9600), and the EPI Jeeni seems to run at
  1212. 38.4K.
  1213. 1999-11-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1214. * stack.c (print_frame_info_base): Do not change printing of stack
  1215. frame info if not running with our interpreter.
  1216. 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1217. From Grant Edwards <grante@visi.com>:
  1218. * remote-rdi.c (_initialize_remote_rdi): Added the boolean
  1219. set/show variable rdiromatzero. Should be set to true if the
  1220. target has ROM at address 0. If true, then gdb will not tell the
  1221. target to trap fetches to interrupt vectors (which are located at
  1222. address 0). Using the Angel monitor, attempting to set
  1223. breakpoints in ROM is an error. Using JTAG debugging of the
  1224. ARM7TDMI, attempting to set more than two breakpoints in ROM is an
  1225. error. Default state is false (vectors will be trapped) -- used to
  1226. be hardwired false.
  1227. 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1228. From Grant Edwards <grante@visi.com>:
  1229. * remote-rdi.c (_initialize_remote_rdi): Added the boolean
  1230. set/show variable rdiheartbeat. This enables or disables ADP
  1231. link-check "heartbeat" packets sent by the host to the target.
  1232. Heartbeat packets can cause both the ARM Embedded-ICE and the EPI
  1233. Jeeni to malfunction: If a heartbeat packet is received by the
  1234. target while it is sending a packet, that packet will be aborted,
  1235. and the ADP protocol engine then gets very confused. Default state
  1236. is off -- used to hardwired on.
  1237. 1999-10-29 Kevin Buettner <kevinb@cygnus.com>
  1238. * i386-linux-nat.c (dummy_sse_values): Also define for systems
  1239. without PTRACE_GETXFPREGS.
  1240. 1999-10-29 Jim Blandy <jimb@zwingli.cygnus.com>
  1241. Hardware watchpoint fix from Eli Zaretskii <eliz@gnu.org>:
  1242. * breakpoint.c (insert_breakpoints): Fetch the value of the
  1243. expression we need to watch. If it's a lazy memory lvalue, then
  1244. we need to fetch it now, before we start the inferior again.
  1245. (insert_breakpoints, remove_breakpoint, bpstat_stop_status,
  1246. can_use_hardware_watchpoint): Only those values representing
  1247. memory we actually fetched need to be watched.
  1248. 1999-10-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1249. * breakpoint.h (bpstat_print): Return 'enum print_stop_action',
  1250. not 'int'.
  1251. 1999-10-29 Jim Blandy <jimb@zwingli.cygnus.com>
  1252. * acconfig.h: Fix entries for HAVE_STRUCT_SAVE_STATE_T,
  1253. HAVE_STRUCT_MEMBER_SS_WIDE, and HAVE_PTRACE_GETXFPREGS.
  1254. * config.h.in: Regenerated.
  1255. 1999-10-28 Jim Blandy <jimb@zwingli.cygnus.com>
  1256. Fixes for warnings from Andreas Jaeger <aj@suse.de>.
  1257. * linux-thread.c (linuxthreads_sig_restart,
  1258. linuxthreads_sig_cancel, linuxthreads_sig_debug): Add missing
  1259. initializers to avoid gcc warnings.
  1260. (resume_thread): Add braces as recommended by gcc -Wparentheses.
  1261. (stop_thread): Likewise.
  1262. (linuxthreads_wait): Likewise.
  1263. (linuxthreads_find_trap): Likewise.
  1264. 1999-10-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1265. * infcmd.c: Fix typo.
  1266. 1999-10-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1267. * stack.c (select_frame_command_wrapper): Fix typo.
  1268. * infcmd.c (interrupt_target_command_wrapper): Wrapper to allow use of
  1269. static interrupt_target_command outside of file.
  1270. * stack.c (select_frame_command_wrapper): Wrapper to allow use of
  1271. static select_frame_command outside of file.
  1272. 1999-10-28 Jim Blandy <jimb@cygnus.com>
  1273. * gdbtypes.c (init_simd_type): The upper bound to
  1274. create_range_type is inclusive, not exclusive.
  1275. Add preliminary support for the Pentium-III's Streaming SIMD
  1276. Extensions --- specifically, the ability to read the XMM
  1277. registers.
  1278. * Configure.in: Check for PTRACE_GETXFPREGS, and #define
  1279. HAVE_PTRACE_GETXFPREGS if we have it.
  1280. * acconfig.h: Add entry for HAVE_PTRACE_GETXFPREGS.
  1281. * configure, config.in: Regenerated.
  1282. * config/i386/tm-linux.h (HAVE_SSE_REGS): #define, iff the
  1283. configure script #defined HAVE_PTRACE_GETXFPREGS.
  1284. (REGISTER_VIRTUAL_TYPE): Provide the proper types for the pointer
  1285. registers and the SSE registers.
  1286. * i386-linux-nat.c (GETREGS_SUPPLIES, GETFPREGS_SUPPLIES,
  1287. GETXFPREGS_SUPPLIES): New macros.
  1288. (have_ptrace_getxfpregs): New variable.
  1289. (FPREGSET_T_FPREG_ADDR): Renamed from FPREGSET_T_FPREG_OFFSET.
  1290. (supply_fpregset, convert_to_fpregset): Callers changed.
  1291. (supply_xfpregset, convert_to_xfpregset, fetch_xfpregs,
  1292. store_xfpregs, dummy_sse_values): New functions.
  1293. (fetch_inferior_registers, store_inferior_registers): Use the
  1294. *_SUPPLIES macros to decide how to fetch a given register. Use
  1295. {fetch,store}_xfpregs and dummy_sse_values to provide access to
  1296. the SSE registers, on systems where they are present.
  1297. 1999-10-28 Kevin Buettner <kevinb@cygnus.com>
  1298. * gdbserver/gdbreplay.c (config.h, errno.h): Include.
  1299. (perror_with_name): Don't declare sys_nerr, sys_errlist, or errno
  1300. when STDC_HEADERS is defined.
  1301. * gdbserver/utils.c (STDC_HEADERS): Likewise.
  1302. * gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
  1303. gdbserver/low-lynx.c, gdbserver/low-sim.c, gdbserver/low-sparc.c,
  1304. gdbserver/low-sun3.c (my_registers): Declare.
  1305. (registers): Changed from array type to pointer type in order
  1306. to match declaration in inferior.h in main gdb sources.
  1307. * gdbserver/server.h (registers): Likewise.
  1308. * gdbserver/remote-utils.c (outreg): Removed declaration of
  1309. registers[].
  1310. * gdbserver/low-linux.c (fetch_register): Changed PTRACE_PEEKUSR to
  1311. PTRACE_PEEKUSER. [Note the missing 'E'.]
  1312. (store_inferior_registers): Likewise for PTRACE_POKEUSER.
  1313. * gdbserver/low-linux.c (sys/ptrace.h): Move include to
  1314. avoid conflict with #defines coming from <sys/user.h>.
  1315. (sys/reg.h): Only include when HAVE_SYS_REG_H is defined.
  1316. (PTRACE_XFER_TYPE): Provide a default type in case
  1317. the target doesn't define it.
  1318. (fetch_register, read_inferior_memory, write_inferior_memory):
  1319. Use PTRACE_XFER_TYPE instead of int for ptrace() transfers.
  1320. (I386_GNULINUX_TARGET): Use #ifdef with this symbol instead
  1321. of assuming it's an x86 target when it's not a m68k target.
  1322. (i386_register_raw_size, i386_register_byte): Define these arrays
  1323. to match other changes that've been occuring to the x86 target
  1324. in the main gdb sources.
  1325. (initialize_arch): New (static) function for doing target arch
  1326. specific initializations.
  1327. * gdbserver/server.h (MAXBUFBYTES, PBUFSIZ): New defines
  1328. [actually stolen from remote.c].
  1329. * gdbserver/remote-utils.c (putpkt): Use PBUFSIZ to make
  1330. sure that buffer is big enough.
  1331. * gdbserver/server.c (main): Ditto.
  1332. * gdbserver/remote-utils.c (outreg): Allow register numbers
  1333. bigger than 255.
  1334. (prepare_resume_reply): Provide alternate mechanism,
  1335. GDBSERVER_RESUME_REGS, for defining list of registers to send
  1336. to gdb.
  1337. * gdbserver/Makefile.in (INTERNAL_CFLAGS): Swapped order of
  1338. INCLUDE_CFLAGS and BFD_CFLAGS to ensure that gdb's config.h
  1339. gets found before bfd's config.h. Also added -DGDBSERVER
  1340. switch.
  1341. (INCLUDE_CFLAGS): Added -I.. .
  1342. 1999-10-27 Nick Clifton <nickc@cygnus.com>
  1343. * arm-tdep.c (THUMB_BE_BREAKPOINT): Change to 0xbebe.
  1344. (THUMB_LE_BREAKPOINT): Change to 0xbebe.
  1345. 1999-10-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1346. * stack.c (print_frame_info_base): Don't print the arguments
  1347. during a backtrace.
  1348. * stack.c (print_frame_info_base): When setting source to 0, save
  1349. and restore old value. Do this only if source is greater than
  1350. zero.
  1351. Mon Oct 25 18:22:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1352. * remote.c: Document future of compare_sections_command.
  1353. (remote_insert_breakpoint, remote_remove_breakpoint,
  1354. remote_insert_watchpoint, remote_insert_watchpoint,
  1355. remote_remove_watchpoint, remote_insert_hw_breakpoint,
  1356. remote_remove_hw_breakpoint): Use alloca instead of GCC's dynamic
  1357. array feature.
  1358. Mon Oct 25 18:08:31 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1359. * gdbarch.h (REGISTER_GDBARCH_SWAP): Define.
  1360. * gdbarch.sh: Update.
  1361. Sat Oct 23 16:39:34 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1362. * gdbarch.c (initialize_current_architecture): Make ``choice''
  1363. const.
  1364. 1999-10-22 Tom Tromey <tromey@cygnus.com>
  1365. * gdbarch.sh: Updated for gdbarch.[ch] changes.
  1366. * top.c (gdb_init): Call initialize_current_architecture.
  1367. * gdbarch.h (initialize_current_architecture): Declare.
  1368. * gdbarch.c (initialize_current_architecture): New function.
  1369. 1999-10-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1370. * stack.c (print_frame_info_base): Check for value of source
  1371. parameter equal to 2, and print address anyway. Set source to 0
  1372. later, to avoid printing file & line info again.
  1373. 1999-10-21 Michael Snyder <msnyder@cleaver.cygnus.com>
  1374. * utils.c (chars_per_line): fix typo in comment.
  1375. 1999-10-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1376. * breakpoint.h (bp_print_how): New enum, used for deciding how to
  1377. print bpstat information when we stop, instead of having 3
  1378. different functions.
  1379. (struct bpstat): Change print_it field to be an enum instead of a
  1380. function pointer.
  1381. * breakpoint.c (print_it_typical): New name for print_it_normal().
  1382. (print_bp_stop_message): New function. High level routine for
  1383. printing of why we stopped.
  1384. (bpstat_print): Call print_bp_stop_message instead of using the
  1385. print_it function pointer.
  1386. (print_it_done, print_it_noop): Delete these functions.
  1387. 1999-10-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1388. * breakpoint.c (print_it_normal): Reorganize into a switch
  1389. statement.
  1390. 1999-10-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1391. * Makefile.in (event-top.o): Add dependency on target.h.
  1392. * event-top.c: Make dependency on target.h explicit.
  1393. * breakpoint.c (bpstat_print): Clean up logic. Remove recursion.
  1394. (catch_exec_command_1): Surround with appropriate ifdef's,
  1395. to avoid compiler warnings.
  1396. (catch_fork_command_1): Ditto.
  1397. 1999-10-20 Jim Blandy <jimb@cygnus.com>
  1398. * Makefile.in (dwarf2read.o): Note that this depends on bfd/elf-bfd.h.
  1399. (elf_bfd_h): New variable.
  1400. 1999-10-19 Jim Blandy <jimb@cygnus.com>
  1401. * config/i386/tm-i386.h (REGISTER_NAMES): Change names of FPU
  1402. instruction and operand pointer registers to improve consistency,
  1403. following J. T. Conklin's suggestions.
  1404. 1999-10-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1405. * stack.c (print_frame_info_base): Add printing of list
  1406. begin and end.
  1407. * breakpoint.h: Change return type of field print_it of struct
  1408. bpstats to enumeration print_stop_action.
  1409. Define new enumeration print_stop_action.
  1410. * breakpoint.c (print_it_normal): Change return type to
  1411. enumeration type print_stop_action. Handle bp_shlib_event here
  1412. instead of in normal_stop().
  1413. (bpstat_print): Change return type to enumeration type
  1414. print_stop_action.
  1415. (print_it_done): Ditto.
  1416. (print_it_noop): Ditto.
  1417. * infrun.c (is_internal_shlib_eventpoint): Delete this function.
  1418. (stopped_for_internal_shlib_event): Delete.
  1419. (normal_stop): Move logic to handle bp_shlib_event from here to
  1420. print_it_normal(). Use switch to handle return value from
  1421. bpstat_print().
  1422. Mon Oct 18 17:32:51 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1423. * symfile.c (generic_load): Rewrite. Make the size of each
  1424. chunk/block write a run-time option. Check for quit_flag.
  1425. Use target_write_memory_partial for downloads.
  1426. 1999-10-18 Jim Blandy <jimb@cygnus.com>
  1427. Change Linux x86 register support to use the new tm-i386.h layout.
  1428. * config/i386/tm-linux.h (HAVE_I387_REGS): #define this, so we get
  1429. the full set of FP register definitions from tm-i386.h.
  1430. (REGISTER_RAW_SIZE, REGISTER_NAMES, REGISTER_BYTES, REGISTER_BYTE,
  1431. MAX_REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE, NUM_REGS,
  1432. NUM_FREGS): Remove #undefs and subsequent redefinitions: we're
  1433. using the values from tm-i386.h now.
  1434. (FPSTART_REGNUM, FPCONTROL_REGNUM, FPSTATUS_REGNUM, FPTAG_REGNUM,
  1435. FPDATA_REGNUM, FPEND_REGNUM, FPENV_BYTES, FPREG_RAW_SIZE,
  1436. FPREG_BYTES): Deleted.
  1437. (TARGET_LONG_DOUBLE_BIT): Deleted.
  1438. (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
  1439. REGISTER_CONVERT_TO_RAW): Redefine these only if LD_I387 is #defined.
  1440. * i386-linux-nat.c (convert_to_gregset, convert_to_fpregset,
  1441. FPREGSET_T_FPREG_OFFSET): New functions and macros.
  1442. (supply_gregset, fill_gregset, supply_fpregset,
  1443. fill_fpregset, fetch_fpregs, store_fpregs, fetch_regs,
  1444. store_regs, fetch_inferior_registers, store_inferior_registers):
  1445. Adjusted to use new macros from tm-i386.h.
  1446. * config/i386/tm-i386.h: Provide a decent x86 FPU description here,
  1447. so that the various i386 targets can share more FPU handling code.
  1448. (NUM_GREGS): New macro.
  1449. (NUM_SSE_REGS): New macro, dependent on HAVE_SSE_REGS
  1450. (NUM_FREGS): Depend on HAVE_I387_REGS.
  1451. (NUM_REGS, REGISTER_BYTES): Define in terms of NUM_GREGS,
  1452. NUM_FREGS, and NUM_SSE_REGS.
  1453. (MAX_NUM_REGS): New macro.
  1454. (REGISTER_NAMES): Expand name list with FPU control registers and
  1455. SSE registers.
  1456. (FP7_REGNUM, FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FCS_REGNUM,
  1457. FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM, FOP_REGNUM,
  1458. FIRST_FPU_CTRL_REGNUM, LAST_FPU_CTRL_REGNUM): New macros, more
  1459. fully describing the FPU register set.
  1460. (XMM0_REGNUM, XMM7_REGNUM, MXCSR_REGNUM): New macros, describing
  1461. the SSE register set.
  1462. (IS_FP_REGNUM, IS_SSE_REGNUM, FPU_REG_RAW_SIZE, SIZEOF_GREGS,
  1463. SIZEOF_FPU_REGS, SIZEOF_FPU_CTRL_REGS, SIZEOF_SSE_REGS): New
  1464. convenience macros.
  1465. (REGISTER_BYTE, REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Turn
  1466. these into tables, since the register sizes are pretty irregular.
  1467. (i386_register_byte, i386_register_raw_size,
  1468. i386_register_virtual_size): New extern declarations.
  1469. (TARGET_LONG_DOUBLE_BIT): Define.
  1470. (MAX_REGISTER_RAW_SIZE): Bump to 16, for the SSE registers.
  1471. (REGISTER_VIRTUAL_TYPE, REGISTER_CONVERTIBLE,
  1472. REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): New macros
  1473. for handling floating-point registers.
  1474. (i387_to_double, double_to_i387): New extern declarations.
  1475. * i386-tdep.c (i386_register_byte, i386_register_raw_size,
  1476. i386_register_virtual_size): New arrays.
  1477. (_initialize_i386_tdep): Initialize i386_register_byte and
  1478. i386_register_virtual_size.
  1479. * i386-tdep.c (_initialize_i386_tdep): Move new_cmd to a block
  1480. created specially for its use.
  1481. Mon Oct 18 23:36:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1482. * symfile.c (generic_load): Cleanup the validate code - remove
  1483. #ifdef, use paddr to print address.
  1484. (validate_download): Static, replace VALIDATE_DOWNLOAD
  1485. * symfile.c (generic_load): Use strtoul to scan the optional load
  1486. offset. Allocate a filename of the correct size.
  1487. Mon Oct 18 17:32:51 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1488. * symfile.c (generic_load): Don't filter output. Use
  1489. print_transfer_performance for summary. Use paddr for addresses.
  1490. (print_transfer_performance): New function. Includes write count.
  1491. (report_transfer_performance): Call
  1492. print_transfer_performance. Deprecate.
  1493. * defs.h (print_transfer_performance): Add declaration.
  1494. (generic_load): Move declaration to here.
  1495. * symfile.h (generic_load): From here.
  1496. Mon Oct 18 16:29:52 1999 Andrew Cagney <cagney@amy.cygnus.com>
  1497. * remote.c (remote_write_bytes): Re-write. Transfer a single
  1498. packet and then return the that packets byte size.
  1499. Sun Oct 17 15:09:00 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1500. * remote.c (remote_console_output): Flush gdb_stdtarg after
  1501. processing an ``O'' packet.
  1502. * remote.h (remote_console_output): Strip PARAMS.
  1503. Sun Oct 17 15:12:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1504. * target.c (target_xfer_memory_partial): New function. Simple
  1505. implementation of partial memory reads.
  1506. (target_read_memory_partial): New function. Replaces old
  1507. target_read_memory_partial.
  1508. (target_write_memory_partial): New function.
  1509. * target.h: Update.
  1510. * valprint.c (partial_memory_read): New function, based on old
  1511. memory_read_partial. Implement partial memory reads the way that
  1512. val_print_string likes.
  1513. (val_print_string): Use partial_memory_read.
  1514. Sun Oct 17 13:58:56 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1515. * defs.h (ui_load_progress_hook): Add declaration.
  1516. * dsrec.c (ui_load_progress_hook): Delete extern declaration.
  1517. * symfile.c (ui_load_progress_hook): Make first argument const.
  1518. (generic_load): Don't cast the result of bfd_get_section_name.
  1519. Replace ``sect'' with ``sect_name'', use consistently.
  1520. 1999-10-15 Jim Blandy <jimb@cygnus.com>
  1521. Add beginnings of support for SIMD register types.
  1522. * gdbtypes.c (init_simd_type): New function for building
  1523. types for registers consisting of arrays of objects.
  1524. (builtin_type_v4sf): New built-in type.
  1525. (build_gdbtypes): Initialize it.
  1526. (_initialize_gdbtypes): Arrange for gdbarch swapping.
  1527. * gdbtypes.h (builtin_type_v4sf): Add external decl.
  1528. Fri Oct 15 18:20:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1529. * remote-hms.c: Commented out H8 code.
  1530. Fri Oct 15 17:46:39 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1531. * dcache.c (dcache_p): Rename variable remote_dcache. Make
  1532. static.
  1533. (_initialize_dcache): Fix description of ``set remotecache''.
  1534. Cache is OFF by default.
  1535. 1999-10-13 Jim Blandy <jimb@cygnus.com>
  1536. * valops.c (value_push): Don't forget to initialize container_len.
  1537. Wed Oct 13 17:58:20 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1538. * utils.c (tui_file_flush): Don't call flush_hook. Don't try to
  1539. flush ``astring''.
  1540. * gdb-events.sh: Update
  1541. * top.c (flush_hook): Delete.
  1542. 1999-10-13 Kevin Buettner <kevinb@cygnus.com>
  1543. * mem-break.c (memory_insert_breakpoint,
  1544. memory_remove_breakpoint): Added missing return statements.
  1545. Wed Oct 13 20:53:42 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1546. * utils.c (mem_fileopen, mem_file_delete, mem_file_new,
  1547. mem_file_rewind, mem_file_put, mem_file_fputs): New functions.
  1548. * defs.h (mem_fileopen): Declare.
  1549. 1999-10-13 Kevin Buettner <kevinb@cygnus.com>
  1550. * mem-break.c (default_memory_insert_breakpoint): Renamed from
  1551. memory_insert_breakpoint.
  1552. (default_memory_remove_breakpoint): Renamed from
  1553. memory_remove_breakpoint.
  1554. (memory_insert_breakpoint, memory_remove_breakpoint,
  1555. MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT): New
  1556. wrappers.
  1557. * target.h (default_memory_remove_breakpoint,
  1558. default_memory_insert_breakpoint): Added declarations.
  1559. * gdbarch.sh (MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT):
  1560. New methods.
  1561. * gdbarch.h, gdbarch.c (MEMORY_INSERT_BREAKPOINT,
  1562. MEMORY_REMOVE_BREAKPOINT, gdbarch_memory_insert_breakpoint,
  1563. gdbarch_memory_remove_breakpoint, set_gdbarch_memory_insert_breakpoint,
  1564. set_gdbarch_memory_remove_breakpoint) : Generated from gdbarch.sh.
  1565. Wed Oct 13 19:15:51 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1566. * defs.h: Remove PARAMS from all declarations. Re-indent. Clean
  1567. up the gdb_file declarations.
  1568. Tue Oct 12 12:19:07 1999 David Taylor <taylor@texas.cygnus.com>
  1569. * i386-linux-nat.c (supply_fpregset, fill_fpregset): copy
  1570. from/to start of fpregsetp not start of st_space as the first
  1571. stuff we copy is the FP control registers not the actual FP values.
  1572. 1999-10-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1573. * eval.c (evaluate_subexp_standard): Fix gdb invocation of
  1574. inferior C functions when debugging C++ code.
  1575. * valops.c (find_overload_match): Ditto.
  1576. * symtab.c (make_symbol_overload_list): Ditto.
  1577. 1999-10-11 Jim Blandy <jimb@zwingli.cygnus.com>
  1578. * config/pa/tm-hppa.h (SYMBOLS_CAN_START_WITH_DOLLAR): It's not
  1579. enough to #define this; you have to give it a non-zero value.
  1580. 1999-10-11 Jim Blandy <jimb@cygnus.com>
  1581. Fix from Jim Kingdon <kingdon@redhat.com>, with tweaks to make it
  1582. gdbarch- and bigendian-friendly:
  1583. * valops.c (PARM_BOUNDARY): If not #defined, default to zero.
  1584. (value_push): If PARM_BOUNDARY is not zero, align arguments to
  1585. that boundary.
  1586. * config/i386/tm-i386.h: Define PARM_BOUNDARY.
  1587. Mon Oct 11 14:23:55 1999 Fred Fish <fnf@cygnus.com>
  1588. * config/mips/tm-irix3.h (PS_REGNUM): Don't undef if we aren't
  1589. going to redefine it to something else.
  1590. 1999-10-11 Jason Merrill <jason@yorick.cygnus.com>
  1591. * dwarfread.c (read_func_scope): Don't try to set main_func_*;
  1592. we handle that in blockframe.c:inside_main_func.
  1593. * dwarf2read.c (read_func_scope): Likewise.
  1594. (dwarf2_add_field, dwarf2_add_member_fn): Get member function name
  1595. directly, not from mangled name.
  1596. (skip_member_fn_name): Lose.
  1597. Mon Oct 11 12:24:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1598. * serial.h (enum serial_rc): Clarify SERIAL_TIMEOUT and
  1599. restrictions on TIMEOUT in ASYNC mode.
  1600. * serial.c (serial_readchar): Check for invalid timeout when in
  1601. async mode. Disable test.
  1602. Thu Oct 7 17:20:01 1999 Andrew Cagney <cagney@amy.cygnus.com>
  1603. * monitor.c (monitor_printable_string): Add length argument. Don't
  1604. return final string length.
  1605. (monitor_printf_noecho, monitor_printf, monitor_expect): Update.
  1606. (monitor_error): Pass real_len to monitor_printable_string.
  1607. (monitor_error): Rewrite. Replace printf fmt string parameter with
  1608. function name and message parameters.
  1609. (monitor_read_memory_single, monitor_read_memory): Update.
  1610. 1999-10-07 Stan Shebs <shebs@andros.cygnus.com>
  1611. * main.c (print_gdb_help): Fix bug reporting address.
  1612. * gnu-regex.h, gnu-regex.c: Ditto.
  1613. 1999-10-07 Jim Blandy <jimb@zwingli.cygnus.com>
  1614. * parse.c (SYMBOLS_CAN_START_WITH_DOLLAR): New macro,
  1615. whose value can be overridden by target files.
  1616. (write_dollar_variable): Don't check the symbol table for
  1617. identifiers beginning with `$' unless
  1618. SYMBOLS_CAN_START_WITH_DOLLAR is non-zero.
  1619. * config/pa/tm-hppa.h (SYMBOLS_CAN_START_WITH_DOLLAR): Define.
  1620. Remove all traces of the BINOP_SCOPE operator. It's never
  1621. generated, and not implemented.
  1622. * expression.h (enum exp_opcode): Delete BINOP_SCOPE.
  1623. * c-lang.c (c_op_print_tab): Delete entry for BINOP_SCOPE.
  1624. * eval.c (evaluate_subexp_standard): Doc fix.
  1625. * expprint.c (op_name): Remove case for BINOP_SCOPE.
  1626. (dump_subexp): Same.
  1627. * dwarf2read.c (dwarf2_const_value): Treat DW_FORM_data1,
  1628. DW_FORM_data2, DW_FORM_data4, and DW_FORM_data8 as signed values,
  1629. since that's what read_var_value will do anyway.
  1630. 1999-10-07 Fred Fish <fnf@cygnus.com>
  1631. * objfiles.h (struct objfile): Delete is_solib member, now handled
  1632. by OBJF_SHARED bit in struct objfile's flags.
  1633. * objfiles.c (objfile_purge_solibs): Check OBJF_SHARED bit in flags
  1634. instead of old is_solib int member in objfile struct.
  1635. * objfiles.c (allocate_objfile): Remove is_solib arg. Now passed
  1636. as a bit in combined flags arg.
  1637. * symfile.c (symbol_file_add): Ditto.
  1638. * objfiles.h (allocate_objfile): Adjust prototype after removal
  1639. of is_solib arg.
  1640. * symtab.h (symbol_file_add): Ditto.
  1641. * cxux-nat.c (add_shared_symbol_files): Remove zero passed to
  1642. symbol_file_add in old is_solib arg, defaults to zero now in
  1643. flags.
  1644. * irix5-nat.c (symbol_add_stub): Ditto.
  1645. * remote-mm.c (mm_load): Ditto.
  1646. * remote-udi.c (udi_load): Ditto.
  1647. * remote-vx.c (vx_add_symbols): Ditto.
  1648. * symfile.c (symbol_file_command): Ditto.
  1649. (add_symbol_file_command): Ditto.
  1650. * coff-solib.c (coff_solib_add): Call symbol_file_add with
  1651. OBJF_SHARED in flags bit, rather than 1 in old is_solib
  1652. arg.
  1653. * osfsolib.c (symbol_add_stub): Ditto.
  1654. * pa64solib.c (pa64_solib_add_solib_objfile): Ditto.
  1655. * solib.c (symbol_add_stub): Ditto.
  1656. * somsolib.c (som_solib_add_solib_objfile): Ditto.
  1657. * win32-nat.c (handle_load_dll): Ditto.
  1658. * objfiles.c (allocate_objfile): Remove old args "mapped" and
  1659. "user_loaded". Replaced with new arg "flags" containing specific
  1660. If global var mapped_symbol_files is nonzero
  1661. then set OBJF_MAPPED in flags arg. Check for OBJF_MAPPED bit in
  1662. flags where we used to check mapped arg.
  1663. Pass flags to open_mapped_file instead of mapped arg.
  1664. Ensure that OBJF_MAPPED bit is reset in flags when the objfile
  1665. is not mapped. Add passed flags bits to objfile's flags bits.
  1666. (open_mapped_file): Replace "mapped" arg with new "flags" arg.
  1667. Adjust prototype. Pass flags to open_existing_mapped_file.
  1668. (open_existing_mapped_file): Replace "mapped" arg with new "flags".
  1669. Check flags for OBJF_MAPPED.
  1670. * objfiles.h (allocate_objfile): Adjust prototype.
  1671. * rs6000-nat.c (add_vmap): Pass zero for combined flags, rather
  1672. than separate zero ints for old "mapped" and "user_loaded" flags.
  1673. * symfile.c (symbol_file_add): Pass allocate_objfile combined flags
  1674. rather than individual mapped and user loaded bits.
  1675. * symfile.c (symbol_file_add): Delete user_loaded arg.
  1676. * symtab.h (symbol_file_add): Adjust prototype for deleted
  1677. user_loaded arg.
  1678. * objfiles.h (struct objfile): Delete user_loaded member.
  1679. (OBJF_USERLOADED): New flag bit to replace user_loaded.
  1680. * symfile.c (symbol_file_command): Add OBJF_USER_LOADED to flags
  1681. passed to symbol_file_add. Delete previous passing of explicit 1
  1682. for user_loaded.
  1683. (add_symbol_file_command): Ditto.
  1684. * coff-solib.c (coff_solib_add): No longer pass zero for user loaded,
  1685. now defaults to zero in flags.
  1686. * cxux-nat.c (add_shared_symbol_files): Ditto.
  1687. * irix5-nat.c (symbol_add_stub): Ditto.
  1688. * osfsolib.c (symbol_add_stub): Ditto.
  1689. * remote-mm.c (mm_load): Ditto.
  1690. * pa64solib.c (pa64_solib_add_solib_objfile): Ditto.
  1691. * remote-udi.c (udi_load): Ditto.
  1692. * remote-vx.c (vx_add_symbols): Ditto.
  1693. * solib.c (symbol_add_stub): Ditto.
  1694. * somsolib.c (som_solib_add_solib_objfile): Ditto.
  1695. * win32-nat.c (handle_load_dll): Ditto.
  1696. Thu Oct 7 19:24:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1697. * Makefile.in (monitor.o): Allow monitor.o to be compiled with
  1698. -Werror.
  1699. * monitor.c (monitor_debug_p): New variable. Replaces macro.
  1700. (EXTRA_RDEBUG): Delete. Update all uses.
  1701. (monitor_debug): New function. Replaces macro.
  1702. (RDEBUG): Delete macro. Update all uses.
  1703. debug output to gdb_stdlog and not the console.
  1704. * monitor.c: Fix printf formating. Replace printf calls with
  1705. fprintf_unfiltered.
  1706. 1999-10-06 Stan Shebs <shebs@andros.cygnus.com>
  1707. * MAINTAINERS: Switch ARM target maintenance from Elena
  1708. Zannoni to Jim Ingham.
  1709. 1999-10-06 Frank Ch. Eigler <fche@cygnus.com>
  1710. * remote.c (hexnumnstr): New function. Allow setting of width.
  1711. (hexnumstr): Call the above.
  1712. (remote_write_bytes): Fill in X-protocol address field more
  1713. reliably.
  1714. 1999-10-06 Fred Fish <fnf@cygnus.com>
  1715. * xcoffread.c (xcoff_symfile_offsets): Fix typo, addr->addrs.
  1716. 1999-10-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1717. * remote.c (handle_remote_sigint_twice): Make this signal be
  1718. handled by inferior_event_handler, via the wrapper function.
  1719. (async_remote_interrupt_twice): Make not static. Add debug print.
  1720. * remote.h (async_remote_interrupt_twice): Export for use in
  1721. inf-loop.c.
  1722. * inf-loop.c (inferior_event_handler_wrapper): New function.
  1723. (inferior_event_handler): Handle a request to quit and kill the
  1724. target.
  1725. Include remote.h.
  1726. * inf-loop.h (inferior_event_handler_wrapper): Export.
  1727. 1999-10-04 James Ingham <jingham@leda.cygnus.com>
  1728. * remote-rdi.c (arm_rdi_open): If the angel_RDI_Open fails, close
  1729. the serial port and raise an error. If you try to go on, you will
  1730. stall forever down in the rdi-share code.
  1731. 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1732. * printcmd.c (output_command): Makes sure result from the output
  1733. command is printed before the next prompt.
  1734. 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1735. * printcmd.c (print_formatted): Add missing stream parameter.
  1736. (do_examine, print_command_1, output_command, do_one_display):
  1737. Adjust call to print_formatted().
  1738. 1999-10-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1739. * infcmd.c: Remove include of event-loop.h.
  1740. * utils.c: Ditto.
  1741. * top.c: Ditto.
  1742. * infrun.c (fetch_inferior_event): Call inferior_event_handler
  1743. when inferior stops, instead of doing work ourselves.
  1744. (fetch_inferior_event): Use void* instead of gdb_client_data.
  1745. Remove includes of event-top.h and event-loop.h. Add include of
  1746. inf-loop.h.
  1747. (complete_execution): Move from here.
  1748. * inf-loop.c (complete_execution): To here.
  1749. (inferior_event_handler): Handle inferior's execution completion
  1750. case as well.
  1751. * inf-loop.h: Add def of INF_LOOP_H.
  1752. * event-top.h: Don't use gdb_client_data, use void*, to avoid
  1753. dependency on event-loop.h.
  1754. * remote.c (remote_async_resume): Set target_executing only after we
  1755. actually register the inferior with the event loop.
  1756. 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1757. * corefile.c (memory_error): Use error_stream() and eliminate call
  1758. to return_to_top_level().
  1759. 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1760. * utils.c (error): Save error message text (w/o new line).
  1761. (error_last_message): New function. Returns the last message
  1762. issued by gdb.
  1763. (error_init): New function. Initializes error handling machinery.
  1764. (error_stream): New function. Allows the error message to be
  1765. passed on a stream buffer.
  1766. * defs.h: Add prototypes for error_stream() and
  1767. error_last_message().
  1768. * main.c (main): Add call to error_init().
  1769. 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1770. * varobj.c (varobj_get_type): Call tui_sfileopen() instead of
  1771. deprecated gdb_file_init_astream().
  1772. (c_value_of_variable): Ditto.
  1773. * ui-out.c (ui_out_stream_new): Ditto.
  1774. 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
  1775. * utils.c (tui_sfileopen): New function. Replaces
  1776. gdb_file_init_astring().
  1777. * defs.h: Add prototype for the above.
  1778. Mon Oct 4 19:25:55 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1779. * symfile.c (add_symbol_file_command): Fix -Wformat on query call.
  1780. 1999-10-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1781. * target.c (cleanup_target): Type of to_async param is now
  1782. function with enum inferior_event_type param.
  1783. * target.h (target_ops): Adjust to_async accordingly. Move enum
  1784. inferior_event_type to this file. Don't have a typedef for
  1785. inferior_event_type. Add more enumeration constants INF_QUIT_REQ,
  1786. INF_EXEC_COMPLETE. Remove INF_SIGINT_FIRST, INF_SIGINT_SECOND.
  1787. * inf-loop.c (inferior_event_handler): Change first param to tell
  1788. the type of event we are dealing with. Deal with INF_ERROR and
  1789. INF_REG_EVENT, for the moment.
  1790. Include target.h.
  1791. * inf-loop.h (inferior_event_handler): Adjust prototype. Remove
  1792. enum inferior_event_type from here.
  1793. * remote.c (remote_async_serial_handler): Pass INF_REG_EVENT to
  1794. the client callback.
  1795. (remote_async): Change callback's param type to inferior_event_type.
  1796. (async_client_callback): Change type as above.
  1797. 1999-10-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1798. * event-top.c (stdin_event_handler): Delete fd parameter, use
  1799. input_fd instead.
  1800. * event-top.h (stdin_event_handler): Delete fd parameter.
  1801. * inf-loop.c (inferior_event_handler): Delete fd parameter. Use
  1802. target_async() to unregister the inferior fd in case of errors.
  1803. * inf-loop.h(inferior_event_handler): Delete fd parameter.
  1804. * ser-unix.c (fd_event): Delete fd parameter. Use scb->fd,
  1805. instead.
  1806. * remote.c (async_client_callback): Delete fd parameter.
  1807. (remote_async_serial_handler): Ditto.
  1808. (remote_async): Adjust to new type of callback function.
  1809. * target.c (cleanup_target): Adjust parameters for to_async
  1810. default case.
  1811. * target.h (*to_async): Delete fd parameter from cb function.
  1812. * event-loop.h (handler_func): Delete fd parameter.
  1813. * event-loop.c (handle_file_event): Delete fd param from call to
  1814. proc. Do not include inferior.h.
  1815. 1999-10-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  1816. * event-loop.c (inferior_event_handler,
  1817. inferior_event_handler_wrapper): Move from here.
  1818. * inf-loop.c: To here. New file.
  1819. * event-loop.h (inferior_event_handler): Move from here.
  1820. * inf-loop.h: To here. New file.
  1821. * remote.c: Include inf-loop.h.
  1822. (set_extende_protocol): Remove unused prototpye.
  1823. * Makefile.in (SFILES): Add inf-loop.c.
  1824. (inf_loop_h): Define.
  1825. (COMMON_OBS): Add inf-loop.o.
  1826. (inf-loop.o): Add rule.
  1827. (remote.o): Add dependency on inf-loop.h.
  1828. Fri Oct 1 19:59:31 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1829. * ser-unix.c: Add some notes on how the async code works.
  1830. Fri Oct 1 01:45:32 1999 Jeffrey A Law (law@cygnus.com)
  1831. * somread.c (som_symfile_offsets): Fix typo in last change.
  1832. 1999-09-30 Fred Fish <fnf@cygnus.com>
  1833. * coff-solib.c (coff_solib_add): Adjust call to symbol_file_add.
  1834. * cxux-nat.c (add_shared_symbol_files): Ditto.
  1835. * irix5-nat.c (symbol_add_stub): Ditto.
  1836. * osfsolib.c (symbol_add_stub): Ditto.
  1837. * pa64solib.c (pa64_solib_add_solib_objfile): Ditto.
  1838. * remote-mm.c (mm_load): Ditto.
  1839. * remote-udi.c (udi_load): Ditto.
  1840. * remote-vx.c (vx_add_symbols): Ditto.
  1841. * solib.c (symbol_add_stub): Ditto.
  1842. * somsolib.c (som_solib_add_solib_objfile): Ditto.
  1843. * win32-nat.c (handle_load_dll): Ditto.
  1844. * irix5-nat.c (symbol_add_stub): Add section_addrs, zero it.
  1845. * cxux-nat.c (add_shared_symbol_files): Ditto.
  1846. * osfsolib.c (symbol_add_stub): Ditto.
  1847. * pa64solib.c (pa64_solib_add_solib_objfile): Ditto.
  1848. * solib.c (symbol_add_stub): Ditto.
  1849. * somsolib.c (som_solib_add_solib_objfile): Ditto.
  1850. * symfile.c (symbol_file_command): Ditto.
  1851. * win32-nat.c (handle_load_dll): Ditto.
  1852. * irix5-nat.c (symbol_add_stub): Use section_addrs to pass text addr.
  1853. * cxux-nat.c (add_shared_symbol_files): Ditto.
  1854. * osfsolib.c (symbol_add_stub): Ditto.
  1855. * pa64solib.c (pa64_solib_add_solib_objfile): Ditto.
  1856. * solib.c (symbol_add_stub): Ditto.
  1857. * somsolib.c (som_solib_add_solib_objfile): Ditto.
  1858. * symfile.c (symbol_file_command): Ditto.
  1859. * win32-nat.c (handle_load_dll): Ditto.
  1860. * coff-solib.c (coff_solib_add): Call symbol_file_add with NULL ptr.
  1861. * cxux-nat.c (add_shared_symbol_files): Ditto.
  1862. * remote-udi.c (udi_load): Ditto.
  1863. * remote-vx.c (vx_add_symbols): Ditto.
  1864. * symfile.c (symbol_file_command): Ditto.
  1865. * dstread.c (dst_symfile_offsets): Take "section_addr_info *"
  1866. instead of CORE_ADDR.
  1867. * somread.c (som_symfile_offsets): Ditto.
  1868. * symfile.c (default_symfile_offsets): Ditto.
  1869. * xcoffread.c (xcoff_symfile_offsets): Ditto.
  1870. * symfile.h (default_symfile_offsets): Adjust prototype.
  1871. (syms_from_objfile): Ditto.
  1872. * symtab.h (symbol_file_add): Ditto.
  1873. * rs6000-nat.c (objfile_symbol_add): Call syms_from_objfile with NULL.
  1874. * xcoffsolib.c (solib_add): Ditto.
  1875. * gdb-stabs.h (SECT_OFF_MAX): Increase from 4 to 16.
  1876. * symtab.h (MAX_SECTIONS): Define.
  1877. (struct section_addr_info): New struct for better control over
  1878. changing load addresses of sections.
  1879. * objfiles.h (OBJF_READNOW): Add new flag bit.
  1880. * symfile.h (sym_offsets): Change second param from CORE_ADDR to
  1881. "section_addr_info *".
  1882. * symfile.c (symbol_file_add): Replace scalar arg "CORE_ADDR addr"
  1883. with "struct section_addr_info *addrs".
  1884. (syms_from_objfile): Ditto.
  1885. (add_symbol_file_command): Remove local variables "readnow" and
  1886. "mapped". Replaced with general "flags" variable.
  1887. (symbol_file_command): Ditto.
  1888. (add_symbol_file_command): Add local variables i, sec_num, argcnt,
  1889. expecting_option, option_index, and opt. Rework option parsing code
  1890. to handle additional options.
  1891. (_initialize_symfile): Adjust add-symbol-file usage to match new
  1892. option handling.
  1893. (symbol_file_add): Remove parameters "mapped" and "readnow",
  1894. replace with general "flags".
  1895. (symbol_file_add): In call to allocate_objfile, replace "mapped"
  1896. with extracted OBJF_MAPPED bit from flags.
  1897. (symbol_file_add): Use OBJF_READNOW bit from flags, instead of
  1898. "readnow" variable.
  1899. (symbol_file_command): Set OBJF_MAPPED and OBJF_READNOW bits
  1900. from parsed options. Pass flags to symbol_file_add.
  1901. (add_symbol_file_command): Ditto.
  1902. (syms_from_objfile): Add local variables i, sect, lower_sect,
  1903. lower_offset, and local_addr. Substitute local_addr for addrs
  1904. when addrs is NULL. Find lowest loadable section to be used as
  1905. starting point for contiguous sections. Adjust offsets if segments
  1906. are not contiguous. Call sym_offsets with section_addr_info
  1907. instead of single addr.
  1908. (default_symfile_offsets): Initialize objfile's section_offsets
  1909. with user specified offsets.
  1910. (symbol_file_add): Call syms_from_objfile with offsets.
  1911. (unknown_option_complaint): Add.
  1912. (add_symbol_file_command): Add "section_addrs", zero it with memset.
  1913. 1999-09-30 Jason Molenda (jsm@bugshack.cygnus.com)
  1914. * configure.in: Call config.sub explicitly instead of misusing the
  1915. autoconf internal variable $ac_config_sub.
  1916. * configure: Regenerated.
  1917. Thu Sep 30 15:53:59 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1918. * remote.c (readchar): When EOF mourn the inferior.
  1919. (getpkt): Try QUIT. Might not be a watchdog timer timeout.
  1920. (remote_async_serial_handler): Pass ``-1'' as the dummy FD. Safer
  1921. than ZERO == STDIN.
  1922. * serial.h (enum serial_rc): Replace #define SERIAL_ERROR,
  1923. SERIAL_TIMEOUT and SERIAL_EOF.
  1924. (struct _serial_t): Add more notes on termios specific fields.
  1925. * ser-unix.c (generic_readchar): Make SERIAL_ERROR sticky.
  1926. (do_hardwire_readchar, do_unix_readchar): Don't use bufcnt as a
  1927. tempoary for the return-value from read.
  1928. * serial.c (serial_logchar): Add a stream parameter.
  1929. (serial_readchar, serial_write, serial_send_break): Update.
  1930. (serial_readchar): Add serial debug trace.
  1931. Thu Sep 30 12:07:03 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1932. * serial.h (struct _serial_t): Add field async_state. Better
  1933. document field bufcnt.
  1934. (SERIAL_ERROR): Delete comment about errno.
  1935. * serial.c (serial_open, serial_fdopen): Initialize async_state.
  1936. * ser-unix.c (push_event, fd_event, reschedule): New functions.
  1937. Handle ASYNC serial input.
  1938. (ser_unix_async): Update.
  1939. (generic_readchar): New function. Handle event scheduling. Make
  1940. EOF condition sticky.
  1941. (do_unix_readchar): Rename ser_unix_readchar.
  1942. (ser_unix_readchar): New function, call do_unix_readchar via
  1943. generic_readchar.
  1944. (do_hardwire_readchar, hardwire_readchar): Ditto.
  1945. * ser-unix.c (ser_unix_readchar): Delete code working around ASYNC
  1946. fifo bugs.
  1947. (hardwire_readchar): Delete code working around ASYNC fifo bugs.
  1948. Wed Sep 29 21:27:16 1999 Jeffrey A Law (law@cygnus.com)
  1949. * breakpoint.c (insert_breakpoints): Addresses are CORE_ADDRs,
  1950. not "int"s.
  1951. (remove_breakpoint): Likewise.
  1952. 1999-09-29 Fred Fish <fnf@cygnus.com>
  1953. * breakpoint.c (breakpoint_1): Replace cast "(CORE_ADDR) - 1"
  1954. with the more obviously intended expression "(CORE_ADDR) -1".
  1955. * dwarf2read.c (scan_partial_symbols, read_file_scope): Ditto.
  1956. * gnu-nat.c (gnu_create_inferior): Ditto.
  1957. * go32-nat.c (go32_create_inferior): Ditto.
  1958. * hppa-tdep.c (hppa_pop_frame): Ditto.
  1959. * infcmd.c (continue_command, step_1, signal_command): Ditto.
  1960. (until_next_command, finish_command): Ditto.
  1961. * infrun.c (proceed): Ditto.
  1962. * inftarg.c (child_create_inferior): Ditto.
  1963. * m3-nat.c (m3_create_inferior): Ditto.
  1964. * mac-nat.c (child_create_inferior): Ditto.
  1965. * procfs.c (procfs_create_inferior): Ditto.
  1966. * remote-sim.c (gdbsim_create_inferior): Ditto.
  1967. * target.c (target_link): Ditto.
  1968. * win32-nat.c (child_create_inferior): Ditto.
  1969. * varobj.c (varobj_create, new_root_variable): Ditto.
  1970. Thu Sep 30 10:36:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1971. * ser-unix.c (ser_unix_flush_input): New function. Discard input
  1972. buffer.
  1973. (hardwire_flush_input): Use ser_unix_flush_input.
  1974. (ser_unix_nop_flush_input): Delete.
  1975. * ser-unix.h (ser_unix_flush_input): Update.
  1976. ser-tcp.c (_initialize_ser_tcp), ser-pipe.c
  1977. (_initialize_ser_pipe): Update.
  1978. * ser-unix.c (hardwire_write): Delete.
  1979. (_initialize_ser_hardwire): Update, use ser_unix_write.
  1980. Thu Sep 30 10:16:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1981. * ser-pipe.c (pipe_open): Don't make the FD non-blocking. Already
  1982. being handled in ser_unix_wait_for by a select.
  1983. Thu Sep 30 10:00:32 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1984. * serial.h (struct _serial_t): Add field debug_p.
  1985. (SERIAL_DEBUG, SERIAL_DEBUG_P): Define.
  1986. * serial.c (serial_open, serial_fdopen): Initialize debug_p.
  1987. (serial_debug, serial_debug_p): New functions.
  1988. (global_serial_debug_p): New variable.
  1989. (_initialize_serial): Add ``set serialdebug'' command.
  1990. Thu Sep 30 09:09:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
  1991. * serial.h (serial_event_ftype): Replace FD and ERROR args with
  1992. SERRIAL_T arg.
  1993. * ser-unix.c (ser_unix_event): Update.
  1994. * remote.c (remote_async_serial_handler): New function. Handle
  1995. serial events.
  1996. (remote_async): Pass remote_async_serial_handler to SERIAL.
  1997. (async_client_callback, async_client_context): New variables.
  1998. * remote.c (extended_remote_async_create_inferior): Use
  1999. target_async to register the inferior event handler.
  2000. Thu Sep 30 00:02:03 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2001. * configure.in (AC_CHECK_FUNCS): Test for sigprocmask.
  2002. * configure, config.in: Re-generate.
  2003. * event-top.c (async_stop_sig): Use sigprocmask when available.
  2004. 1999-09-29 Doug Evans <devans@casey.cygnus.com>
  2005. * sh-stub.c (handle_exception): Fix typo in patch of 1999-08-26.
  2006. * m68k-stub.c (handle_exception): Ditto.
  2007. 1999-09-28 Fred Fish <fnf@cygnus.com>
  2008. * alpha-nat.c (alpha_osf_core_fns, alpha_elf_core_fns):
  2009. Add default entries for check_format and core_sniffer.
  2010. * core-aout.c (aout_core_fns): Ditto.
  2011. * core-regset.c (regset_core_fns): Ditto.
  2012. * core-sol2.c (solaris_core_fns): Ditto.
  2013. * i386aix-nat.c (i386aix_core_fns): Ditto.
  2014. * i386mach-nat.c (i386mach_core_fns): Ditto.
  2015. * irix4-nat.c (irix4_core_fns): Ditto.
  2016. * irix5-nat.c (irix5_core_fns): Ditto.
  2017. * lynx-nat.c (lynx_core_fns): Ditto.
  2018. * mips-nat.c (mips_core_fns): Ditto.
  2019. * ns32knbsd-nat.c (nat_core_fns): Ditto.
  2020. * rs6000-nat.c (rs6000_core_fns): Ditto.
  2021. * sparc-nat.c (sparc_core_fns): Ditto.
  2022. * sun-nat.c (sun3_core_fns): Ditto.
  2023. * ultra3-nat.c (ultra3_core_fns): Ditto.
  2024. * corelow.c (core_vec): New, for selected core file handler.
  2025. (sniff_core_bfd): New function.
  2026. (gdb_check_format): New function.
  2027. (default_check_format): New function.
  2028. (default_core_sniffer): New function.
  2029. (sniff_core_bfd): New function.
  2030. (core_close): Reset core_vec to NULL.
  2031. (core_open): Fall back to gdb_check_format if bfd_check_format
  2032. does not identify the file format. Call sniff_core_bfd to pick
  2033. a core file handler.
  2034. (get_core_registers): Remove code that is now in sniff_core_bfd.
  2035. Use current core_vec.
  2036. * gdbcore.h (check_format): New core_fns function, points to function
  2037. to try and identify a core file format.
  2038. (core_sniffer): New core_fns function, points to function to select
  2039. a specific handler for the selected core file format.
  2040. (default_core_sniffer): Add prototype.
  2041. (default_check_format): Add prototype.
  2042. * i960-tdep.c (inferior.h): Include.
  2043. * mips-tdep.c (read_next_frame_reg): Use ADDR_BITS_REMOVE
  2044. on addresses pulled from stack.
  2045. 1999-09-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2046. * event-loop.c (poll_timers): Check whether the timer list has any
  2047. element on it by looking at the first element pointer, instead of
  2048. num_timers.
  2049. Wed Sep 29 18:02:31 1999 Andrew Cagney <cagney@amy.cygnus.com>
  2050. * command.c: Attempt to include POSIX <sys/wait.h> before
  2051. <wait.h>.
  2052. * ser-unix.c (hardwire_print_tty_state): Ditto.
  2053. * inflow.c (child_terminal_info): Fix printf args.
  2054. 1999-09-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2055. * remote.c (remote_async_resume): Register the inferior with the
  2056. event loop.
  2057. (remote_async_open_1): Don't put the target in async mode here,
  2058. just do it when executing.
  2059. * infrun.c (complete_execution): Unregister the inferior from the
  2060. event loop.
  2061. * event-top.c (async_disable_stdin): Don't add
  2062. async_enable_stdin() to the exec_cleanups chain.
  2063. Tue Sep 28 11:08:34 1999 Jeffrey A Law (law@cygnus.com)
  2064. * hppa-tdep.c (hppa_fix_call_dummy): Ignore IMPORT_SHLIB stubs
  2065. except for hpux11 native. Break out of the loop to find a
  2066. stub as soon as we find an IMPORT stub.
  2067. (skip_prologue_hard_way): Also recognize copy %ret1,target and
  2068. all PA64 argument stores as prologue instructions.
  2069. 1999-09-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2070. * breakpoint.c, defs.h, event-top.c, infcmd.c, infrun.c, main.c,
  2071. remote.c, top.c, tracepoint.c, utils.c (async_p): Change var name
  2072. to event_loop_p.
  2073. 1999-09-28 Jim Blandy <jimb@cygnus.com>
  2074. * hppa-tdep.c (skip_prologue_hard_way): Recognize ldo insns
  2075. which generate pointers into the argument list.
  2076. Tue Sep 28 13:56:49 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2077. * remote.h (cleanup_sigint_signal_handler,
  2078. initialize_sigint_signal_handler): Delete extern declarations.
  2079. * event-top.c, infrun.c: No longer need to include "remote.h".
  2080. * remote.c (cleanup_sigint_signal_handler,
  2081. initialize_sigint_signal_handler): Make static.
  2082. * Makefile.in (event-top.o): Delete dependency on "remote.h".
  2083. * remote.c (remote_async_terminal_ours_p): New static global. Keep
  2084. track of who currently owns the terminal.
  2085. (remote_async_open_1): Initialize.
  2086. (remote_async_terminal_inferior): Test
  2087. remote_async_terminal_ours_p. Claim CNTRL-C handler as part of
  2088. transfering the terminal to the target.
  2089. (remote_async_terminal_ours): Similar.
  2090. Mon Sep 27 12:33:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2091. * remote.c (async_interrupt_query): Delete function. Merged into
  2092. interrupt_query. Async cases handled by target_terminal_ours,
  2093. target_terminal_inferior and SERIAL_CLOSE.
  2094. (async_remote_interrupt_twice): Update.
  2095. (remote_async_terminal_ours, remote_async_terminal_inferior): New
  2096. functions. Steal STDIN from GDB's CLI.
  2097. (init_remote_async_ops): Initialize to_terminal_ours and
  2098. to_terminal_inferior.
  2099. * event-top.c (async_disable_stdin, async_disable_stdin): Use
  2100. target_terminal_ours / target_terminal_inferior to transfer
  2101. ownership of the terminal between GDB and the target.
  2102. 1999-09-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2103. * infcmd.c (run_command): Call async_disable_stdin() only if
  2104. dealing with an asynchronous target.
  2105. Mon Sep 27 11:48:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2106. * target.h (struct target_ops): Add to_can_async_p, to_is_async_p,
  2107. to_async. Delete to_has_async. These correspond well with
  2108. SERIAL* async methods.
  2109. (target_can_async_p, target_is_async_p, target_async): Define.
  2110. * target.c (update_current_target, cleanup_target): Update.
  2111. * remote.c (remote_async_open_1): Change target to async using
  2112. target_async.
  2113. (remote_can_async_p, remote_is_async_p, remote_async): New
  2114. functions.
  2115. (remote_async_wait, remote_async_open_1): Add FIXME about how
  2116. wait_forever_enabled_p can almost be deleted once the client can
  2117. enable/disable target_async.
  2118. * breakpoint.c (until_break_command), infrun.c (proceed), infcmd.c
  2119. (run_command, continue_command, step_1, jump_command,
  2120. until_command, finish_command, interrupt_target_command), top.c
  2121. (return_to_top_level, execute_command), event-top.c
  2122. (command_handler): Replace target_has_async with
  2123. target_can_async_p.
  2124. Sun Sep 26 02:10:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2125. * remote.c (remote_async_open_1): If we go into async mode, never
  2126. wait for ever.
  2127. * infcmd.c: Include "event-top.h".
  2128. (run_command, continue_command, jump_command, until_command,
  2129. finish_command): Use async_disable_stdin to disable the console
  2130. for synchronous commands.
  2131. * remote.c (async_interrupt_query): Only disconnect the console
  2132. from the terminal when sync_execution.
  2133. * remote.c (initialize_sigint_signal_handler): Move declaration
  2134. from here.
  2135. * remote.h: To here. Make non-static.
  2136. * remote.c (remote_async_resume, async_interrupt_query): Move
  2137. prompt code from here.
  2138. * event-top.c (async_disable_stdin, async_enable_stdin): To
  2139. here. New function.
  2140. * infrun.c (start_remote): Delete commented out code.
  2141. Fri Sep 24 12:38:31 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2142. * remote.c (remote_async_open_1): Perform the initial async_open
  2143. using only synchronous calls. Only after the target is fully
  2144. connected, switch to async mode. Include FIXME about now it
  2145. currently works VS how it should be working.
  2146. (remote_async_open_1, set_extended_protocol): Delete function
  2147. set_extended_protocol. All open communication is now done
  2148. synchronously.
  2149. (forever_enabled_p): New variable. Determine if remote_async_wait
  2150. should block FOREVER when fetching target information.
  2151. (remote_cisco_open, remote_open_1): Set forever_enabled_p.
  2152. * infrun.c (start_remote): During the initial connect, always use
  2153. a synchronous wait.
  2154. Sat Sep 25 18:13:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2155. * Makefile.in (event-top.o): Add dependency.
  2156. * event-top.c: Include "remote.h".
  2157. * remote.c (async_interrupt_query), event-top.c:
  2158. (async_enable_stdin): Pass dummy parameter to
  2159. cleanup_sigint_signal_handler.
  2160. * remote.c (cleanup_sigint_signal_handler), remote.h
  2161. (cleanup_sigint_signal_handler), event-top.c (async_enable_stdin),
  2162. event-top.h (async_enable_stdin): Change signature to match
  2163. make_exec_error_cleanup handler pararameter.
  2164. Thu Sep 23 20:48:22 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2165. * defs.h (enum command_class): Move from here.
  2166. * command.h (command_class): To here.
  2167. 1999-09-24 Kevin Buettner <kevinb@cygnus.com>
  2168. * breakpoint.c (bpstat_stop_status): Use not_a_breakpoint to
  2169. help properly set bp_addr.
  2170. * infrun.c (handle_inferior_event): Simplify calls to
  2171. bp_stop_status.
  2172. 1999-09-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2173. * top.c (return_to_top_level): Do exec_error cleanups if are
  2174. interrupting a simulated synchronous execution command.
  2175. * infrun.c (start_remote): Create a cleanup to enable stdin in
  2176. case of error from this command.
  2177. (complete_execution): Do the enabling of stdin via the exec_error
  2178. cleanups, when needed.
  2179. * remote.c (remote_async_resume): Make sure we re-enable stdin in
  2180. case of error from the target.
  2181. (handle_remote_sigint_twice): The handler to be set is
  2182. async_remote_interrupt_twice, not async_remote_interrupt.
  2183. (async_remote_interrupt_twice): Don't do anything if the target
  2184. has been killed already. Call async_interrupt_query, instead of
  2185. interrupt_query.
  2186. (async_interrupt_query): New function. Async case of
  2187. interrupt_query().
  2188. * event-top.c (async_enable_stdin): New function. Reinstate stdin
  2189. with the event loop.
  2190. * event-top.h (async_enable_stdin): Export.
  2191. * utils.c (exec_error_cleanup_chain): New cleanup chain.
  2192. (make_exec_error_cleanup, do_exec_error_cleanups,
  2193. discard_exec_error_cleanups): New functions.
  2194. * defs.h (make_exec_error_cleanup, do_exec_error_cleanups,
  2195. discard_exec_error_cleanups): Export.
  2196. 1999-09-24 Jim Blandy <jimb@zwingli.cygnus.com>
  2197. * ax-gdb.c (expr_to_agent): Don't forget to pass argument to
  2198. new_agent_expr.
  2199. 1999-09-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2200. * event-loop.c (fetch_inferior_event_wrapper): New
  2201. function. Wrapper to pass to catch_errors.
  2202. (inferior_event_handler): Pop the target if things go bad with it.
  2203. Call fetch_inferior_event() from within catch_errors().
  2204. 1999-09-24 Jim Blandy <jimb@zwingli.cygnus.com>
  2205. * ax-gdb.c: Use internal_error instead of error, where
  2206. appropriate.
  2207. 1999-09-23 James Ingham <jingham@leda.cygnus.com>
  2208. * target.c (target_resize_to_sections): New function. Gather the
  2209. resizing code for the to_sections field into one place, and make
  2210. sure you update the other targets that are sharing the to_sections
  2211. structure.
  2212. * target.h: Declare the target_resize_to_sections function.
  2213. * solib.c (solib_add): use target_resize_to_sections.
  2214. * somsolib.c (som_solib_load_symbols): ditto
  2215. * rs6000-nat.c (xcoff_relocate_core): ditto
  2216. * pa64solib.c (pa64_solib_load_symbols): ditto
  2217. * irix5-nat.c (solib_add):ditto
  2218. * top.c: Define the attach & detach hooks
  2219. * defs.h: Declare the attach & detach hooks.
  2220. * infcmd.c (attach_command): call the attach hook if it exists.
  2221. (detach_command): call the detach hook if it exists.
  2222. * complaints.c (complain): Send the complaints to stderr rather
  2223. than stdout, so they don't get mixed into the result stream from
  2224. commands.
  2225. 1999-09-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2226. * varobj.c (varobj_set_value): Fix handling of baseclasses and
  2227. correct the behavior when it is not a baseclass (both cases were
  2228. dumping core).
  2229. 1999-09-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2230. * varobj.c (varobj_update): Fix setting of child error field.
  2231. 1999-09-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2232. * event-loop.c (poll_timers): Use correct timeval field names,
  2233. when setting the notifier timeouts, in case of select() used.
  2234. (gdb_wait_for_event): Pass a pointer to the timeout structure to
  2235. select(), not the structure.
  2236. 1999-09-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2237. * varobj.c (varobj_gen_name): Dynamically allocate variable object
  2238. name string.
  2239. (varobj_update): Fix creation of result list.
  2240. Wed Sep 22 10:35:32 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2241. * Makefile.in (init.c): Change generated file to include "defs.h"
  2242. and "call-cmds.h". Use initialize_file_ftype when declaring
  2243. each initialize functions.
  2244. (call_cmds_h): Add definition.
  2245. (init.o): Add target and dependencies.
  2246. (init.c): Don't grep for _initialize* in init.c.
  2247. * defs.h (initialize_file_ftype): Add function typedef.
  2248. 1999-09-22 Michael Snyder <msnyder@cleaver.cygnus.com>
  2249. * procfs.c (init_procinfo): move fltset initialization to caller.
  2250. (do_attach, create_procinfo): initialize fltset.
  2251. 1999-09-22 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2252. * varobj.c (_initialize_varobj): Rename varobjdebug to debugvarobj
  2253. to avoid conflict with "set var".
  2254. 1999-09-22 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2255. * varobj.c (varobj_get_type, c_value_of_variable): Remove
  2256. dependency on ui_out.[ch].
  2257. 1999-09-22 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2258. * varobj.c (varobj_update): Fix order in which changed variables
  2259. are reported to match that of the old code.
  2260. 1999-09-22 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2261. * varobj.c (type_changeable): Fix for testsuite case 2.12. Do not
  2262. report as changed a structure when one of it's children has changed.
  2263. (get_type, get_type_deref): Remove uneeded initialization.
  2264. 1999-09-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2265. * event-loop.c, event-top.c, event-loop.h: Rerun indent.
  2266. 1999-09-21 Doug Evans <devans@casey.cygnus.com>
  2267. * m32r-stub.c (handle_exception): Fix typo in patch of 1999-08-26.
  2268. 1999-09-21 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2269. * varobj.c (_initialize_varobj): Add set/show for varobjdebug.
  2270. (uninstall_variable): Test for varobjdebug before printing trace
  2271. and send it to gdb_stdlog.
  2272. 1999-09-21 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2273. * varobj.c (c_type_of_child): Fix missing break, improve comment
  2274. and add warning.
  2275. (c_number_of_children): Add comment.
  2276. Tue Sep 21 14:55:29 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2277. From 1999-08-20 J.T. Conklin <jtc@redback.com>:
  2278. * remote.c (read_frame): expand cisco run-length encoding variant
  2279. inline as is done for the standard encoding.
  2280. (remote_cisco_expand): Removed.
  2281. 1999-09-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2282. * varobj.c (varobj_update): Test for illegal invocation for
  2283. non-root variable object.
  2284. 1999-09-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2285. * varobj.c (my_value_equal): Style. Eliminate side-effects.
  2286. (varobj_update): Adjust calls to reflect the above change.
  2287. 1999-09-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2288. * varobj.c (c_value_of_variable): Fix return value for struct
  2289. members when parent is a invalid pointer.
  2290. 1999-09-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2291. * event-loop.c: Include <sys/time.h>.
  2292. 1999-09-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2293. * varobj.c (cplus_number_of_children): Coding style improvement.
  2294. (cplus_value_of_child): Ditto.
  2295. 1999-09-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2296. * varobj.c (c_name_of_child): Add missing default clause in switch
  2297. statement.
  2298. (c_type_of_child): Ditto.
  2299. (varobj_set_value): Test for NULL type.
  2300. 1999-09-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2301. * varobj.c (varobj_set_value): Wrap call to evaluate_expression.
  2302. 1999-09-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2303. * varobj.c (format_string[]): Remove unused variable(s).
  2304. (varobj_set_value): Ditto.
  2305. (c_value_of_root): Ditto.
  2306. (cplus_value_of_child): Ditto.
  2307. 1999-09-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2308. * varobj.c: Add missing header file include.
  2309. (new_variable, new_root_variable): Fix prototype and header.
  2310. (_initialize_varobj): Add prototype.
  2311. 1999-09-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2312. * ser-ocd.c: (ser_ocd_open, ser_ocd_raw, ser_ocd_readchar,
  2313. ser_ocd_setbaudrate, ser_ocd_write, ser_ocd_close,
  2314. ser_ocd_get_tty_state, ser_ocd_set_tty_state): Remove unused
  2315. prototypes.
  2316. (ocd_readremote): Remove.
  2317. (ocd_write): Remove unused var 'c'.
  2318. 1999-09-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2319. * event-top.c (change_line_handler): Cleanup dead code. Add comments.
  2320. * event-loop.c: Cleanup #if 0 code.
  2321. * event-loop.h (timer_handler_func): New function type.
  2322. (create_timer): Export function.
  2323. (delete_timer): Export function.
  2324. * event-loop.c: Add timeout and timeout_valid fields to
  2325. gdb_notifier. New structures gdb_timer and timer_list.
  2326. (gdb_do_one_event): Check whether there are any timers tht are
  2327. ready, before going to wait.
  2328. (gdb_wait_for_event): If the timeout structure is meaningful, pass
  2329. that to select()/poll().
  2330. (create_timer): New function. Creates a timer.
  2331. (delete_timer): New function. Deletes a timer.
  2332. (handle_timer_event): New function. Deals with timers that are ready.
  2333. (poll_timers): New Function. Chack whether timers have expired.
  2334. Mon Sep 20 17:00:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2335. * remote.c (getpkt, putpkt, remote_console_output): Move
  2336. declaration from here.
  2337. * remote.h: To here. New file.
  2338. * tracepoint.c(putpkt, getpkt, remote_console_output): Delete
  2339. declarations. Moved to "remote.h".
  2340. * Makefile.in (remote_h): Define.
  2341. * remote.c, tracepoint.c: Include "remote.h".
  2342. * Makefile.in (tracepoint.o, remote.o): Add dependency on
  2343. "remote.h".
  2344. * remote.h (remote_cisco_objfile_relocate,
  2345. cleanup_sigint_signal_handler): Add declaration. Include FIXME.
  2346. * infrun.c: Include "remote.h".
  2347. (complete_execution): Delete local extern declaration
  2348. of ``cleanup_sigint_signal_handler''.
  2349. * Makefile.in (infrun.o): Add dependency on remote.h.
  2350. Mon Sep 20 16:15:29 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2351. * ui-out.h (ui_out_test_flags): Add missing declaration.
  2352. Mon Sep 20 13:41:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2353. * kod.c (ecos_kod_open, ecos_kod_request, ecos_kod_close,
  2354. cisco_kod_open, cisco_kod_request, cisco_kod_close): Move
  2355. declarations from here.
  2356. * kod.h: To here. New file.
  2357. * kod-cisco.c, kod.c: Include "kod.h".
  2358. * Makefile.in (kod-cisco.o, kod.o): Add dependency on "kod.h".
  2359. * kod.h (kod_display_callback_ftype, kod_query_callback_ftype):
  2360. New function types.
  2361. * kod.h (kod_cisco_open): Use in declaration.
  2362. * kod.c (gdb_kod_open): Update definition.
  2363. * kod-cisco.c (cisco_kod_open): Update definition.
  2364. Mon Sep 20 12:13:27 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2365. * mn10300-tdep.c (_initialize_mn10300_tdep): Add declaration.
  2366. * breakpoint.c (until_break_command_continuation): Add
  2367. declaration. Make static.
  2368. * event-top.c (rl_callback_read_char_wrapper): Ditto.
  2369. Mon Sep 20 10:54:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2370. * Makefile.in (varobj.o): Disable warnings. Currently
  2371. work-in-progress.
  2372. Fri Sep 17 19:28:17 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2373. * source.c: Include "source.h".
  2374. (open_source_file, find_source_lines): Move declaration from here.
  2375. * source.h: New file. To here.
  2376. * Makefile.in (source.o): Add dependency on source.h.
  2377. * breakpoints.c (delete_command): Move declaration from here.
  2378. * breakpoints.h (delete_command): To here.
  2379. 1999-09-18 Jim Blandy <jimb@cygnus.com>
  2380. * hppa-tdep.c (in_solib_call_trampoline): If we can't recognize
  2381. the instruction we're at, we're not in a stub.
  2382. Sat Sep 18 07:13:03 1999 Jeffrey A Law (law@cygnus.com)
  2383. * dwarf2read.c (dwarf_decode_lines): Correctly handle
  2384. DW_LNS_const_add_pc.
  2385. 1999-09-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2386. * remote.c (remote_async_open_1): Use inferior_event_handler to
  2387. handle inferior events.
  2388. (extended_remote_async_create_inferior): Ditto.
  2389. * serial.h (serial_event_ftype): Add two pars.
  2390. * ser-unix.c (ser_unix_event): Add two parameters, error and fd.
  2391. Pass those into the call to the actual inferior event handler.
  2392. * infrun.c (complete_execution): Stdin handler is stdin_event_handler.
  2393. * event-top.h (stdin_event_handler): Export new function.
  2394. * event-top.c (stdin_event_handler): New function. Smarter handler
  2395. for events on stdin.
  2396. (change_line_handler): Don't need to update the handler for stdin
  2397. here anymore.
  2398. (_initialize_event_loop): Stdin handler is now stdin_event_handler.
  2399. * event-loop.h: (handler_func): Change signature, adding two new
  2400. args.
  2401. (sig_handler_func): New function type. It is the old handler_func.
  2402. (create_async_signal_handler): Update to use sig_handler_func.
  2403. (delete_async_signal_handler): Prototype for new function.
  2404. * event-loop.c: Include "inferior.h".
  2405. (struct file_handler): Add field error, to indicate error
  2406. condition on fd.
  2407. (struct async_signal_handler): Rename type of proc field.
  2408. (add_file_handler): Add exception condition as something select()
  2409. should report.
  2410. (handle_file_event): In case of error on the fd, record this in
  2411. the file_handler structure. Update call to (*proc)() to match new
  2412. signature.
  2413. (gdb_wait_for_event): If select() or poll() return error, report
  2414. this to user.
  2415. (create_async_signal_handler): Change first param type to
  2416. sig_handler_func*.
  2417. (inferior_event_handler): New function. Smarter inferior event
  2418. handling.
  2419. 1999-09-18 Jim Blandy <jimb@cygnus.com>
  2420. * pa64solib.c (pa64_solib_create_inferior_hook): Remove code which
  2421. tries to set __d_pid; it's not relevant to PA64 shared libraries.
  2422. A psymtab's texthigh element, and a block's endaddr element, are
  2423. the address past the end of the address range, never the address
  2424. of the last byte. These data structures mean the same thing on
  2425. forty different architectures; there's no reason they should be
  2426. different on HP/UX.
  2427. * symtab.c (find_pc_sect_psymtab): Remove special case for HP/UX.
  2428. (find_pc_sect_symtab): Same.
  2429. * objfiles.c (find_pc_sect_section): Same.
  2430. Sat Sep 18 07:13:03 1999 Jeffrey A Law (law@cygnus.com)
  2431. * hppa-tdep.c (internalize_unwinds): Handle PA64 shared libraries
  2432. correctly
  2433. * hppa-tdep.c (in_solib_call_trampoline): Handle PA64 shared library
  2434. trampolines.
  2435. 1999-09-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2436. * wrapper.h: Add missing define brackets.
  2437. 1999-09-17 Jim Blandy <jimb@zwingli.cygnus.com>
  2438. * breakpoint.c (permanent_breakpoint_here_p): Delete.
  2439. Accidentally left over from previous changes.
  2440. 1999-09-17 Jim Blandy <jimb@cygnus.com>
  2441. * config/pa/tm-hppa64.h (ARGS_GROW_DOWNWARD): Deleted. There are
  2442. many more differences between the 32- and 64-bit ABI's than the
  2443. direction the arguments grow, so this name is misleading.
  2444. (PA20W_CALLING_CONVENTIONS): Define this instead.
  2445. * config/pa/tm-hppa.h (ARGS_GROW_DOWNWARD): Delete.
  2446. * hppa-tdep.c (hppa_push_arguments): Split into two separate
  2447. functions, depending on whether PA20W_CALLING_CONVENTIONS is
  2448. #defined. These implement completely separate specifications,
  2449. they don't really share that much code anyway, and this is much
  2450. more readable. Specifically: leave a 16-byte, not 32-byte, frame
  2451. marker; correctly align objects larger than eight bytes; promote
  2452. all integral scalar arguments smaller than eight bytes to a full
  2453. register width; pad aggregates smaller than eight bytes on the
  2454. right.
  2455. 1999-09-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2456. * Makefile.in: Add entries for varobj.[cho] and wrapper.[cho].
  2457. gdbtk-varobj.[co]. gdbtk-varobj.o is not yet on the COMMON_OBS
  2458. list because it conflicts with the older gdbtk-variable.o which
  2459. is still the default.
  2460. 1999-09-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2461. * varobj.h: New file. GDB variable objects API.
  2462. * varobj.c: New file. Implementation of the GDB variable objects
  2463. API.
  2464. 1999-09-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2465. * wrapper.h: New file. Longjump free calls to gdb internal
  2466. routines.
  2467. * wrapper.c (gdb_evaluate_expression, wrap_evaluate_expression,
  2468. gdb_value_fetch_lazy, wrap_value_fetch_lazy, gdb_value_equal,
  2469. wrap_value_equal, gdb_value_ind, wrap_value_ind): New functions.
  2470. Thu Sep 16 17:33:35 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2471. * remote.c (remote_async_open_1): Use SERIAL_ASYNC to
  2472. enable/disable async event callback on serial port. Use
  2473. SERIAL_CAN_ASYNC_P / SERIAL_IS_ASYNC_P to determine if / when
  2474. async mode.
  2475. (remote_async_resume, remote_async_detach, remote_async_kill,
  2476. extended_remote_async_create_inferior, remote_async_wait): Ditto.
  2477. * ser-unix.c (hardwire_readchar): When ASYNC, only read a single
  2478. character.
  2479. (ser_unix_readchar): Ditto. Problems occure with back-to-back
  2480. data from a target. The ASYNC code can loose the second data
  2481. chunk.
  2482. * serial.c (serial_fdopen): Initialize async_handler and
  2483. async_context.
  2484. 1999-09-16 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2485. * utils.c (discard_all_continuations): New function.
  2486. * defs.h: (discard_all_continuations): Add prototype.
  2487. 1999-09-16 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2488. * valops.c: Remove prototype for search_struct_field_aux(). THe
  2489. function was nowhere in the file.
  2490. (value_ind): Remove unused var real_val.
  2491. (value_find_oload_method_list): Remove unused var v.
  2492. (find_overload_match): Remove extra declaration of var jj.
  2493. * Makefile.in (event_top_h): Define. Add dependency on this for
  2494. every file that includes event-top.h.
  2495. Thu Sep 16 17:33:35 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2496. * serial.c (serial_open): Delete ``&'' device.
  2497. * ser-unix.c (_initialize_ser_hardwire): Make the "hardwire"
  2498. device async. Delete temporary "async-hardwire" device.
  2499. Thu Sep 16 16:27:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2500. * serial.h (SERIAL_IS_ASYNC_P): Define. Non-zero when serial
  2501. device is in async mode.
  2502. (SERIAL_CAN_ASYNC_P): Rename SERIAL_ASYNC_P.
  2503. * serial.c (serial_is_async_p): Implement.
  2504. (serial_can_async_p): Rename serial_async_p.
  2505. (serial_open): Initialize ASYNC_HANDLER and ASYNC_CONTEXT. Save
  2506. the original name in SCB instead of the stripped name.
  2507. Thu Sep 16 12:20:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2508. * serial.h (struct serial_ops): Add field ASYNC.
  2509. (SERIAL_ASYNC, SERIAL_ASYNC_P): New macros.
  2510. (struct _serial_t): Add fields async_context and async_handler.
  2511. * serial.c (serial_async, serial_async_p): Implement.
  2512. * ser-unix.c: Include "event-loop.h".
  2513. (ser_unix_async), ser-unix.c: New function. Implement async mode.
  2514. (async_event): Handle async events.
  2515. * ser-unix.c (_initialize_ser_hardwire), ser-tcp.c
  2516. (_initialize_ser_tcp), ser-pipe.c (_initialize_ser_pipe): Enable
  2517. ASYNC.
  2518. * serial.c (serial_open): Discard leading ``|'' before opening a
  2519. pipe device.
  2520. * ser-pipe.c (pipe_open): Adjust.
  2521. * serial.c (serial_open): Add ``&'' prefix so that
  2522. "async-hardwire" device can be explicitly selected. Work in
  2523. progress.
  2524. * ser-unix.c: Register "async-hardwire" device.
  2525. Thu Sep 16 09:04:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2526. * ser-unix.h: New file. Declare generic ser_unix functions.
  2527. * ser-unix.c (ser_unix_nop_get_tty_state,
  2528. ser_unix_nop_set_tty_state, ser_unix_nop_raw, ser_unix_wait_for,
  2529. ser_unix_readchar, ser_unix_nop_noflush_set_tty_state,
  2530. ser_unix_nop_print_tty_state, ser_unix_nop_setbaudrate,
  2531. ser_unix_nop_setstopbits, ser_unix_write,
  2532. ser_unix_nop_flush_output, ser_unix_nop_flush_input,
  2533. ser_unix_nop_send_break, ser_unix_nop_drain_output): New
  2534. functions.
  2535. * ser-unix.c: Include <sys/wait.h>, <sys/socket.h>,
  2536. "gdb_string.h".
  2537. * ser-tcp.c (_initialize_ser_tcp), ser-unix.c
  2538. (_initialize_ser_hardwire), ser-pipe.c (_initialize_ser_tcp):
  2539. Initialize ops vector using assignment.
  2540. * ser-pipe.c, ser-tcp.c, ser-unix.c: Include ser-unix.h.
  2541. * ser-pipe.c (pipe_get_tty_state, pipe_set_tty_state,
  2542. pipe_return_0, pipe_raw, wait_for, pipe_readchar,
  2543. pipe_noflush_set_tty_state, pipe_print_tty_state,
  2544. pipe_setbaudrate, pipe_setstopbits, pipe_write), ser-tcp.c
  2545. (tcp_get_tty_state, tcp_set_tty_state, tcp_return_0, tcp_raw,
  2546. wait_for, tcp_readchar, tcp_noflush_set_tty_state,
  2547. tcp_print_tty_state, tcp_setbaudrate, tcp_setstopbits, tcp_write):
  2548. Delete functions.
  2549. 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
  2550. * d10v-tdep.c (remote_d10v_translate_xfer_address): Move to here
  2551. from remote-d10v.c, also change the memory translation to its
  2552. previous version.
  2553. * remote-d10v.c: Remove.
  2554. * config/d10v/d10v.mt (TDEPFILES): Remove remote-d10v.o.
  2555. 1999-09-15 Jim Blandy <jimb@cygnus.com>
  2556. * breakpoint.c (remove_breakpoint): Return zero, not nothing.
  2557. 1999-09-14 Jim Blandy <jimb@cygnus.com>
  2558. * hppa-tdep.c (frame_chain): If the unwind info says we've saved
  2559. r3, don't trust it. Call get_frame_saved_regs and see if we can
  2560. actually find an address for r3 there.
  2561. * pa64solib.c (pa64_sharedlibrary_info_command): Text fix.
  2562. Tue Sep 14 14:34:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2563. * serial.h (DEPRECATED_SERIAL_FD): Define.
  2564. * serial.c (deprecated_serial_fd): New function.
  2565. * remote.c (remote_async_open_1, remote_async_open_1,
  2566. remote_async_detach, remote_async_kill,
  2567. extended_remote_async_create_inferior, minitelnet): Update.
  2568. * remote-es.c (es1800_open, es1800_close, es1800_transparent): Update.
  2569. * remote-st.c (connect_command), remote-os9k.c (connect_command):
  2570. Fix. Call FD_SET et.al. with FD instead of serial_t.
  2571. 1999-09-14 Jim Blandy <jimb@cygnus.com>
  2572. * hppa-tdep.c (hppa_frame_find_saved_regs): The two possible
  2573. instructions for saving the return pointer (32- and 64-bit) save
  2574. it at different offsets.
  2575. * config/pa/tm-hppa64.h: Doc fix.
  2576. * defs.h (continuation): Make this a typedef.
  2577. * Makefile.in (gdbtk.o, gdbtk-cmds.o): Depend on $(top_h).
  2578. * Makefile.in (i386-linux-nat.o): Depend on symfile.h, not
  2579. $(symfile_h); the latter has no definition.
  2580. * breakpoint.c (breakpoint_here_p): Remove meaningless code,
  2581. testing b->enable against shlib_disabled and call_disabled after
  2582. we know it is enabled.
  2583. Implement "permanent breakpoints" --- breakpoints that are
  2584. hardwired into the inferior's code. GDB knows they're there, but
  2585. doesn't try to insert or remove them, etc.
  2586. * breakpoint.h (enum enable): Add `permanent' enablement state.
  2587. * breakpoint.c (make_breakpoint_permanent): New function.
  2588. * breakpoint.h (make_breakpoint_permanent): Add declaration.
  2589. * breakpoint.c (insert_breakpoints): Don't bother to insert
  2590. permanent breakpoints...
  2591. (remove_breakpoint): ... or remove them.
  2592. (breakpoint_here_p): Handle `permanent' like `enabled'. Change
  2593. return value to indicate whether it's a permanent breakpoint here,
  2594. or an ordinary breakpoint.
  2595. * breakpoint.h (enum breakpoint_here): New enum.
  2596. (breakpoint_here_p): Change declaration.
  2597. * breakpoint.h (breakpoint_1): Extend bpenables to cover all the
  2598. enablement states.
  2599. (describe_other_breakpoints): Describe permanent breakpoints.
  2600. (check_duplicates): If one of the breakpoints at ADDRESS is a
  2601. permanent breakpoint, treat all the others as the duplicates, so
  2602. we don't try to insert or remove any of them. Verify that only
  2603. the permanent breakpoint is actually inserted.
  2604. (delete_breakpoint): Complain if we discover that another
  2605. breakpoint was inserted at the same place as a permanent
  2606. breakpoint.
  2607. (disable_breakpoint): Fail silently if asked to disable a
  2608. permanent breakpoint.
  2609. (do_enable_breakpoint): Don't change a permanent breakpoint's
  2610. enablement to ordinary `enabled'. Leave it alone.
  2611. (create_solib_event_breakpoint): Return the
  2612. breakpoint object created.
  2613. * breakpoint.h (create_solib_event_breakpoint): Fix declaration.
  2614. * pa64solib.c (pa64_solib_create_inferior_hook): Do turn on the
  2615. DT_HP_DEBUG_CALLBACK flag in the dynamic linker, so it will call
  2616. __dld_break, which contains the permanent breakpoint, when interesting
  2617. things happen. Tell GDB that the breakpoint in __dld_break is
  2618. permanent.
  2619. * gdbtk-cmds.c (gdb_get_breakpoint_info): Report a permanent
  2620. breakpoint as enabled.
  2621. * infrun.c (SKIP_PERMANENT_BREAKPOINT): Provide default definition.
  2622. (default_skip_permanent_breakpoint): New function.
  2623. (resume): If we're trying to resume at a permanent breakpoint, use
  2624. SKIP_PERMANENT_BREAKPOINT to step over it.
  2625. * hppa-tdep.c (hppa_skip_permanent_breakpoint): New function.
  2626. * config/pa/tm-hppa.h (hppa_skip_permanent_breakpoint): Declare.
  2627. (SKIP_PERMANENT_BREAKPOINT): Define.
  2628. 1999-09-14 Kevin Buettner <kevinb@cygnus.com>
  2629. * symtab.h, minsyms.c (find_stab_function_addr): Changed
  2630. type of second parameter from partial_symtab * to char *.
  2631. Fixed all callers.
  2632. * minsyms.c (find_stab_function_addr): Look for minimal
  2633. symbol without filename if filename based search fails.
  2634. * dbxread.c (process_one_symbol): Call find_stab_function_addr()
  2635. in place of inline code with identical functionality.
  2636. * partial-stab.h (case N_FUN, descriptors 'F' and 'f'): Look
  2637. up symbol's address from minimal symbol table when N_FUN
  2638. address is missing. Also, make sure this value is used for
  2639. calculating the value of the texthigh field.
  2640. 1999-09-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2641. * event-loop.c (create_file_handler): Increment the total number
  2642. of file descriptors for the poll case, only if this is a new file
  2643. desc.
  2644. 1999-09-14 Eli Zaretskii <eliz@is.elta.co.il>
  2645. * go32-nat.c: misc minor cleanups and fixes missed in last patch.
  2646. Tue Sep 14 12:37:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2647. * serial.h (SERIAL_PRINT_TTY_STATE): Add STREAM parameter.
  2648. (union serial_ops): Update.
  2649. * ser-unix.c (hardwire_print_tty_state, ser-tcp.c
  2650. (tcp_print_tty_state), ser-pipe.c (pipe_print_tty_state,
  2651. ser-go32.c (dos_print_tty_state, ser-mac.c (mac_print_tty_state,
  2652. ser-ocd.c (ocd_print_tty_state, ser-e7kpc.c
  2653. (e7000pc_print_tty_state): Update.
  2654. * inflow.c (child_terminal_info): Update.
  2655. * serial.c (serial_print_tty_state): Update.
  2656. Tue Sep 14 11:41:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2657. * serial.c, serial.h, ser-tcp.c, ser-unix.c, ser-pipe.c: Convert
  2658. all functions to ISO-C.
  2659. * serial.h, serial.c: Move all indirect macro function calls from
  2660. serial.h into serial.c.
  2661. (serial_drain_output, serial_flush_output, serial_flush_input,
  2662. serial_raw, serial_get_tty_state, serial_set_tty_state,
  2663. serial_print_tty_state, serial_noflush_set_tty_state,
  2664. serial_setbaudrate, serial_setstopbits): New functions.
  2665. (do_serial_close): Rename serial_close.
  2666. (serial_close, serial_un_fdopen): New functions. Call
  2667. do_serial_close.
  2668. 1999-09-13 James Ingham <jingham@leda.cygnus.com>
  2669. * symtab.c (decode_line_1): Find the rightmost parenthesis in the
  2670. expression, not the leftmost. This allows us to parse function
  2671. declarations with embedded function prototypes.
  2672. Mon Sep 13 18:39:31 1999 Jeffrey A Law (law@cygnus.com)
  2673. * pa64solib.c (pa64_sharedlibrary_info_command): Fix typos.
  2674. 1999-09-13 Kevin Buettner <kevinb@cygnus.com>
  2675. * i386-tdep.c (i386_extract_return_value): ifdef'd so that
  2676. non-linux targets will work again.
  2677. (i386_do_registers_info, i386_print_register): Revert changes
  2678. of 1999-09-03; these functions have been removed because they
  2679. are Linux specific and break non-Linux builds. This functionality
  2680. will be restored after FP support unification has been achieved.
  2681. * i387-tdep.c (i387_print_register, void i387_float_info):
  2682. Likewise.
  2683. * config/i386/tm-linux.h (i387_float_info, FLOAT_INFO,
  2684. DO_REGISTERS_INFO, i386_do_registers_info,
  2685. i387_print_register): Likewise.
  2686. 1999-09-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2687. * event-top.c (call_readline): Change to accept gdb_client_data as
  2688. param.
  2689. (rl_callback_read_char_wrapper): New function to match what the
  2690. event loop expects and what readline expects.
  2691. (change_line_handler): Make call_readline point to
  2692. rl_callback_read_char_wrapper, instead of rl_callback_read_char.
  2693. (_initialize_event_loop): Ditto.
  2694. (gdb_readline2): Change parameter to gdb_client_data.
  2695. * event-top.h (call_readline, gdb_readline2): Change accordingly.
  2696. * event-loop.c (add_file_handler): Change 2nd par to
  2697. handler_func*. No more need for casting.
  2698. * event-loop.h (create_async_signal_handler): Change accordingly.
  2699. * inferior.h (fetch_inferior_event): Change parameter to void*.
  2700. * infrun.c (fetch_inferior_event): Ditto.
  2701. 1999-09-13 Stan Shebs <shebs@andros.cygnus.com>
  2702. * infrun.c (step_into_function): New function, broken out from the
  2703. step_into_function label in handle_inferior_event.
  2704. (handle_inferior_event): Change a goto into a function call.
  2705. 1999-09-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2706. * event-top.h: New file. All the exported vars and functions from
  2707. event-top.c.
  2708. * event-loop.h (struct gdb_event, event_handler_func,
  2709. file_handler, async_signal_handler, SELECT_MASK, fd_mask, NBBY,
  2710. FD_SETSIZE, howmany, NFDBITS, MASK_SIZE): Move to event-loop.c.
  2711. (struct prompts, PROMPT, PREFIX, SUFFIX, display_gdb_prompt,
  2712. async_init_signals, set_async_editing_command,
  2713. set_async_annotation_level, set_async_prompt, handle_stop_sig,
  2714. handle_sigint, pop_prompt, push_prompt, gdb_readline2,
  2715. mark_async_signal_handler_wrapper, async_request_quit,
  2716. async_command_editing_p, exec_done_display_p,
  2717. async_annotation_suffix, new_async_prompt, the_prompts,
  2718. call_readline, input_handler, input_fd): Move to event-top.h.
  2719. (All function prototypes): Don't use PARAMS anymore.
  2720. * event-loop.c: (struct gdb_event, event_handler_func,
  2721. file_handler, async_signal_handler, SELECT_MASK, fd_mask, NBBY,
  2722. FD_SETSIZE, howmany, NFDBITS, MASK_SIZE): Move to here from
  2723. event-loop.h.
  2724. Include event-top.h. Remove use of PARAMS. ANSIfy functions headers.
  2725. * event-top.c: Include event-top.h. Include "signals.h", not
  2726. <signals.h>.
  2727. Remove use of PARAMS. ANSIfy functions headers.
  2728. (handle_stop_sig): move prototype to event-top.h.
  2729. * remote.c: Include event-top.h. Make it understand
  2730. async_signal_handler type.
  2731. * infrun.c: Include event-top.h.
  2732. * mi-main.c: Ditto.
  2733. * top.c Ditto.
  2734. * utils.c: Ditto.
  2735. Mon Sep 13 18:54:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2736. * gdbarch.sh: Describe each of the fields.
  2737. Mon Sep 13 17:51:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2738. From 1999-09-12 Jim Blandy <jimb@cygnus.com>:
  2739. * gdbarch.sh (generating setters): Use sed to generate the proper
  2740. indentation, not tr; tr's behavior is notoriously unportable.
  2741. 1999-09-10 Jim Blandy <jimb@zwingli.cygnus.com>
  2742. * i387-tdep.c (print_387_control_bits): Don't print newline; the
  2743. callers take care of that. (Thanks to H.J. Lu.)
  2744. 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
  2745. * d10v-tdep.c (DMEM_START): Set to 0x2000000.
  2746. (itrace, iuntrace, info itrace, itdisassemble, itracedisplay,
  2747. itracesource): Add 'i' prefix to commands, so as not to conflict
  2748. with generic trace commands.
  2749. 1999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2750. * remote.c (_initialize_remote): Fix the specification of the
  2751. "remote" prefix to set and show commands.
  2752. 1999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
  2753. * command.c (print_doc_line): Update to use ui_out.
  2754. (do_setshow_command): Ditto.
  2755. (cmd_show_list): Ditto.
  2756. 1999-09-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2757. * event-loop.c (create_file_event): New function. Creates a gdb
  2758. event for a given fd.
  2759. (gdb_wait_for_event): Use create_file_event().
  2760. * event-loop.h: export create_file_event().
  2761. * event-loop.c (delete_file_handler): Move the clearing of the
  2762. mask to later on in the function, because we need it in order to
  2763. deactivate the correct fd when using select().
  2764. * m32r-tdep.c (decode_prologue): Fix typo. Instructions starting
  2765. with 0xf are branch instructions.
  2766. (m32r_scan_prologue): Initialize framesize to 0.
  2767. 1999-09-07 J.T. Conklin <jtc@redback.com>
  2768. * i386-stub.c (exceptionHook, oldExceptionHook): Removed.
  2769. (handle_exception): Removed #if'd out exception hook code.
  2770. * i386-stub.c, m68k-stub.c (error): Removed unused variable.
  2771. * i386-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
  2772. sparcl-stub.c, sparclet-stub.c (remcomInBuffer, remcomOutBuffer):
  2773. Make static.
  2774. Tue Sep 7 14:06:22 1999 Kevin Buettner <kevinb@cygnus.com>
  2775. * config/i386/tm-linux.h (SOFUN_ADDRESS_MAYBE_MISSING):
  2776. Define.
  2777. Tue Sep 7 08:18:01 1999 Kevin Buettner <kevinb@cygnus.com>
  2778. From Jim Blandy <jimb@cygnus.com>:
  2779. Step into calls to functions in shared libraries properly. See
  2780. the comments for SKIP_SOLIB_RESOLVER atop infrun.c for details.
  2781. * infrun.c (SKIP_SOLIB_RESOLVER): New macro.
  2782. 1999-09-05 Fred Fish <fnf@cygnus.com>
  2783. * elfread.c (elf_symtab_read): Remove separately passed bfd
  2784. pointer and offset. Pick up bfd pointer from objfile, and
  2785. get offset from objfile's section_offsets.
  2786. Fri Sep 3 22:29:39 1999 Kevin Buettner <kevinb@cygnus.com>
  2787. * config/i386/tm-linux.h (REGISTER_NAMES): Changed register
  2788. named "foo" to "fopo" which more accurately describes the FPU
  2789. Operand Pointer Offset. The real reason for this change, of
  2790. course, is that many programmers use $foo as a convenience
  2791. variable and are likely to be unpleasantly surprised to find
  2792. that they're unwittingly changing the state of their ia32 FPU.
  2793. 1999-09-03 Jason Molenda (jsm@bugshack.cygnus.com)
  2794. * monitor.c (monitor_supply_register): Stop scanning val string
  2795. if a newline is encountered.
  2796. 1999-09-03 Jason Molenda (jsm@bugshack.cygnus.com)
  2797. monitor.c (TARGET_BUF_SIZE): New macro, defined to 2048.
  2798. (monitor_expect_regexp, monitor_wait, monitor_dump_reg_block,
  2799. monitor_dump_reg_block): Dump hard-coded constants in favor
  2800. of TARGET_BUF_SIZE.
  2801. (readchar): Re-enable output of characters read from monitor when
  2802. remotedebug is set.
  2803. (monitor_supply_register): Use ULONGEST to hold value.
  2804. Replace strtoul() call with hand-coded loop to handle values
  2805. larger than 'long'.
  2806. (monitor_store_register): Use ULONGEST to hold value.
  2807. Fri Sep 3 00:47:44 1999 Kevin Buettner <kevinb@cygnus.com>
  2808. [Merged linux/x86 floating point code from Bill Metzenthen,
  2809. Jim Blandy, Anthony Green, H. J. Lu, and possibly others. The
  2810. following remarks are Jim Blandy's.]
  2811. * findvar.c (extract_floating): Call TARGET_EXTRACT_FLOATING, if
  2812. #defined.
  2813. (store_floating): Call TARGET_STORE_FLOATING, if #defined.
  2814. * i386-tdep.c (i386_print_register, i386_do_registers_info): New
  2815. functions.
  2816. (i386_extract_return_value): GNU/Linux returns floating point
  2817. values in a floating point register too.
  2818. (set_disassembly_flavor): Add prototype.
  2819. (i386_extract_return_value): Use FPDATA_REGNUM, not FP0_REGNUM (
  2820. which wasn't the first FP data register).
  2821. (i386_do_registers_info): Use FPSTART_REGNUM and FPEND_REGNUM as
  2822. the limits of the FPU-related registers.
  2823. (i386_extract_return_value): Tell GDB how to find return values
  2824. larger than four bytes. (Thanks to Paul N. Hilfinger for the bug
  2825. report.)
  2826. * i387-tdep.c (print_387_control_word): Break out bit-splitting into...
  2827. (print_387_control_bits): New function.
  2828. (print_387_status_word): Break out bit-splitting into...
  2829. (print_387_status_bits): New function.
  2830. (i387_print_register, i387_float_info, i387_hex_float_input): New
  2831. functions.
  2832. (i387_extract_floating, i387_store_floating): New functions.
  2833. * valprint.c (print_floating): Use macro TARGET_ANALYZE_FLOATING,
  2834. if it's #defined. Tolerate values of `nonnegative' other than
  2835. zero and one.
  2836. * i386-linux-nat.c: New file.
  2837. * Makefile.in (ALLDEPFILES): Mention i386-linux-nat.c.
  2838. (i386-linux-nat.o): New rule, listing dependencies.
  2839. * config/i386/linux.mh (NATDEPFILES): Use i386-linux-nat.o, not
  2840. the plain i386v4-nat.o.
  2841. * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
  2842. * config/i386/xm-linux.h: Define HOST_I386.
  2843. * config/i386/tm-linux.h (FP0_REGNUM): Replaced by...
  2844. (FPSTART_REGNUM, FPCONTROL_REGNUM, FPSTATUS_REGNUM, FPTAG_REGNUM,
  2845. FPDATA_REGNUM, FPEND_REGNUM): New definitions.
  2846. (REGISTER_BYTES): Changed accordingly.
  2847. (SKIP_SOLIB_RESOLVER): #define this.
  2848. (i386_linux_skip_solib_resolver): New declaration.
  2849. (i387_float_info): Added extern decl for this function.
  2850. (TARGET_EXTRACT_FLOATING, TARGET_STORE_FLOATING,
  2851. TARGET_ANALYZE_FLOATING): Define.
  2852. (i387_extract_floating, i387_store_floating): New extern decls.
  2853. (I386_GNULINUX_TARGET): Define.
  2854. (NUM_REGS, NUM_FREGS, REGISTER_NAMES, FP0_REGNUM, FPDATA_REGNUM,
  2855. FPENV_BYTES, FPREG_RAW_SIZE, FPREG_BYTES, REGISTER_BYTES,
  2856. REGISTER_BYTE, REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE,
  2857. MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE,
  2858. TARGET_LONG_DOUBLE_BIT, FLOAT_INFO, DO_REGISTERS_INFO): New
  2859. definitions, perhaps overriding those inherited from
  2860. config/i386/tm-i386.h.
  2861. (i386_do_registers_info, i387_print_register, double_to_i387,
  2862. i387_to_double): New declarations.
  2863. (LD_I387): Define iff both the host and target are using i387
  2864. FPU's.
  2865. (HEX_FLOAT_INPUT, REGISTER_CONVERTIBLE,
  2866. REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
  2867. REGISTER_VIRTUAL_TYPE): Define these if LD_I387 is defined.
  2868. * source.c (list_command): List the right number of source lines,
  2869. even if we're at the top of the file.
  2870. 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
  2871. * infrun.c (step_over_function): New function, broken out from the
  2872. step_over_function label in handle_inferior_event.
  2873. (handle_inferior_event): Change a goto into a function call.
  2874. Thu Sep 2 18:26:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2875. * Makefile.in (GDB_WERROR_CFLAGS, GBB_WARN_CFLAGS): Define.
  2876. (INTERNAL_CFLAGS): Update
  2877. * configure.in (WERROR_CFLAGS, WARN_CFLAGS): Sync with
  2878. ../sim/common/aclocal.m4.
  2879. * configure: Re-generate.
  2880. Thu Sep 2 00:27:36 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2881. * Makefile.in (z8k-tdep.o): For moment, don't try to compile with
  2882. -Werror. See Makefile.in.
  2883. * z8k-tdep.c (z8k_set_pointer_size): Document problem.
  2884. * config/z8k/tm-z8k.h (z8k_print_register_hook, z8k_frame_chain,
  2885. z8k_saved_pc_after_call, z8k_frame_saved_pc,
  2886. z8k_set_pointer_size): Declare.
  2887. (z8k_skip_prologue): Fix typo. Was mz8k_skip_prologue.
  2888. (FRAME_CHAIN, PRINT_REGISTER_HOOK, FRAME_SAVED_PC,
  2889. SAVED_PC_AFTER_CALL): Update.
  2890. * z8k-tdep.c (z8k_print_register_hook): Rename
  2891. z8k_print_register_hook.
  2892. (z8k_frame_chain): Rename frame_chain.
  2893. (z8k_saved_pc_after_call): Rename saved_pc_after_call.
  2894. (z8k_frame_saved_pc): Rename frame_saved_pc.
  2895. (z8k_print_register_hook): Fix printf.
  2896. (read_memory_pointer): Add declaration.
  2897. ("value.h"): Include.
  2898. * Makefile.in (z8k-tdep.o): Add dependency on value.h.
  2899. * config/sparc/tm-sparc.h (PRINT_EXTRA_FRAME_INFO): Fix
  2900. printf. calls
  2901. * Makefile.in (remote-e7000.o): For moment, don't try to compile
  2902. with -Werror. See Makefile.in.
  2903. * sh-tdep.c (sh_show_regs): Fix printf calls.
  2904. * xcoffsolib.c (solib_info): Fix Printf calls.
  2905. * dink32-rom.c: #include "symfile.h" for generic_load and
  2906. "inferior.h" for write_pc.
  2907. * Makefile.in (dink32-rom.o): Update.
  2908. * config/mn10300/tm-mn10300.h (mn10300_store_struct_return),
  2909. config/mn10200/tm-mn10200.h (mn10200_store_struct_return): Add
  2910. declarations.
  2911. Tue Aug 31 00:48:27 1999 Andrew Cagney <cagney@amy.cygnus.com>
  2912. * config/mips/tm-tx49el.h (REGISTER_SIM_REGNO): Define.
  2913. * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register):
  2914. Pass REGISTER_SIM_REGNO converted register number to the
  2915. simulator.
  2916. 1999-09-01 Tom Tromey <tromey@cygnus.com>
  2917. * config/i386/nm-linux.h (PREPARE_TO_PROCEED): Added argument.
  2918. 1999-09-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  2919. * values.c (value_virtual_fn_field): Remove unused var(s).
  2920. * thread.c (prune_threads): Ditto.
  2921. * symtab.c (lookup_transparent_type): Ditto.
  2922. (decode_line_1): Ditto.
  2923. (make_symbol_overload_list): Ditto.
  2924. * rs6000-tdep.c (frame_get_saved_regs): Ditto.
  2925. (set_processor): Ditto.
  2926. * remote.c (remote_remove_breakpoint): Ditto.
  2927. (remote_query): Ditto.
  2928. (readtty): Ditto.
  2929. * remote-sds.c (sds_fetch_registers): Ditto.
  2930. (putmessage): Ditto.
  2931. * ppcbug-rom.c (ppcbug_supply_register): Ditto.
  2932. (ppcbug_open): Remove unused prototype.
  2933. * parse.c (parse_nested_classes_for_hpacc): Remove unused var(s).
  2934. * ocd.c (ocd_open): Ditto.
  2935. (ocd_get_packet): Ditto.
  2936. * monitor.c (monitor_error): Ditto.
  2937. (monitor_wait_srec_ack): Ditto.
  2938. * main.c (main): Ditto.
  2939. * gdbtypes.c (count_virtual_fns): Ditto.
  2940. * exec.c (exec_file_command): Ditto.
  2941. * event-top.c: Include handle_sigwinch() function prototype within
  2942. appropriate #ifdef.
  2943. * eval.c (evaluate_subexp_standard): Remove unused variable.
  2944. (evaluate_subexp_standard): Remove unused variables.
  2945. * dink32-rom.c (dink32_supply_register): Remove unused variable.
  2946. * dbxread.c (elfstab_build_psymtabs): Ditto.
  2947. * command.c (do_setshow_command): Ditto.
  2948. * breakpoint.c (solib_load_unload_1): Remove unused variables 'i'
  2949. and 'sal'.
  2950. (until_break_command): Remove unused variables 'arg1' and 'arg2'.
  2951. (create_exception_catchpoint): Remove unused variable 'i'.
  2952. * ax-gdb.c (gen_sub): Remove unused variable.
  2953. (_initialize_ax_gdb): Ditto.
  2954. * ser-pipe.c (pipe_readchar): If timeout is expired return
  2955. SERIAL_TIMEOUT.
  2956. * ser-tcp.c (tcp_readchar): If timeout is expired return
  2957. SERIAL_TIMEOUT.
  2958. Wed Sep 1 15:07:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2959. * version.h: New file.
  2960. * Makefile.in (version_h): Define.
  2961. (version.o): Add target.
  2962. * remote-array.c: #include "version.h".
  2963. (version): Delete extern declarations.
  2964. * Makefile.in (remote-array.o): Add dependency on version.h.
  2965. * top.c: #include "version.h".
  2966. (version, host_name, target_name): Delete extern declarations.
  2967. * Makefile.in (top.o): Add dependency on version.h.
  2968. * remote.c (remote_remove_watchpoint, remote_insert_watchpoint),
  2969. remote-array.c (array_open), remote-mips.c (send_srec),
  2970. dve3900-rom.c (store_bitmapped_register): Fix Printfs.
  2971. * mips-tdep.c (mips_print_extra_frame_info, print_unpack),
  2972. m32r-rom.c (m32r_load_section), m32r-tdep.c (m32r_frame_chain),
  2973. dsrec.c (load_srec): Fix printf problems.
  2974. Wed Sep 1 13:16:49 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2975. * Makefile.in (monitor.o): For moment, don't try to compile with
  2976. -Werror. monitor.c has -Wformat problems. See Makefile.in for
  2977. more info.
  2978. Tue Aug 31 21:23:38 1999 Jeffrey A Law (law@cygnus.com)
  2979. * hppa-tdep.c (prologue_inst_adjust_sp): Correct offset computation
  2980. for doubleword store instructions.
  2981. (hppa_frame_find_saved_regs): Similarly.
  2982. Wed Sep 1 09:22:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
  2983. * d30v-tdep.c (d30v_print_register):
  2984. (tdisassemble_command):
  2985. * d10v-tdep.c (show_regs, trace_info, tdisassemble_command): Fix
  2986. printf problems.
  2987. * remote-sim.c (dump_mem), remote-rdi.c (arm_rdi_create_inferior):
  2988. Fix printf arguments.
  2989. * remote-mips.c, mips-tdep.c: Move declaration of
  2990. ``mips_set_processor_type_command'' from here.
  2991. * config/mips/tm-mips.h: To here.
  2992. * remote-array.c: #include "inferior.h".
  2993. * config/mips/tm-embed.h (remote_mips_stopped_by_watchpoint): Add
  2994. declaration.
  2995. * remote-mips.c (remote_mips_stopped_by_watchpoint): Define using
  2996. ISO-C prototype.
  2997. (monitor_supports_breakpoints): Integer variable.
  2998. * m32r-rom.c: #include "inferior.h" and <ctype.h>
  2999. * config/m32r/tm-m32r.h (m32r_write_sp): Add declaration.
  3000. * config/i960/tm-i960.h (leafproc_return, i960_pop_frame): Add
  3001. declaration.
  3002. (POP_FRAME): Call i960_pop_frame.
  3003. * i960-tdep.c (i960_pop_frame): Rename pop_frame.
  3004. * mon960-rom.c: #include "inferior.h" for declaration of write_pc.
  3005. 1999-08-15 Fred Fish <fnf@cygnus.com>
  3006. * objfiles.c (objfile_relocate): Use SIZEOF_SECTION_OFFSETS when
  3007. allocating section_offsets array.
  3008. * remote-os9k.c (rombug_wait): Ditto.
  3009. * remote-vx.c (vx_add_symbols): Ditto.
  3010. * remote.c (get_offsets): Ditto.
  3011. (remote_cisco_objfile_relocate): Ditto.
  3012. * rs6000-nat.c (vmap_symtab): Ditto.
  3013. * dstread.c (dst_symfile_offsets): Set section_offsets directly instead
  3014. of returning a pointer to section offsets.
  3015. * somread.c (som_symfile_offsets): Ditto.
  3016. * xcoffread.c (xcoff_symfile_offsets): Ditto.
  3017. * symfile.c (default_symfile_offsets): Ditto.
  3018. (syms_from_objfile): The sym_offsets function has already set section
  3019. offsets and no longer returns a value.
  3020. * xcoffread.c (scan_xcoff_symtab): Eliminate section_offsets passed
  3021. separate from objfile.
  3022. (xcoff_start_psymtab): Ditto.
  3023. (START_PSYMTAB): Ditto.
  3024. * os9kread.c (read_minimal_symbols): Ditto.
  3025. (read_os9k_psymtab): Ditto.
  3026. (os9k_start_psymtab): Ditto.
  3027. (record_minimal_symbol): Ditto.
  3028. * dbxread.c (START_PSYMTAB): Ditto.
  3029. (start_psymtab): Ditto.
  3030. * mdebugread.c (START_PSYMTAB): Ditto.
  3031. (elfmdebug_build_psymtabs): Ditto.
  3032. (mdebug_build_psymtabs): Ditto.
  3033. (parse_partial_symbols): Ditto.
  3034. (new_psymtab): Ditto.
  3035. * dwarfread.c (dwarf_build_psymtabs): Ditto.
  3036. * partial-stab.h (START_PSYMTAB): Ditto.
  3037. * stabsread.h (start_psymtab): Ditto.
  3038. * dwarf2read.c (dwarf2_build_psymtabs): Ditto.
  3039. (dwarf2_build_psymtabs_easy): Ditto.
  3040. (dwarf2_build_psymtabs_hard): Ditto.
  3041. * hp-psymtab-read.c (hpread_build_psymtabs): Ditto.
  3042. (hpread_quick_traverse): Ditto.
  3043. (hpread_start_psymtab): Ditto.
  3044. (scan_procs): Ditto.
  3045. * hpread.c (hpread_build_psymtabs): Ditto.
  3046. * symfile.h (dwarf2_build_psymtabs): Ditto.
  3047. * dbxread.c (read_dbx_symtab): Use ANOFFSET to access section
  3048. offsets.
  3049. * coffread.c (enter_linenos): Pass objfile instead of section
  3050. offsets.
  3051. * dbxread.c (dbx_symfile_read): No need to explicitly pass
  3052. text addr and size. Let read_dbx_symtab find them.
  3053. (read_dbx_symtab): Get text addr and size from objfile.
  3054. (dbx_symfile_read): Remove dead code (call to strlen);
  3055. 1999-08-31 Michael Snyder <msnyder@cleaver.cygnus.com>
  3056. * Makefile.in: add rule for sol-thread.o.
  3057. Add rule for linux-thread.o.
  3058. 1999-08-13 Jim Kingdon <kingdon@redhat.com>
  3059. Threads code from gdb 4.18-codefusion-990706
  3060. [Thanks to Eric Paire, H. J. Lu, Jim Blandy and others]
  3061. * infrun.c (signal_stop_update, signal_print_update,
  3062. signal_pass_update): new functions.
  3063. * inferior.h: new prototypes for above functions.
  3064. * target.h (enum strata): add thread stratum.
  3065. * linux-thread.c: new file. Support for debugging linux threads.
  3066. * config/i386/nm-linux.h: several new prototypes for above.
  3067. * config/i386/linux.mh: add linux-thread.o to NATDEPFILES.
  3068. More threads code from the same place:
  3069. * config/i386/tm-linux.h (REALTIME_LO, REALTIME_HI): Add
  3070. definitions.
  3071. * target.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_32.
  3072. * target.c (signals, target_signal_from_host,
  3073. target_signal_to_host): Add clauses for
  3074. TARGET_SIGNAL_REALTIME_32.
  3075. 1999-08-31 Neil Schellenberger <neil.schellenberger@crosskeys.com>
  3076. * sol-thread.c (sol_thread_detach): strip thread-id out of
  3077. inferior_pid, so that procfs_detach can't choke on it.
  3078. 1999-08-31 J.T. Conklin <jtc@redback.com>
  3079. * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
  3080. sparcl-stub.c, sparclet-stub.c (getpacket): Remove 'buffer' arg,
  3081. define it as a pointer to &remcomInBuffer[0].
  3082. (handle_exception): Update.
  3083. * sparc-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
  3084. Removed #ifdef'd out code which implements the non-standard 'b'
  3085. (set baud rate) command.
  3086. 1999-08-31 Stan Shebs <shebs@andros.cygnus.com>
  3087. * infrun.c (keep_going): New function, broken out from the
  3088. keep_going label in handle_inferior_event.
  3089. (handle_inferior_event): Change more gotos into function calls.
  3090. Tue Aug 31 02:29:27 1999 Jeffrey A Law (law@cygnus.com)
  3091. * hppa-tdep.c (read_unwind_info): Handle multiple unwind sections.
  3092. Tue Aug 31 15:28:44 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3093. * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Fix printf
  3094. format argument.
  3095. * alpha-tdep.c (heuristic_proc_start): Ditto.
  3096. From Stan Shebs <shebs@andros.cygnus.com>:
  3097. * defs.h (strlen_paddr): Fix prototype - add void argument list.
  3098. Tue Aug 31 14:02:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3099. * defs.h (gdb_print_host_address), utils.c
  3100. (gdb_print_host_address): Rename gdb_print_address.
  3101. * expprint.c, gdbtypes.c, symmisc.c: Update.
  3102. *expprint.c: Use gdb_print_host_address when displaying native
  3103. pointers.
  3104. Sat Aug 28 14:23:29 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3105. * scm-valprint.c (scm_ipruk), jv-valprint.c (java_value_print),
  3106. cp-valprint.c (cp_print_class_member), exec.c (exec_files_info),
  3107. remote.c (putpkt_binary, compare_sections_command,
  3108. remote_cisco_section_offsets), dcache.c (dcache_info),
  3109. breakpoint.c (break_at_finish_at_depth_command_1,
  3110. break_at_finish_command_1), symfile.c (generic_load),
  3111. (report_transfer_performance), top.c (get_prompt_1), f-valprint.c
  3112. (f_val_print), maint.c (maintenance_translate_address): Fix printf
  3113. -Wformat warnings. Use paddr, paddr_nz, sizeof_paddr, paddr_u and
  3114. paddr_d to print addresses. Change ``d'' to ``ld''.
  3115. * utils.c (strlen_paddr): New function.
  3116. Tue Aug 31 01:36:44 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3117. * config/d30v/tm-d30v.h (d30v_frame_chain,
  3118. d30v_init_frame_pc): Add declaration.
  3119. * arc-tdep.c (arc_pop_frame): Rename pop_frame.
  3120. (arc_push_dummy_frame): Rename push_dummy_frame.
  3121. (arc_set_cpu_type_command): Add declaration.
  3122. * config/arc/tm-arc.h (arc_pop_frame, arc_push_dummy_frame): Add
  3123. declaration.
  3124. 1999-08-30 Stan Shebs <shebs@andros.cygnus.com>
  3125. * infrun.c (prepare_to_wait): New function, broken out from the
  3126. wfi_continue label in handle_inferior_event.
  3127. (handle_inferior_event): Change more gotos into function calls.
  3128. 1999-08-30 Michael Snyder <msnyder@cleaver.cygnus.com>
  3129. * tracepoint.c: -Wall warning cleanup.
  3130. (parse_and_eval_memrange): remove (unused).
  3131. (output_command, args_info, locals_info, registers_info): add decls.
  3132. (getpkt, putpkt, remote_console_output): add decls.
  3133. (isalnum, isspace): cast arg to avoid warning.
  3134. (printf, fprintf, sprintf): use [fs]printf_vma for printing addrs.
  3135. Mon Aug 30 21:47:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3136. * d10v-tdep.c: #include "language.h".
  3137. Mon Aug 30 20:38:57 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3138. * configure.in (AC_CHECK_HEADERS): Check for <time.h>.
  3139. * configure, acconfig.in: Re-generate.
  3140. * remote-rdp.c: #include <time.h>
  3141. * config/arm/tm-arm.h (arm_float_info): Add declaration.
  3142. * arm-tdep.c (convert_from_extended, convert_to_extended): Change
  3143. double ptr arg to void ptr arg.
  3144. * config/arm/tm-arm.h (arm_frameless_function_invocation): Add
  3145. declaration.
  3146. (arm_frame_find_saved_regs): Rename frame_find_saved_regs.
  3147. (convert_from_extended, convert_to_extended): Add declaration.
  3148. Mon Aug 30 19:05:32 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3149. * configure.in (WERR_CFLAGS): Separate the -Werror flag.
  3150. * configure: Re-generate.
  3151. * Makefile.in (INTERNAL_CFLAGS): Re-define using
  3152. INTERNAL_WARN_CFLAGS.
  3153. (INTERNAL_WARN_CFLAGS): Define. Leave off WERR_CFLAGS.
  3154. (tracepoint.o): Add explicit rule.
  3155. (WERR_CFLAGS): Add definition.
  3156. Mon Aug 30 17:52:17 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3157. * utils.c: #include "event-loop.h" for declaration of
  3158. async_request_quit.
  3159. * Makefile.in (utils.o): Add dependency on event-loop.h.
  3160. * event-top.c (mark_async_signal_handler_wrapper,
  3161. async_request_quit): Move declaration from here.
  3162. * event-loop.h: To here.
  3163. * defs.h: Add declaration of exec.c:exec_set_section_offsets.
  3164. * event-top.c: #include "gdbcmd.h" which includes "command.h" and
  3165. hence expose declaration of function dont_repeat.
  3166. * top.c (ISATTY), tracepoint.c (ISATTY), utils.c (ISATTY),
  3167. event-top.c (ISATTY): Move definitions from here.
  3168. * defs.h (ISATTY): To here. #include <unistd.h>.
  3169. * sol-thread.c, solib.c, source.c, sparcl-tdep.c, tracepoint.c,
  3170. utils.c, win32-nat.c, wince.c, top.c, symfile.c, ser-unix.c,
  3171. ser-tcp.c, procfs.c, maint.c, infttrace.c, hppa-tdep.c,
  3172. ser-pipe.c, remote-rdp.c, main.c, inftarg.c, inflow.c,
  3173. hpux-thread.c, hp-psymtab-read.c, go32-nat.c, fork-child.c,
  3174. corelow.c, command.c: Do not #include <unistd.h>, moved to defs.h.
  3175. Mon Aug 30 15:14:43 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3176. * defs.h (struct tui_stream, enum streamtype): Move from here.
  3177. * utils.c: To here.
  3178. * main.c (tui_file_fputs): Move from here.
  3179. * utils.c: To here.
  3180. Sun Aug 29 10:03:32 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3181. * gdb-events.h, gdb-events.c, gdb-events.sh: New files.
  3182. 1999-08-27 Michael Snyder <msnyder@cleaver.cygnus.com>
  3183. * solib.c (open_symbol_file_object): new function.
  3184. Called when attaching to a new process, if there is no loaded
  3185. symbol file. Attempts to locate the executable file for the
  3186. attached process and load symbols from it.
  3187. (solib_add): Call open_symbol_file_object if attaching to a
  3188. new process and no open symbol file.
  3189. 1999-08-27 Jason Molenda (jsm@bugshack.cygnus.com)
  3190. * config/i386/tm-sun386.h (GDB_TARGET_IS_SUN386): Definition
  3191. removed--no longer checked anywhere in gdb.
  3192. 1999-08-27 Stan Shebs <shebs@andros.cygnus.com>
  3193. * infrun.c (stop_stepping): New function, broken out from
  3194. stop_stepping label in handle_inferior_event.
  3195. (handle_inferior_event): Change gotos into function calls.
  3196. Fri Aug 27 20:13:22 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3197. * defs.h (LONGEST): Move definition to earlier in file - to just
  3198. after BFD.
  3199. (paddr_u, paddr_d): Declare.
  3200. * utils.c (decimal2str): New function.
  3201. (paddr_u, paddr_d): Define.
  3202. * remote.c (remote_cisco_section_offsets,
  3203. compare_sections_command): Fix XprintfX arguments. Use paddr...
  3204. (putpkt_binary): Fix XprintfX arguments.
  3205. Tue Aug 24 21:30:36 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3206. * arm-tdep.c (arm_init_extra_frame_info): Add braces. Recommended
  3207. by gcc -Wparentheses.
  3208. 1999-08-26 Stan Shebs <shebs@andros.cygnus.com>
  3209. * infrun.c (check_sigtramp2): New function, broken out from
  3210. check_sigtramp2 label in handle_inferior_event.
  3211. (handle_inferior_event): Change gotos into function calls.
  3212. Declare Tahoe configuration obsolete.
  3213. * configure.host, configure.tgt: Comment out Tahoe configs.
  3214. * Makefile.in: Comment out Tahoe-related action.
  3215. * tahoe-tdep.c, config/tahoe/*: Comment out.
  3216. * NEWS: Mention obsolete status.
  3217. 1999-08-26 J.T. Conklin <jtc@redback.com>
  3218. * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sh-stub.c,
  3219. sparc-stub, sparcl-stub.c sparclet-stub.c (getpacket): If '$',
  3220. the packet start character is received in the 'middle' of a
  3221. packet, assume that packet end character has been lost and
  3222. start a new packet.
  3223. * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
  3224. sparcl-stub.c sparclet-stub.c (getpacket): Changed to return ptr
  3225. to first character of input buffer. Removed & 0x7f masks.
  3226. (handle_exception): Don't access remcomInBuffer directly.
  3227. 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
  3228. * breakpoint.c (disable_breakpoints_in_shlibs): Only disable
  3229. enabled breakpoints.
  3230. Tue Aug 24 14:59:23 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3231. * tracepoint.c, remote.c, pa64solib.h, value.h, somsolib.h,
  3232. solib.h, scm-lang.h, language.h, inferior.h, defs.h, coff-solib.h,
  3233. ch-lang.h, breakpoint.h, annotate.h: Remove #if __STDC__ wrapping
  3234. struct declarations.
  3235. * config/sparc/nm-sun4sol2.h, config/mn10300/tm-mn10300.h,
  3236. config/mn10200/tm-mn10200.h, config/i386/tm-i386.h,
  3237. config/i386/tm-i386v.h, config/i386/nm-i386sol2.h,
  3238. config/pa/nm-hppah.h, config/rs6000/nm-rs6000.h,
  3239. config/sparc/tm-sp64.h, config/v850/tm-v850.h,
  3240. config/tic80/tm-tic80.h, config/sparc/tm-sparc.h,
  3241. config/sh/tm-sh.h, config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h,
  3242. config/mips/tm-mips.h, config/m68k/tm-m68k.h,
  3243. config/m32r/tm-m32r.h, config/i960/tm-mon960.h,
  3244. config/fr30/tm-fr30.h, config/h8300/tm-h8300.h,
  3245. config/arm/tm-arm.h, config/alpha/tm-alpha.h,
  3246. config/a29k/tm-a29k.h: Ditto.
  3247. Wed Aug 25 10:45:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3248. * Makefile.in (gdb$(EXEEXT)): Add dependency on TDEPLIBS.
  3249. * config/arm/arm.mt (TDEPLIBS): Define. Move libangsd.a to here.
  3250. (TDEPFILES): From here.
  3251. 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  3252. * top.c (init_main): Add new set/show command exec-done-display,
  3253. default value is off.
  3254. * event-loop.h: Export exec_done_display_p.
  3255. * event-top.c: New variable exec_done_display_p.
  3256. * infrun.c (complete_execution): Print completion message if
  3257. corresponding flag is set.
  3258. * top.c (DEFAULT_PROMPT): Add space after "(gdb)" at end of prompt.
  3259. From: J.T. Conklin <jtc@redback.com>
  3260. * top.c (DEFAULT_PROMPT): Set to "(gdb)" if not already defined.
  3261. (init_main): Always use DEFAULT_PROMPT.
  3262. Tue Aug 24 03:23:31 1999 Jeffrey A Law (law@cygnus.com)
  3263. * hppa-tdep.c: Remove useless "purecov: deadcode" comments.
  3264. (hppa_use_struct_convention): Update for PA64.
  3265. (hppa_frame_saved_pc): Properly extract the saved PC in a call
  3266. dummy frame.
  3267. (in_solib_call_trampoline): Return nonzero if we are in a function
  3268. called ".stub".
  3269. (prologue_inst_adjust_sp): Handle std,ma.
  3270. (skip_prologue_hard_way): Handle more PA2.0/PA64 insns.
  3271. (hppa_frame_find_saved_regs): Similarly. Handle indirect save of
  3272. %r3 into the stack.
  3273. * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Define.
  3274. (CALL_DUMMY_BREAKPOINT_OFFSET): Define.
  3275. Tue Aug 24 14:59:23 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3276. * Makefile.in (gdb$(EXEEXT)): Add dependency on main.o that was
  3277. lost when libgdb.a was added.
  3278. Tue Aug 24 14:26:34 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3279. * gdbarch.c, gdbarch.h: Convert to pure ISO-C.
  3280. * gdbarch.sh: New file.
  3281. * gdbarch.c, gdbarch.h: Add note describing gdbarch.sh
  3282. Mon Aug 23 19:36:17 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3283. * Makefile.in (libgdb.a): New target.
  3284. (gdb$(EXEEXT)): Add dependency on libgdb.a.
  3285. (libgdb-files, LIBGDB_OBS, libgdb, LIBGDBDEPS, LIBGDBFILES): Delete.
  3286. Mon Aug 23 10:16:32 1999 Jeffrey A Law (law@cygnus.com)
  3287. * infttrate.c (child_pid_to_exec_file): Find the correct base
  3288. of the stack for PA64.
  3289. * pa64solib.c: Fix some minor whitespace problems.
  3290. (bfd_lookup_symbol): New function.
  3291. (pa64_solib_create_inferior_hook): Find the address __dld_break
  3292. in the dynamic linker. Try to set a shlib event breakpoint in
  3293. that function.
  3294. (add_to_solist): Do not add the same shared library to the shlib
  3295. list more than once.
  3296. Sun Aug 22 14:49:40 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3297. * value.h (enum lval_type): Move declaration from here.
  3298. * defs.h (enum lval_type): To here.
  3299. * frame.h, gdbarch.h: Delete incomplete declaration of ``enum
  3300. lval_type''.
  3301. 1999-08-20 Michael Snyder <msnyder@cleaver.cygnus.com>
  3302. * breakpoint.c (can_use_hardware_watchpoint): reject expressions
  3303. that refer to registers or register variables.
  3304. Fri Aug 20 10:53:38 1999 Jeffrey A Law (law@cygnus.com)
  3305. * hppa-tdep.c (hppa_fix_call_dummy): Provide PA2.0W aware code.
  3306. * pa64solib.c pa64solib.h: New files.
  3307. * config/pa/hppa64.mt: Delete commented out code that is and
  3308. never will be appropriate for this target.
  3309. * config/pa/hpux11w.mt (TDEPFILES): Remove SOM references. Also
  3310. remove pa64solib.o.
  3311. * config/pa/hpux11w.mh (NATDEPFILES): Remove SOM references.
  3312. * configure.host; Use "hpux11w" and "hpux11" instead of
  3313. "hpux1100w" and "hpux1100" respectively
  3314. * config/pa/hpux11w.mh: Renamed from hpux1100w.mh.
  3315. * config/pa/hpux11w.mt, config/pa/hpux11.mh: Likewise.
  3316. * config/pa/hpux11.mt: Likewise.
  3317. 1999-08-19 Michael Snyder <msnyder@cleaver.cygnus.com>
  3318. * breakpoint.h (target_hw_bp_type): new enum.
  3319. * breakpoint.c (insert_breakpoints): use enum instead of consts.
  3320. (remove_breakpoint): use enum instead of consts.
  3321. (throughout): use "warning" instead of "fprintf(stderr, ..."
  3322. [Also clean up a bunch of excessively long lines.]
  3323. 1999-08-19 J.T. Conklin <jtc@redback.com>
  3324. * i386-stub.c (waitabit): Removed.
  3325. (breakpoint): Update.
  3326. * i386-stub.c, m32r-stub.c, sparc-stub.c, sparcl-stub.c,
  3327. sparclet-stub.c (set_debug_traps): Don't send gratuitous ACK.
  3328. * m68k-stub.c (putpacket): Restore code so that packets are sent
  3329. until an ACK is received.
  3330. 1999-08-19 Eli Zaretskii <eliz@is.elta.co.il>
  3331. * breakpoint.c (bpstat_stop_status): Accept triggered addresses
  3332. anywhere inside the region occupied by a watched variable as a
  3333. sign that the watchpoint fired. Don't stop if some watchpoint
  3334. was triggered, but its address doesn't match the address of this
  3335. watchpoint.
  3336. (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New macro.
  3337. Default definition is to call TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT.
  3338. (can_use_hardware_watchpoint): Call TARGET_REGION_OK_FOR_HW_WATCHPOINT;
  3339. if it returns zero, return zero immediately.
  3340. (insert_breakpoints): Try to insert watchpoints for all the values
  3341. on the value chain, even if some of them fail to insert. Remove
  3342. the breakpoint if parts of its value chain couldn't be inserted.
  3343. 1999-08-19 Eli Zaretskii <eliz@is.elta.co.il>
  3344. * go32-nat.c (go32_stopped_by_watchpoint): Remove unused code.
  3345. 1999-08-19 Eli Zaretskii <eliz@is.elta.co.il>
  3346. * go32-nat.c (tcgetpgrp, tcsetpgrp): New functions.
  3347. 1999-08-19 Eli Zaretskii <eliz@is.elta.co.il>
  3348. * go32-nat.c (go32_wait): If we are in a single-step mode, and the
  3349. next instruction is INT nn or INTO, use a temporary breakpoint to
  3350. simulate single-step mode, and reset the trace flag.
  3351. 1999-08-19 Eli Zaretskii <eliz@is.elta.co.il>
  3352. * go32-nat.c (wp_op): New typedef.
  3353. (SHOW_DR): Print the length of watched region as well.
  3354. (go32_insert_aligned_watchpoint): Remove unused argument PID. All
  3355. callers and the prototype changed.
  3356. (go32_handle_nonaligned_watchpoint): Renamed from
  3357. go32_insert_nonaligned_watchpoint. Now handles all operations on
  3358. non-aligned watchpoints: insertion, deletion, and counting. If
  3359. called with wp_count as the first argument, return the count of
  3360. debug registers needed to watch the region. Don't break out of
  3361. the loop before all the addresses in the region are processed.
  3362. (go32_remove_watchpoint): Call go32_remove_aligned_watchpoint to
  3363. do the actual work.
  3364. (go32_remove_aligned_watchpoint): New function, modeled after
  3365. go32_insert_aligned_watchpoint. Removes watchpoints that watch
  3366. regions of arbitrary length by calling
  3367. go32_handle_nonaligned_watchpoint as needed.
  3368. (go32_region_ok_for_watchpoint): New function, called from
  3369. can_use_hardware_watchpoint via the new macro
  3370. TARGET_REGION_OK_FOR_HW_WATCHPOINT.
  3371. * config/i386/nm-go32.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
  3372. Define to call go32_region_ok_for_watchpoint.
  3373. (DECR_PC_AFTER_HW_BREAK): Define back to zero (previous redefinition
  3374. to 1 was due to a bug in go32-nat.c).
  3375. 1999-08-19 Eli Zaretskii <eliz@is.elta.co.il>
  3376. * go32-nat.c (cleanup_dregs): New function.
  3377. (go32_mourn_inferior): Call it.
  3378. (IS_REG_FREE, LOCAL_ENABLE_REG, GLOBAL_ENABLE_REG, DISABLE_REG,
  3379. SET_BREAK, SET_WATCH, IS_WATCH, WATCH_HIT): Protect arguments with
  3380. parentheses.
  3381. (SET_BREAK): Increment the debug register's reference count.
  3382. (DR_DEF): New macro, returns the access and length bits of the
  3383. breakpoint.
  3384. (SHOW_DR): Print the reference count of each register. Disable or
  3385. enable print-out depending on an environment variable GDB_SHOW_DR.
  3386. (go32_insert_aligned_watchpoint): Look for an occupied debug
  3387. register with the same address and access/length bits, and reuse
  3388. it by incrementing reference the count, before occupying another
  3389. register. Return zero upon success.
  3390. (go32_insert_nonaligned_watchpoint): Pass the read/write bits to
  3391. go32_remove_watchpoint.
  3392. (go32_remove_watchpoint): Accept an additional parameter: the
  3393. read/write bits of the watchpoint to remove, and only remove a
  3394. watchpoint if it's occupied and its address and read/write bits
  3395. match. Only disable the register if its reference count is zero;
  3396. otherwise just decrease the reference count.
  3397. (go32_remove_hw_breakpoint): Only decrease reference count and
  3398. disable the debug register if it is occupied and its access bits
  3399. match those of an instruction breakpoint.
  3400. (go32_insert_hw_breakpoint): Before occupying another debug
  3401. register, look for an already occupied register that defines an
  3402. instruction breakpoint with the same address. If found, increment
  3403. its reference count. Call SHOW_DR even if failed to insert a
  3404. breakpoint.
  3405. * config/i386/nm-go32.h (target_remove_watchpoint): Accept the
  3406. TYPE argument as well.
  3407. Wed Aug 18 17:47:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3408. * mips-tdep.c: Add more comments.
  3409. 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
  3410. * blockframe.c: Don't use PARAMS anymore, remove obsolete comment
  3411. about frameless functions.
  3412. 1999-08-16 Michael Snyder <msnyder@cleaver.cygnus.com>
  3413. * thread.c (delete_thread): delete any step_resume breakpoint
  3414. held by the thread. (prune_threads): call delete_thread.
  3415. * breakpoint.c (breakpoint_init_inferior): if startup, then
  3416. delete any remaining step_resume breakpoints.
  3417. * infrun.c (handle_inferior_event): add cautionary comment.
  3418. 1999-08-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
  3419. * remote.c (remote_async_mourn): New function. Async version of
  3420. remote_mourn().
  3421. 1999-08-16 Eli Zaretskii <eliz@is.elta.co.il>
  3422. * terminal.h [__GO32__]: Remove conditional; DJGPP now supports
  3423. termios.
  3424. 1999-08-16 Eli Zaretskii <eliz@is.elta.co.il>
  3425. * command.c (CANT_FORK) [__MSDOS__]: Define.
  3426. (shell_escape) [CANT_FORK]: If ARG is NULL, pass an empty string
  3427. to `system'.
  3428. [__DJGPP__]: Return to the original directory after the shell
  3429. exits.
  3430. 1999-08-16 Eli Zaretskii <eliz@is.elta.co.il>
  3431. * config/i386/xm-go32.h (ROOTED_P): Don't reference X[1] if X[0]
  3432. is a null character.
  3433. * config/i386/nm-go32.h (DECR_PC_AFTER_HW_BREAK): Define to 1.
  3434. 1999-08-16 Eli Zaretskii <eliz@is.elta.co.il>
  3435. * go32-nat.c (redir_cmdline_parse, redir_cmdline_delete,
  3436. redir_to_child, redir_to_debugger, redir_debug_init)
  3437. [__DJGPP_MINOR__ < 3]: Dummy stubs for redirecting debuggee's
  3438. standard handles.
  3439. (print_387_status): Print "last FP instruction", not "last
  3440. exception". Restore the upper 5 bits of the opcode that aren't
  3441. stored in the FPU state. Print the FPU stack in its physical
  3442. order, not relative to ST(0). Print "special", not "trap" for
  3443. unnormals and infinities. Print all 10 bytes of each FP register,
  3444. and print them with 19 significant digits.
  3445. (regno_mapping): Make the mapping consistent with tm-go32.h.
  3446. (sig_map): Add mappings for SIGQUIT, SIGFPE, SIGALRM. Map NMI to
  3447. SIGBUS.
  3448. (excep_map): New variable, maps GDB signals to DJGPP exceptions.
  3449. (go32_attach): Signal an error: we cannot attach to other
  3450. processes.
  3451. (go32_resume): Record the signal with which the inferior should be
  3452. resumed, mapped to the DJGPP exception number.
  3453. (go32_wait): Pass the signal recorded in go32_resume to the
  3454. debuggee. Save and restore debugger's and debuggee's current
  3455. working directory.
  3456. [__DJGPP_MINOR__ < 3]: Save and restore inferior's FPU state.
  3457. (store_register): FPU regsiters have numbers less than 31.
  3458. (go32_kill_inferior): Delete the parsed command-line storage.
  3459. (go32_create_inferior): Initialize the parsed command-line
  3460. storage. Parse the command line and create the redirections for
  3461. inferior's standard handles.
  3462. [__DJGPP_MINOR__ < 3]: Init the inferior's FPU state.
  3463. (ignore2): Function deleted.
  3464. (device_mode): New function, switches a character device between
  3465. raw and cooked mode.
  3466. (go32_terminal_init): Invalidate the raw/cooked mode information.
  3467. (go32_terminal_info): Print whether the inferior's terminal is in
  3468. raw or cooked mode.
  3469. [__DJGPP_MINOR__ > 2]: Say if standard handles are redirected or
  3470. closed by the inferior.
  3471. (go32_terminal_inferior): Switch standard handles to the
  3472. inferior's files/devices. Put the inferior's input device to
  3473. raw/cooked mode, exactly like we found it last time.
  3474. (go32_terminal_ours): Restore debugger's standard handles and put
  3475. the terminal into cooked mode. Save the mode of inferior's input
  3476. device.
  3477. (init_go32_ops): Assign go32_ops.to_attach,
  3478. go32_ops.to_terminal_info, go32_ops.to_terminal_ours_for_output.
  3479. Initialize inferior's cwd and the command-line storage.
  3480. Mon Aug 16 14:29:30 1999 Jeffrey A Law (law@cygnus.com)
  3481. * config/pa/tm-hppa.h (ARGS_GROW_DOWNWARD): Define.
  3482. * config/pa/tm-hppa64.h (ARGS_GROW_DOWNWARD): Undefine.
  3483. * hppa-tdep.c (hppa_push_arguments): Handle arguments growing in
  3484. both directions depending ARGS_GROW_DOWNWARD.
  3485. (hppa_find_saved_regs): Update for 64bit wide registers & pointers
  3486. and PA64 ABI.
  3487. * hppa-tdep.c (hppa_pop_frame): Various fixes for 64bit wide
  3488. registers and pointers.
  3489. (hppa_fix_call_dummy, skip_trampoline_code): Likewise.
  3490. (restore_pc_queue): Update tests for width of memory loads.
  3491. (hppa_push_arguments): Delete version that was #if 0'd out.
  3492. * hppa-tdep.c (push_dummy_frame): Handle the new 64it ABI.
  3493. (find_dummy_frame_regs): Corresponding changes.
  3494. * hppa-tdep.c (read_unwind_info): Initialize obj_private->dp.
  3495. (internalize_unwinds): Improve test for when to use segment
  3496. relative code for unwinder bounds.
  3497. (rp_saved): Fix offset of saved return pointer for the 64bit ABI.
  3498. (hppa_frame_saved_pc): Various updates to handle 64bit registers
  3499. and pointers.
  3500. (frame_chain, restore_pc_queue): Likewise.
  3501. * hppa-tdep.c (rp_saved): RP is saved at frame-16 when
  3502. pointers are 64bits wide.
  3503. * hppa-tdep.c (record_text_segment_lowaddr): New function.
  3504. (internalize_unwinds): Use it if addressess are 8 bytes wide.
  3505. * symfile.c (syms_from_objfile): No longer warn if the lowest
  3506. section does not have SEC_CODE set.
  3507. * Makefile.in (pa64solib.o): Add dependencies.
  3508. * hppah-nat.c (store_inferior_registers): Do not try to write a
  3509. nonzero value to the high part of IPSW. Fix typo in unable to store
  3510. warning.
  3511. * config/pa/tm-hppa.h (opd_data structure): Delete. Not actually
  3512. needed.
  3513. (struct obj_private_struct): Add new entry for the objfile's DP
  3514. value.
  3515. * config/pa/tm-hppa64.h (CALL_DUMMY): Add a nop to make it an even
  3516. number of instructions. Pack the dummy into word sized hunks.
  3517. (CALL_DUMMY_LENGTH): Update appropriately.
  3518. (PC_IN_CALL_DUMMY, CALL_DUMMY_LOCATION_AFTER_TEXT_END): Delete.
  3519. Mon Aug 16 19:08:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3520. * configure.in: Try -lsocket when looking for socketpair.
  3521. * configure, config.h: Re-generate.
  3522. 1999-08-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  3523. From Christopher Faylor <cgf@cygnus.com>:
  3524. * event-loop.c (gdb_wait_for_event): Before going to wait for
  3525. another event with select or poll, flush the error and the output
  3526. streams.
  3527. * event-top.c (gdb_readline2): Do not buffer the input, because
  3528. doing so can interfere with select/poll in bad ways.
  3529. Fri Aug 13 17:36:56 1999 Eli Zaretskii <eliz@is.elta.co.il>
  3530. * maint.c (maintenance_dump_me) [__DJGPP__]: Simulate a core dump
  3531. with SIGABRT.
  3532. * utils.c (quit) [__MSDOS__]: Don't mention SIGINT, since it's not
  3533. gonna happen.
  3534. (notice_quit): No need to define this function for the DJGPP port.
  3535. 1999-08-13 James Ingham <jingham@leda.cygnus.com>
  3536. * arm-tdep.c (arm_frameless_function_invocation): SKIP_PROLOGUE
  3537. macro no longer modifies its argument. Update uses to accord.
  3538. * config/arm/arm.mt (TDEPFILES): Add the remote-rdi.o to the
  3539. TDEPFILES.
  3540. * configure.tgt: Add rdi-share to configdir for the Arm targets.
  3541. Fri Aug 13 11:16:32 1999 Jeffrey A Law (law@cygnus.com)
  3542. * hppah-nat.c (store_inferior_registers): Revamp to be PA2.0W
  3543. aware.
  3544. * infttrace.c (ttrace_write_reg_64): New function.
  3545. * hp-symtab-read.c (is_in_import_list): Delete extern declaration.
  3546. * somread.c (is_in_import_list): Delete function.
  3547. * objfiles.c (is_in_import_list): New function.
  3548. * objfiles.h (is_in_import_list): Declare.
  3549. * config/pa/tm-hppa64.h (GDB_TARGET_IS_HPPA20W): Define before
  3550. including tm-hppah.h.
  3551. (PC_IN_CALL_DUMMY): Define.
  3552. (HPUX_1100): Similarly.
  3553. * config/pa/tm-hppa.h (somsolib.h, pa64solib.h): Conditionalize
  3554. includes on GDB_TARGET_IS_HPPA20W.
  3555. * configure.host: Distinguish between wide and narrow modes
  3556. for hpux11.
  3557. * config/pa/hpux1100w.mh, config/pa/hpux1100w.mt: New files.
  3558. * config/pa/tm-hppa64.h (STACK_ALIGN): Redefine.
  3559. (REG_PARM_STACK_SPACE): Likewise.
  3560. * config/pa/tm-hppa.h (CLEAN_UP_REGISTER_VALUE): Handle 64bit
  3561. PA target correctly.
  3562. (REG_PARM_STACK_SPACE): Define.
  3563. (struct unwind_table_entry): region_start and region_end are
  3564. CORE_ADDRs.
  3565. (typedef opd_data): New.
  3566. (obj_private_data_t): Include pointer to opd_data structure.
  3567. 1999-08-13 Keith Seitz <keiths@cygnus.com>
  3568. * stabsread.c (stabsread_clear_cache): New funciton which clears
  3569. an optimization cache of the reader.
  3570. * coffread.c (coff_symfile_finish): Give stabs reader a chance to
  3571. clean up.
  3572. * win32-nat.c (handle_load_dll): Don't suppress re-reading symbols
  3573. from a DLL if an objfile for it already exists. (Not that this should
  3574. happen anymore anyway...)
  3575. 1999-08-13 Keith Seitz <keiths@cygnus.com>
  3576. * config/mcore/tm-mcore.h (SAVE_DUMMY_FRAME_TOS): Define for MCore,
  3577. which also requires that the stack pointer be saved for call
  3578. dummies BEFORE arguments get pushed onto it.
  3579. 1999-08-12 Stan Shebs <shebs@andros.cygnus.com>
  3580. From Eli Zaretskii <eliz@is.elta.co.il>:
  3581. * source.c (mod_path) [_WIN32 || __DJGPP__]: Don't remove trailing
  3582. slash from "d:/". Don't overstep the beginning of name.
  3583. [_WIN32 || __MSDOS__]: Convert "d:" to "d:.", otherwise appending
  3584. a slash changes its meaning.
  3585. (openp): Use SLASH_P, not equality with SLASH_CHAR.
  3586. (print_source_lines_base) [CRLF_SOURCE_FILES]: Skip \r only before
  3587. a \n.
  3588. (forward_search_command) [CRLF_SOURCE_FILES]: Remove \r at the end
  3589. of all lines.
  3590. (reverse_search_command) [CRLF_SOURCE_FILES]: Likewise.
  3591. * gnu-regex.c (CHAR_CLASS_MAX_LENGTH): Don't use wide characters
  3592. unless HAVE_BTOWC is defined.
  3593. Fri Aug 13 10:20:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3594. From J.T. Conklin <jtc@redback.com>:
  3595. * gdbinit.in: Change the template .gdbinit to match the recent
  3596. fatal error handling change.
  3597. 1999-08-11 Keith Seitz <keiths@cygnus.com>
  3598. * maint.c (maintenance_internal_error): Fix typo in prototype.
  3599. Wed Aug 11 15:38:05 1999 Andrew Cagney <cagney@amy.cygnus.com>
  3600. * remote.c (remote_rcmd): Pass an empty command across to the
  3601. target. Check for and handle an ``Enn'' return status.
  3602. Tue Aug 10 13:59:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3603. * maint.c (_initialize_maint_cmds): Add ``maintenance
  3604. internal-error'' command.
  3605. (maintenance_internal_error): New function.
  3606. 1999-08-10 James Ingham <jingham@leda.cygnus.com>
  3607. * top.c: Remove the disassembly_flavor_hook, use the new set_hook
  3608. instead.
  3609. * defs.h: Ditto.
  3610. * arm-tdep.c (set_disassembly_flavor_sfunc): Ditto.
  3611. 1999-08-10 Michael Snyder <msnyder@cleaver.cygnus.com>
  3612. * config/i386/nm-i386sol2.h (FIND_NEW_THREADS): remove, obsolete.
  3613. * config/sparc/nm-sun4sol2.h (FIND_NEW_THREADS): remove, obsolete.
  3614. 1999-08-10 J.T. Conklin <jtc@redback.com>
  3615. * configure.tgt (i[3456]86-*-aout*, i[3456]86-*-coff*,
  3616. i[3456]86-*-elf*): Use embed.mt.
  3617. * config/i386/embed.mt: New file.
  3618. 1999-08-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  3619. * remote.c (remote_async_open_1): Remove casting in call to
  3620. add_file_handler.
  3621. (extended_remote_async_create_inferior): Ditto.
  3622. * event-top.c (change_line_handler): Ditto.
  3623. (_initialize_event_loop): Ditto.
  3624. * infrun.c (complete_execution): Ditto.
  3625. * event-loop.c (add_file_handler): Change proc parameter to be ptr
  3626. to func with void parameter, rather than void*. Coerce second
  3627. paramter in calls to create_file_handler. Replace
  3628. async_handler_func and file_handler_func with handler_func.
  3629. * event-loop.h: Get rid of typedefs for file_handler_func and
  3630. async_handler_func, just have one, and call it handler_func.
  3631. Replace async_handler_func and file_handler_func occurrences with
  3632. handler_func.
  3633. Tue Aug 10 03:13:03 1999 Jeffrey A Law (law@cygnus.com)
  3634. * hppa-tdep.c: Delete random #if 0 code.
  3635. (is_branch): Handle new branching opcodes from PA2.0
  3636. (inst_saves_gr, inst_saves_fr): Handle additional instructions
  3637. used to save general and floating point registers in the stack.
  3638. (skip_prologue_hard_way): Handle additional instructions to
  3639. save the return pointer in the stack.
  3640. (after_prologue): Fix mis-guided and incorrect code to find
  3641. the end of the prologue using debug symbols.
  3642. (hppa_skip_prologue): Generally clean up comments, lose code
  3643. which does not apply to the PA, etc.
  3644. Sun Aug 8 17:53:41 1999 Andrew Cagney <cagney@amy.cygnus.com>
  3645. * MAINTAINERS: Make Andrew Cagney the mn10300 maintainer.
  3646. Transfer responsibility for the PowerPC from Andrew Cagney to
  3647. Elena Zannoni.
  3648. Tue Aug 10 13:59:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3649. Based on code from J.T. Conklin <jtc@redback.com>:
  3650. * utils.c (internal_error): Make quit? and coredump? separate
  3651. questions so that the user can dump-core and not quit.
  3652. (internal_error): Cleanup error message.
  3653. 1999-08-09 Tom Tromey <tromey@cygnus.com>
  3654. * kod-cisco.c (cisco_kod_open): Removed incorrect `arg' argument.
  3655. Sun Aug 8 12:06:47 1999 Fred Fish <fnf@cygnus.com>
  3656. * coffread.c (process_coff_symbol): Remove section_offsets from
  3657. prototype and function definition. Get section_offsets from the
  3658. passed objfile and pass it on to callees the same way.
  3659. (coff_symtab_read): Ditto.
  3660. (coff_symfile_read): Ditto.
  3661. * dbxread.c (read_dbx_dynamic_symtab): Ditto.
  3662. (read_dbx_symtab): Ditto.
  3663. (dbx_symfile_read): Ditto.
  3664. (coffstab_build_psymtabs): Ditto.
  3665. (elfstab_build_psymtabs): Ditto.
  3666. (stabsect_build_psymtabs): Ditto.
  3667. * dstread.c (dst_symfile_read): Ditto.
  3668. * elfread.c (elf_symfile_read): Ditto.
  3669. * jv-class.c (jv_class_symfile_read): Ditto.
  3670. * mipsread.c (mipscoff_symfile_read): Ditto.
  3671. * nlmread.c (nlm_symfile_read): Ditto.
  3672. * os9kread.c (os9k_symfile_read): Ditto.
  3673. * somread.c (som_symfile_read): Ditto.
  3674. * stabsread.h (elfstab_build_psymtabs): Ditto.
  3675. * xcoffread.c (xcoff_initial_scan): Ditto.
  3676. * symfile.h (sym_read): Remove section_offsets from prototype.
  3677. * symfile.c (syms_from_objfile): Call sym_read without
  3678. section_offsets.
  3679. (reread_symbols): Ditto.
  3680. * elfread.c (elfstab_offset_sections): Use SIZEOF_SECTION_OFFSETS
  3681. to allocate sections offsets array.
  3682. * xcoffread.c (xcoff_symfile_offsets): Ditto.
  3683. * partial-stab.h (section_offsets): Get from objfile.
  3684. * dbxread.c (read_dbx_symtab): Fix typo that made -1 casted
  3685. to a CORE_ADDR look like an subtraction expression.
  3686. * objfiles.h: Add some comments.
  3687. * symfile.c: Add some comments.
  3688. * objfiles.c: Add some comments.
  3689. (objfile_relocated): Use ALL_OBJFILE_OSECTIONS to iterate over
  3690. sections.
  3691. (find_pc_sect_sections): Use ALL_OBJSECTIONS to iterate over all
  3692. sections in all objfiles.
  3693. * symfile.c (syms_from_objfile): Use ALL_OBJFILE_OSECTIONS.
  3694. * irix5-nat.c (symbol_add_stub): Fix typo that made taking the
  3695. address of lowest_sect with '&' look like a bitwise and op.
  3696. * osfsolib.c (symbol_add_stub): Ditto.
  3697. * solib.c (symbol_add_stub): Ditto.
  3698. * symfile.c (syms_from_objfile): Ditto.
  3699. * dwarf2read.c (dwarf2_build_psymtabs_hard): Minor format tweak.
  3700. * symfile.c (syms_from_objfile): Ditto, and fix typo.
  3701. * top.c (init_main): Fix typo in comment (DEFULAT_PROMPT).
  3702. 1999-08-08 James Ingham <jingham@leda.cygnus.com>
  3703. * remote.c (remote_insert_breakpoint): Fix typo in Z packet support.
  3704. Also move Z packet support OUTSIDE of REMOTE_BREAKPOINT ifdef,
  3705. since this is not set for all targets that support the Z packet.
  3706. Sun Aug 8 17:24:09 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3707. * ui-out.c (ui_out_table_begin, ui_out_table_body,
  3708. ui_out_table_end, ui_out_table_header, ui_out_list_begin,
  3709. ui_out_list_end, ui_out_stream_new, verify_field_proper_position,
  3710. verify_field_alignment): Replace incorrect calls to error with
  3711. calls to internal_error.
  3712. Fri Aug 6 17:17:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3713. * defs.h (fatal): Delete declaration.
  3714. (internal_error): Declare.
  3715. * utils.c (nomem): Call internal_error instead of fatal.
  3716. (fatal_dump_core): Delete.
  3717. (malloc_botch): Print message direct to stderr.
  3718. (fatal): Delete definition.
  3719. * utils.c (internal_error): Define.
  3720. * gdbarch.h, gdbarch.c, hppah-nat.c, ch-exp.c, dsrec.c, sh-tdep.c,
  3721. infptrace.c, f-lang.c, symm-nat.c, top.c, m3-nat.c, v850-tdep.c,
  3722. remote-vx.c, remote-sim.c, remote-mips.c, source.c, infcmd.c,
  3723. findvar.c, remote.c: Replace fatal with call to internal_error.
  3724. Sun Aug 8 15:28:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3725. * ser-pipe.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Move
  3726. definition from here.
  3727. * defs.h: To here.
  3728. Sat Aug 7 21:44:59 1999 Fred Fish <fnf@cygnus.com>
  3729. * remote.c (remote_insert_breakpoint): Fix typo, missing ';'.
  3730. Sun Aug 8 11:26:57 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3731. * mips-tdep.c (mips_gdbarch_init): Add break; to the default case.
  3732. Fri Aug 6 19:26:03 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3733. * defs.h: Delete #if ANSI_PROTOTYPES code, GDB assumes ISO-C.
  3734. * remote-rdp.c (send_rdp), remote-os9k.c (printf_monitor),
  3735. remote-mips.c: (mips_error), remote-array.c: (printf_monitor,
  3736. debuglogs), complaints.c (complain), monitor.c:
  3737. (monitor_printf_noecho, monitor_printf), language.c (type_error,
  3738. range_error), remote-st.c: (printf_stdebug), remote-sim.c
  3739. (gdb_os_printf_filtered, gdb_os_vprintf_filtered,
  3740. gdb_os_evprintf_filtered, gdb_os_error), serial.c (serial_printf),
  3741. utils.c (warning, error, fatal, fatal_dump_core, (query,
  3742. fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,
  3743. printf_filtered, printf_unfiltered, printfi_filtered): Delete
  3744. legacy #ifndef ANSI_PROTOTYPES varargs code.
  3745. * defs.h: Don't #include <varargs.h>.
  3746. * remote-rdp.c, remote-os9k.c, remote-mips.c, remote-array.c,
  3747. monitor.c, remote-st.c: Don't include <varargs.h> or <stdarg.h>.
  3748. 1999-08-06 James Ingham <jingham@leda.cygnus.com>
  3749. * configure.in, configure: add the --enable-multi-ice to determine
  3750. whether to configure and build the multi-ice-gdb-server. Note,
  3751. for now this only builds on cygwin, so don't enable it for other
  3752. platforms...
  3753. 1999-08-06 Tom Tromey <tromey@cygnus.com>
  3754. * Makefile.in (SFILES): Added kod.c and kod-cisco.c.
  3755. (COMMON_OBS): Added kod.o and kod-cisco.o.
  3756. (kod-cisco.o): New target.
  3757. (kod.o): New target.
  3758. * kod-cisco.c: New file.
  3759. * kod.c: New file.
  3760. 1999-08-06 James Ingham <jingham@leda.cygnus.com>
  3761. These are some fixups for the Arm, and support for the
  3762. disassembly-flavor for the ARM.
  3763. * defs.h: Declare the disassembly_flavor_hook
  3764. * top.c: Define the disassembly_flavor_hook
  3765. * i386-tdep.c: Remove unnecessary declaration of the
  3766. disassembly_flavor_hook.
  3767. * config/arm/tm-arm.h: Change definition of
  3768. arm_init_extra_frame_info.
  3769. Add a few more comments.
  3770. * arm-tdep.c (arm_init_extra_frame_info): Listen to and use the
  3771. fromleaf parameter passed into init_extra_frame_info.
  3772. (set_disassembly_flavor_sfunc): New Function.
  3773. (set_disassembly_flavor): New Function.
  3774. (arm_othernames): Use the set_disassembly_flavor.
  3775. (_initialize_arm_tdep): Setup the disassembly flavor commands, and
  3776. initialize the flavor.
  3777. (arm_frameless_function_invocation): Adjust for
  3778. frameless functions that have 1 or 2 instructions that mimic the
  3779. standard APCS form.
  3780. (arm_scan_prologue): Be more careful about scanning the function
  3781. prologue. Don't match things that just have a few of the prologue
  3782. instructions out of order, and don't get thrown by the scheduler
  3783. migrating instructions into the prologue.
  3784. Add support for the "Z" and "z" packets to request the stub
  3785. to set a breakpoint.
  3786. * remote.c (set_remote_protocol_Z_packet_cmd): New function.
  3787. (show_remote_protocol_Z_packet_cmd): New Function.
  3788. (remote_open_1): Init the Z packet config.
  3789. (remote_async_open_1): Init the Z packet config.
  3790. (remote_insert_breakpoint): Use the "Z" packet if supported.
  3791. (remote_remove_breakpoint): Use the "z" packet if supported.
  3792. (remote_insert_watchpoint): New Function - currently wired to
  3793. nothing.
  3794. (remote_remove_watchpoint): Ditto.
  3795. (remote_insert_hw_breakpoint): Ditto.
  3796. (remote_remove_hw_breakpoint): Ditto.
  3797. 1999-08-06 Stan Shebs <shebs@andros.cygnus.com>
  3798. * infcmd.c: Include parser-defs.h.
  3799. (interrupt_target_command): Declare.
  3800. (stack_dummy_testing): Remove old funky flag.
  3801. (run_stack_dummy): Remove unused reference to old funky flag.
  3802. 1999-08-06 Tom Tromey <tromey@cygnus.com>
  3803. * command.c (do_setshow_command): Call set_hook if not NULL.
  3804. * top.c (set_hook): New hook definition.
  3805. * defs.h (set_hook): Declare.
  3806. 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
  3807. * infrun.c: Convert code to pure standard C, elim some warnings.
  3808. (stopped_for_shlib_catchpoint): Remove, never used.
  3809. 1999-08-05 Keith Seitz <keiths@cygnus.com>
  3810. * NEWS: Mention new Motorola MCore target.
  3811. * sparc-tdep.c (gdb_print_insn_sparc): Print insns of the current
  3812. architecture.
  3813. Thu Aug 5 20:41:22 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3814. * configure.in (configdirs): Add check for socketpair.
  3815. * configure, config.in: Re-generate.
  3816. From Mon Jul 19 10:46:18 1999 Philippe De Muyter <phdm@macqel.be>:
  3817. * ser-pipe.c (sys/wait.h): Include this file only #if HAVE_SYS_WAIT_H.
  3818. (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Macros defined if needed.
  3819. Thu Aug 5 20:04:17 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3820. * target.c (debug_to_open, debug_to_attach, debug_to_post_attach,
  3821. debug_to_require_attach, debug_to_detach, debug_to_require_detach,
  3822. debug_to_wait, debug_to_post_wait, debug_to_fetch_registers,
  3823. debug_to_store_registers, debug_to_prepare_to_store,
  3824. debug_to_xfer_memory, debug_to_files_info,
  3825. debug_to_insert_breakpoint, debug_to_remove_breakpoint,
  3826. debug_to_terminal_init, debug_to_terminal_inferior,
  3827. debug_to_terminal_ours_for_output, debug_to_terminal_ours,
  3828. debug_to_terminal_info, debug_to_kill, debug_to_load,
  3829. debug_to_lookup_symbol, debug_to_create_inferior,
  3830. debug_to_post_startup_inferior,
  3831. debug_to_acknowledge_created_inferior,
  3832. debug_to_clone_and_follow_inferior,
  3833. debug_to_post_follow_inferior_by_clone,
  3834. debug_to_insert_fork_catchpoint, debug_to_remove_fork_catchpoint,
  3835. debug_to_insert_vfork_catchpoint,
  3836. debug_to_remove_vfork_catchpoint, debug_to_has_forked,
  3837. debug_to_has_vforked, debug_to_can_follow_vfork_prior_to_exec,
  3838. debug_to_post_follow_vfork, debug_to_insert_exec_catchpoint,
  3839. debug_to_remove_exec_catchpoint, debug_to_has_execd,
  3840. debug_to_reported_exec_events_per_exec_call,
  3841. debug_to_has_syscall_event, debug_to_has_exited,
  3842. debug_to_mourn_inferior, debug_to_can_run,
  3843. debug_to_notice_signals, debug_to_thread_alive, debug_to_stop,
  3844. debug_to_query, debug_to_rcmd, debug_to_enable_exception_callback,
  3845. debug_to_get_current_exception_event, debug_to_pid_to_exec_file,
  3846. debug_to_core_file_to_sym_file, debug_to_close): Send trace output
  3847. to ``gdb_stdlog'' instead of ``gdb_stderr''.
  3848. Thu Aug 5 16:22:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3849. * remote.c (init_remote_ops): Initialize remote_ops.to_rcmd.
  3850. (init_remote_async_ops): Initialize remote_async_ops.to_query.
  3851. (remote_rcmd): New function.
  3852. * monitor.c (monitor_rcmd): Rename monitor_command.
  3853. (init_base_monitor_ops): Initialize monitor_ops.to_rcmd.
  3854. (_initialize_remote_monitors): Move "monitor" command from here.
  3855. * target.c (initialize_targets): To here.
  3856. (monitor_command): New function. Implement "monitor" command.
  3857. * target.c (cleanup_target): de_fault to_rcmd.
  3858. (update_current_target): INHERIT to_rcmd.
  3859. (debug_to_rcmd): New function.
  3860. (setup_target_debug): Initialize current_target.to_rcmd.
  3861. * target.h (struct target_ops): Add field to_rcmd.
  3862. (target_rcmd): Define.
  3863. Thu Aug 5 14:24:07 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3864. * remote.c: Replace comment describing remote protocol with
  3865. pointer to official document.
  3866. Thu Aug 5 11:59:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3867. * remote.c (remote_protocol_binary_download): New variable.
  3868. Replace ``remote_binary_download'' and ``remote_binary_checked''.
  3869. (set_remote_protocol_binary_download_cmd,
  3870. show_remote_protocol_binary_download_cmd): New functions.
  3871. (remote_open_1, remote_async_open_1, remote_cisco_open):
  3872. Initialize ``remote_protocol_binary_download'' instead of
  3873. ``remote_binary_download''.
  3874. (check_binary_download): Re-write.
  3875. (remote_write_bytes): Ditto.
  3876. (_initialize_remote): Add ``set remote X-packet'' and ``show
  3877. remote X-packet'' commands. Disable old ``set
  3878. remotebinarydownload'' command.
  3879. 1999-08-04 Keith Seitz <keiths@cygnus.com>
  3880. * remote-rdi.c (arm_rdi_close): Close the transport device, too.
  3881. Wed Aug 4 10:42:58 1999 Fred Fish <fnf@cygnus.com>
  3882. * xcoffread.c (scan_xcoff_symtab): Change main_aux into
  3883. an array of 5 internal_auxent to leave room for bfd to
  3884. write n_numaux entries. Change code to use the first one.
  3885. Wed Aug 4 19:58:15 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3886. * ui-out.h (cli_out_new): Move declaration from here.
  3887. * cli-out.h: To here. New file.
  3888. * Makefile.in (ui-out.o): Add missing dependencies.
  3889. (cli-out.o): Ditto.
  3890. * top.c, cli-out.c: #include "cli-out.h".
  3891. 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
  3892. * c-valprint.c (c_val_print): When printing decimal equivalent
  3893. of a char, cast appropriately.
  3894. 1999-08-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  3895. From Jonathan Larmour <jlarmour@cygnus.co.uk>:
  3896. * main.c (print_gdb_help): Use gdbinit variable to determine file
  3897. name used for --nx help
  3898. 1999-08-01 Jason Molenda (jsm@bugshack.cygnus.com)
  3899. * config/mips/tm-mips.h (BIG_ENDIAN): Don't define here.
  3900. 1999-08-01 Jim Blandy <jimb@zwingli.cygnus.com>
  3901. * stabsread.c (read_range_type): Handle an unsigned range type
  3902. whose length in bytes is any power of two, not just a few
  3903. common ones.
  3904. * monitor.c (monitor_expect): When we receive a character that
  3905. isn't part of the string we were expecting, don't just start
  3906. matching again at the beginning of the string --- some shorter
  3907. suffix of the input might be a prefix of the string too.
  3908. 1999-07-31 Fred Fish <fnf@cygnus.com>
  3909. * symfile.c (symbol_file_command): Fix typo that made -1 casted
  3910. to a CORE_ADDR look like an subtraction expression.
  3911. (add_symbol_file_command): Ditto.
  3912. 1999-07-30 Jim Blandy <jimb@cygnus.com>
  3913. * hppa-tdep.c (pa_print_registers): Frob register output some more.
  3914. 1999-07-29 Jim Blandy <jimb@cygnus.com>
  3915. * config/pa/nm-hppah.h (PTRACE_ARG3_TYPE): After more
  3916. consideration, make this a CORE_ADDR, like WDB did.
  3917. Rather than casting every single use of really_free_pendings to
  3918. make_cleanup_func, why not actually make it have that type? Golly!
  3919. * buildsym.c (really_free_pendings): Change argument type to PTR.
  3920. buildsym.h (really_free_pendings): Fix declaration.
  3921. * dbxread.c (dbx_symfile_read, dbx_psymtab_to_symtab_1),
  3922. dwarf2read.c (psymtab_to_symtab_1), dwarfread
  3923. (psymtab_to_symtab_1), hp-psymtab-read.c (hpread_build_psymtabs),
  3924. os9kread.c (os9k_symfile_read, os9k_psymtab_to_symtab_1),
  3925. xcoffread.c (xcoff_psymtab_to_symtab_1, xcoff_initial_scan):
  3926. Remove casts.
  3927. Pass a CORE_ADDR safely through catch_errors.
  3928. * hppa-tdep.c (args_for_find_stub): New member, return_val.
  3929. (cover_find_stub_with_shl_get): Change argument and return type to
  3930. match catch_errors. Save return value of find_stub_with_shl_get
  3931. in *args.
  3932. (initialize_hp_cxx_exception_support): Collect value of
  3933. eh_notify_callback_addr from args.
  3934. Get rid of some noise. It would be nice to get helpful warnings
  3935. from the compiler about lossy conversions.
  3936. * hppa-tdep.c (eh_notify_hook_addr, eh_notify_callback_addr,
  3937. eh_break_addr, eh_catch_catch_addr, eh_catch_throw_addr,
  3938. break_callback_sal): Initialize these to zero, not NULL, to shush
  3939. warnings.
  3940. * infttrace.c (thread_fake_step): Compare signal to
  3941. TARGET_SIGNAL_0, not NULL, to avoid warnings.
  3942. (_initialize_infttrace): Add sanity check.
  3943. * config/pa/nm-hppah.h (PTRACE_ARG3_TYPE): Define this to be
  3944. long, so we can pass arguments properly to ptrace.
  3945. * hppah-nat.c (child_xfer_memory): Correctly compute mask to round
  3946. address to an int boundary.
  3947. 1999-07-29 Jim Blandy <jimb@cygnus.com>
  3948. Change from Ian Lance Taylor <ian@zembu.com>. The
  3949. i386_linux_sigtramp* functions should be moved to
  3950. i386-linux-tdep.c, when that file is introduced.
  3951. * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Define.
  3952. (LINUX_SIGCONTEXT_PC_OFFSET): Define.
  3953. (LINUX_SIGCONTEXT_SP_OFFSET): Define.
  3954. (SIGCONTEXT_PC_OFFSET): Don't define.
  3955. (I386_LINUX_SIGTRAMP): Define.
  3956. (IN_SIGTRAMP): Define.
  3957. (i386_linux_sigtramp): Declare.
  3958. (sigtramp_saved_pc): Define.
  3959. (i386_linux_sigtramp_saved_pc): Declare.
  3960. (FRAMELESS_SIGNAL): Define.
  3961. (FRAME_CHAIN, FRAME_SAVED_PC): Define after #undef.
  3962. * i386-tdep.c (i386_linux_sigtramp_start): New static function if
  3963. I386_LINUX_SIGTRAMP.
  3964. (i386_linux_sigtramp): New function if I386_LINUX_SIGTRAMP.
  3965. (i386_linux_sigtramp_saved_pc): Likewise.
  3966. (i386_linux_sigtramp_saved_sp): Likewise.
  3967. 1999-07-28 Jim Blandy <jimb@cygnus.com>
  3968. * infrun.c (handle_inferior_event): Don't try to use the code for
  3969. stepping over a function call to also handle stepping out of a
  3970. sigtramp on HP-UX. That ends up trashing step-resume breakpoints.
  3971. This change reverts some of David Taylor's change of 31 Dec 1998.
  3972. The HP-UX maintainer needs to submit a new change for whatever
  3973. problem the original change was trying to fix.
  3974. 1999-07-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  3975. * event-top.c (command_line_handler): Don't treat an empty line
  3976. from readline the same way as a multiline command. This avoids
  3977. missing detecting when the user presses just 'enter'.
  3978. 1999-07-28 Jim Blandy <jimb@cygnus.com>
  3979. Provide more sanity checking:
  3980. * infrun.c (handle_inferior_event): Before assigning a new
  3981. breakpoint to step_resume_breakpoint, make sure it's not already
  3982. pointing at one; if it is, that's a bug.
  3983. (check_for_old_step_resume_breakpoint): New function.
  3984. 1999-07-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  3985. From Eli Zaretskii <eliz@is.elta.co.il>:
  3986. * top.c (gdb_init) [__MSDOS__]: Arrange for GDB to return to the
  3987. original directory before exiting.
  3988. (cd_command) [_WIN32 || __MSDOS__]: Canonicalize the new directory
  3989. name explicitly. Handle "d:/" names correctly.
  3990. (init_history) [__MSDOS__]: Use _gdb_history as the default GDB
  3991. history file name.
  3992. Mon Jul 26 17:13:39 1999 Andrew Cagney <cagney@b1.cygnus.com>
  3993. * remote.c (enum packet_support, enum packet_detect, struct
  3994. packet_config): Define.
  3995. (set_packet_config_cmd, show_packet_config_cmd,
  3996. add_packet_config_cmd, init_packet_config): New functions.
  3997. Generic support for optional packets.
  3998. (remote_protocol_P): Replace stub_supports_P.
  3999. (set_remote_protocol_P_packet_cmd, show_remote_protocol_P_packet_cmd):
  4000. New functions.
  4001. (_initialize_remote): Add ``set remote-protocol-P-packet'' command.
  4002. (remote_open_1, remote_async_open_1, remote_cisco_open):
  4003. Initialize ``remote_protocol_P''.
  4004. (remote_store_registers): Re-write ``P'' probe logic.
  4005. (store_register_using_P): New function.
  4006. From Ian Lance Taylor <ian@airs.com>:
  4007. (remote_prepare_to_store): Only read registers when ``P'' packet
  4008. is in state unsupported or support-unknown.
  4009. 1999-07-24 Fred Fish <fnf@cygnus.com>
  4010. * symfile.c (default_symfile_offsets): Clear section_offsets
  4011. before filling it in.
  4012. 1999-07-16 Keith Seitz <keiths@cygnus.com>
  4013. * remote.c (_initialize_remote): "remotebreak" should be a var_boolean.
  4014. 1999-07-15 Jim Blandy <jimb@cygnus.com>
  4015. Make the output from "info registers" fit withinin 80 columns.
  4016. * hppa-tdep.c (pa_print_registers): Make it easy to change row and
  4017. column counts. Switch to three columns, instead of four, and
  4018. adjust spacing.
  4019. First cut at supporting HPPA2.0 in "wide" (64-bit) mode.
  4020. * configure.tgt: Add hppa2.0w target.
  4021. * config/pa/hppa64.mt, config/pa/tm-hppa64.h: New files.
  4022. * hppa-tdep.c (hppa_fix_call_dummy): Dyke out code to tweak the
  4023. call dummy, if target is PA2.0w. This is temporary, until I get
  4024. function calls working.
  4025. * hppah-nat.c (fetch_register): Rewritten to handle both narrow
  4026. and wide register requests.
  4027. (HPPAH_OFFSETOF): New macro.
  4028. * gdbtypes.c (is_integral_type): New function.
  4029. * gdbtypes.h: Prototype for above.
  4030. 1999-07-15 J.T. Conklin <jtc@redback.com>
  4031. * configure.tgt (i[3456]86-*-vxworks*): New target.
  4032. * config/i386/vxworks.mt: New file, x86 VxWorks target
  4033. * config/i386/tm-vxworks.h: New file.
  4034. * configure.tgt (powerpc-*-vxworks*): New target.
  4035. * config/powerpc/vxworks.mt: New file, PowerPC VxWorks target
  4036. * config/powerpc/tm-vxworks.h: New file.
  4037. * NEWS: Mention the new configs.
  4038. 1999-07-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
  4039. * ui-out.c (struct ui_out): Remove deprecated fields.
  4040. 1999-07-15 Fernando Nasser <fnasser@cygnus.com>
  4041. * target.c (target_preopen): Prevent query when not from_tty.
  4042. * infcmd.c (run_command): Prevent query when not from_tty.
  4043. 1999-07-15 Fernando Nasser <fnasser@cygnus.com>
  4044. * event-loop.c: Fix typo in comment.
  4045. 1999-07-15 Fernando Nasser <fnasser@cygnus.com>
  4046. * breakpoint.c (breakpoint_1): Fix output when no breakpoins are
  4047. found.
  4048. 1999-07-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4049. * event-top.c (display_gdb_prompt): Don't do anything if we are
  4050. running under the interpreter.
  4051. Wed Jul 14 17:29:31 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4052. * ser-pipe.c (struct pipe_state): Define.
  4053. (pipe_close): Retain the PID of the sub-process using ``struct
  4054. pipe_state''. Delete #ifdef code that used popen().
  4055. (pipe_close): Kill of the sub-process as part of the cleanup.
  4056. * serial.h (struct _serial_t): Add field ``state''.
  4057. 1999-07-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4058. * event-top.c (display_gdb_prompt): Don't display the prompt if we
  4059. are in the middle of an execution command. Also trick readline so
  4060. it doesn't try to display the prompt.
  4061. (command_line_handler): Get rid of change_prompt, unused variable.
  4062. Use {push, pop}_prompt mechanism in case of multiline commands.
  4063. * infrun.c (complete_execution): Set target_executing to 0 as
  4064. first thing, so that display_gdb_prompt does the right thing.
  4065. Tue Jul 13 20:29:46 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4066. * parse.c (build_parse): Fix conditional increment of num_std_regs
  4067. for SP_REGNUM. Was conditional on FP_REGNUM.
  4068. Tue Jul 13 16:44:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4069. * gdbarch.h, gdbarch.c: Revert 1999-07-07 Stan Shebs
  4070. <shebs@andros.cygnus.com> indentation change. Don't let indent
  4071. mess with these files.
  4072. Mon Jul 12 11:15:09 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4073. * config/mips/tm-mips.h (REGISTER_CONVERT_TO_RAW,
  4074. REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERTIBLE): Define.
  4075. (REGISTER_RAW_SIZE): Re-define as mips_register_convert_to_raw.
  4076. * mips-tdep.c (mips_register_convert_to_raw,
  4077. mips_register_convert_to_virtual, ): New functions.
  4078. (mips_register_raw_size, mips_register_convertible): New
  4079. functions. Handle bug introduced by ``Wed Apr 1 23:13:23 1998
  4080. Andrew Cagney <cagney@b1.cygnus.com>'' where remote mips64 target
  4081. transfers SR as 64 bits yet GDB expected only 32 bits.
  4082. (mips64_transfers_32bit_regs): New static variable.
  4083. (_initialize_mips_tdep): Add obscure command ``set
  4084. remote-mips64-transfers-32bit-regs'' that provides backward
  4085. compatibility.
  4086. (do_gp_register_row): Extract register values from raw buffer.
  4087. * NEWS: Document protocol change.
  4088. 1999-07-12 Keith Seitz <keiths@cygnus.com>
  4089. * rdi-share/unixcomm.c (Unix_ResetSerial): Remove CYGWIN32
  4090. conditional. It's no longer needed.
  4091. (SERPORT1, SERPORT2): Linux serial ports are "/dev/ttyX", not
  4092. "/dev/cuaX" (X=0,1,2,3,...).
  4093. Mon Jul 12 02:02:00 1999 Andrew Cagney <cagney@amy.cygnus.com>
  4094. * defs.h, utils.c (fputstrn_filtered, fputstrn_unfiltered,
  4095. fputstrnn_unfiltered): New functions.
  4096. (gdb_printchar): Delete.
  4097. * remote.c (print_packet): Replace gdb_printchar with
  4098. fputstrn_filtered.
  4099. (getpkt): Use fputstrn_unfiltered to dump packet received.
  4100. (putpkt_binary): Use fputstrnn_unfiltered to dump packet sent.
  4101. 1999-07-09 Keith Seitz <keiths@cygnus.com>
  4102. * blockframe.c (blockvector_for_pc_sect): When looking for a block,
  4103. we want the one whose end is greater than our PC, not greater or equal.
  4104. 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
  4105. * sparcl-tdep.c (init_sparclite_ops): Fix doc strings, remove
  4106. useless inits.
  4107. (sparclite_ops): Remove redundant decl.
  4108. Thu Jul 8 16:48:40 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4109. * ser-pipe.c (pipe_open): Bi-directional popen found on both
  4110. NetBSD and OpenBSD.
  4111. * ser-pipe.c: New file. Implement popen() style serial interface.
  4112. * NEWS: Mention.
  4113. * Makefile.in (ALLDEPFILES): Add ser-pipe.c.
  4114. (ser-pipe.o): Add new target. Specify dependencies.
  4115. (SER_HARDWIRE): Add ser-pipe.o.
  4116. * serial.c (serial_open): Recognize a serial pipe ``|''.
  4117. 1999-07-07 Stan Shebs <shebs@andros.cygnus.com>
  4118. * All C files except *-stub.c and *-share/*: Indent to GNU
  4119. standard, using indent 1.9.1.
  4120. * defs.h: Make indent ignore this file, macros confuse it.
  4121. * gnu-regex.c, gnu-regex.h: Don't let indent mess with these.
  4122. Wed Jul 7 13:06:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4123. * remote-mips.c (fputs_readable): Rename puts_readable, add struct
  4124. gdb_file argument.
  4125. (fputc_readable): Rename putc_readable, add struct gdb_file
  4126. argument.
  4127. * remote-mips.c (mips_expect_timeout, mips_receive_header,
  4128. mips_send_packet, mips_receive_packet), remote-rdp.c (put_byte,
  4129. get_byte, put_word, rdp_init, rdp_init), remote-sds.c
  4130. (sds_interrupt, sds_wait, readchar, putmessage, read_frame,
  4131. getmessage), remote-udi.c (udi_store_registers, fetch_register):
  4132. (store_register), xmodem.c (readchar), utils.c (puts_debug),
  4133. gnu-nat.h (debug), parse.c (parse_exp_1): Cleanup - send debug/log
  4134. messages to gdb_stdlog.
  4135. 1999-07-06 Stan Shebs <shebs@andros.cygnus.com>
  4136. * exec.c: Remove long-#ifed-out section of code that confuses
  4137. indent.
  4138. * gdbtypes.c (add_mangled_type): Add some braces to indicate
  4139. grouping better.
  4140. * gnu-nat.c: Remove literal newlines embedded in strings,
  4141. causes indent to weird out.
  4142. * language.c (binop_result_type): Remove extra paren.
  4143. * lynx-nat.c: Add a missing paren to fetch_core_registers decl.
  4144. * nec4102rom.c (vr4102_insert_step): Fix typos.
  4145. (_initialize_vr4102_rom): Remove literal newline in string.
  4146. * config/a29k/tm-a29k.h: Suppress formatting of pictures.
  4147. * config/m68k/xm-3b1.h: Remove excess #endif.
  4148. Declare Pyramid configuration obsolete.
  4149. * configure.host, configure.tgt: Comment out Pyramid configs.
  4150. * Makefile.in: Comment out Pyramid-related actions.
  4151. * pyr-xdep.c, pyr-tdep.c, config/pyr/*: Comment out.
  4152. * NEWS: Mention obsolete status.
  4153. 1999-07-06 Jason Molenda (jsm@bugshack.cygnus.com)
  4154. * remote.c: Include <sys/time.h> to pick up FD_SET et al defns on
  4155. some old Linux distributions.
  4156. * remote-os9k.c, remote-st.c, ser-tcp.c, ser-unix.c,
  4157. sparcl-tdep.c, remote.c: Back out inclusion of <sys/select.h>.
  4158. It isn't necessary after all.
  4159. 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4160. * infcmd.c (strip_bg_char): Remove assignment from 'if' condition.
  4161. 1999-07-05 Jason Molenda (jsm@bugshack.cygnus.com)
  4162. * remote.c: Include <sys/select.h> if it exists in order to pick up
  4163. FD_SET et al defns.
  4164. * remote-os9k.c: Same.
  4165. * remote-st.c: Same.
  4166. * ser-tcp.c: Same.
  4167. * ser-unix.c: Same.
  4168. * sparcl-tdep.c: Same.
  4169. Fri Jul 2 19:38:43 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4170. * top.c (target_output_hook): Delete definition.
  4171. * defs.h (target_output_hook): Delete declaration.
  4172. * remote.c (remote_console_output): Delete call to
  4173. target_output_hook(). Send target output to gdb_stdtarg using an
  4174. unfiltered write. Make more robust.
  4175. * remote-sim.c (gdb_os_write_stdout, gdb_os_write_stderr):
  4176. Ditto. For moment, do not try to separate target stdout and stderr
  4177. streams.
  4178. * defs.h (gdb_stdtarg): New global. Output from target and
  4179. simulators.
  4180. 1999-07-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4181. * top.c (return_to_top_level): Do all the exec_cleanups too.
  4182. * event-top.c (command_handler): Set up for a continuation, if we
  4183. are in the middle of running an execution command which will
  4184. finish later on. Do cleanups, an display of time/space only if not
  4185. running with an async target or not running an execution command.
  4186. (command_line_handler_continuation): New function. Continuation
  4187. for command_line_handler.
  4188. * utils.c (exec_cleanup_chain): New cleanup chain to be used in
  4189. async mode for the execution commands.
  4190. (make_exec_cleanup): New function. Add a cleanup to the
  4191. exec_cleanup_chain.
  4192. (do_exec_cleanups): New Function. Do cleanups on the
  4193. exec_cleanup_chain.
  4194. (add_continuation): New function. Add a new continuation to the
  4195. cmd_continuation list.
  4196. (do_all_continuations): New function. Do all the continuations on
  4197. the cmd_continuation list.
  4198. * top.h (ALL_CLEANUPS): Move from here to defs.h.
  4199. * defs.h (struct continuation_arg): New structure. Arg to pass to
  4200. the call to a command continuation.
  4201. (struct continuation): New structure. Continuation for an
  4202. execution command.
  4203. (ALL_CLEANUPS): Move here from top.h.
  4204. * remote.c (remote_async_open_1): Set things up for telling the
  4205. target we are running the extended protocol, only after the target
  4206. has stopped.
  4207. (set_extended_protocol): New function. Tell the target we are
  4208. using the extended protocol.
  4209. (remote_async_resume): Set things up for sync execution only if
  4210. this is the first time we are called.
  4211. * breakpoint.c (until_break_command_continuation): New function.
  4212. Stuff to be done after the target stops during the 'until'
  4213. command.
  4214. (until_break_command): Set things up for completing the 'until'
  4215. command later on. Do the final cleanups only if not running
  4216. asynchronously or async execution is not supported by the target.
  4217. * infcmd.c (until_command): Recognize '&' at end of command and
  4218. handle it properly.
  4219. (finish_command_continuation): New function. Do whatever is needed
  4220. after the target has stopped.
  4221. (finish_command): Recognize '&' at end of command and handle it
  4222. properly. Don't do stuff needed after target has stopped if
  4223. running asynchronously and target has async. Use exec_cleanup_chain
  4224. if running asynchronously and target is asynchronous.
  4225. * infrun.c (cmd_continuation): New gloabl variable. Used to
  4226. coplete execution commands in async mode, after the target has
  4227. stoped.
  4228. (fetch_inferior_event): Use exec_cleanup_chain, instead of
  4229. cleanup_chain. Do all the exec cleanups at the end. Do all the
  4230. continuations at the end. Call complete_execution from here,
  4231. instead of normal_stop.
  4232. (complete_execution): Cleanup the signals handlers for SIGINT
  4233. before displaying the prompt.
  4234. (start_remote): Set target_executing to 1.
  4235. (normal_stop): Don't call complete_execution from here.
  4236. Thu Jul 1 19:14:30 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4237. * blockframe.c (struct dummy_frame): Add member ``top''.
  4238. (generic_push_dummy_frame): Initialize top to sp.
  4239. (generic_save_dummy_frame_tos): New function. Initialize top.
  4240. (generic_find_dummy_frame): Check for the top of the frame.
  4241. * blockframe.c (generic_push_dummy_frame): Free the dummy_frame
  4242. registers.
  4243. * config/mn10300/tm-mn10300.h (SAVE_DUMMY_FRAME_TOS): Define.
  4244. (TARGET_READ_FP): Return the SP as a best guess.
  4245. Wed Jun 30 15:45:48 1999 Jeffrey A Law (law@cygnus.com)
  4246. * configure.host (hppa*-*-hpux11*): Accept any version of hpux11
  4247. instead of hpux11.0*.
  4248. 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
  4249. * source.c (directory_command): Add missing test for from_tty.
  4250. 1999-06-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4251. * remote.c: Include event-loop.h.
  4252. (remote_async_ops, extended_async_remote_ops): Define new target
  4253. vector structures for asynchronous debugging.
  4254. (remote_async_open): New function. Asynchronous version of
  4255. remote_open.
  4256. (extended_remote_async_open): New function. Asynchronous version
  4257. of extended_remote_open.
  4258. (remote_async_open_1): New function. Async version of
  4259. remote_open_1.
  4260. (remote_async_detach): New function. Async version of
  4261. remote_detach.
  4262. (remote_async_resume): New function. Async version of
  4263. remote_resume.
  4264. (initialize_sigint_signal_handler, handle_remote_sigint,
  4265. handle_remote_sigint_twice, async_remote_interrupt,
  4266. async_remote_interrupt_twice, cleanup_sigint_signal_handler): New
  4267. functions. Used for handling ^C while target is running.
  4268. (remote_async_wait): New function. Async version of remote_wait.
  4269. (remote_async_kill): New function. Async version of remote_kill.
  4270. (extended_remote_async_create_inferior): New function. Async
  4271. version of extended_remote_create_inferior.
  4272. (init_remote_async_ops): New function. Initialize target vector
  4273. for target async.
  4274. (init_extended_async_remote_ops): New function. Initialize target
  4275. vector for target extended-async.
  4276. (_initialize_remote): Initialize remote_async_ops and
  4277. extended_async_remote_ops.
  4278. * infrun.c: Include "event-loop.h".
  4279. (sync_execution): new global variable.
  4280. (proceed): Invoke wait_for_inferior and normal_stop only if not
  4281. running in async mode or if target doesn't support async
  4282. execution.
  4283. (start_remote): Don't call wait_for_inferior and normal_stop if
  4284. not running in async mode or if target not async. If running async
  4285. and target is async, start the target in simulated synchronous
  4286. mode.
  4287. (async_ecss, async_ecs): New global vars, for inferior state.
  4288. (fetch_inferior_event): New function. Async version of
  4289. wait_for_inferior.
  4290. (complete_execution): New function. Reset of gdb prompt and stdin,
  4291. after inferior execution has completed.
  4292. (normal_stop): Call complete_execution at end of asynchronous
  4293. execution.
  4294. * infcmd.c (strip_bg_char): New function to detect the background
  4295. execution char '&'.
  4296. (run_command): Modify to support background and foreground
  4297. execution in async mode.
  4298. (continue_command): Ditto.
  4299. (step_1): Ditto.
  4300. (jump_command): Ditto.
  4301. (interrupt_target_command): New function. Interrupt the
  4302. target execution.
  4303. (_initialize_infcmd): Add new command 'interrupt'.
  4304. * top.c (target_executing): New global variable.
  4305. (execute_command): Reject commands that cannot be executed while
  4306. the target is running asynchronously.
  4307. * event-top.c (push_prompt): Make non static.
  4308. (pop_prompt): Make non static. If the current prompt is empty,
  4309. don't try to copy it over the previous one.
  4310. (handle_sigint): Make non static.
  4311. (command_handler): Do the cleanups only when not executing with an
  4312. asynchronous target.
  4313. * event-loop.c (delete_async_signal_handler): Pass a pointer to a
  4314. pointer to a signal handler, so that is can be freed at the end.
  4315. * target.c (update_current_target): Inherit to_has_async_exec.
  4316. * inferior.h: Add global variables target_executing, and
  4317. sync_execution. Export function fetch_inferior_event.
  4318. * event-loop.h: Add push_prompt, pop_prompt, handle_sigint to the
  4319. exported functions. Update prototype for delete_signal_handler.
  4320. * target.h (struct target_ops): New target op: to_has_async_exec.
  4321. (target_has_async): New macro.
  4322. * Makefile.in (infrun.o): Add dependency on event-loop.h.
  4323. (remote.o): Ditto.
  4324. 1999-06-28 Jim Blandy <jimb@zwingli.cygnus.com>
  4325. * solib.c (clear_solib): Don't disable breakpoints if we're
  4326. running an a.out executable (Solaris's SunOS emulation).
  4327. 1999-06-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4328. * main.c (main): Remove intialization of command_loop_hook, it
  4329. is now done in _initialize_event_loop().
  4330. * event-loop.c (gdb_do_one_event): Make static.
  4331. (start_event_loop): New function. Just start the event loop.
  4332. * event-top.c (cli_command_loop): New name for start_event_loop().
  4333. (gdb_readline2): Make non static.
  4334. (_initialize_event_loop): Set command_loop_hook to cli_command_loop.
  4335. * event-loop.h: Adjust exported functions accordingly.
  4336. * top.c (init_main): Move setting of async_command_editing_p from
  4337. here.
  4338. * event-top.c (_initialize_event_loop): To here.
  4339. (change_line_handler): Revert previous change. Add comment.
  4340. (_initialize_event_loop): Revert previous change.
  4341. (cli_command_loop): New name for start_event_loop().
  4342. (start_event_loop): New function. This just starts up the event loop.
  4343. (gdb_readline2): Make non static.
  4344. (_initialize_event_loop): Set command_loop_hook to cli_command_loop.
  4345. 1999-06-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4346. * event-top.c (change_line_handler): Get rid of the global
  4347. variable input_fd, use `fileno (instream)' instead.
  4348. (_initialize_event_loop): Ditto
  4349. * event-loop.c (add_file_handler): New function. Wrapper for
  4350. create_file_handler.
  4351. (create_file_handler): Make static.
  4352. * event-top.c (_initialize_event_loop): Call add_file_handler,
  4353. instead of create_file_handler.
  4354. (change_line_handler): Ditto.
  4355. Remove poll.h include.
  4356. * event-loop.h: Export add_file_handler instead of
  4357. create_file_handler.
  4358. 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
  4359. Declare Altos configuration obsolete.
  4360. * configure.host, configure.tgt: Comment out Altos config.
  4361. * Makefile.in: Comment out Altos-related actions.
  4362. * altos-xdep.c, config/m68k/altos.mh, altos.mt, tm-altos.h,
  4363. xm-altos.h: Comment out.
  4364. * NEWS: Mention obsolete status.
  4365. 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
  4366. * Makefile.in: Add MAKEHTML and MAKEHTMLFLAGS; pass them down;
  4367. recognize html and install-html targets.
  4368. * gdbserver/Makefile.in: Add empty html and install-html targets.
  4369. * nlm/Makefile.in: Ditto.
  4370. * rdi-share/Makefile.in: Ditto.
  4371. 1999-06-24 Jim Blandy <jimb@zwingli.cygnus.com>
  4372. * ax-gdb.c (agent_command): Remove vestigial call to ax_reqs.
  4373. 1999-06-24 James Ingham <jingham@leda.cygnus.com>
  4374. * arm-tdep.c (arm_othernames): Change both gdb's register display
  4375. AND the opcode disassembly register naming if the othernames
  4376. command. Fixes the gdb part of CR 101177.
  4377. 1999-06-23 Stan Shebs <shebs@andros.cygnus.com>
  4378. Declare Convex configuration obsolete.
  4379. * configure.host, configure.tgt: Comment out Convex configs.
  4380. * Makefile.in: Comment out Convex-related actions.
  4381. * convex-xdep.c, convex-tdep.c, config/convex/*: Comment out.
  4382. * NEWS: Mention obsolete status.
  4383. 1999-06-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4384. * main.c: Turn on async by default by setting async_p to 1.
  4385. Wed Jun 23 20:39:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4386. * main.c (main): Recognize --ui. Will eventually replace
  4387. --interpreter.
  4388. Wed Jun 23 15:44:39 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4389. From Jimmy Guo <guo@cup.hp.com>:
  4390. * frame.h (enum lval_type): Delcare when an __STDC__ compiler.
  4391. Reverts Mon Aug 11 16:08:52 1997 Fred Fish <fnf@cygnus.com>
  4392. change.
  4393. * utils.c (gdb_file_rewind, gdb_file_put): Fix. A void function
  4394. does not return a result.
  4395. Wed Jun 23 15:30:46 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4396. * remote.c (set_thread, remote_get_threadinfo,
  4397. remote_threads_info, remote_current_thread, remote_get_threadlist,
  4398. extended_remote_restart, get_offsets, remote_open_1,
  4399. remote_detach, remote_resume, remote_wait, remote_fetch_registers,
  4400. remote_store_registers, check_binary_download, remote_write_bytes,
  4401. remote_read_bytes, remote_search, putpkt_binary, putpkt_binary,
  4402. read_frame, compare_sections_command, remote_query,
  4403. packet_command, remote_info_process): Use alloca to create space
  4404. for arrays of size PBUFSIZ.
  4405. 1999-06-22 Jason Molenda (jsm@bugshack.cygnus.com)
  4406. * top.c: Update copyright years to include 1999.
  4407. 1999-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4408. * top.c: Move include of event-loop.h, to avoid redefinition of
  4409. NFDBITS.
  4410. * event-loop.c (create_file_handler): Do not do a realloc of the
  4411. pollfd structure of the notifier, unless there is already one.
  4412. Include <sys/types.h> for platforms that have no poll.
  4413. * event-top.c: Fix prototype for _initialize_event_loop.
  4414. (_initialize_event_loop): Do something only if running in async
  4415. mode.
  4416. 1999-06-17 Jim Blandy <jimb@zwingli.cygnus.com>
  4417. Make the '/c' print format use a true character type. This is
  4418. more appropriate than builtin_type_char for languages other than
  4419. C, and C tolerates it.
  4420. * gdbtypes.c (builtin_type_true_char): New variable.
  4421. (build_gdbtypes): Initialize it.
  4422. * gdbtypes.h (builtin_type_true_char): New declaration.
  4423. * printcmd.c (print_scalar_formatted): When the format is 'c',
  4424. extract the value as a builtin_type_true_char.
  4425. * jv-exp.y (yylex): Say character literals are java_char_type, not
  4426. builtin_type_char. Java treats the latter like `byte'.
  4427. 1999-06-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4428. * Makefile.in (top_h): Define.
  4429. (event-loop.o): Add dependencies on top.h and defs.h.
  4430. (event-top.o): Add dependency on terminal.h.
  4431. * event-loop.c: Get rid of #include <readline.h>.
  4432. * event-loop.h: Get rid of nested #include's.
  4433. * event-loop.c: Rearrange includes to accomodate change in
  4434. event-loop.h. Include poll.h, not sys/poll.h.
  4435. * event-top.c: Ditto.
  4436. * main.c: Ditto.
  4437. 1999-06-16 David Taylor <taylor@louisiana.cygnus.com>
  4438. * alpha-tdep.c (alpha_pop_frame): if frame->proc_desc
  4439. is NULL, call find_proc_desc so we know how to restore
  4440. the registers.
  4441. 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
  4442. * cli-out.c (cli_out_new): Add flags argument to ui-out-new call.
  4443. * source.c (print_source_lines_base): Test for ui_source_list flag
  4444. and use ui_out for file and line output.
  4445. * ui-out.c (struct ui_out): Add flags field to struct and to default
  4446. initialization.
  4447. (ui_out_set_flags): New function. Handle flags.
  4448. (ui_out_clear_flags): New function. Ditto.
  4449. (ui_out_test_flags): New function. Ditto.
  4450. (ui_out_new): Add flags parameter.
  4451. * ui-out.h: Add flags argument to ui_out_new declaration.
  4452. Add declarations for ui_out_*_flags functions.
  4453. (enum ui_flags): New enum. Defines ui_out flags.
  4454. * top.c (gdb_init): Fix misspelling typo.
  4455. 1999-06-15 Michael Snyder <msnyder@cleaver.cygnus.com>
  4456. * event-top.c (start_event_loop): call get_prompt.
  4457. (display_gdb_prompt): call get_prompt.
  4458. (async_stop_sig): call get_prompt.
  4459. 1999-06-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4460. * event-loop.c (delete_file_handler): When positioning prev_ptr,
  4461. keep looping while the one after is not equal to file_ptr, instead
  4462. of equal.
  4463. 1999-06-14 Stan Shebs <shebs@andros.cygnus.com>
  4464. * MAINTAINERS: Add Jimmy Guo and Jim Blandy as HP testsuite and
  4465. SVR4 solib maintainers, respectively.
  4466. 1999-06-14 Michael Snyder <msnyder@cleaver.cygnus.com>
  4467. Add parameters to the gdb prompt.
  4468. * top.c (prompt): Rename to gdb_prompt_string for clarity.
  4469. (command_line_input): rename "prrompt" to prompt_arg for clarity.
  4470. (gdb_readline): rename "prrompt" to prompt_arg for clarity.
  4471. (read_command_lines): rename "prompt" to prompt_arg for clarity.
  4472. (stop_sig): call get_prompt instead of reading prompt string directly.
  4473. (command_loop): ditto.
  4474. (simplified_command_loop): ditto.
  4475. (gdb_prompt_escape): New variable. Esc char for prompt parameters.
  4476. (get_prompt_1): New function, workhorse for get_prompt.
  4477. (get_prompt): Completely rewrite. Add functionality for a
  4478. parameterized prompt, ie. the displayed prompt can change according
  4479. to the value of one or more expressions given as parameters in the
  4480. prompt string.
  4481. (init_main): use renamed variable gdb_prompt_string. Add new
  4482. command "set prompt-escape-char" to set gdb_prompt_escape.
  4483. Sun Jun 13 10:44:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4484. * defs.h (gdb_stdlog), main.c: Declare.
  4485. * main.c (main): Initialize.
  4486. * gdbarch.c: Write trace messages to the log file.
  4487. * remote.c: Update any debug/log prints.
  4488. 1999-06-11 Michael Snyder <msnyder@cleaver.cygnus.com>
  4489. * remote.c (remote_wait): Clean up new thread handling.
  4490. (record_currthread): Announce new threads.
  4491. 1999-06-11 Jim Blandy <jimb@zwingli.cygnus.com>
  4492. * partial-stab.h (case N_LSYM, 'T' descriptor): Don't create
  4493. partial symbol table entries for nameless enums, even if the type
  4494. name is " ". (We still pick up the enum elements, though.)
  4495. * partial-stab.h: Remove #if 0'd sections, dating back to 1992,
  4496. which set a variable which exists nowhere else in the source.
  4497. Please examine your test suite output carefully, and report any
  4498. problems to me.
  4499. 1999-06-11 Fernando Nasser <fnasser@totem.to.cygnus.com>
  4500. * top.c (gdb_init): Add pre-processor test for UI_OUT.
  4501. 1999-06-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4502. * event-top.c (setup_event_loop): Change name to start_event_loop.
  4503. Move the intialization of event-loop variables to
  4504. _initialize_event_loop.
  4505. (_initialize_event_loop): New function. Called at init time, to
  4506. set up important event-loop variables.
  4507. * event-loop.h: setup_event_loop is now start_event_loop.
  4508. * main.c (main): Ditto.
  4509. Fri Jun 11 18:34:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4510. * defs.h (gdb_file_rewind_ftype, gdb_file_rewind,
  4511. set_gdb_file_rewind, gdb_file_put_ftype, gdb_file_put,
  4512. set_gdb_file_put): Declare.
  4513. * utils.c (gdb_file_new): Initialize ``rewind'' and ``put''.
  4514. (struct gdb_file): Add to_rewind and to_put.
  4515. (null_file_put, null_file_rewind, gdb_file_put, gdb_file_rewind,
  4516. set_gdb_file_put, set_gdb_file_rewind): New functions.
  4517. (tui_file_rewind, tui_file_put): New functions.
  4518. (tui_file_new): Add rewind and put.
  4519. * cli-out.c (cli_spaces): Replace gdb_stdout with data->stream.
  4520. (cli_text, cli_message, cli_flush, out_field_fmt,
  4521. field_separator): Ditto.
  4522. Fri Jun 11 16:08:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4523. * cli-out.c (cli_out_new): Replace init_cli_out,
  4524. * top.c (gdb_init): Call cli_out_new.
  4525. * main.c (main): Delete call to set_ui_out_impl.
  4526. * ui-out.h (set_ui_out_impl, cli_ui_out_impl), ui-out.c: Delete.
  4527. (cli_out_new): Add declaration. Will move later.
  4528. * ui-out.c (ui_out_new, ui_out_data), ui-out.h: New functions.
  4529. (struct ui_out): Add field data.
  4530. (ui_out_new): Replace init_ui_out_state.
  4531. * ui-out.c (XMALLOC): Define.
  4532. (ui_out_stream_new, append_header_to_list): Use XMALLOC instead of
  4533. xmalloc.
  4534. * cli-out.c (XMALLOC): Define.
  4535. Fri Jun 11 10:31:29 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4536. * ui-out.c (ui_out_field_int, ui_out_field_skip,
  4537. ui_out_field_fmt): Rewrite statements to remove infix operators.
  4538. * ui-out.c (get_curr_header, verify_field_proper_position,
  4539. verify_field_alignment, init_ui_out_state, set_ui_out_impl,
  4540. append_header_to_list): Add explicit ui_out parameter.
  4541. (struct ui_out): Move the local variables ``table_flag'',
  4542. ``body_flag'', ``table_columns'', ``table_id'', ``list_flat'',
  4543. ``field_count'', ``headerfirst'', ``headerlast'', ``headercurr''
  4544. into this struct.
  4545. (typedef ui_out_hdr): Delete.
  4546. (struct ui_out_hdr): Rename struct _ui_out_hdr.
  4547. (ui_out_table_begin, ui_out_table_end, ui_out_table_body,
  4548. ui_out_table_header, ui_out_field_int, ui_out_list_begin,
  4549. ui_out_table_end, ui_out_list_end, ui_out_field_skip,
  4550. ui_out_table_body, ui_out_list_begin, ui_out_list_end,
  4551. ui_out_field_string, ui_out_field_fmt, init_ui_out_state,
  4552. verify_field_proper_position, verify_field_alignment,
  4553. clear_header_list, append_header_to_list, _initialize_ui_out):
  4554. Update.
  4555. * ui-out.h (typedef streambuf): Delete.
  4556. (struct _streambuf): Rename to struct ui_stream.
  4557. * breakpoint.c (breakpoint_1), stack.c (print_frame_info_base),
  4558. printcmd.c (print_frame_args): Rename streambuf to struct
  4559. ui_stream.
  4560. Fri Jun 11 15:10:32 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4561. * d10v-tdep.c (d10v_push_arguments): Fix order of arguments passed
  4562. to store_address.
  4563. Fri Jun 11 10:31:29 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4564. * remote.c (tty_input): Change array to pointer.
  4565. (_initialize_remote): Call build_remote_gdbarch_data.
  4566. (build_remote_gdbarch_data): New function. Allocate space for
  4567. tty_input.
  4568. (readsocket, readtty): Delete extern declaration of tty_input.
  4569. 1999-06-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4570. * event-top.c (gdb_readline2): Call the command handling function
  4571. via the input_handler pointer.
  4572. (change_line_handler): When turning off editing, set input_handler
  4573. as well.
  4574. * utils.c (prompt_for_continue): If running asynchronously, call
  4575. async_request_quit, instead of request_quit.
  4576. * tracepoint.c (read_actions): If running asynchronously, set the
  4577. signal handler for STOP_SIGNAL to handle_stop_sig.
  4578. * top.h: (source_line_number, source_file_name, source_error,
  4579. source_pre_error, history_expansion_p, server_command): export for
  4580. use of event-top.c.
  4581. * event-top.c: Include top.h and terminal.h.
  4582. (instream): Remove extern declaration.
  4583. (handle_sigint, handle_sigquit, handle_sighup, handle_sigfpe,
  4584. handle_sigwinch, async_do_nothing, async_disconnect,
  4585. async_float_handler, async_stop_sig): Make static.
  4586. (async_request_quit, async_do_nothing, async_disconnect,
  4587. async_float_handler, async_stop_sig): Add gdb_glient_data
  4588. argument.
  4589. (handle_stop_sig): New function.
  4590. (sigtstp_token): New variable.
  4591. (sigint_token, sigquit_token, sigfpe_token, sigwinch_token):
  4592. Change their type tp PTR.
  4593. (mark_async_signal_handler_wrapper): New function.
  4594. (setup_event_loop): Initialize all the variables used by readline
  4595. only if not already done while reading the .gdbinit file. Display
  4596. the initial gdb prompt, if .gdbinit took care of setting things up
  4597. for readline.
  4598. (change_line_handler): When turning on the use of readline,
  4599. initialize input_handler as well.
  4600. (command_line_handler): Set up the signal handler for STOP_SIGNAL
  4601. to be handle_stop_sig.
  4602. (async_init_signals): Remove coercion of signal handlers in calls
  4603. to create_async_signal_handler. Initialize token for stop signal.
  4604. (handle_sigint): Call async_request_quit using one argument.
  4605. (handle_sigint, handle_sigquit, handle_sighup, handle_sigfpe,
  4606. handle_sigwinch): Call mark_async_signal_handler_wrapper instead
  4607. of mark_async_signal_handler.
  4608. * event-loop.h: Add extern declarations for handle_stop_sig,
  4609. async_command_editing_p, async_annotation_suffix,
  4610. new_async_prompt, the_prompts.
  4611. * top.c (command_line_input): Set the signal handler to be
  4612. handle_stop_sig, in case gdb is running asynchronously.
  4613. (get_prompt): Return the top of the prompt stack if running
  4614. asynchronously.
  4615. (set_prompt): Set the top of the prompt stack if running
  4616. asynchronously.
  4617. (init_main): Move ``extern'' vars from here to event-loop.h.
  4618. 1999-06-10 Michael Snyder <msnyder@cleaver.cygnus.com>
  4619. * values.c (value_from_string): new function. Make a value_ptr
  4620. from a string, with storage in local GDB memory (not in inferior).
  4621. * value.h (value_from_string): add prototype.
  4622. * remote.c (remote_cisco_ops): New remote target, "target cisco".
  4623. (init_remote_cisco_ops): New function, initialize new target.
  4624. (remote_cisco_mourn, remote_cisco_wait, remote_cisco_open,
  4625. remote_cisco_close): New functions, implement new target cisco.
  4626. (minitelnet, readtty, readsocket) New functions, implement the
  4627. I/O pass-through mode for target cisco.
  4628. (remote_wait): Detect special enhanced version of the 'S' packet
  4629. for target cisco.
  4630. (remote_cisco_expand): Perform Cisco variant of RLL decoding.
  4631. 1999-06-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4632. * event-loop.c (gdb_wait_for_event): Initialize num_found to 0.
  4633. * top.c (print_prompt): Delete this function.
  4634. From: Andrew Cagney <cagney@b1.cygnus.com>
  4635. * event-top.c (async_hook): Delete extern declaration.
  4636. * defs.h: Replace ``async_hook'' with ``async_p''.
  4637. * top.c (gdb_init, init_main, init_main, init_main, init_main):
  4638. Replace ``async_hook'' with ``async_p''.
  4639. * main.c: Rename ``async'' to ``async_p''.
  4640. (main): Add --noasync option.
  4641. (main): Hook in the asynchronous event-loop based CLI using
  4642. command_loop_hook instead of async_hook. Delete call to
  4643. async_hook().
  4644. Thu Jun 10 21:14:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4645. * mn10300-tdep.c (mn10300_store_return_value,
  4646. mn10300_extract_struct_value_address,
  4647. mn10300_extract_return_value), config/mn10300/tm-mn10300.h: New
  4648. functions.
  4649. * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS,
  4650. STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE): Update.
  4651. (TARGET_MN10300): Delete macro. Not used.
  4652. Thu Jun 10 20:04:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4653. * mn10300-tdep.c (mn10300_register_names): Make static.
  4654. (STORE_STRUCT_RETURN): Do not modify SP.
  4655. * config/mn10300/tm-mn10300.h(mn10300_register_name),
  4656. mn10300-tdep.c : New function.
  4657. * config/mn10300/tm-mn10300.h (REGISTER_NAME): Update.
  4658. * config/mn10300/tm-mn10300.h (mn10300_saved_pc_after_call),
  4659. mn10300-tdep.c: New function.
  4660. * config/mn10300/tm-mn10300.h (SAVED_PC_AFTER_CALL): Update.
  4661. Wed Jun 9 16:42:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4662. * top.h, top.c (simplified_command_loop): Make global.
  4663. * main.c (main): Delete call to call_interp_loop. Interpreters
  4664. hook in using command_loop_hook.
  4665. * top.c (call_interp_loop): Delete function.
  4666. 1999-06-10 Keith Seitz <keiths@cygnus.com>
  4667. * mcore-rom.c (picobug_dumpregs): Return a value. Any value, it
  4668. doesn't matter.
  4669. * mcore-tdep.c (mcore_analyze_prologue): Set NO_MORE_FRAMES
  4670. if the start of the function is the entry point.
  4671. (mcore_analyze_prologue): rotli takes an immediate, not an
  4672. offset immediate.
  4673. (mcore_push_arguments): Fix compiler warning.
  4674. 1999-06-09 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4675. * rs6000-tdep.c (skip_prologue): Don't mistake a branch for a
  4676. subroutine call.
  4677. 1999-06-08 Michael Snyder <msnyder@cleaver.cygnus.com>
  4678. * remote.c (remote_wait): Add 'N' response packet, which is a
  4679. stop with signal number plus section offsets for .text, .data and
  4680. .bss. This is used by Cisco to indicate relocation offsets.
  4681. (remote_cisco_section_offsets, remote_cisco_objfile_relocate):
  4682. new files to support 'N' packet.
  4683. (remote_info_process): New function. Implements the
  4684. "info remote-process" command, by means of which the remote target
  4685. can report anything it wants to about the remote process/app being
  4686. debugged.
  4687. (_initialize_remote): add info remote-proc command.
  4688. (remote_threads_info): New function for "info threads" command.
  4689. Attempts to use new query "qfThreadInfo" instead of the old
  4690. undocumented query.
  4691. * exec.c (exec_set_section_offsets) new files to support 'N' packet.
  4692. Tue Jun 8 13:33:42 1999 Andrew Cagney <cagney@amy.cygnus.com>
  4693. * inferior.h (generic_target_read_pc, generic_target_write_pc,
  4694. generic_target_read_fp, generic_target_write_fp,
  4695. generic_target_read_sp, generic_target_write_sp): Declare new
  4696. functions.
  4697. * findvar.c (generic_target_read_pc, generic_target_write_pc,
  4698. generic_target_read_fp, generic_target_write_fp,
  4699. generic_target_read_sp, generic_target_write_sp): New functions.
  4700. (TARGET_READ_PC, TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP,
  4701. TARGET_READ_SP, TARGET_WRITE_SP): Default to corresponding generic
  4702. function.
  4703. (write_pc_pid, write_pc_pid, read_sp, write_sp, read_fp,
  4704. write_fp): Simplify.
  4705. * gdbarch.c (verify_gdbarch): Always verify TARGET_PTR_BIT,
  4706. TARGET_SHORT_BIT, TARGET_INT_BIT, TARGET_LONG_BIT,
  4707. TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT, TARGET_DOUBLE_BIT,
  4708. TARGET_LONG_DOUBLE_BIT, TARGET_READ_PC, TARGET_WRITE_PC,
  4709. TARGET_READ_FP, TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP,
  4710. USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY_BREAKPOINT_OFFSET_P,
  4711. CALL_DUMMY_P, CALL_DUMMY_STACK_ADJUST_P, GET_SAVED_REGISTER,
  4712. REGISTER_CONVERTIBLE, PUSH_ARGUMENTS, PUSH_RETURN_ADDRESS,
  4713. FRAME_CHAIN_VALID.
  4714. (GET_GDBARCH, SET_GDBARCH): Delete macros. Implement functions
  4715. directly.
  4716. * gdbarch.h, gdbarch.c: Call fatal() instead of abort(). Identify
  4717. the function / macro with a problem. Always verify a architecture
  4718. attribute before returning it.
  4719. * gdbarch.h, gdbarch.c (generic_register_convertible_not): New
  4720. function.
  4721. * mips-tdep.c (mips_push_return_address): New function.
  4722. * config/mips/tm-mips.h (PUSH_RETURN_ADDRESS): Define.
  4723. * mips-tdep.c (mips_gdbarch_init): Initialize short_bit,
  4724. double_bit, long_double_bit, read_pc, write_pc, read_fp, write_fp,
  4725. read_sp, write_sp, frame_chain_valid, get_saved_register,
  4726. push_arguments, push_return_address, register_convertible,
  4727. call_dummy_p, use_generic_dummy_frames,
  4728. call_dummy_breakpoint_offset_p, call_dummy_stack_adjust_p,
  4729. call_dummy_words and sizeof_call_dummy_words.
  4730. * config/mips/tm-mips.h: Don't define CALL_DUMMY when multi-arch.
  4731. 1999-06-07 Keith Seitz <keiths@cygnus.com>
  4732. * v850ice.c (init_hidden_window): Do not rely on the existence of
  4733. a gui for window creation. Return boolean status.
  4734. (v850ice_open): Use boolean status of init_hidden_window.
  4735. Allow any ICE execution command to run under CLI. Maybe one
  4736. day gdb will use a real event loop and allow this code to run.
  4737. * configure.tgt: Configure the v850 ice for all cygwin-hosted
  4738. toolchains.
  4739. Mon Jun 7 23:37:26 1999 Andrew Cagney <cagney@amy.cygnus.com>
  4740. * config/mips/tm-mips.h (EXTRA_FRAME_INFO): Delete.
  4741. * mips-tdep.c (mips_init_extra_frame_info): Allocate saved_regs.
  4742. (temp_saved_regs): Replace struct with a simple pointer.
  4743. (set_reg_offset, mips32_heuristic_proc_desc, heuristic_proc_desc,
  4744. mips_init_extra_frame_info): Update.
  4745. Mon Jun 7 21:40:12 1999 Andrew Cagney <cagney@amy.cygnus.com>
  4746. * config/mips/tm-mips.h (EXTRA_FRAME_INFO): Move elements from here.
  4747. * mips-tdep.c (struct frame_extra_info): To here.
  4748. * mips-tdep.c (mips_print_extra_frame_info, mips_find_saved_regs,
  4749. mips_init_extra_frame_info, mips_pop_frame): Update
  4750. (mips_init_extra_frame_info): Allocate space for the extra info.
  4751. Mon Jun 7 21:08:50 1999 Andrew Cagney <cagney@amy.cygnus.com>
  4752. * config/mips/tm-mips.h (mips_init_extra_frame_info), mips-tdep.c:
  4753. Rename init_extra_frame_info. Add argument ``fromleaf''.
  4754. mips-tdep.c (mips_gdbarch_init): Add mips_init_extra_frame_info.
  4755. * config/mips/tm-mips.h (mips_print_extra_frame_info),
  4756. mips-tdep.c: New function.
  4757. (PRINT_EXTRA_FRAME_INFO): Update definition.
  4758. Mon Jun 7 20:11:07 1999 Andrew Cagney <cagney@amy.cygnus.com>
  4759. * config/mips/tm-mips.h, config/mips/tm-irix3.h,
  4760. config/mips/tm-tx19.h, config/mips/tm-tx19l.h,
  4761. config/mips/tm-tx39.h, config/mips/tm-tx39l.h: Rename macro
  4762. REGISTER_NAMES to MIPS_REGISTER_NAMES.
  4763. * config/mips/tm-mips.h (REGISTER_NAME): Define.
  4764. * mips-tdep.c (mips_processor_reg_names): New static variable.
  4765. (mips_register_name): New function.
  4766. (mips_set_processor_type): Update mips_processor_reg_names.
  4767. (mips_generic_reg_names): Initialize using MIPS_REGISTER_NAMES.
  4768. (mips_gdbarch_init): Add mips_register_name.
  4769. Sun Jun 6 11:09:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4770. * remote.c (PBUFSIZ): Re-define so that value is computed at
  4771. run-time.
  4772. (MAXBUFBYTES): Re-define as a macro function.
  4773. * gdbarch.h, gdbarch.c: Add multi-arch support for REGISTER_BYTES.
  4774. * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
  4775. 1999-06-05 Fernando Nasser <fnasser@totem.to.cygnus.com>
  4776. * symtab.c (decode_line_1): Accept filenames with spaces in
  4777. 'linespecs' when enclosed in double quotation marks and handle
  4778. drive specification is DOS format (D:).
  4779. 1999-06-04 Jim Blandy <jimb@zwingli.cygnus.com>
  4780. * parse.c: Don't include <ctype.h> twice.
  4781. 1999-06-04 David Taylor <taylor@louisiana.cygnus.com>
  4782. Sat May 15 12:16:09 1999 Per Bothner <bothner@deneb.cygnus.com>
  4783. * eval.c (evaluate_subexp_standard): Remove Gilmore rant.
  4784. (Of course C has "expected types", at least if you allow
  4785. brace-initializer expressions - as in Gcc.)
  4786. Remove NULLing out expect_type. Do pass NULL_TYPE in place
  4787. the incoming expect_type where appropriate.
  4788. Fri Jun 4 10:56:23 1999 Jeffrey A Law (law@cygnus.com)
  4789. * hppa-tdep.c (hppa_fix_call_dummy): Make it work for GCC compiled
  4790. executables without end.o. Clean up lots of mis-guided comments.
  4791. Fri Jun 4 17:10:36 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4792. * parser-defs.h (std_regs): Replace array with pointer.
  4793. * parse.c (build_parse): Build the std_regs table according to the
  4794. standard registers available.
  4795. (_initialize_parse): Register std_regs and num_std_regs as
  4796. architecture specific.
  4797. * gdbarch.h, gdbarch.c: Add multi-arch support for SP_REGNUM,
  4798. FP_REGNUM, PC_REGNUM, NUM_REGS, REGISTER_NAME.
  4799. * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
  4800. 1999-06-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
  4801. * printcmd.c (print_frame_args): Convert some of the output to use
  4802. ui_out.
  4803. * stack.c (print_frame_info_base): Adjust the call to the above
  4804. function.
  4805. 1999-06-03 Michael Snyder <msnyder@cleaver.cygnus.com>
  4806. * thread.c: eliminate the target_thread_vector (functionality
  4807. moved into the standard target vector).
  4808. * gdbthread.h: eliminate target_thread_vector. Move all related
  4809. defines into remote.c, since they are no longer shared with thread.c.
  4810. * remote.c: eliminate the target_thread_vector.
  4811. (remote_find_new_threads): change return type to void, consistent
  4812. with the target vector table. (cont_thread): rename continue_thread.
  4813. (record_currthread): remove dead code. (remote_thread_alive):
  4814. clean up and simplify. (threadref etc.): move definitions to here
  4815. from gdbthread.h.
  4816. 1999-06-02 Jason Molenda (jsm@bugshack.cygnus.com)
  4817. * inftarg.c (child_create_inferior): Remove dead HPUX specific code
  4818. which tries to find csh.
  4819. * fork-child.c: Remove DEBUGGING predefine and conditionalized
  4820. printfs.
  4821. (fork_inferior): Remove dead HPUX specific code which assumes shell
  4822. is csh.
  4823. * hppa-tdep.c: Remove DEBUGGING and #if 0 debugging printfs.
  4824. * parse.c: Ditto.
  4825. * somread.c: Ditto.
  4826. * gdbarch.h: Forward decl of struct value.
  4827. Thu Jun 3 10:12:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4828. * d10v-tdep.c (do_d10v_pop_frame): Rename d10v_pop_frame. Make
  4829. static.
  4830. * d10v-tdep.c (d10v_pop_frame), config/d10v/tm-d10v.h: New
  4831. function. Call generic_pop_current_frame.
  4832. * config/d10v/tm-d10v.h (POP_FRAME): Update.
  4833. * gdbarch.h, gdbarch.c (frame_num_args_unknown): New function.
  4834. * gdbarch.h, gdbarch.c: Add multi-arch support for POP_FRAME,
  4835. SKIP_PROLOGUE, INNER_THAN, DECR_PC_AFTER_BREAK,
  4836. FUNCTION_START_OFFSET, REMOTE_TRANSLATE_XFER_ADDRESS, FRAME_CHAIN,
  4837. FRAME_CHAIN_VALID, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS,
  4838. FRAME_LOCALS_ADDRESS, FRAME_ARGS_SKIP,
  4839. FRAMELESS_FUNCTION_INVOCATION, REGISTER_BYTE, REGISTER_RAW_SIZE,
  4840. REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, SAVED_PC_AFTER_CALL,
  4841. FRAME_NUM_ARGS, MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE,
  4842. REGISTER_SIZE.
  4843. * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
  4844. * config/d10v/tm-d10v.h (DMEM_START, IMEM_START, STACK_START,
  4845. ARG1_REGNUM, ARGN_REGNUM, RET1_REGNUM): Move definitions from
  4846. here.
  4847. * d10v-tdep.c: To here.
  4848. * config/d10v/tm-d10v.h (struct type): Move declaration from here.
  4849. * gdbarch.h: To here.
  4850. * config/d10v/tm-d10v.h (struct frame_info, struct
  4851. frame_saved_regs, struct type): Delete declarations.
  4852. 1999-06-02 Robert Hoehne <robert.hoehne@gmx.net>
  4853. * go32-nat.c: go32_terminal_init, go32_terminal_inferior and
  4854. go32_terminal_ours are new functions to save/restore the inferior`s
  4855. stdin/stdout filemodes
  4856. 1999-06-02 Stan Shebs <shebs@andros.cygnus.com>
  4857. * MAINTAINERS: Add Mark Kettenis, Jeff Law, and Philippe De Muyter
  4858. as maintainers for Hurd, HP/UX, and COFF, respectively.
  4859. 1999-06-02 Mark Kettenis <kettenis@gnu.org>
  4860. * gnu-nat.c (inf_continue): New function.
  4861. (struct inf): Use `unsigned int' instead of `int' for bit-fields.
  4862. Add new bit-field named `nomsg'.
  4863. (inf_validate_procinfo): Renamed from inf_validate_stopped, all
  4864. callers changed. Also update the `nomsg' and `traced' fields of
  4865. INF.
  4866. (make_inf): Initialize INF->nomsg.
  4867. (inf_cleanup): Reset INF->nomsg.
  4868. (inf_detach): Call `inf_validate_procinfo'. Call `inf_continue'
  4869. instead of `inf_signal' if the inferior does not have a message
  4870. port.
  4871. (gnu_resume): Likewise.
  4872. (gnu_create_inferior): Reset INF->nomsg in `attach_to_child'.
  4873. Call `inf_validate_procinfo' after returning from `fork_inferior'.
  4874. (gnu_attach): Update signal thread and tracing state.
  4875. * config/i386/tm-i386gnu.h: Include "i386/tm-i386.h" instead of
  4876. "i386/tm-i386v.h".
  4877. (STACK_END_ADDR): Remove.
  4878. (SIGCONTEXT_PC_OFFSET): New define.
  4879. Include "tm-sysv4.h".
  4880. 1999-06-02 J.T. Conklin <jtc@redback.com>
  4881. * config/tm-vxworks.h: New file, header for definitions common to
  4882. all vxWorks targets.
  4883. * config/a29k/tm-vx29k.h, config/i960/tm-vx960.h,
  4884. config/m68k/tm-vx68.h, config/mips/tm-vxmips.h,
  4885. config/sparc/tm-vxsparc.h: Include tm-vxworks.h.
  4886. Wed Jun 2 17:37:03 1999 Jeffrey A Law (law@cygnus.com)
  4887. * config/pa/tm-hppa.h (IMPORT_SHLIB): New unwind stub type.
  4888. 1999-06-02 Christopher Faylor <cgf@cygnus.com>
  4889. * configure.tgt: Alphabetically reorder some targets.
  4890. 1999-06-02 Keith Seitz <keiths@cygnus.com>
  4891. * v850ice.c (v850ice_xfer_memory): Insert lost "break".
  4892. 1999-06-02 Jim Blandy <jimb@zwingli.cygnus.com>
  4893. * rs6000-tdep.c (variants): Fix description of 750 register set.
  4894. (Thanks to J. T. Conklin.)
  4895. Wed Jun 2 16:10:08 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4896. * gdbarch.h, gdbarch.c: Add multi-arch support for
  4897. STORE_STRUCT_RETURN, STORE_RETURN_VALUE,
  4898. EXTRACT_STRUCT_VALUE_ADDRESS, USE_STRUCT_CONVENTION,
  4899. FRAME_INIT_SAVED_REGS and INIT_EXTRA_FRAME_INFO.
  4900. * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
  4901. * config/d10v/tm-d10v.h (FRAME_INIT_SAVED_REGS): Replace
  4902. FRAME_FIND_SAVED_REGS.
  4903. (d10v_frame_init_saved_regs): Replace d10v_frame_find_saved_regs.
  4904. * d10v-tdep.c (d10v_pop_frame, d10v_frame_chain,
  4905. d10v_frame_init_saved_regs): Update.
  4906. * gdbarch.h: Disallow FRAME_FIND_SAVED_REGS when multi-arch.
  4907. * gdbarch.h, gdbarch.c: Add multi-arch support for
  4908. D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_DADDR_P, D10V_IADDR_P,
  4909. D10V_CONVERT_DADDR_TO_RAW and D10V_CONVERT_IADDR_TO_RAW.
  4910. * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
  4911. * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Delete.
  4912. * d10v-tdep.c (struct frame_extra_info): Define.
  4913. (d10v_init_extra_frame_info, d10v_pop_frame, d10v_frame_chain,
  4914. d10v_frame_find_saved_regs): Update.
  4915. * gdbarch.h: Disallow EXTRA_FRAME_INFO when multi-arch.
  4916. Tue Jun 1 13:36:31 1999 Philippe De Muyter <phdm@macqel.be>
  4917. * config/m68k/tm-delta68.h (FRAME_NUM_ARGS): Macro prototype fixed.
  4918. * config/m68k/tm-news.h, config/ns32k/tm-merlin.h: Ditto.
  4919. * config/ns32k/tm-umax.h (FRAME_NUM_ARGS): Old macro definition
  4920. removed; new macro prototype fixed.
  4921. Wed Jun 2 11:18:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4922. * gdbarch.h, gdbarch.c: Add multi-arch support for
  4923. EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS, PUSH_DUMMY_FRAME,
  4924. PUSH_RETURN_ADDRESS, POP_FRAME, FRAME_FIND_SAVED_REGS.
  4925. * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
  4926. * gdbarch.h, gdbarch.c: Add multi-arch support for
  4927. REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
  4928. REGISTER_CONVERT_TO_RAW.
  4929. * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
  4930. * defs.h (REGISTER_NAME): Move compatibility definition from here.
  4931. * gdbarch.h: To here.
  4932. * frame.h, blockframe.c (generic_fix_call_dummy): New
  4933. stub function.
  4934. * gdbarch.h, gdbarch.c: Add multi-arch support for FIX_CALL_DUMMY.
  4935. * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
  4936. Tue Jun 1 20:06:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4937. * d10v-tdep.c (d10v_gdbarch_init): Set get_saved_register.
  4938. * config/d10v/tm-d10v.h: Update.
  4939. Tue Jun 1 19:50:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4940. * gdbarch.h, gdbarch.c: Add multi-arch support for TARGET_READ_PC,
  4941. TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP, TARGET_READ_SP
  4942. and TARGET_WRITE_SP.
  4943. * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
  4944. Tue Jun 1 19:19:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4945. * gdbarch.c (default_gdbarch): Set field GET_SAVED_REGISTER to
  4946. generic_get_saved_register.
  4947. * gdbarch.c: Change update dispatch functions so that they check
  4948. for a NULL function pointer.
  4949. Tue Jun 1 19:19:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4950. * gdbarch.h, gdbarch.c: Add multi-arch support for TARGET_INT_BIT,
  4951. TARGET_CHAR_BIT, TARGET_SHORT_BIT, TARGET_FLOAT_BIT,
  4952. TARGET_DOUBLE_BIT and TARGET_LONG_DOUBLE_BIT.
  4953. * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
  4954. Tue Jun 1 18:47:54 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4955. * parse.c (build_parse): New function. Initialize
  4956. msym_text_symbol_type, msym_data_symbol_type and
  4957. msym_unknown_symbol_type.
  4958. (_initialize_parse): Call build_parse.
  4959. (_initialize_parse): Register variables msym_text_symbol_type,
  4960. msym_data_symbol_type as msym_unknown_symbol_type as
  4961. per-architecture.
  4962. Tue Jun 1 11:30:09 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4963. * d10v-tdep.c (_initialize_d10v_tdep): Register d10v as an
  4964. architecture.
  4965. (d10v_gdbarch_init): New function.
  4966. * confg/d10v/tm-d10v.h (GDB_MULTI_ARCH): Define.
  4967. Tue Jun 1 10:45:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4968. * config/d10v/tm-d10v.h (REGISTER_CONVERTIBLE,
  4969. REGISTER_CONVERT_TO_RAW, REGISTER_CONVERT_TO_VIRTUAL): Convert
  4970. macros into functions.
  4971. * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_register_convertable,
  4972. d10v_register_convert_to_virtual, d10v_register_convert_to_raw):
  4973. The new functions.
  4974. 1999-05-31 Fernando Nasser <fnasser@totem.to.cygnus.com>
  4975. * breakpoint.c (print_it_normal): Convertion of part of the output
  4976. to use ui-out.
  4977. (mention): Same as above.
  4978. * infcmd.c (run_command): Same.
  4979. * source.c (print_source_lines_base): Same.
  4980. * stack.c (print_frame_info_base): Same.
  4981. 1999-05-31 Fernando Nasser <fnasser@totem.to.cygnus.com>
  4982. * breakpoint.c (breakpoint_1): Fix names of fields on ui_out
  4983. produced output.
  4984. * ui-out.h: Cosmetic change.
  4985. 1999-05-31 Fernando Nasser <fnasser@totem.to.cygnus.com>
  4986. * stack.c (print_args_stub): Add missing stream parameter.
  4987. Mon May 31 15:50:08 1999 Andrew Cagney <cagney@b1.cygnus.com>
  4988. Fri May 28 16:51:00 1999 Martin Dorey <martin.dorey@madge.com>:
  4989. * valops.c, value.h (default_push_arguments): Fix order of
  4990. parameters to match PUSH_ARGUMENTS arguments.
  4991. 1999-05-28 Fernando Nasser <fnasser@totem.to.cygnus.com>
  4992. * top.c (print_command_lines): Simplified script format for
  4993. non-console output.
  4994. 1999-05-28 Fernando Nasser <fnasser@totem.to.cygnus.com>
  4995. * top.c (print_command_lines): Fixed printing of if clauses.
  4996. * breakpoint.c (breakpoint_1): Adjust call to the above.
  4997. * top.c (show_user_1): Same as above.
  4998. 1999-05-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
  4999. * top.c (call_interp_loop): Correct build problem with UI_OUT defined.
  5000. Thu May 27 11:42:55 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5001. * gdbarch.h (EXTRACT_STRUCT_VALUE_ADDRESS): Return 0.
  5002. * valops.c (value_assign): Delete redundant test of
  5003. REGISTER_CONVERTIBLE.
  5004. Thu May 27 11:33:57 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5005. * config/w65/tm-w65.h, config/tic80/tm-tic80.h, config/sh/tm-sh.h,
  5006. config/i386/tm-i386m3.h, config/i386/tm-go32.h,
  5007. config/i386/tm-cygwin.h, config/h8500/tm-h8500.h,
  5008. config/d30v/tm-d30v.h, config/d10v/tm-d10v.h: Delete definition of
  5009. macro NAMES_HAVE_UNDERSCORE.
  5010. Thu May 27 09:31:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5011. * gdbarch.h (EXTRACT_STRUCT_VALUE_ADDRESS,
  5012. EXTRACT_STRUCT_VALUE_ADDRESS_P): Provide default definitions.
  5013. * values.c (value_being_returned): Use
  5014. EXTRACT_STRUCT_VALUE_ADDRESS when EXTRACT_STRUCT_VALUE_ADDRESS_P.
  5015. Wed May 26 13:51:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5016. * utils.c (tui_file_new, tui_file_delete, tui_fileopen): New
  5017. functions.
  5018. (tui_file_isatty): Rename gdb_file_isatty.
  5019. (gdb_file_init_astring): Use tui_file_new to create stream.
  5020. (gdb_file_get_strbuf, gdb_file_adjust_strbuf): Call gdb_file_data
  5021. to access the tui_stream.
  5022. (tui_file_flush): Rename gdb_flush. Call gdb_file_data to access
  5023. the tui_stream. Pass FILE and not STREAM down.
  5024. * utils.c (struct stdio_file, stdio_file_flush, stdio_file_fputs,
  5025. stdio_file_isatty, stdio_file_delete, stdio_file_new,
  5026. stdio_fileopen): Define type and functions. Implement a simple
  5027. STDIO based gdb_file.
  5028. (struct gdb_file, gdb_file_new, gdb_file_delete, null_file_isatty,
  5029. null_file_flush, null_file_fputs, null_file_delete, gdb_file_data,
  5030. set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_fputs,
  5031. set_gdb_file_data, fputs_unfiltered, gdb_flush, gdb_file_isatty):
  5032. Define type and functions. Implement virtual functions for
  5033. gdb_file.
  5034. * defs.h (struct gdb_file): Declare.
  5035. (GDB_FILE): Change type to struct gdb_file. Deprecate.
  5036. (gdb_file_flush_ftype, gdb_file_fputs_ftype,
  5037. gdb_file_isatty_ftype, gdb_file_delete_ftype): Add function type
  5038. declarations.
  5039. * defs.h (set_gdb_file_flush, set_gdb_file_fputs,
  5040. set_gdb_file_isatty, set_gdb_file_data, gdb_file_new,
  5041. gdb_file_delete, gdb_file_data, stdio_fileopen, tui_fileopen): Add
  5042. function declarations.
  5043. (gdb_fopen): Re-implement. Call stdio_file_new.
  5044. (gdb_fclose): Re-implement. Call gdb_file_delete.
  5045. * main.c (tui_file_fputs): Rename fputs_unfiltered. Use
  5046. gdb_file_data to gain access to the tui_stream data. Use FILE
  5047. instead of STREAM where applicable.
  5048. (main): Create gdb_stdout and gdb_stderr using tui_fileopen.
  5049. * defs.h (struct tui_stream): Add field ts_magic.
  5050. * utils.c (tui_file_magic): Local variable.
  5051. (tui_file_new): Set field ts_magic.
  5052. (tui_file_delete, tui_file_isatty, gdb_file_init_astring,
  5053. gdb_file_get_strbuf, gdb_file_adjust_strbuf, tui_file_flush):
  5054. Verify ts_magic.
  5055. 1999-05-25 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5056. * top.c (print_command_lines): New function, fix bug in printing
  5057. while commands and uses ui_out.
  5058. * gdbcmd.c: Add prototype for the above.
  5059. * breakpoint.c (breakpoint_1): Fix breakpoint script printing.
  5060. * command.c (show_user_1): Fix user command script printing.
  5061. 1999-05-25 Jim Blandy <jimb@zwingli.cygnus.com>
  5062. * breakpoint.c (insert_breakpoints, remove_breakpoint,
  5063. breakpoint_1): Add a 'default' case, which prints a warning
  5064. message, to remove EGCS warnings.
  5065. 1999-05-25 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5066. * utils.c (gdb_file_adjust_strbuf): Take into account the
  5067. possibility that the buffer has not been allocated yet.
  5068. Tue May 25 16:05:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5069. * gdbarch.h (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
  5070. REGISTER_CONVERT_TO_RAW): Provide default definition.
  5071. * valops.c (value_assign), infcmd.c (do_registers_info), findvar.c
  5072. (value_from_register, value_of_register): Remove #ifdef
  5073. REGISTER_CONVERTIBLE. Assume REGISTER_CONVERTIBLE etc defined.
  5074. 1999-05-25 Keith Seitz <keiths@cygnus.com>
  5075. * config/mcore/tm-mcore.h (FRAME_NUM_ARGS): Re-write definition of
  5076. FRAME_NUM_ARGS so that it returns NUM_ARGS as a result instead of
  5077. setting a variable as a side effect.
  5078. Tue May 25 16:18:25 1999 Andrew Cagney <cagney@amy.cygnus.com>
  5079. * remote-d10v.c (d10v_eva_prepare_to_trace,
  5080. d10v_eva_get_trace_data), remote-sim.c (_initialize_remote_sim):
  5081. Add declaraton. Make static.
  5082. * remote-d10v.c (_initialize_remote_d10v), d10v-tdep.c
  5083. (_initialize_d10v_tdep): Add declaration.
  5084. * config/d10v/tm-d10v.h (d10v_frame_chain): Add declaration.
  5085. Tue May 25 15:20:58 1999 Andrew Cagney <cagney@amy.cygnus.com>
  5086. * main.c (init_proc, proc_remove_foreign): Delete function.
  5087. * inftarg.c (child_mourn_inferior): Update. Delete call to
  5088. proc_remove_foreign().
  5089. * top.c (gdb_init): Update. Delete call to init_proc().
  5090. * utils.c (pollquit, fmthex, hexlate): Delete function.
  5091. Tue May 25 13:01:43 1999 Andrew Cagney <cagney@amy.cygnus.com>
  5092. * main.c (gdb_init): Move declaration from here.
  5093. * top.h: To here.
  5094. * main.c (call_interp_loop): Move declaration from here.
  5095. * top.h: To here.
  5096. * defs.h (init_page_info): Add declaration.
  5097. * top.c (initialize_utils): Move declaration from here.
  5098. * defs.h: To here.
  5099. * infcmd.c (target_map_name_to_register): Move declaration from
  5100. here.
  5101. * parser-defs.h: To here.
  5102. * c-typeprint.c (cp_type_print_method_args), target.c
  5103. (nosupport_runtime, normal_target_post_startup_inferior): Add
  5104. declaration. Make static.
  5105. Tue May 25 13:53:23 1999 Andrew Cagney <cagney@amy.cygnus.com>
  5106. * main.c: Include "event-loop.h".
  5107. * Makefile.in (main.o): Add dependency.
  5108. * top.h (setup_event_loop, async_init_signals), top.c
  5109. (set_async_editing_command, set_async_annotation_level,
  5110. set_async_prompt), event-loop.c (display_gdb_prompt): Move
  5111. declarations from here.
  5112. * event-loop.h: To here.
  5113. * event-loop.h (delete_async_signal_handler): Add function
  5114. declaration.
  5115. * event-top.c (change_annotation_level, command_handler): Add
  5116. declaration. Make static.
  5117. Tue May 25 12:44:58 1999 Andrew Cagney <cagney@amy.cygnus.com>
  5118. * tracepoint.c (free_actions_list, add_register): Add declaration.
  5119. Make static.
  5120. (free_actions_list_cleanup_wrapper): New function. Wraps
  5121. free_actions_list for make_cleanup.
  5122. (trace_start_command): Pass free_actions_list_cleanup_wrapper
  5123. instead of free_actions_list to make_cleanup.
  5124. (_initialize_tracepoint): Add extern declaration.
  5125. Tue May 25 12:23:39 1999 Andrew Cagney <cagney@amy.cygnus.com>
  5126. * jv-typeprint.c (java_type_print_base, jv-valprint.c
  5127. (java_print_value_fields): Add static declaration.
  5128. * jv-lang.c (java_lookup_type, get_java_utf8_name,
  5129. java_lookup_type): Add static declaration.
  5130. (get_java_class_symtab, java_class_is_primitive,
  5131. java_value_string): Add declaration. Make static.
  5132. (java_rerun_cleanup): Add extern declaration for this stub
  5133. function.
  5134. Tue May 25 12:06:29 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5135. * gdbarch.h: When multi-arch, check that REGISTER_NAMES was not
  5136. defined.
  5137. Mon May 24 16:16:29 1999 Andrew Cagney <cagney@amy.cygnus.com>
  5138. * inflow.c (_initialize_inflow), annotate.c
  5139. (_initialize_annotate), os9kread.c (_initialize_os9kread),
  5140. serial.c (_initialize_serial), nlmread.c (_initialize_nlmread),
  5141. f-valprint.c (_initialize_f_valprint), cp-valprint.c
  5142. (_initialize_cp_valprint), typeprint.c (_initialize_typeprint),
  5143. complaints.c (_initialize_complaints), scm-lang.c
  5144. (_initialize_scheme_language), m2-lang.c
  5145. (_initialize_m2_language), dbxread.c (_initialize_dbxread),
  5146. f-lang.c (_initialize_f_language), ch-lang.c
  5147. (_initialize_chill_language), c-lang.c (_initialize_c_language),
  5148. corefile.c (_initialize_core), stabsread.c
  5149. (_initialize_stabsread), mipsread.c (_initialize_mipsread),
  5150. elfread.c (_initialize_elfread), coffread.c
  5151. (_initialize_coffread), maint.c (_initialize_maint_cmds),
  5152. demangle.c (_initialize_demangler), maint.c
  5153. (_initialize_maint_cmds), language.c (_initialize_language): Add
  5154. external declaration.
  5155. * ui-out.c (_initialize_ui_out), cli-out.c (_initialize_cli_out):
  5156. Ditto.
  5157. Mon May 24 10:04:56 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5158. * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/v850/tm-v850.h,
  5159. config/tic80/tm-tic80.h, config/tahoe/tm-tahoe.h,
  5160. config/rs6000/tm-rs6000.h, config/sparc/tm-sparc.h,
  5161. config/sh/tm-sh.h, config/pyr/tm-pyr.h, config/pa/tm-hppa.h,
  5162. config/ns32k/tm-merlin.h, config/mn10300/tm-mn10300.h,
  5163. config/mn10200/tm-mn10200.h, config/mips/tm-mips.h,
  5164. config/m88k/tm-m88k.h, config/m68k/tm-news.h,
  5165. config/m68k/tm-delta68.h, config/m68k/tm-isi.h,
  5166. config/m68k/tm-m68k.h, config/m32r/tm-m32r.h,
  5167. config/i960/tm-i960.h, config/i386/tm-i386v.h,
  5168. config/i386/tm-i386.h, config/h8500/tm-h8500.h,
  5169. config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
  5170. config/d30v/tm-d30v.h, config/d10v/tm-d10v.h,
  5171. config/convex/tm-convex.h, config/arc/tm-arc.h,
  5172. config/arm/tm-arm.h, config/alpha/tm-alpha.h,
  5173. config/a29k/tm-a29k.h: Re-write definition of FRAME_NUM_ARGS so
  5174. that it returns NUM_ARGS as a result instead of setting a variable
  5175. as a side effect.
  5176. * ns32k-tdep.c (merlin_frame_num_args), tahoe-tdep.c
  5177. (tahoe_frame_num_args), vax-tdep.c (vax_frame_num_args),
  5178. m68k-tdep.c (news_frame_num_args, delta68_frame_num_args,
  5179. isi_frame_num_args), convex-tdep.c (convex_frame_num_args): New
  5180. functions.
  5181. * stack.c (print_args_stub): Update use of FRAME_NUM_ARGS.
  5182. Mon May 24 11:57:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5183. * remote.c (remote_xfer_memory): Re-write with assumption that
  5184. REMOTE_TRANSLATE_XFER_ADDRESS is defined. Pass targ_addr and
  5185. targ_len by reference.
  5186. (REMOTE_TRANSLATE_XFER_ADDRESS): Provide default definition.
  5187. * remote-d10v.c (remote_d10v_translate_xfer_address): Update.
  5188. * config/d10v/tm-d10v.h (REMOTE_TRANSLATE_XFER_ADDRESS): Update.
  5189. Mon May 24 12:10:58 1999 Andrew Cagney <cagney@amy.cygnus.com>
  5190. * value.h (default_push_arguments): Add function declaration.
  5191. * alpha-tdep.c (alpha_about_to_return), gdbarch.c (verify_gdbarch,
  5192. arch_ok, set_arch), command.c (find_cmd), infrun.c
  5193. (follow_inferior_fork, follow_fork, follow_vfork,
  5194. set_schedlock_func, is_internal_shlib_eventpoint,
  5195. stopped_for_internal_shlib_event, stopped_for_shlib_catchpoint,
  5196. xdb_handle_command), infcmd.c (run_no_args_command, go_command),
  5197. symfile.c (add_filename_language, set_ext_lang_command,
  5198. info_ext_lang_command, init_filename_language_table), symtab.c
  5199. (overload_list_add_symbol), defs.h (default_get_saved_register),
  5200. ax-general.c (grow_expr, append_const, read_const, generic_ext):
  5201. Ditto.
  5202. * infrun.c (currently_stepping): Ditto. Make static.
  5203. * valops.c (hand_function_call): Explictly type static variable
  5204. ``checked''.
  5205. Mon May 24 08:36:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5206. * d10v-tdep.c (d10v_breakpoint_from_pc, d10v_register_name,
  5207. d10v_register_byte, d10v_register_raw_size,
  5208. d10v_register_virtual_size, d10v_register_virtual_type,
  5209. d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
  5210. d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
  5211. d10v_store_struct_return, d10v_store_return_value,
  5212. d10v_extract_struct_value_address, d10v_frame_saved_pc,
  5213. d10v_frame_args_address, d10v_frame_locals_address,
  5214. d10v_saved_pc_after_call): New functions.
  5215. * config/d10v/tm-d10v.h (REGISTER_BYTE, REGISTER_RAW_SIZE,
  5216. REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN,
  5217. D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_DADDR_P, D10V_IADDR_P,
  5218. D10V_CONVERT_DADDR_TO_RAW, D10V_CONVERT_IADDR_TO_RAW,
  5219. STORE_STRUCT_RETURN, STORE_RETURN_VALUE,
  5220. EXTRACT_STRUCT_VALUE_ADDRESS, SAVED_PC_AFTER_CALL, FRAME_SAVED_PC,
  5221. FRAME_ARGS_ADDRESS): Re-define using new functions.
  5222. * config/d10v/tm-d10v.h (BREAKPOINT_FROM_PC): Replace BREAKPOINT.
  5223. (REGISTER_NAME): Replace REGISTER_NAMES.
  5224. * utils.c (core_addr_lessthan, core_addr_greaterthan): New
  5225. functions.
  5226. * defs.h (core_addr_lessthan, core_addr_greaterthan): Declare.
  5227. Sat May 22 16:44:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5228. * utils.c (n_spaces): Handle case where first call has N equal to
  5229. zero.
  5230. (print_spaces): Use n_spaces.
  5231. Fri May 21 11:23:54 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5232. * valops.c (value_push): Remove conditional definition based on
  5233. absense of macro PUSH_ARGUMENTS. Pass SP and STRUCT_ADDR by
  5234. reference.
  5235. (default_push_arguments): New function.
  5236. * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
  5237. config/sparc/tm-sparc.h, config/sparc/tm-sp64.h,
  5238. config/sh/tm-sh.h, config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h,
  5239. config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
  5240. config/mips/tm-mips.h, config/m32r/tm-m32r.h,
  5241. config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
  5242. config/d30v/tm-d30v.h, config/d10v/tm-d10v.h, config/arm/tm-arm.h,
  5243. config/alpha/tm-alpha.h: Update definition of PUSH_ARGUMENTS.
  5244. Return updated SP.
  5245. * rs6000-tdep.c (rs6000_push_arguments): Rename push_arguments.
  5246. 1999-05-21 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5247. * breakpoint.c (breakpoint_1): Added ui_out output code but still
  5248. uses old code by default.
  5249. 1999-05-21 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5250. * Makefile.in: Added ui-ou files.
  5251. * main.c (main): Install cli_out by default.
  5252. * ui-out.c (ui_out_table_begin): Use saved table id.
  5253. 1999-05-21 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5254. * ui-out.h: Export implementation vectors so they can be
  5255. installed in main.c and top.c.
  5256. 1999-05-21 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5257. * ui-out.h: New file. Defines the ui_out API.
  5258. * ui-out.c: New file. Implements the ui_out API abstraction only.
  5259. * cli-out.c: New file. Implements low-level ui-out primitives for
  5260. CLI-based interaction.
  5261. 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5262. * top.c (simplified_command_loop): Reformat using GNU style.
  5263. (call_interp_loop): Ditto.
  5264. Thu May 20 12:18:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5265. * blockframe.c (get_prev_frame): Remove #ifdef around test for
  5266. FRAMELESS_FUNCTION_INVOCATION.
  5267. (get_prev_frame): Change FRAMELESS_FUNCTION_INVOCATION call to a
  5268. function invocation.
  5269. * i386-tdep.c (i386_frame_num_args), stack.c (frame_info): Ditto.
  5270. * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/vax/tm-vax.h,
  5271. config/sparc/tm-sparc.h, config/sh/tm-sh.h,
  5272. config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h,
  5273. config/mips/tm-mips.h, config/m88k/tm-m88k.h,
  5274. config/m68k/tm-m68k.h, config/i960/tm-i960.h,
  5275. config/i386/tm-sun386.h, config/i386/tm-i386v.h,
  5276. config/i386/tm-i386.h, config/h8500/tm-h8500.h,
  5277. config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
  5278. config/d30v/tm-d30v.h, config/d10v/tm-d10v.h,
  5279. config/convex/tm-convex.h, config/arm/tm-arm.h,
  5280. config/arc/tm-arc.h, config/alpha/tm-alpha.h,
  5281. config/a29k/tm-a29k.h: Update FRAMELESS_FUNCTION_INVOCATION.
  5282. * fr30-tdep.c (fr30_frameless_function_invocation), convex-tdep.c
  5283. (convex_frameless_function_invocation), arm-tdep.c
  5284. (arm_frameless_function_invocation): New functions.
  5285. 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5286. * top.c: Change dates in comments to ISO format.
  5287. * event-top.c: Ditto.
  5288. * event-loop.c: Ditto.
  5289. * main.c: Ditto.
  5290. 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5291. * top.c (simplified_command_loop): New function. It is just a
  5292. bare minimal command_loop.
  5293. (call_interp_loop): New function. Call the correct version of the
  5294. command loop, with the appropriate input reading function,
  5295. depending on which interpreter gdb was invoked with.
  5296. * main.c (main): Recognize and handle the new command line option
  5297. --interpreter. If an interpreter is specified, call the appropriate
  5298. command handling function.
  5299. 1999-05-19 Keith Seitz <keiths@cygnus.com>
  5300. * config/mcore/tm-mcore.h (BELIEVE_PCC_PROMOTION): Define. We
  5301. really do want to believe what gcc tells us about types...
  5302. 1999-05-19 Keith Seitz <keiths@cygnus.com>
  5303. * config/mcore/tm-mcore.h (FRAME_ARGS_ADDRESS): Define to a function.
  5304. (FRAME_LOCALS_ADDRESS): Ditto.
  5305. * mcore-tdep.c (mcore_frame_args_addcress): New function.
  5306. (mcore_frame_locals_address): New function.
  5307. * monitor.c (monitor_open): Only assume we have eight
  5308. breakpoints if the monitor implementation does not tell
  5309. us how many there really are. Alloc memory for these
  5310. dynamically.
  5311. (monitor_close): Free memory associated with breakpoint
  5312. storage.
  5313. (monitor_insert_breakpoint): Don't rely on a hardcoded
  5314. number of breakpoints.
  5315. (monitor_remove_breakpoint): Ditto.
  5316. (NUM_MONITOR_BREAKPOINTS): Removed and replaced with monitor_ops
  5317. specification.
  5318. * monitor.h (struct monitor_ops): Add new member so that the
  5319. individual monitor implementations can tell us how many
  5320. breakpoints the monitor supports.
  5321. * mcore-rom.c (init_picobug_cmds): Add number of breakpoints supported
  5322. by picobug monitor.
  5323. 1999-05-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5324. From Philippe De Muyter <phdm@macqel.be>:
  5325. * event-loop.h: Include sys/wait.h only if HAVE_SYS_WAIT_H.
  5326. 1999-05-17 Keith Seitz <keiths@cygnus.com>
  5327. * configure.tgt: Add MCore target.
  5328. * Makefile.in: Add mcore-tdep.c and mcore-rom.c
  5329. * config/mcore/tm-mcore.h: New file.
  5330. * config/mcore/mcore.mt: New file.
  5331. * mcore-rom.c: New file.
  5332. * mcore-tdep.c: New file.
  5333. 1999-05-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
  5334. * top.c (print_command_line): Added the missing stream argument.
  5335. * gdbcmd.h: Added argument to prototype.
  5336. * command.c: Fixed call to include extra argument.
  5337. * breakpoint.c: Same.
  5338. 1999-05-14 Jim Blandy <jimb@zwingli.cygnus.com>
  5339. Targets are #defining PREPARE_TO_PROCEED with inconsistent numbers
  5340. of arguments. Since the Mach 3 target needs an argument, we'll
  5341. make things consistent by adding an argument everywhere.
  5342. * infrun.c (proceed): Pass an argument to PREPARE_TO_PROCEED.
  5343. * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Add ignored argument
  5344. to definition.
  5345. 1999-05-11 Stan Shebs <shebs@andros.cygnus.com>
  5346. Fri Apr 23 13:27:34 PDT 1999 Toshiyasu Morita (tm@netcom.com)
  5347. * sh-stub.c: Mostly localize processor dependencies.
  5348. 1999-05-10 Martin Hunt <hunt@cygnus.com>
  5349. * debugify.c, debugify.h: Removed because they are no
  5350. longer used.
  5351. 1999-05-08 Jim Blandy <jimb@zwingli.cygnus.com>
  5352. * infrun.c (_initialize_infrun): Handle TARGET_SIGNAL_LWP,
  5353. TARGET_SIGNAL_WAITING, and TARGET_SIGNAL_CANCEL like SIGALRM or
  5354. SIGIO --- pass them through to the inferior silently.
  5355. * target.h (enum target_signals): Add TARGET_SIGNAL_CANCEL, for
  5356. Solaris's SIGCANCEL.
  5357. * target.c (target_signal_from_host, target_signal_to_host): Add
  5358. mapping between SIGCANCEL and TARGET_SIGNAL_CANCEL.
  5359. (signals): Add entry for SIGCANCEL.
  5360. 1999-05-07 Stan Shebs <shebs@andros.cygnus.com>
  5361. After years of talking about it, finally break up the
  5362. wait_for_inferior loop.
  5363. * infrun.c (struct execution_control_state): New struct,
  5364. holds what used to be local vars governing wfi behavior.
  5365. (init_execution_control_state): New function, was code in
  5366. wfi that set up execution control state.
  5367. (handle_inferior_event): New function, was body of main
  5368. wfi loop. Rewrite all local var references to go through
  5369. the ecs structure passed into this function.
  5370. (wait_for_inferior): Rewrite to set up and use execution control
  5371. state, and to call the new functions.
  5372. (currently_stepping): New function, was the macro
  5373. CURRENTLY_STEPPING.
  5374. (enum infwait_states): Rename from wfi_states.
  5375. (infwait_normal_state, etc): Similarly.
  5376. Thu May 6 15:25:32 1999 Philippe De Muyter <phdm@macqel.be>
  5377. * coffread.c (coff_symtab_read): Call `record_line' with the line
  5378. number of the ".bf" symbol only for one-line functions.
  5379. 1999-05-06 Michael Snyder <msnyder@cleaver.cygnus.com>
  5380. * Makefile.in: thread.o depends on target.h.
  5381. 1999-05-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5382. * event-top.c (change_line_handler): Use POLLIN instead of
  5383. POLLRDNORM, for compatibility with Linux.
  5384. (setup_event_loop): Ditto.
  5385. 1999-05-06 Jim Blandy <jimb@zwingli.cygnus.com>
  5386. * mips-tdep.c (heuristic_proc_start): Rewrite cryptic error
  5387. message about hitting the "heuristic fence post" with something
  5388. that actually gives the user a fighting chance of figuring out
  5389. why GDB is unhappy.
  5390. 1999-05-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5391. * top.c: Include event-loop.h.
  5392. (init_main): Add async version of 'set prompt' command.
  5393. If in async mode define the editing and annotate set
  5394. commands in a different way.
  5395. Initialize new variable asyn_command_editing_p to 1.
  5396. Initialize the gdb prompt for async mode.
  5397. (quit_cover): Make not static, for use by the event loop.
  5398. (gdb_init): Call async_init_signals for the asynchronous case.
  5399. (source_line_number, source_file_name, source_error,
  5400. source_pre_error, history_expansion_p): Make non-static, so
  5401. event-top.c can use them.
  5402. (command_loop_marker): Make non-static, for use in event-top.c.
  5403. Include event-loop.h.
  5404. * top.h: Add prototype for async_init_signals.
  5405. (SET_TOP_LEVEL): Move here from main.c.
  5406. Add setup_event_loop to exported functions.
  5407. * defs.h: Add async_hook to exported variables.
  5408. * main.c (SET_TOP_LEVEL): Move to top.h, so that it is visible in
  5409. event-loop.c. Add new global variable async to determine whether
  5410. we are running in async mode or not.
  5411. (main): Add support for --async switch. Use async_hook to call
  5412. setup_event_loop, when running in async mode.
  5413. * event-top.c: New file. Gdb input line handler and command line
  5414. handler for the event loop. Initialization of signal handlers.
  5415. All the handled signals have handlers called handle_<signalname>.
  5416. Set up all the appropriate tokens for asynchronous signal
  5417. handling.
  5418. * event-loop.h: New file. Data structures and definitions for the
  5419. event loop.
  5420. * event-loop.c: New file. Functions for the event loop
  5421. implementation.
  5422. * config.in: Regenerate with autoheader.
  5423. * configure.in (AC_CHECK_FUNCS): Add poll to list of functions
  5424. to be checked for.
  5425. * configure: Regenerate.
  5426. * Makefile.in (SFILES): Add new source files.
  5427. (eventloop_h): Define.
  5428. (COMMON_OBS): Add new object files.
  5429. (event-loop.o): Add rule for target object.
  5430. (event-top.o): Ditto.
  5431. 1999-05-05 Stan Shebs <shebs@andros.cygnus.com>
  5432. * infrun.c (wait_for_inferior): Transform breaks and continues
  5433. into gotos, move the target_wait to the very top of the loop.
  5434. 1999-05-05 Jonathan Larmour <jlarmour@cygnus.co.uk>
  5435. * configure.in: Ensure that GDB links with libuser32.a under
  5436. cygwin because libreadline requires it.
  5437. * Makefile.in (WIN32LIBS): Substitute in result from configure
  5438. * configure: regenerate
  5439. 1999-05-04 Jim Blandy <jimb@zwingli.cygnus.com>
  5440. Fix from John Rigby. Richard Henderson says it seems okay.
  5441. * alpha-tdep.c (PROC_DUMMY_FRAME): As long as we're abusing fields
  5442. of (proc)->pdr, we ought to at least abuse one large enough to
  5443. hold the value we're trying to store in it. iopt is only 32 bits
  5444. wide; cbLineOffset is a bfd_vma.
  5445. 1999-05-04 DJ Delorie <dj@cygnus.com>
  5446. DJGPP changes from Robert Hoehne <robert.hoehne@gmx.net>
  5447. * ser-go32.c: correct includes
  5448. * source.c (openp): use ROOTED_P instead of SLASH_P
  5449. * go32-nat.c: enhance exception and NPX handling
  5450. (go32_kill_inferior): fix small bug killing inferior
  5451. * configure.in: don't look for termcap with djgpp
  5452. * configure: rebuild
  5453. 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5454. * main.c (main): Comment out unused and undocumented command line
  5455. option '-'.
  5456. 1999-04-30 Jim Blandy <jimb@zwingli.cygnus.com>
  5457. Cleanup from Philippe De Muyter:
  5458. * configure.in (BFD_NEED_DECLARATION): Check also for strstr.
  5459. * acconfig.h (NEED_DECLARATION_MALLOC, NEED_DECLARATION_REALLOC,
  5460. NEED_DECLARATION_FREE, NEED_DECLARATION_STRERROR): Define slots
  5461. removed; they are now generated automatically.
  5462. * gdb_string.h (strstr): Provide function prototype if
  5463. NEED_DECLARATION_STRSTR.
  5464. * configure, config.in: Regenerated.
  5465. Fri Apr 30 11:16:09 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
  5466. * target.h (to_find_new_threads): new target ops vector.
  5467. (target_find_new_threads): define.
  5468. * target.c (update_current_target): inherit new target ops vector.
  5469. * remote.c: Setup to_find_new_threads vector.
  5470. * sol-thread.c: ditto.
  5471. * thread.c (target_find_new_threads): rename: local_find_new_threads.
  5472. (info_threads_command): call target_find_new_threads by new method,
  5473. as a target ops vector, rather than previous macro definition method.
  5474. * infcmd.c (go_command): define only if in xdb mode.
  5475. * procfs.c: fix typo in comment.
  5476. Fri Apr 30 01:02:05 1999 Jeffrey A Law (law@cygnus.com)
  5477. * hppah-nat.c: Fix various coding convention violations introduced
  5478. by HP.
  5479. (child_acknowledge_created_inferior): Do nothing if PT_SET_EVENT_MASK
  5480. is not defined.
  5481. 1999-04-28 Stan Shebs <shebs@andros.cygnus.com>
  5482. * TODO: Add some items inspired by review of the manual.
  5483. Tue Apr 27 17:38:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5484. * config/z8k/tm-z8k.h, config/v850/tm-v850.h,
  5485. config/tic80/tm-tic80.h, config/sparc/tm-sparc.h,
  5486. config/sh/tm-sh.h, config/pyr/tm-pyr.h, config/pa/tm-hppa.h,
  5487. config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
  5488. config/mips/tm-mips.h, config/m88k/tm-m88k.h,
  5489. config/m68k/tm-m68k.h, config/m32r/tm-m32r.h,
  5490. config/i960/tm-i960.h, config/i386/tm-i386.h,
  5491. config/h8500/tm-h8500.h, config/h8300/tm-h8300.h,
  5492. config/fr30/tm-fr30.h, config/d30v/tm-d30v.h,
  5493. config/d10v/tm-d10v.h, config/alpha/tm-alpha.h,
  5494. config/arm/tm-arm.h, config/a29k/tm-a29k.h, config/arc/tm-arc.h:
  5495. Change SKIP_PROLOGUE and SKIP_PROLOGUE_FRAMELESS_P macros so that
  5496. they return the new address.
  5497. * sparc-tdep.c (sparc_skip_prologue), hppa-tdep.c
  5498. (hppa_skip_prologue), m88k-tdep.c
  5499. (m88k_skip_prologue), i960-tdep.c
  5500. (i960_skip_prologue), arc-tdep.c
  5501. (arc_skip_prologue), a29k-tdep.c (a29k_skip_prologue): Rename
  5502. skip_prologue function.
  5503. * config/m68k/tm-isi.h: Convert macro SKIP_PROLOGUE into a new
  5504. function.
  5505. * m68k-tdep.c (isi_skip_prologue): That new function.
  5506. * vax-tdep.c (vax_skip_prologue), config/vax/tm-vax.h: Ditto.
  5507. * tahoe-tdep.c (tahoe_skip_prologue), config/tahoe/tm-tahoe.h: Ditto.
  5508. * rs6000-tdep.c (rs6000_skip_prologue), config/rs6000/tm-rs6000.h:
  5509. Ditto.
  5510. * ns32k-tdep.c (umax_skip_prologue), config/ns32k/tm-umax.h: Ditto.
  5511. * config/ns32k/tm-merlin.h, ns32k-tdep.c (merlin_skip_prologue):
  5512. Ditto.
  5513. * config/m68k/tm-altos.h, m68k-tdep.c (altos_skip_prologue): Ditto.
  5514. * config/convex/tm-convex.h, convex-tdep.c (convex_skip_prologue):
  5515. Ditto.
  5516. * symtab.c (in_prologue, find_function_start_sal, decode_line_1),
  5517. infrun.c (wait_for_inferior), blockframe.c
  5518. (frameless_look_for_prologue): Update.
  5519. * config/fr30/tm-fr30.h (FRAMELESS_FUNCTION_INVOCATION): Update.
  5520. 1999-04-27 Stan Shebs <shebs@andros.cygnus.com>
  5521. * TODO: Remove item about DEBUG_EXPRESSIONS, no longer meaningful.
  5522. * infrun.c (enum wfi_state): New enum.
  5523. (wait_for_inferior): Merge all but one of the target_wait calls
  5524. into a single call, add a wfi_state variable to encode which of
  5525. the calls is being made.
  5526. 1999-04-26 Jim Blandy <jimb@zwingli.cygnus.com>
  5527. Fix from Dave Holcomb.
  5528. * hpux-thread.c (init_hpux_thread_ops): Use the right function
  5529. name when initializing hpux_thread_ops.to_thread_alive.
  5530. * coffread.c (coff_symfile_read): If we have a `.stab' section,
  5531. but no `.stabstr' section, then print an error message; don't
  5532. crash.
  5533. 1999-04-26 Jim Blandy <jimb@zwingli.cygnus.com>
  5534. 1999-04-25 Mark Kettenis <kettenis@gnu.org>
  5535. * gnu-nat.c (gnu_attach): Call target_terminal_init before calling
  5536. inf_set_traced, since that function calls code that might try to
  5537. restore the terminal settings.
  5538. Mon Apr 26 08:55:46 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5539. * gdbarch.h, gdbarch.c: More format cleanups.
  5540. Sun Apr 25 18:54:51 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5541. * gdbarch.h (CALL_DUMMY_STACK_ADJUST_P): Replace
  5542. SIZEOF_CALL_DUMMY_STACK_ADJUST_P.
  5543. (CALL_DUMMY_STACK_ADJUST): Replace
  5544. SIZEOF_CALL_DUMMY_STACK_ADJUST_P.
  5545. * gdbarch.c (gdbarch_call_dummy_stack_adjust,
  5546. set_gdbarch_call_dummy_stack_adjust): Define.
  5547. Fri Apr 23 15:00:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5548. * gdbarch.c (arch_ok): New function. Fix logic test for a valid
  5549. architecture.
  5550. (set_arch): Use.
  5551. 1999-04-22 Jason Molenda (jsm@bugshack.cygnus.com)
  5552. * README: Note that readline is not installed as a part of
  5553. make install.
  5554. Thu Apr 22 21:02:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5555. * gdbarch.h, gdbarch.c (GET_SAVED_REGISTER, get_saved_register):
  5556. Add.
  5557. (struct gdbarch, verify_gdbarch, gdbarch_alloc, gdbarch_dump,
  5558. default_gdbarch): Update.
  5559. * value.h (get_saved_register): Cleanup prototype.
  5560. * findvar.c (default_get_saved_register): Rename function
  5561. get_saved_register.
  5562. (GET_SAVED_REGISTER): Define as default_get_saved_register when
  5563. undefined.
  5564. (get_saved_register): Always declare. Call GET_SAVED_REGISTER.
  5565. * sparc-tdep.c (sparc_get_saved_register): Rename function
  5566. get_saved_register.
  5567. * config/sparc/tm-sparc.h (GET_SAVED_REGISTER): Update.
  5568. * a29k-tdep.c (a29k_get_saved_register): Rename function
  5569. get_saved_register.
  5570. * config/a29k/tm-a29k.h (GET_SAVED_REGISTER): Update.
  5571. * config/d10v/tm-d10v.h, config/powerpc/tm-ppc-eabi.h,
  5572. config/h8300/tm-h8300.h, config/m32r/tm-m32r.h,
  5573. config/mn10200/tm-mn10200.h, config/mn10300/tm-mn10300.h,
  5574. config/sh/tm-sh.h, config/tic80/tm-tic80.h, config/v850/tm-v850.h:
  5575. Update macro GET_SAVED_REGISTER so that it calls
  5576. generic_get_saved_register.
  5577. * v850-tdep.c, tic80-tdep.c, sh-tdep.c, mn10300-tdep.c,
  5578. mn10200-tdep.c, m32r-tdep.c, h8300-tdep.c, rs6000-tdep.c: Delete
  5579. function get_saved_register.
  5580. Thu Apr 22 13:32:23 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5581. * gdbarch.c: Cleanup. Re-order the definition of the ``struct
  5582. gdbarch'' initialization functions so that maintenance is more
  5583. straightforward.
  5584. Thu Apr 22 11:07:21 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5585. * gdbarch.h, gdbarch.c (use_generic_dummy_frames,
  5586. USE_GENERIC_DUMMY_FRAMES): Add.
  5587. (struct gdbarch, verify_gdbarch, gdbarch_alloc, gdbarch_dump,
  5588. default_gdbarch): Update.
  5589. * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
  5590. config/sh/tm-sh.h, config/powerpc/tm-ppc-eabi.h,
  5591. config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
  5592. config/m32r/tm-m32r.h, config/h8300/tm-h8300.h,
  5593. config/fr30/tm-fr30.h, config/d10v/tm-d10v.h: Give the
  5594. USE_GENERIC_DUMMY_FRAMES macro the value one.
  5595. * inferior.h (USE_GENERIC_DUMMY_FRAMES): Default to a value of
  5596. zero.
  5597. * blockframe.c (generic_find_dummy_frame,
  5598. generic_pc_in_call_dummy, generic_read_register_dummy,
  5599. generic_push_dummy_frame, generic_pop_current_frame,
  5600. generic_pop_dummy_frame, generic_frame_chain_valid,
  5601. generic_get_saved_register): Always define.
  5602. * breakpoint.c (frame_in_dummy): Convert #ifdef
  5603. USE_GENERIC_DUMMY_FRAMES to runtime test.
  5604. * rs6000-tdep.c (pop_frame, push_arguments, push_arguments,
  5605. push_arguments, frame_saved_pc, rs6000_frame_chain,
  5606. rs6000_frame_chain): Convert #ifdef USE_GENERIC_DUMMY_FRAMES to
  5607. runtime test.
  5608. (get_saved_register): Always define.
  5609. Wed Apr 21 17:15:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5610. * gdbarch.c (gdbarch_dump): Fix robustness check on
  5611. BELIEVE_PCC_PROMOTION_TYPE.
  5612. Wed Apr 21 15:39:27 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5613. * gdbarch.h (TARGET_BYTE_ORDER_SELECTABLE_P): When multi-arch,
  5614. force selectable byte order.
  5615. (CALL_DUMMY): Check for CALL_DUMMY definition when multi-arch. Are
  5616. incompatible.
  5617. * gdbarch.c (verify_gdbarch): Check call_dummy_stack_adjust.
  5618. Wed Apr 21 14:45:44 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5619. * gdbarch.c (gdbarch_update): Move dump-arch code from here.
  5620. (gdbarch_dump): To here. Make more robust.
  5621. * gdbarch.h (gdbarch_dump): Add prototype.
  5622. * gdbarch.c (enum set_arch): Declare.
  5623. (set_arch): Add type parameter. Only disable
  5624. ``target_architecture_auto'' when set_arch_manual.
  5625. (set_architecture, set_architecture_from_arch_mach,
  5626. set_architecture_from_file): Update.
  5627. (set_arch): When ``gdbarch_debug'', gdbarch_dump() the current
  5628. architecture.
  5629. Wed Apr 21 10:48:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5630. * frame.h (generic_pc_in_call_dummy): Make signature consistent
  5631. with other pc_in_call_dummy functions by adding SP parameter.
  5632. * blockframe.c (generic_pc_in_call_dummy): Update. Pass SP and
  5633. not FP to generic_find_dummy_frame().
  5634. * breakpoint.c (frame_in_dummy): Update.
  5635. * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
  5636. config/sh/tm-sh.h, config/mn10300/tm-mn10300.h,
  5637. config/mn10200/tm-mn10200.h, config/m32r/tm-m32r.h,
  5638. config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
  5639. config/d10v/tm-d10v.h: Update PC_IN_CALL_DUMMY definition.
  5640. Tue Apr 20 12:15:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5641. * config/d10v/tm-d10v.h (GDB_TARGET_IS_D10V): Move from here.
  5642. * gdbarch.h (GDB_TARGET_IS_D10V): To here. Implement using
  5643. TARGET_ARCHITECTURE.
  5644. (D10V_MAKE_DADDR, D10V_MAKE_IADDR): Provide fatal default
  5645. definitions.
  5646. * valops.c (value_at): Replace #ifdef GDB_TARGET_IS_D10V code with
  5647. runtime test.
  5648. (value_fetch_lazy): Ditto.
  5649. * values.c (unpack_long): Ditto.
  5650. * printcmd.c (print_frame_args): Ditto.
  5651. Sat Apr 17 15:39:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5652. * gdbarch.h: Cleanup multi-arch comments.
  5653. Fri Apr 16 15:39:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5654. * gdbarch.h: Provide definition if GDB_MULTI_ARCH > 1 or
  5655. GDB_MULTI_ARCH > 0 and no previous definition.
  5656. * gdbarch.c (verify_gdbarch): Only verify a full multi-arch
  5657. target.
  5658. 1999-04-15 Stan Shebs <shebs@andros.cygnus.com>
  5659. * infrun.c (wait_for_inferior) [HAVE_STEPPABLE_WATCHPOINT,
  5660. HAVE_NONSTEPPABLE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT]: Test
  5661. at runtime instead of compile time.
  5662. Thu Apr 15 15:15:07 1999 Andrew Cagney <cagney@amy.cygnus.com>
  5663. * mips-tdep.c (struct gdbarch_tdep): Rename elf_abi to
  5664. elf_flags. Check ABFD is elf_flavour before extracting elf_flags.
  5665. Match ARCH against entire elf_flags instead of just the
  5666. EF_MIPS_ABI field.
  5667. (mips_gdbarch_init): Extract/print ef_mips_arch and
  5668. ef_mips_bitptrs and ef_mips_abi fields from elf_flags.
  5669. 1999-04-14 Philippe De Muyter <phdm@macqel.be>
  5670. * breakpoint.c (maintenance_info_breakpoints): Function made
  5671. static to match previous prototype.
  5672. * coffread.c (coff_record_line): Static function removed.
  5673. (enter_linenos): Call `record_line' instead of `coff_record_line'.
  5674. (FILE-LEVEL, coff_start_symtab, coff_end_symtab): `coff_record_line'
  5675. -related stuff removed.
  5676. (coff_symfile_read): Redundant statement removed.
  5677. (coff_symtab_read): `record_line' is now called with the first line
  5678. number of each function, given by the ".bf" symbol. This solves
  5679. the line-number bug for one-line functions.
  5680. Wed Apr 14 11:09:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5681. * gdbarch.h (BELIEVE_PCC_PROMOTION_TYPE, BELIEVE_PCC_PROMOTION):
  5682. Add multi-arch definitions.
  5683. * gdbarch.c (gdbarch_believe_pcc_promotion,
  5684. gdbarch_believe_pcc_promotion_type): New functions.
  5685. (gdbarch_update): Update
  5686. (struct gdbarch default_gdbarch): Update.
  5687. * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Provide default.
  5688. (define_symbol): Change #if BELIEVE_PCC_PROMOTION_TYPE and #if
  5689. BELIEVE_PCC_PROMOTION to if().
  5690. 1999-04-13 Jason Molenda (jsm@bugshack.cygnus.com)
  5691. * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define if we're
  5692. on a Solaris host (of any architecture).
  5693. * configure: Regenerated.
  5694. Wed Apr 14 08:23:32 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5695. * gdbarch.c (SET_GDBARCH, GET_GDBARCH, FSET_GDBARCH): New macros.
  5696. (gdbarch_byte_order, gdbarch_long_bit, gdbarch_long_long_bit,
  5697. gdbarch_ptr_bit, gdbarch_call_dummy_location,
  5698. gdbarch_call_dummy_address, gdbarch_call_dummy_address,
  5699. gdbarch_call_dummy_breakpoint_offset,
  5700. gdbarch_call_dummy_breakpoint_offset, gdbarch_call_dummy_length,
  5701. gdbarch_pc_in_call_dummy, dbarch_call_dummy_breakpoint_offset_p,
  5702. dbarch_call_dummy_p, dbarch_call_dummy_words,
  5703. dbarch_sizeof_call_dummy_words, dbarch_call_dummy_stack_adjust,
  5704. dbarch_call_dummy_stack_adjust_p): Define using new macros.
  5705. 1999-04-13 Jason Molenda (jsm@bugshack.cygnus.com)
  5706. * rom68k-rom.c (init_rom68k_cmds): Fix an accidental substitution
  5707. in monitor command strings, fix some formatting mistakes.
  5708. 1999-04-13 Stan Shebs <shebs@andros.cygnus.com>
  5709. * configure.tgt (arm-*-*): Whack another vestige of wingdb.
  5710. 1999-04-12 James Ingham <jingham@cygnus.com>
  5711. * arm-tdep.c (arm_pop_frame): don't clobber the previous frame's
  5712. stack pointer (stored in frame->framereg's register) BEFORE
  5713. reading it. This was causing "return" to behave very oddly.
  5714. 1999-04-12 Stan Shebs <shebs@andros.cygnus.com>
  5715. * NEWS: Mention tic80.
  5716. 1999-04-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  5717. * a68v-nat.c: Remove reference to 'extern char registers[]' throughout.
  5718. * altos-xdep.c: Ditto.
  5719. * arm-xdep.c: Ditto.
  5720. * convex-xdep.c: Ditto.
  5721. * cxux-nat.c: Ditto.
  5722. * hp300ux-nat.c: Ditto.
  5723. * hppab-nat.c: Ditto.
  5724. * i386aix-nat.c: Ditto.
  5725. * i386mach-nat.c: Ditto.
  5726. * m88k-nat.c: Ditto.
  5727. * ptx4-nat.c: Ditto.
  5728. * pyr-xdep.c: Ditto.
  5729. * rs6000-nat.c: Ditto.
  5730. * sun3-nat.c: Ditto.
  5731. * sun386-nat.c: Ditto.
  5732. * symm-nat.c: Ditto.
  5733. * umax-xdep.c: Ditto.
  5734. * i386v4-nat.c: Ditto. Also include inferior.h.
  5735. * m68k-tdep.c: Ditto. Also include inferior.h.
  5736. Mon Apr 12 15:57:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5737. * inferior.h (CALL_DUMMY_STACK_ADJUST, CALL_DUMMY_STACK_ADJUST_P):
  5738. Provide default definitions.
  5739. * valops.c (hand_function_call): Replace #ifdef
  5740. CALL_DUMMY_STACK_ADJUST with if (CALL_DUMMY_STACK_ADJUST_P).
  5741. * gdbarch.h (SIZEOF_CALL_DUMMY_STACK_ADJUST,
  5742. (SIZEOF_CALL_DUMMY_STACK_ADJUST_P): Define
  5743. * gdbarch.c (struct gdbarch): Add call_dummy_stack_adjust,
  5744. call_dummy_stack_adjust_p.
  5745. (gdbarch_call_dummy_stack_adjust,
  5746. set_gdbarch_call_dummy_stack_adjust,
  5747. gdbarch_call_dummy_stack_adjust_p,
  5748. set_gdbarch_call_dummy_stack_adjust_p): New functions.
  5749. (default_gdbarch): Update.
  5750. 1999-04-09 Jim Blandy <jimb@zwingli.cygnus.com>
  5751. * ax-gdb.c, ax-gdb.h, ax-general.c, ax.h: Remove RCS Id strings.
  5752. They're a pain.
  5753. * GDB 4.18 released.
  5754. * Makefile.in (VERSION): Bump to 4.18.1.
  5755. Thu Apr 8 16:04:34 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5756. * inferior.h (CALL_DUMMY_P, CALL_DUMMY_WORDS,
  5757. SIZEOF_CALL_DUMMY_WORDS): Define macros.
  5758. (PUSH_DUMMY_FRAME, FIX_CALL_DUMMY, STORE_STRUCT_RETURN): Provide
  5759. fatal default.
  5760. * inferior.h, gdbarch.c (call_dummy_words,
  5761. sizeof_call_dummy_words): Declare/Define variables.
  5762. * valops.c (value_arg_coerce, find_function_addr,
  5763. call_function_by_hand): Always define.
  5764. (hand_function_call): Rename CALL_DUMMY version of
  5765. call_function_by_hand. Make static. Add prototype.
  5766. (hand_function_call): Update. Allocate space for *dummy and
  5767. *dummy1 using alloca.
  5768. * breakpoint.c (frame_in_dummy): Update.
  5769. * gdbarch.h (CALL_DUMMY_P, CALL_DUMMY_WORDS,
  5770. SIZEOF_CALL_DUMMY_WORDS): Define.
  5771. * gdbarch.c (gdbarch_call_dummy_p, set_gdbarch_call_dummy_p,
  5772. gdbarch_call_dummy_words, set_gdbarch_call_dummy_words,
  5773. gdbarch_sizeof_call_dummy_words,
  5774. set_gdbarch_sizeof_call_dummy_words): New functions.
  5775. (gdbarch_alloc, verify_gdbarch, gdbarch_update, struct
  5776. default_gdbarch): Update.
  5777. 1999-04-08 Jason Molenda (jsm@bugshack.cygnus.com)
  5778. * monitor.c (monitor_read_memory): If a MO_GETMEM_NEEDS_RANGE
  5779. monitor, increase the end address by one byte.
  5780. 1999-04-08 Jason Molenda (jsm@bugshack.cygnus.com)
  5781. * dbug-rom.c (init_dbug_cmds): Fix strings in
  5782. dbug_cmds.{step,clr_break,clr_all_break,fill} to send correct
  5783. commands to the monitor.
  5784. 1999-04-08 Keith Seitz <keiths@cygnus.com>
  5785. * m32r-stub.c (branchDestination): Undo overly ambitious
  5786. sed script's conversion of cast from "char" to "unsigned char".
  5787. Return offset should now be properly computed.
  5788. Thu Apr 8 14:13:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5789. * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): New macro.
  5790. Non-zero when CALL_DUMMY_BREAKPOINT_OFFSET is valid.
  5791. * infcmd.c (breakpoint_auto_delete_contents): Always define.
  5792. (run_stack_dummy): Update.
  5793. * infrun.c (wait_for_inferior): Update
  5794. * gdbarch.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): New macro.
  5795. * gdbarch.c (set_gdbarch_call_dummy_breakpoint_offset_p,
  5796. gdbarch_call_dummy_breakpoint_offset_p): New functions.
  5797. (struct gdbarch, gdbarch_alloc, default_gdbarch, gdbarch_update):
  5798. Update.
  5799. 1999-04-07 Stan Shebs <shebs@andros.cygnus.com>
  5800. * MAINTAINERS: Mark Alexander can no longer maintain
  5801. h8300 and other embedded targets, sniff.
  5802. 1999-04-06 Stan Shebs <shebs@andros.cygnus.com>
  5803. * inftarg.c (child_wait): Initialize execd_pathname.
  5804. * target.c (debug_to_has_execd): Handle NULL execd_pathname.
  5805. * solib.c (clear_solib): Don't call disable_breakpoints_in_shlibs,
  5806. this breaks rerunning on sun4 native.
  5807. 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
  5808. * config/sparc/nm-linux.h: Don't redefine PT_ATTACH to use the
  5809. deprecated PTRACE_SUNATTACH compatibility commands. The
  5810. definitions from <sys/ptrace.h> are fine.
  5811. 1999-04-06 Martin Hunt <hunt@cygnus.com>
  5812. * annotate.h: Declare annotate_signal_hook.
  5813. * annotate.c (annotate_signal): Add a call to
  5814. annotate_signal_hook().
  5815. 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
  5816. * dwarf2read.c (dwarf_decode_lines): Don't call record_line when
  5817. we hit a DW_LNE_end_sequence instruction.
  5818. * README: Note that GDB requires an ANSI C compiler, and explain
  5819. how to get GCC.
  5820. * README: Update.
  5821. 1999-04-05 Stan Shebs <shebs@andros.cygnus.com>
  5822. * NEWS: Add more notes about user-visible changes.
  5823. Mon Apr 5 14:56:59 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
  5824. * target.c (target_signal_to_string): check for signal
  5825. number in range; otherwise if the target board returns
  5826. a bogus signal number we might core dump (per David Taylor).
  5827. 1999-04-05 David Taylor <taylor@ryobi.cygnus.com>
  5828. * utils.c (fputs_maybe_filtered): test value of
  5829. pagination_enabled before paginating.
  5830. 1999-04-02 James Ingham <jingham@cygnus.com>
  5831. * blockframe.c (get_prev_frame): Remove the redundant
  5832. get_prev_frame_info. It is now exactly the same as
  5833. get_prev_frame, so there is no reason to have both functions.
  5834. * rs6000-tdep.c (rs6000_init_extra_frame_info):
  5835. frame.h:
  5836. a29k-tdep.c (init_extra_frame_info):
  5837. config/a29k/tm-a29k.h:
  5838. i386-tdep.c:
  5839. Change all references to get_prev_frame_info to get_prev_frame.
  5840. 1999-04-02 Stan Shebs <shebs@andros.cygnus.com>
  5841. * bcache.c, bcache.h, breakpoint.c, defs.h, expprint.c,
  5842. expression.h, gdbarch.c, gdbtypes.c, gdbtypes.h, gnu-nat.c,
  5843. gnu-nat.h, hppa-tdep.c, maint.c, monitor.c, objfiles.h, parse.c,
  5844. remote-mips.c, remote-sds.c, remote.c, sol-thread.c, symmisc.c,
  5845. symtab.h, target.c, top.c, typeprint.c, config/nm-gnu.h: Evaporate
  5846. the unused MAINTENANCE_CMDS conditional.
  5847. 1999-04-02 James Ingham <jingham@cygnus.com>
  5848. * config/arm/tm-arm.h: (EXTRACT_STRUCT_VALUE_ADDRESS): This needs
  5849. to call extract_address, not just cast the first 4 bytes, since
  5850. the result will be passed to value_at which expects host-byte
  5851. order.
  5852. * arm-tdep.c (arm_scan_prologue): The prologue_start address was
  5853. directly &'ed with 0x03fffffc, rather than using
  5854. ADDR_BITS_REMOVE. This would cause inferior function calls to
  5855. report the stack incorrectly on return.
  5856. 1999-04-02 Keith Seitz <keiths@cygnus.com>
  5857. * top.c (ui_loop_hook): Change declaration. Now returns an int.
  5858. * win32-nat.c (child_wait): Timeout WaitForDebugEvent and call
  5859. the ui_loop_hook if there was no debug event.
  5860. * top.c (ui_loop_hook): Change to return an int and include
  5861. on all non-Cygwin builds.
  5862. * v850ice.c: Change prototype of ui_loop_hook.
  5863. (v850ice_wait): Update call to ui_loop_hook.
  5864. * ser-unix.c (hardwire_readchar): Enable ui_loop_hook callbacks
  5865. for non-Cygwin builds. Check return status of ui_loop_hook and
  5866. return a timeout if told to detach. Add more documentation.
  5867. * ser-tcp.c (tcp_readchar): Break up timeouts into one second
  5868. intervals and call ui_loop_hook so that other UIs can
  5869. keep up to date. If ui_loop_hook returns non-zero, then
  5870. return SERIAL_TIMEOUT to facilitate detaching from the
  5871. target.
  5872. * remote.c (remote_interrupted_already): Remove.
  5873. (remote_interrupt_twice): Revive.
  5874. (remote_interrupt): Call remote_stop to interrupt the target
  5875. and install remote_interrupt_twice to take more severe
  5876. actions if this fails.
  5877. (remote_stop): Only attempt to stop the target. This separates
  5878. the command line from other UIs.
  5879. * remote-sim.c (gdb_os_poll_quit): Add a call to ui_loop_hook,
  5880. if it is defined.
  5881. 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
  5882. Fix for cross-debugging on an AIX host from Johanna Svenningsson:
  5883. * ax-gdb.h (enum axs_lvalue_kind): Remove trailing comma from enum.
  5884. * ax.h (enum agent_op): Same.
  5885. * tracepoint.h (enum actionline_type): Same.
  5886. * config/xm-aix4.h: Add declaration for termdef.
  5887. 1999-03-31 Stan Shebs <shebs@andros.cygnus.com>
  5888. * jv-lang.h (dynamics_objfile): Remove decl, conflicts with static
  5889. decl in jv-lang.c.
  5890. * infrun.c (follow_inferior_fork): Add ifdefs around
  5891. SOLIB_REMOVE_INFERIOR_HOOK.
  5892. Wed Mar 31 11:39:49 1999 David Taylor <taylor@ryobi.cygnus.com>
  5893. * valops.c (search_struct_field): revert HP merge change
  5894. to this function -- it causes messages to be printed about
  5895. member class ambiguity when the compiler is happy.
  5896. (search_struct_field_aux): delete -- added as part of HP merge
  5897. change; with aforementioned change it is no longer called.
  5898. 1999-03-30 Stan Shebs <shebs@andros.cygnus.com>
  5899. Make more HPUX-specific code generic.
  5900. * infrun.c: Include top.h.
  5901. (MAY_SWITCH_FROM_INFERIOR_PID, MAY_FOLLOW_EXEC,
  5902. USE_THREAD_STEP_NEEDED): New native macros.
  5903. (may_switch_from_inferior_pid, may_follow_exec,
  5904. use_thread_step_needed): New globals.
  5905. (follow_inferior_fork): Remove HPUXHPPA ifdef.
  5906. (follow_exec): Ditto, also save run target and re-push instead of
  5907. always pushing child_ops, add ifdefs around SOLIB_RESTART and
  5908. SOLIB_CREATE_INFERIOR_HOOK.
  5909. (wait_for_inferior): Use new globals instead of ifdefing HPUXHPPA,
  5910. always use printf_filtered to report new threads.
  5911. (normal_stop): Ditto.
  5912. * target.h, target.c (find_run_target): New function.
  5913. * config/pa/nm-hppah.h: Define new macros.
  5914. 1999-03-29 Stan Shebs <shebs@andros.cygnus.com>
  5915. * top.h: Include setjmp.h here.
  5916. * main.c, top.c: Don't include it here.
  5917. 1999-03-29 Keith Seitz <keiths@cygnus.com>
  5918. * symtab.c (decode_line_1): Take out change which breaks symbols
  5919. which include class names and methods, e.g., "Foo::bar".
  5920. 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
  5921. * configure.tgt (i[3456]86-*-sysv4.2MP, i[3456]86-*-sysv4.2uw2*):
  5922. Recognize both, as i[3456]86-*-sysv4.2*.
  5923. (i[3456]86-*-sysv5*): Recognize.
  5924. * infrun.c (wait_for_inferior): Remove most #if 0 segments.
  5925. Fri Mar 26 17:27:27 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5926. * blockframe.c (pc_in_call_dummy_on_stack): Fix. Had copied code
  5927. from at_entry_point.
  5928. Thu Mar 25 19:30:02 1999 Andrew Cagney <cagney@amy.cygnus.com>
  5929. * gdbarch.c: Include all headers.
  5930. (struct gdbarch), gdbarch.h (CALL_DUMMY_LOCATION,
  5931. CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET,
  5932. CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LENGTH,
  5933. PC_IN_CALL_DUMMY): Add ``call_dummy_location'',
  5934. ``call_dummy_length'', ``pc_in_call_dummy'',
  5935. ``call_dummy_start_offset'', ``call_dummy_breakpoint_offset'' to
  5936. multi-arch framework.
  5937. * inferior.h, blockframe.c (pc_in_call_dummy_before_text_end,
  5938. pc_in_call_dummy_after_text_end, pc_in_call_dummy_on_stack,
  5939. pc_in_call_dummy_at_entry_point): Convert PC_IN_CALL_DUMMY macro's
  5940. into functions.
  5941. * mips-tdep.c (mips_gdbarch_init): Initialize above
  5942. Tue Mar 23 17:22:57 1999 Philippe De Muyter <phdm@macqel.be>
  5943. * remote.c, parse.c: Include ctype.h.
  5944. 1999-03-24 Stan Shebs <shebs@andros.cygnus.com>
  5945. * configure.host (mips-dec-mach3*): Use mipsm3 not mach3.
  5946. Attempt to sort out SCO-related configs.
  5947. * configure.host (i[3456]86-*-sysv4.2*): Use instead of
  5948. i[3456]86-*-sysv4.2MP and i[3456]86-*-sysv4.2uw2*.
  5949. (i[3456]86-*-sysv5*): Recognize.
  5950. * configure.tgt (i[3456]86-*-sco3.2v5*, i[3456]86-*-sco3.2v4*):
  5951. Recognize.
  5952. Wed Mar 24 16:19:01 1999 Christopher Faylor <cgf@cygnus.com>
  5953. * MAINTAINERS: Add DJ Delorie (dj@cygnus.com) as the djgpp
  5954. maintainer.
  5955. Wed Mar 24 21:19:57 1999 Andrew Cagney <cagney@amy.cygnus.com>
  5956. * target.h (enum target_signal): Do not hardwire values of MACH
  5957. signals.
  5958. 1999-03-14 Ken Raeburn <raeburn@raeburn.org>
  5959. * target.h (enum target_signal): Add TARGET_SIGNAL_INFO.
  5960. * target.c (signals): Add SIGINFO description.
  5961. (target_signal_from_host, target_signal_to_host): Translate
  5962. SIGINFO to/from TARGET_SIGNAL_INFO.
  5963. Wed Mar 24 01:01:27 1999 Andrew Cagney <cagney@sludge.cygnus.com>
  5964. * rs6000-tdep.c (rs6000_software_single_step): Change SIGNAL to
  5965. unsigned int.
  5966. From Rodney Brown <rodneybrown@pmsc.com>
  5967. * target.h (enum thread_control_capabilities), breakpoint.h (enum
  5968. bptype), breakpoint.c (enum insertion_state_t): Strict ISO-C
  5969. doesn't allow trailing comma in enum definition.
  5970. Mon Mar 22 15:56:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
  5971. * blockframe.c (inside_entry_file, inside_entry_func): Convert #if
  5972. CALL_DUMMY_LOCATION to if.
  5973. * valops.c (call_function_by_hand): Ditto.
  5974. * infcmd.c (run_stack_dummy): Ditto.
  5975. * inferior.h (CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET,
  5976. CALL_DUMMY_BREAKPOINT_OFFSET): Provide default.
  5977. 1999-03-23 Jason Molenda (jsm@bugshack.cygnus.com)
  5978. * hppa-tdep.c (pa_register_look_aside): Remove CPU_HPPA_RISC_20
  5979. check, test for presence of struct save_state_t and the ss_wide
  5980. member directly.
  5981. * configure.in: Remove CPU_HPPA_RISC_20 test. Add tests for
  5982. HAVE_STRUCT_SAVE_STATE_T and HAVE_STRUCT_MEMBER_SS_WIDE.
  5983. * acconfig.h: Add HAVE_STRUCT_SAVE_STATE_T HAVE_STRUCT_MEMBER_SS_WIDE.
  5984. * configure, config.in: Regenerated.
  5985. Mon Mar 22 13:25:13 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
  5986. * infttrace.c (proc_wait): rename to ptrace_wait.
  5987. 1999-03-18 Jim Blandy <jimb@zwingli.cygnus.com>
  5988. * dwarf2read.c: Correctly recognize location expressions that
  5989. designate LOC_REF_ARG arguments. Doc fixes.
  5990. (isderef): New global. (Yuck.)
  5991. (dwarf2_complex_location_expr): New complaint.
  5992. (read_func_scope): Reject frame_base attributes that use the
  5993. `deref' opcode as too complex.
  5994. (new_symbol): If both regoff and isderef are set, and the base
  5995. register is the frame pointer, then it's a LOC_REF_ARG argument.
  5996. (decode_locdesc): Recognize the `deref' opcode in location
  5997. expressions. Complain if it's not the last op in the expression.
  5998. * config/fr30/tm-fr30.h (COERCE_FLOAT_TO_DOUBLE): #define this to
  5999. be true, or else value_arg_coere won't respect the (accurate)
  6000. information we have about whether a function is prototyped.
  6001. 1999-03-17 Jim Blandy <jimb@zwingli.cygnus.com>
  6002. * config/fr30/tm-fr30.h (STACK_ALIGN): Define this here, so
  6003. calling functions by hand with odd-sized arguments doesn't munge
  6004. the stack.
  6005. 1999-03-17 Jason Molenda (jsm@bugshack.cygnus.com)
  6006. * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define for Solaris
  6007. hosts--gdb doesn't support this yet.
  6008. * configure: Regenerated.
  6009. 1999-03-16 Keith Seitz <keiths@cygnus.com>
  6010. * remote.c (remote_binary_checked): New file global.
  6011. (check_binary_download): New function to check if
  6012. stub supports binary downloading that works with
  6013. stubs that are not eight bit clean.
  6014. (remote_write_bytes): Check for binary download capability
  6015. and use it if available.
  6016. Remove references to global remote_binary_length. What a hack.
  6017. (putpkt_binary): New function.
  6018. (putpkt): Call putpkt_binary.
  6019. Use xor to escape trouble characters.
  6020. * m32r-stub.c (bin2mem): Follow escape char convention change.
  6021. Tue Mar 16 01:11:33 1999 Andrew Cagney <cagney@rhino.cygnus.com>
  6022. * target.h (struct target_ops), target.c (debug_to_query),
  6023. remote.c (pack_hex_byte, remote_query): Promote char parameters to
  6024. int. Stops compile problems with pedantic ISO-C compilers.
  6025. Tue Mar 16 15:29:04 1999 Stan Shebs <shebs@andros.cygnus.com>
  6026. * go32-xdep.c: Remove, no longer used by anything.
  6027. * Makefile.in: Remove references.
  6028. * jv-lang.c, jv-lang.h (java_primitive_type): Declare argument
  6029. as int instead of char.
  6030. Mon Mar 15 11:42:43 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6031. * d10v-tdep.c (push_stack_item, pop_stack_item): New function.
  6032. (d10v_push_arguments): Use.
  6033. From Martin M. Hunt <hunt@cygnus.com>:
  6034. * d10v-tdep.c (d10v_push_arguments): When arguments
  6035. must be pushed onto the stack, they go on in
  6036. reverse order.
  6037. 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
  6038. * symtab.c (make_symbol_overload_list): Don't try to stuff minimal
  6039. or partial symbols into the overload list; we don't know their
  6040. types. (Thanks to Rajiv Mirani.)
  6041. 1999-03-15 Jason Molenda (jsm@bugshack.cygnus.com)
  6042. * acinclude.m4 (--with-itclconfig, --with-itkconfig, --with-tixconfig):
  6043. Fix whitespace so --help messages line up.
  6044. * configure.in (--with-cpu): Fix capitalization for --help messages.
  6045. * configure, aclocal.m4: Regenerated.
  6046. Mon Mar 15 11:39:03 1999 Ian Carmichael <iancarm@cygnus.com>
  6047. Support building gdb w/o simulator:
  6048. * configure.in: Support --disable-sim. Check for sim directory.
  6049. * Makefile.in (IGNORE_SIM, IGNORE_SIM_OBS): New.
  6050. * acconfig.h (WITH_SIM): Define.
  6051. * configure, config.in: Regenerate.
  6052. Mon Mar 15 08:01:33 1999 Elena Zannoni <ezannoni@cygnus.com>
  6053. Patch from Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  6054. * top.c (read_command_lines): Reset control_level to 0.
  6055. (define_command): Don't do it here.
  6056. Sun Mar 14 16:12:15 1999 Andrew Cagney <cagney@rhino.cygnus.com>
  6057. * hppah-nat.c (store_inferior_registers): Delete extern
  6058. registers[] declaration.
  6059. Sun Mar 14 19:17:30 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6060. * infrun.c (write_inferior_status_register): New function. Provide
  6061. update access to an inf_status register buffer. Only used by HP.
  6062. * inferior.h (write_inferior_status_register): Add prototype.
  6063. * hppa-tdep.c (push_dummy_frame): Use
  6064. write_inferior_status_register when hacking around a sleeping
  6065. inferior. Accidently fix byte-order problem.
  6066. Sun Mar 14 16:40:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6067. * config/pa/tm-hppa.h (PUSH_DUMMY_FRAME): Fix parameter. Address
  6068. not needed.
  6069. Fri Mar 12 13:11:48 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
  6070. * remote.c (remote_write_bytes): fix 'X' packet protocol so that it
  6071. can't overwrite the end of its buffer with escaped characters.
  6072. 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
  6073. Alpha patches from Richard Henderson:
  6074. * alpha-tdep.c (alpha_skip_prologue): Recognize subq.
  6075. * config/alpha/tm-alpha.h (REGISTER_NAMES): No f31, but fpcr.
  6076. (FPCR_REGNUM): New.
  6077. (REGISTER_CONVERTIBLE): Don't convert fpcr.
  6078. (REGISTER_VIRTUAL_TYPE): Don't make fpcr a double.
  6079. * stabsread.c (define_symbol): Only consider live range extension
  6080. if we have an open parenthesis.
  6081. 1999-03-11 Jim Blandy <jimb@zwingli.cygnus.com>
  6082. * monitor.c (monitor_fetch_register): Print RDEBUG info correctly
  6083. when the register name is null.
  6084. Thu Mar 11 19:33:07 1999 Stan Shebs <shebs@andros.cygnus.com>
  6085. * infrun.c (wait_for_inferior): Change #if DECR_PC_AFTER_BREAK
  6086. uses to expressions, remove redundant extern decls.
  6087. Thu Mar 11 18:05:11 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
  6088. * infptrace.c (proc_wait): Rename to ptrace_wait.
  6089. * inftarg.c (child_wait): call ptrace_wait instead of proc_wait.
  6090. * inferior.h: Declare ptrace_wait instead of proc_wait.
  6091. Thu Mar 11 11:46:25 1999 Andrew Cagney <cagney@amy.cygnus.com>
  6092. * breakpoint.c (create_solib_load_unload_event_breakpoint,
  6093. create_fork_vfork_event_catchpoint, tcatch_command,
  6094. create_exception_catchpoint, break_at_finish_at_depth_command_1,
  6095. catch_fork_command_1, ep_skip_leading_whitespace,
  6096. break_at_finish_command_1, catch_exec_command_1,
  6097. catch_exception_command_1, stop_command, stopin_command,
  6098. stopat_command, ep_parse_optional_filename,
  6099. ep_find_event_name_end, ep_parse_optional_if_clause,
  6100. catch_fork_command_1), stack.c (show_and_print_stack_frame_stub,
  6101. print_stack_frame_stub, print_only_stack_frame_stub,
  6102. backtrace_command_1, backtrace_full_command, func_command),
  6103. valprint.c (print_decimal), source.c (print_source_lines_base):
  6104. Add prototype.
  6105. * stack.c (print_stack_frame_stub, show_and_print_stack_frame_stub,
  6106. print_only_stack_frame_stub): Make param void*.
  6107. Wed Mar 10 19:33:28 1999 Geoffrey Noer <noer@cygnus.com>
  6108. * win32-nat.c: If old Cygwin Win32 API headers aren't being used,
  6109. define some gdb-specific defines that shouldn't have been in the
  6110. global headers.
  6111. Wed Mar 10 21:20:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6112. * findvar.c (registers, register_valid): Replace array with pointer.
  6113. (build_findvar): New function. Allocate space for REGISTERS and
  6114. REGISTER_VALID.
  6115. (_initialize_findvar): Call build_findvar.
  6116. (_initialize_findvar): Register REGISTERS and REGISTER_VALID as
  6117. arch dependant.
  6118. * inferior.h (registers, register_valid): Replace array with
  6119. pointer.
  6120. * inferior.h (struct inferior_status): Move definition from here.
  6121. * infrun.c (struct inferior_status): To here.
  6122. (struct inferior_status): Change ``stop_registers'' and
  6123. ``registers'' to pointers.
  6124. (xmalloc_inferior_status, free_inferior_status): New functions.
  6125. (restore_inferior_status): Call free_inferior_status.
  6126. (save_inferior_status): Call xmalloc_inferior_status.
  6127. (discard_inferior_status): New function, discard inf_status
  6128. buffer. Call free_inferior_status.
  6129. * inferior.h (stop_registers): Replace array with pointer.
  6130. * infrun.c (stop_registers): Update.
  6131. (build_infrun): Initialize stop_registers.
  6132. (_initialize_infrun): Call build_infrun.
  6133. (_initialize_infrun): Register ``stop_registers'' as arch dependant.
  6134. Wed Mar 10 14:50:42 1999 Andrew Cagney <cagney@amy.cygnus.com>
  6135. * alpha-tdep.c (alpha_linux_sigtramp_offset): Only compile when
  6136. LINUXALPHA target. Hack.
  6137. * infrun.c (set_follow_fork_mode_command): Make static. Add
  6138. prototype.
  6139. * tracepoint.c (add_register): Ditto.
  6140. * valprint.c (strcat_longest): Comment out. Does not appear to be
  6141. used.
  6142. * valops.c (find_method_list): Make static. Add prototype.
  6143. * thread.c (target_find_new_threads): Make static. Add prototype.
  6144. * stack.c (stack_publish_stopped_with_no_frame,
  6145. select_and_maybe_print_frame): Comment out. Does not appear to be
  6146. used.
  6147. (current_frame_command): Add prototype.
  6148. * breakpoint.c (break_at_finish_command,
  6149. break_at_finish_at_depth_command, tbreak_at_finish_command): Make
  6150. static. Add prototype.
  6151. * findvar.c (read_relative_register_raw_bytes_for_frame): Ditto.
  6152. Wed Mar 10 23:38:54 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6153. * corefile.c (registers): Delete redundant variable declaration.
  6154. * inferior.h (run_stack_dummy): Change array argument to pointer.
  6155. * infcmd.c (run_stack_dummy): Update.
  6156. * value.h (value_being_returned): Change RETBUF to a pointer.
  6157. * values.c (value_being_returned): Update.
  6158. Wed Mar 10 11:08:16 1999 Andrew Cagney <cagney@amy.cygnus.com>
  6159. * source.c (list_command): GCC suggested explicit braces to avoid
  6160. ambiguous `else'.
  6161. * jv-typeprint.c: Include "c-lang.h".
  6162. * Makefile.in (jv-typeprint.o): Add dependency.
  6163. * jv-valprint.c: Include "gdbcore.h", "annotate.h".
  6164. * Makefile.in (jv-valprint.o): Add dependencies.
  6165. * objfiles.c: Include "breakpoint.h".
  6166. * Makefile.in (objfiles.o): Add dependency.
  6167. * main.c: Include <unistd.h>.
  6168. * parse.c: Include <ctype.h>.
  6169. * remote.c: Include <ctype.h>.
  6170. * ser-tcp.c: Include <unistd.h>.
  6171. * ax-general.c: Include "value.h".
  6172. * Makefile.in (ax-general.o): Add dependency.
  6173. * alpha-tdep.c (alpha_push_arguments): Make ``i'' an int instead
  6174. of a register.
  6175. * frame.h (show_and_print_stack_frame): Add function prototype.
  6176. * language.h (language_enum): Add function prototype.
  6177. * value.h (find_overload_match): Add function prototype.
  6178. * defs.h, utils.c (subset_compare): Rename subsetCompare. Add
  6179. prototype.
  6180. * stack.c (backtrace_command): Update.
  6181. Wed Mar 10 13:58:36 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6182. * configure.in (AC_CHECK_HEADERS): Check for <sys/select.h>
  6183. * configure, config.in: Re-generate.
  6184. * inflow.c: Conditionally include <sys/select.h>.
  6185. Wed Mar 10 13:44:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6186. * frame.h (struct dummy_frame): Move from here.
  6187. * blockframe.c (struct dummy_frame): To here.
  6188. * blockframe.c (struct dummy_frame): Replace ``regs'' with pointer
  6189. ``registers''.
  6190. (generic_pop_dummy_frame): Free it.
  6191. (generic_push_dummy_frame): Allocate dummy frame register buffer.
  6192. Wed Mar 10 11:08:16 1999 Andrew Cagney <cagney@amy.cygnus.com>
  6193. * thread.c (_initialize_thread): Delete redundant ``extern struct
  6194. cmd_list_element *cmdlist''.
  6195. * printcmd.c (print_command_1): Ditto for ``objectprint'';
  6196. 1999-03-09 Stan Shebs <shebs@andros.cygnus.com>
  6197. * MAINTAINERS: New file, list of maintainers and areas they
  6198. maintain.
  6199. 1999-03-09 Rodney Brown <RodneyBrown@pmsc.com>
  6200. Get working on UnixWare 2.1.1.
  6201. * acconfig.h: Update for defines for procfs.c.
  6202. * configure.in: Identify defines for procfs.c.
  6203. * configure.host: i386-*-sysv4.2uw2* => i386v42mp
  6204. * configure.tgt: i386-*-sysv4.2uw2* => i386v42mp
  6205. * configure, config.in: Regenerate.
  6206. * procfs.c: Rename HAVE_NO_PRRUN_T to HAVE_PRRUN_T (autoconf
  6207. standard), wrap UNIXWARE difference in THE_PR_LWP macro for
  6208. legibility.
  6209. * config/i386/tm-i386v42mp.h: Remove HAVE_PSTATUS_T,
  6210. HAVE_NO_PRRUN_T; now set by configure.
  6211. Tue Mar 9 16:29:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6212. * i386-tdep.c (gdb_print_insn_i386): Abort when disassembly_flavor
  6213. undefined..
  6214. * fr30-tdep.c (_initialize_fr30_tdep): Add prototype. Fix
  6215. coding style.
  6216. * target.c (debug_to_enable_exception_callback,
  6217. debug_to_get_current_exception_event): Return result of call to
  6218. debug_target().
  6219. 1999-03-09 Jim Blandy <jimb@zwingli.cygnus.com>
  6220. Another HURD fix from Mark Kettenis:
  6221. * gnu-nat.c: Include <string.h>. Remove declaration of strerror.
  6222. Include <bits/waitflags.h> instead of <waitflags.h> and define
  6223. _SYS_WAIT_H to prevent the warning that we should not include it.
  6224. (gnu_create_inferior): Change return type of attach_to_child to
  6225. void. Do not return INFERIOR_PID.
  6226. (gnu_pid_to_exec_file): Change return type to char *.
  6227. Return NULL.
  6228. Fix for the HURD from Mark Kettenis:
  6229. * configure.in: Add AC_PROG_AWK. Needed by the machine-dependent
  6230. makefile fragments for the Hurd.
  6231. * Makefile.in (AWK): Add. Set by configure.
  6232. * configure: Regenerated.
  6233. 1999-03-08 Jason Molenda (jsm@bugshack.cygnus.com)
  6234. * infttrace.c (hppa_get_process_events): Removed. Function only
  6235. usable on HPUX 10 and above. It is not called by any other part
  6236. of GDB.
  6237. * hppah-nat.c (hppa_get_process_events): Ditto.
  6238. (child_pid_to_exec_file): Only call ptrace with
  6239. PT_GET_PROCESS_PATHNAME if that symbol has been defined.
  6240. * config/pa/nm-hppah.h: Don't set up prototypes et al for
  6241. hppa_get_process_events.
  6242. * config/pa/hppahpux.mh (TERM_LIB): Do not initialize, let autoconf
  6243. determine best library automatically.
  6244. * config/pa/hpux1020.mh: Ditto.
  6245. * config/pa/hpux1100.mh: Ditto.
  6246. * configure.in (TERM_LIB): Also check for libHcurses.
  6247. * configure: Regenerated.
  6248. Thu Mar 4 17:16:04 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
  6249. * m32r-stub.c: add support for crc "Compare" command.
  6250. 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
  6251. * fr30-tdep.c (fr30_store_return_value): Allocate zeroes
  6252. dynamically, to save BSS space, and to remove assumptions about
  6253. the size of the largest value we'll return.
  6254. * config/fr30/tm-fr30.h (fr30_store_return_value): Use PARAMS in
  6255. prototype.
  6256. Thu Mar 4 08:37:35 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6257. * sh3-rom.c (sh3_supply_register, sh3_supply_register),
  6258. mips-tdep.c (mips_push_arguments), m32r-rom.c
  6259. (m32r_upload_command), m32r-tdep.c (decode_prologue), monitor.c
  6260. (longlong_hexchars), tracepoint.c (validate_actionline,
  6261. read_actions), mdebugread.c
  6262. (parse_symbol), jv-typeprint.c
  6263. (java_type_print_base, java_type_print_base), mdebugread.c
  6264. (parse_symbol), top.c (source_command), utils.c
  6265. (floatformat_to_doublest): GCC suggest explicit braces to avoid
  6266. ambiguous `else'.
  6267. * tracepoint.c (map_args_over_tracepoints, trace_actions_command),
  6268. m32r-rom.c (m32r_supply_register), win32-nat.c
  6269. (handle_output_debug_string, child_continue), i960-tdep.c
  6270. (pop_frame), m32r-rom.c (m32r_upload_command): GCC suggested
  6271. parentheses around assignment used as truth value.
  6272. * remote-sds.c (sds_wait), monitor.c (monitor_fetch_register),
  6273. ser-e7kpc.c, (dosasync_write), arc-tdep.c (arc_get_frame_setup):
  6274. GCC suggested parentheses around operands.
  6275. * c-typeprint.c (c_type_print_base): GCC suggested enclosing
  6276. "while" expression in paren.
  6277. Wed Mar 3 18:14:33 1999 Andrew Cagney <cagney@chook.cygnus.com>
  6278. * sol-thread.c (save_inferior_pid): Cast the saved pid to void*.
  6279. (restore_inferior_pid): Takes void* as required by make_cleanup.
  6280. Casts pid back to an int.
  6281. * procfs.c (make_cleanup_close_proc_file,
  6282. close_proc_file_cleanup): Create a proc_file cleanup.
  6283. (info_proc): Use.
  6284. * defs.h (make_cleanup_freeargv): Helper function. Establish
  6285. cleanup using freeargv. Can not just typecast/pass freeargv as it
  6286. violates ISO-C.
  6287. * utils.c (do_freeargv): Helper.
  6288. (make_cleanup_freeargv): New function.
  6289. * symmisc.c (maintenance_print_symbols,
  6290. maintenance_print_psymbols, maintenance_print_msymbols), symfile.c
  6291. (symbol_file_command), stack.c (backtrace_command), remote-sim.c
  6292. (gdbsim_create_inferior, gdbsim_open), remote-mips.c
  6293. (common_open), procfs.c (info_proc), infrun.c (handle_command,
  6294. xdb_handle_command), exec.c (exec_file_attach): Call
  6295. make_cleanup_freeargv.
  6296. 1999-03-03 James Ingham <jingham@cygnus.com>
  6297. * i386-tdep.c (_initialize_i386_tdep): Set the inital value for
  6298. disassembly flavor at startup, rather than hardcoding it.
  6299. 1999-03-03 Jim Blandy <jimb@zwingli.cygnus.com>
  6300. Put return values in the right place.
  6301. * fr30-tdep.c (fr30_store_return_value): New function.
  6302. * config/fr30/tm-fr30.h (STORE_RETURN_VALUE): Call
  6303. fr30_store_return_value.
  6304. Wed Mar 3 18:10:55 1999 Andrew Cagney <cagney@chook.cygnus.com>
  6305. * gdbtypes.c (virtual_base_list_aux): Return void. Add prototype.
  6306. * breakpoint.c (map_catch_names): Comment out unused function.
  6307. 1999-03-02 Jason Molenda (jsm@bugshack.cygnus.com)
  6308. * hppa-tdep.c (pa_register_look_aside): Only refer to save_state_t
  6309. structure on PA 2.0 systems.
  6310. 1999-03-02 Stan Shebs <shebs@andros.cygnus.com>
  6311. From Gary Thomas <gthomas@cygnus.co.uk>:
  6312. * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT,
  6313. THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Use illegal instruction
  6314. instead of SWI 24.
  6315. * config/arm/tm-arm.h (CALL_DUMMY): Ditto.
  6316. (IN_SIGTRAMP): Define.
  6317. 1999-03-02 Nick Clifton <nickc@cygnus.com>
  6318. * findvar.c (store_address): Delete incorrect big endian
  6319. code.
  6320. Tue Mar 2 18:02:42 1999 Andrew Cagney <cagney@chook>
  6321. * configure.in (gdb_cv_os_cygwin): Compat. Continue to reconize
  6322. __CYGWIN32__.
  6323. 1999-03-01 Jason Molenda (jsm@bugshack.cygnus.com)
  6324. * configure.in: Move setting of gdb_cv_os_cygwin to before
  6325. setting of TERM_LIB. Check for __CYGWIN__ instead of __CYGWIN32__.
  6326. * configure: Regenerated.
  6327. 1999-03-01 DJ Delorie <dj@cygnus.com>
  6328. * configure.in: Change -cygwin32* to -cygwin*.
  6329. * configure: Ditto.
  6330. 1999-02-25 Stan Shebs <shebs@andros.cygnus.com>
  6331. * breakpoint.c (SOLIB_LOADED_LIBRARY_PATHNAME,
  6332. SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_CREATE_CATCH_LOAD_HOOK,
  6333. SOLIB_CREATE_CATCH_UNLOAD_HOOK): Supply default definitions.
  6334. * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Ditto.
  6335. 1999-02-25 Keith Seitz <keiths@cygnus.com>
  6336. * corelow.c (core_close): Clear out solib state before
  6337. closing the bfd associated with the core file.
  6338. * solib.c (clear_solib): Mention that clear_solib requires
  6339. an open BFD in order for disable_breakpoints_in_shlibs to
  6340. determine whether breakpoints live in shared libraries.
  6341. 1999-02-24 Jason Molenda (jsm@bugshack.cygnus.com)
  6342. * configure.in: Set CPU_HPPA_RISC_20 if the host CPU is a PA 2.0
  6343. processor.
  6344. * acconfig.h: Add CPU_HPPA_RISC_20
  6345. * config.in, configure: Regenerated.
  6346. * hppa-tdep.c (pa_register_look_aside): Only refer to new
  6347. structure elements if we are on a PA2.0 system.
  6348. * defs.h: Include limits.h.
  6349. Tue Feb 23 14:37:08 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
  6350. * infrun.c (wait_for_inferior): Check scheduler_locking state
  6351. before resuming after a thread-specific breakpoint.
  6352. 1999-02-23 Jim Blandy <jimb@zwingli.cygnus.com>
  6353. * aclocal.m4, config.in, configure: Regenerated with latest
  6354. autotools.
  6355. Mon Feb 22 12:32:19 1999 Per Bothner <bothner@cygnus.com>
  6356. * jv-valprint.c (java_val_print): Restore line that somehow got lost.
  6357. * jv-valprint.c (java_print_value_fields): Check for NULL type.
  6358. 1999-02-21 Jim Blandy <jimb@zwingli.cygnus.com>
  6359. * tm-h8500.h, i386lynx-nat.c: Removed. These files are long
  6360. dead; it seems that they only appeared due to some CVS weirdness.
  6361. If they appear again, we may need to distribute garlic and holy
  6362. water.
  6363. 1999-02-19 Jason Molenda (jsm@bugshack.cygnus.com)
  6364. * configure.in (TERM_LIB): Move checking for TERM_LIB, substituting.
  6365. * configure: Regenerated.
  6366. 1999-02-19 Robert Hoehne (robert.hoehne@gmx.net)
  6367. * configure.host (i[3456]86-*-msdosdjgpp*): New host.
  6368. * configure.tgt (i[3456]86-*-msdosdjgpp*): New target.
  6369. * go32-nat.c: New file, native DJGPP support.
  6370. * config/i386/go32.mh: Rewrite for DJGPP (go32) host.
  6371. * config/i386/go32.mt: New file, DJGPP (go32) target.
  6372. * config/i386/nm-go32.h: New file.
  6373. * config/i386/tm-go32.h: New file.
  6374. * config/i386/xm-go32.h: Rewritten for current DJGPP.
  6375. 1999-02-18 Jason Molenda (jsm@bugshack.cygnus.com)
  6376. * reply_mig_hack.awk, config/nm-gnu.h, config/alpha/nm-linux.h
  6377. config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h
  6378. config/i386/nm-i386sco5.h, config/i386/tm-fbsd.h, config/i386/tm-i386.h
  6379. config/powerpc/nm-aix.h, config/powerpc/tm-macos.h
  6380. config/powerpc/tm-ppc-aix.h, config/powerpc/xm-aix.h
  6381. config/rs6000/tm-rs6000-aix4.h: Update FSF address in copyright
  6382. notices.
  6383. 1999-02-18 Jason Molenda (jsm@bugshack.cygnus.com)
  6384. * configure.in: Quote "$GCC" correctly.
  6385. * configure: Regenerated.
  6386. 1999-02-18 Jim Blandy <jimb@zwingli.cygnus.com>
  6387. * dbxread.c (elfstab_build_psymtabs): Don't assume that there's a
  6388. section named ".text", which has all the code in it. Instead, look
  6389. at all the sections in the file with the `code' flag set.
  6390. (find_text_range): New function, that does all the work.
  6391. Thu Feb 18 17:50:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6392. * mips-tdep.c (FP_REGISTER_DOUBLE): Conditionally define.
  6393. Fri Jan 29 16:51:11 1999 Andrew Cagney <cagney@chook.cygnus.com>
  6394. * mips-tdep.c (return_value_location): New function. Merge/rewrite
  6395. of return-value code in mips_extract_return_value,
  6396. mips_store_return_value. Stop buffer overflow when 64 bit value
  6397. in 32 bit registers. Extract 64bit float from 32 bit register
  6398. pair of correct order.
  6399. (mips_extract_return_value, mips_store_return_value): Call
  6400. return_value_location. For store, ensure that remainder of
  6401. register is zero.
  6402. Thu Jan 28 18:58:02 1999 Andrew Cagney <cagney@chook.cygnus.com>
  6403. From John Metzler <jmetzler@cygnus.com>:
  6404. * mips-tdep.c (struct gdbarch_tdep): Add mips_saved_regsize.
  6405. (MIPS_SAVED_REGSIZE): Define.
  6406. (mips_find_saved_regs, read_next_frame_reg, mips_pop_frame):
  6407. Read/write MIPS_SAVED_REGSIZE bytes of register on stack instead
  6408. of MIPS_REGSIZE.
  6409. (mips_gdbarch_init): Initialize mips_saved_regsize.
  6410. * mips-tdep.c (mips_frame_saved_pc, mips16_heuristic_proc_desc,
  6411. mips_push_arguments, mips_push_dummy_frame,
  6412. mips_use_struct_convention): Ditto. For MIPS_SAVED_REGSIZE <
  6413. REGISTER_RAW_SIZE, handle little/big endian issues from only using
  6414. half the register.
  6415. (STACK_ARGSIZE): Default to MIPS_SAVED_REGSIZE instead of
  6416. MIPS_REGSIZE.
  6417. * mips-tdep.c (struct gdbarch_tdep, FP_REGISTER_DOUBLE,
  6418. mips_gdbarch_init): Apply similar changes. Add
  6419. mips_fp_register_double to struct.
  6420. Wed Feb 17 10:10:27 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
  6421. * gdbtypes.h (get_discrete_bounds): Remove duplicate decl.
  6422. * jv-typeprint.c (java_type_print_base): Change fputs => fputs_filtered.
  6423. Mon Jan 25 18:30:57 1999 Per Bothner <bothner@cygnus.com>
  6424. * jv-lang.h (JAVA_OBJECT_SIZE): Change from hard-wired constant.
  6425. (java_primitive_type_from_name, get_java_object_header_size): Declare.
  6426. * jv-lang.c (java_class_from_object): Use get_java_object_type.
  6427. * jv-lang.c: Update Class field names: dtable->vtable,
  6428. msize->method_count, nfields->field_count, bfsize->size_in_bytes,
  6429. nmethods->method_count.
  6430. (type_from_class): Demangle array type names.
  6431. (java_link_class_type): Array type names are now demangled.
  6432. (get_java_object_type): If not defined yet, try looking it up.
  6433. (get_java_object_header_size): New function.
  6434. (java_primitive_type_from_name): New function.
  6435. (java_demangled_signature_length, java_demangled_signature_copy): New.
  6436. (java_demangle_type_signature): Re-implement using above functions.
  6437. (evaluate_subexp_java): For UNOP_IND, call evaluate_subexp_java
  6438. to evaluate subexp (not evaluate_subexp_standard).
  6439. For BINOP_SUBSCRIPT update for new array type naming scheme.
  6440. * jv-valprint.c (java_value_print): Use java_class_from_object.
  6441. Update array printing to new array type naming convention.
  6442. (java_val_print): Doing check_typedef when printing a pointer is
  6443. is a waste of effort. Also, handle TYPE_CODE_INT, to make sure
  6444. Java bytes as not printed as C chars.
  6445. Fri Jan 8 16:58:22 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
  6446. * blockframe.c (find_pc_sect_partial_function): Search full symtabs as
  6447. a last ditch effort (after the partial & minimal symtabs).
  6448. * defs.h utils.c: Fixup prototypes for vprintf_filtered,
  6449. vfprintf_filtered, vfprintf_unfiltered and vprintf_unfiltered to return
  6450. ints to match their standard equivalents.
  6451. * defs.h symtab.c top.c: Create skip_prologue_hook to allow Java to
  6452. control the prologue skipping process.
  6453. * jv-typeprint.c (java_type_print_base): Remove extern for
  6454. jv_class_demangle, add new arg for objfile (NULL).
  6455. * symtab.h: Remove struct sourcevector and struct source. Definately
  6456. not needed.
  6457. * values.c (value_virtual_fn_field): Fixes code to handle new vtable
  6458. debug info format. Patch from marka.
  6459. Wed Dec 16 23:11:25 1998 Stu Grossman <grossman@fencer.cygnus.com>
  6460. * jv-lang.c (java_class_from_object java_class_is_primitive
  6461. is_object_type): Change dtable to vtable.
  6462. * (java_primitive_type): Change arg to type char.
  6463. * (_initialize_java_language): Make java_char_type be unsigned.
  6464. * jv-lang.h: Fixup prototypes.
  6465. Mon Dec 7 19:02:15 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
  6466. * jv-valprint.c (java_value_print): Fix printing of values where
  6467. run time type != compile time type.
  6468. Fri Dec 4 15:23:38 1998 Stu Grossman <grossman@fencer.cygnus.com>
  6469. * Makefile.in: Whack out m2-typeprint.c.
  6470. * c-typeprint.c (c_type_print_varspec_suffix) typeprint.h: Make this
  6471. global. It's needed by Java.
  6472. * (c_type_print_base): Whack prefix off of qualified method names
  6473. (names with name spaces).
  6474. * gdbtypes.h (struct cplus_struct_type): Add bits for Java attributes.
  6475. Shrink voffset
  6476. to 16 bits to compensate for added bits above (hopefully this is still
  6477. enough).
  6478. * Add new accessor macros (TYPE_FND_FIELD_PUBLIC, ...) for all new
  6479. attribute bits.
  6480. * jv-typeprint.c (java_type_print_base): Fix printing of method
  6481. attributes. Handle JVM style manglings.
  6482. * (java_print_type): Enable code type print varspec_suffix to allow
  6483. array indices to print out.
  6484. * jv-valprint.c (java_val_print): Minor formatting.
  6485. * m2-lang.c (m2_language_d): Change m2_print_type to c_print_type.
  6486. * stabsread.c (read_member_functions): Save public and static attributes.
  6487. Wed Feb 17 15:32:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6488. * breakpoint.c (watch_command_1): Reformat comment.
  6489. * c-typeprint.c (c_type_print_base): Reformat comments.
  6490. 1999-02-17 Jim Blandy <jimb@zwingli.cygnus.com>
  6491. * Makefile.in (VERSION): Bump version to 4.17.2.
  6492. Tue Feb 16 15:48:20 1999 Edith Epstein <eepstein@sophia.cygnus.com>
  6493. * config/pa/nm-hppah.h: Added prototype declarations for
  6494. hppa_enable_page_protection_events and
  6495. hppa_disable_page_protection_events.
  6496. * inftarg.c (child_wait): Fixed code that checks whether
  6497. or not the target program has done a fork/vfork.
  6498. related_pid does not have a value unless the target
  6499. program has forked/vforked.
  6500. * infttrace.c (hppa_insert_hw_watchpoint): Make sure that
  6501. function always returns a value.
  6502. (hppa_remove_hw_watchpoint): Make sure that function always
  6503. returns a value.
  6504. Tue Feb 16 06:31:58 1999 Keith Seitz <keiths@cygnus.com>
  6505. * config/powerpc/tm-ppc-eabi.h: Do not define PC_IN_CALL_DUMMY,
  6506. let the generic call dummy infrastructure do it.
  6507. Sun Feb 14 18:21:08 1999 Mark Alexander <marka@cygnus.com>
  6508. * config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
  6509. coffread.c will correctly handle char or short function parameters.
  6510. 1999-02-11 Jason Molenda (jsm@bugshack.cygnus.com)
  6511. * configure, aclocal.m4: Regenerate with correct version of aclocal.
  6512. 1999-02-10 Syd Polk <spolk@cygnus.com>
  6513. * acinclude.m4: Fix for new location of itclConfig.sh and itkConfig.sh.
  6514. * aclocal.m4: Regnerate.
  6515. * configure: Regenerate.
  6516. 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
  6517. * demangle.c: Fix comments to mention "set demangle-style"
  6518. instead of "set demangle".
  6519. Run through indent to fix minor indenting problems.
  6520. Wed Feb 10 17:53:09 1999 Bob Manson <manson@charmed.cygnus.com>
  6521. * i386-tdep.c (gdb_print_insn_i386): Add missing returns.
  6522. Wed Feb 10 13:17:21 1999 Stan Shebs <shebs@andros.cygnus.com>
  6523. Declare Gould configuration obsolete:
  6524. * configure.host, configure.tgt: Comment out Gould configs.
  6525. * Makefile.in: Comment out Gould-related actions.
  6526. * gould-xdep.c, gould-tdep.c, config/gould/*: Comment out.
  6527. * NEWS: Mention obsolete status.
  6528. 1999-02-09 DJ Delorie <dj@cygnus.com>
  6529. * sparcl-tdep.c: UDP download works in cygwin
  6530. 1999-02-08 Jason Molenda (jsm@bugshack.cygnus.com)
  6531. * gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H.
  6532. * configure.in: Don't check for libintl.h.
  6533. * configure, config.in: Regenerated.
  6534. Mon Feb 8 18:10:50 1999 Stan Shebs <shebs@andros.cygnus.com>
  6535. * NEWS: Mention new X packet and PowerPC variant support.
  6536. 1999-02-08 Nick Clifton <nickc@cygnus.com>
  6537. * configure.host: Add support for StrongARM host.
  6538. * configure.tgt: Add support for StrongARM target.
  6539. Mon Feb 8 12:05:05 1999 David Taylor <taylor@texas.cygnus.com>
  6540. * dsrec.c (make_srec): Cast targ_addr to int in call to sprintf
  6541. otherwise on big endian machine with a bfd_vma of 64 bits,
  6542. *everything* gets loaded at location 0.
  6543. Mon Feb 7 10:05:43 1999 Frank Ch. Eigler <fche@cygnus.com>
  6544. * infrun.c (wait_for_inferior): Allow SIGTRAP to be "pass"ed
  6545. to target program.
  6546. Fri Feb 5 16:46:14 1999 Stan Shebs <shebs@andros.cygnus.com>
  6547. * NEWS: Add mentions of various new things.
  6548. Thu Feb 4 00:19:14 1999 Christopher Faylor <cgf@cygnus.com>
  6549. * configure.in: Move termcap determination later in the
  6550. file to catch setting of cygwin flag.
  6551. * configure: Regenerate.
  6552. Wed Feb 3 14:16:38 1999 Christopher Faylor <cgf@cygnus.com>
  6553. * config/i386/cygwin.mh: Move TERMCAP test code to configure.in.
  6554. * configure.in: Treat libtermcap.a detection as a special case
  6555. when hosting on cygwin.
  6556. * configure: Regenerate.
  6557. 1999-02-03 Keith Seitz <keiths@cygnus.com>
  6558. * remote.c (remote_binary_download, remote_binary_length): New
  6559. static globals for dealing with binary transmissions.
  6560. (remote_write_bytes): Add support for binary downloads
  6561. by shadowing the "M" packet with a new "X" packet. This
  6562. defaults to ON; if the stub does not understand this, it
  6563. will fall back to using "M".
  6564. (putpkt): Add support for binary downloading.
  6565. * monitor.c (monitor_expect): The mon2000 monitor
  6566. on the MSA2000 will also emit random DC1/DC3 chars.
  6567. * m32r-stub.c: Change all char's to unsigned char's
  6568. to support binary downloading.
  6569. (handle_exception): Add support for binary downloading
  6570. via a new "X" packet.
  6571. (getpacket): Do NOT strip eighth bit of incoming chars.
  6572. Watch out for escaped characters in the incoming stream.
  6573. (putpacket): Do NOT strip eighth bit of incoming chars.
  6574. (bin2mem): New function to write binary data directly to
  6575. memory.
  6576. * m32r-rom.c: Add new "mon2000" target.
  6577. Tue Feb 2 18:40:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6578. * hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg
  6579. passed to make_cleanup to the correct type.
  6580. (hpread_quick_traverse): Change fifth arg to call to
  6581. hpread_end_psymtab to be 0.
  6582. Compare CURR_MODULE_END to 0 rather than NULL.
  6583. Get rid of ifdef'ed out code.
  6584. (scan_procs): Get rid of ifdef'ed out code.
  6585. * somread.c (som_symfile_read): Coerce first argument passed to
  6586. make_cleanup to the correct type.
  6587. Tue Feb 2 17:36:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6588. * hp-psymtab-read.c (do_pxdb): New function. Check whether the
  6589. file needs to be processed by pxdb (an HP debug info massaging
  6590. tool), if so call it.
  6591. (hpread_build_psymtabs): Initialize scan_start to 0 and
  6592. simplify flow of control.
  6593. * somread.c (som_symfile_read): Add call to do_pxdb (),
  6594. in hp-psymtab-read.c.
  6595. * symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific
  6596. code.
  6597. (symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now
  6598. in hp-psymtab-read.c.
  6599. 1999-02-02 Martin Hunt <hunt@cygnus.com>
  6600. * printcmd.c (print_scalar_formatted): Use strcat to concat all
  6601. the output together before calling fprintf_filtered().
  6602. 1999-02-01 Jason Molenda (jsm@bugshack.cygnus.com)
  6603. * configure.in: Require autoconf 2.13.
  6604. (AM_EXEEXT): Replace with new AC_EXEEXT.
  6605. * acinclude.m4: Move itcl header macros from aclocal.m4 to here.
  6606. * aclocal.m4: Regenerated.
  6607. * configure: Regenerated.
  6608. 1999-02-01 Jim Blandy <jimb@zwingli.cygnus.com>
  6609. Allow PPC users to select which PPC/RS6000 variant they're
  6610. debugging at run-time. At the moment, the only thing this affects
  6611. is the set of registers visible.
  6612. * config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call
  6613. to the function rs6000_register_name.
  6614. (rs6000_register_name): Include extern decl.
  6615. (NUM_REGS): Bump to 183. What's the right way to do this?
  6616. (FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from
  6617. FIRST_SP_REGNUM, LAST_SP_REGNUM.
  6618. (REGISTER_BYTES): Recompute this.
  6619. * rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and
  6620. LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
  6621. some concomitant formatting changes.
  6622. #include "gdbcmd.h", so we can define commands here.
  6623. (struct variant): New structure.
  6624. (COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES,
  6625. PPC_32_OEA_SPR_NAMES, num_registers): New macros.
  6626. (register_names_rs6000, register_names_uisa, register_names_403,
  6627. register_names_403GC, register_names_505, register_names_860,
  6628. register_names_601, register_names_602, register_names_603,
  6629. register_names_604, register_names_750, variants): New variables.
  6630. (rs6000_register_name, install_variant, find_variant_by_name,
  6631. install_variant_by_name, list_variants, show_current_variant,
  6632. set_processor, show_processor): New functions.
  6633. (_initialize_rs6000_tdep): Define new commands `set processor' and
  6634. `show processor', and call install_variant_by_name to set the
  6635. default variant.
  6636. * rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and
  6637. LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
  6638. some concomitant formatting changes.
  6639. * configure.in: Accept the `--with-cpu' flag, to specify a default
  6640. processor variant.
  6641. * acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set
  6642. by configure's `--with-cpu' flag.
  6643. * config.in, configure: Regenerated.
  6644. Sun Jan 31 15:24:24 1999 Stan Shebs <shebs@andros.cygnus.com>
  6645. * buildsym.h, buildsym.c: Convert to ANSI-only.
  6646. * buildsym.h, buildsym.c: Reformat to standard.
  6647. * buildsym.c (merge_symbol_lists): Remove unused variable.
  6648. (_initialize_buildsym): Remove, does nothing.
  6649. 1999-01-31 J.T. Conklin <jtc@redbacknetworks.com>
  6650. * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
  6651. sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar
  6652. to include explicit void return type as per documentation. Fix up
  6653. occasions where stubs erroneously checked return type.
  6654. Sun Jan 31 13:18:33 1999 Stan Shebs <shebs@andros.cygnus.com>
  6655. From J.T. Conklin <jtc@redbacknetworks.com>:
  6656. * remote.c (remote_query): Fix tipo.
  6657. Fri Jan 29 15:25:09 1999 Stan Shebs <shebs@andros.cygnus.com>
  6658. * configure.tgt (v850): Add wildcard to match.
  6659. Fri Jan 29 16:44:01 1999 Edith Epstein <eepstein@sophia.cygnus.com>
  6660. * inferior.h: Ran indent.
  6661. * fork-child.c: Ran indent.
  6662. * infrun.c : Ran indent.
  6663. Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6664. * infrun.c (_initialize_infrun): Do not stop or print anything
  6665. when a SIGWINCH is received.
  6666. * Makefile.in (m2-exp.tab.c): Use YACC not BISON.
  6667. (f-exp.tab.c): Ditto.
  6668. (jv-exp.tab.c): Ditto.
  6669. (c-exp.tab.c): Ditto.
  6670. (YACC): Define as @YACC@.
  6671. 1999-01-29 Martin Hunt <hunt@cygnus.com>
  6672. Changes from Keith Seitz <keiths@cygnus.com>
  6673. * valops.c (value_assign): Add calls to register_changed_hook and
  6674. memory_changed_hook to inform UIs that the user has changed
  6675. the target's registers/memory.
  6676. * findvar.c (write_register_gen): Remove call to pc_changed_hook.
  6677. * defs.h: Remove declaration for pc_changed_hook and
  6678. add declarations for register_changed_hook and
  6679. memory_changed_hook.
  6680. * top.c: Ditto.
  6681. 1999-01-29 Mark Alexander <marka@cygnus.com>
  6682. * procfs.c (wait_fd): Handle deleted threads correctly.
  6683. 1999-01-28 Jason Molenda (jsm@bugshack.cygnus.com)
  6684. * utils.c (init_page_info): Force window size if running under emacs.
  6685. 1999-01-27 James Ingham <jingham@cygnus.com>
  6686. * typeprint.c (whatis_exp): Remove static declaration.
  6687. Wed Jan 27 16:50:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6688. * hp-psymtab-read.c: Reformat using indent.
  6689. Wed Jan 27 13:20:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6690. * hp-psymtab-read.c: Reformat comments, update copyright.
  6691. Wed Jan 27 15:09:22 1999 Andrew Cagney <cagney@chook.cygnus.com>
  6692. * mips-tdep.c (mips_gdbarch_init): Trace e_flags from BFD
  6693. elf_info.
  6694. Tue Jan 26 16:02:47 1999 Mark Alexander <marka@cygnus.com>
  6695. * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
  6696. v850_register_names, v850_processor_type_table): Declare tables
  6697. and structures for handling differences in register names for
  6698. v850 and v850e.
  6699. (struct reg_list): Define new structure for creating tables
  6700. of register bit masks in v850e instrutions.
  6701. (handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
  6702. (v850_scan_prologue): Recognize v850e instructions: callt, prepare,
  6703. and pushm.
  6704. (v850_target_architecture_hook): New function to set register
  6705. names based on current machine.
  6706. (_initialize_v850_tdep): Set up target_architecture_hook.
  6707. * config/v850/tm-v850.h (v850_register_names): Declare.
  6708. (REGISTER_NAME): Define to refer to v850_register_names.
  6709. (SR0_REGNUM, CTBP_REGNUM): Define.
  6710. (PS_REGNUM): Redefine in terms of SR0_REGNUM.
  6711. Tue Jan 26 18:27:26 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  6712. * Makefile.in (c-exp.tab.c): Use BISON instead of YACC, to pick
  6713. the correct value from configure output.
  6714. (jv-exp.tab.c): Ditto.
  6715. (f-exp.tab.c): Ditto.
  6716. (m2-exp.tab.c): Ditto.
  6717. 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
  6718. * breakpoint.h (ep_is_exception_catchpoint): Add prototype.
  6719. * frame.h (select_and_print_frame): Add prototype.
  6720. * stack.c (func_command): Call select_and_print_frame with correct
  6721. number of arguments. Reformat whitespace.
  6722. Tue Jan 26 16:53:54 1999 Fernando Nasser <fnasser@cygnus.com>
  6723. * remote.c (remote_query): fix maximum packet size to account for
  6724. remote_debug use.
  6725. (putpkt): add comment to alert about extra byte need.
  6726. Mon Jan 25 19:55:30 1999 Mark Alexander <marka@cygnus.com>
  6727. * sh-tdep.c (sh_target_architecture_hook): Return immediately
  6728. when a matching machine is found.
  6729. Fri Jan 22 09:10:35 1999 Mark Alexander <marka@cygnus.com>
  6730. * remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint.
  6731. (common_breakpoint): Restore support for instruction breakpoints
  6732. on non-LSI targets.
  6733. Thu Jan 21 17:16:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6734. * stack.c: Close open comment.
  6735. * symtab.c (find_pc_sect_line): Ditto.
  6736. Thu Jan 21 17:51:51 1999 Stan Shebs <shebs@andros.cygnus.com>
  6737. * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
  6738. init only nonzero fields, leave to_require_attach and
  6739. to_require_detach empty, not needed for /proc systems yet.
  6740. (_initialize_procfs): Call init_procfs_ops.
  6741. From J.T. Conklin <jtc@redbacknetworks.com>:
  6742. * top.c (init_main): Fix tipo in description of the remotetimeout
  6743. variable.
  6744. * breakpoint.c (bpstat_stop_status): Handle systems where
  6745. DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.
  6746. Thu Jan 21 17:25:46 1999 Mark Alexander <marka@cygnus.com>
  6747. * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
  6748. to fill in mon960_cmds structure properly.
  6749. Wed Jan 20 17:53:22 1999 Stan Shebs <shebs@andros.cygnus.com>
  6750. * remote-sds.c (sds_ops): Define only once.
  6751. (init_sds_ops, sds_command, _initialize_remote_sds): Declare.
  6752. (init_sds_ops): Init only non-zero fields.
  6753. Wed Jan 20 15:45:15 1999 Mark Alexander <marka@cygnus.com>
  6754. * h8300-tdep.c (original_register_names, h8300h_register_names,
  6755. h8300_register_names): Define new variables.
  6756. (set_register_names): New function to set register names based on
  6757. current CPU type.
  6758. (h8300_command, h8300h_command, h8300s_command): Call
  6759. set_register_names.
  6760. * config/h8300/tm-h8300.h (h8300_register_names): Declare.
  6761. (REGISTER_NAME): Define to refer to h8300_register_names.
  6762. 1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6763. * sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c
  6764. mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c
  6765. remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c
  6766. remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c
  6767. remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c
  6768. remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c
  6769. v850ice.c win32-nat.c: cosmetic changes to conform to coding
  6770. standards.
  6771. 1999-01-19 Jim Blandy <jimb@zwingli.cygnus.com>
  6772. Use aclocal to generate GDB's aclocal.m4 script.
  6773. * acinclude.m4: New file, containing the hand-written local macro
  6774. definitions that used to be in aclocal.m4. Don't sinclude
  6775. ../bfd/aclocal.m4 any more; running aclocal in this directory will
  6776. get us the definitions we need. HOWEVER: Do sinclude
  6777. ../bfd/acinclude.m4, because we need the definition of
  6778. BFD_NEED_DECLARATION.
  6779. * aclocal.m4: Regenerated by aclocal.
  6780. * configure: Regenerated by autoconf.
  6781. Tue Jan 19 10:27:23 1999 David Taylor <taylor@texas.cygnus.com>
  6782. * breakpoint.c (disable_breakpoints_in_shlibs): new parameter,
  6783. silent, controls whether to print message about removal of shared
  6784. library breakpoints.
  6785. * breakpoint.h (disable_breakpoints_in_shlibs): decl updated.
  6786. * irix5-nat.c (clear_solib): call disable_breakpoints_in_shlibs.
  6787. * osfsolib.c (clear_solib): ditto.
  6788. * solib.c (clear_solib): ditto.
  6789. * somsolib.c (som_solib_restart): update call to
  6790. disable_breakpoints_in_shlibs.
  6791. * target.h (child_post_attach): only declare if CHILD_POST_ATTACH
  6792. is define.
  6793. Tue Jan 19 18:07:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6794. * corelow.c (solib_add_stub): Ditto.
  6795. (core_file_to_sym_file): Cast make_cleanup parameter.
  6796. * solib.c (symbol_add_stub, solib_map_sections): Change argument
  6797. to PTR insted of a char*. Matches catch_errors interface.
  6798. Mon Jan 18 14:01:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6799. * remote-array.c (array_open): Don't use fprintf_filtered to send
  6800. data to the log file.
  6801. * remote-array.c (handle_load_dll): Change argument type to PTR so
  6802. that it is compatible with catch_errors.
  6803. * ocd.c (ocd_start_remote): Ditto.
  6804. * remote-sds.c (sds_start_remote): Ditto.
  6805. * win32-nat.c (win32_child_thread_alive): Namespace proof
  6806. child_thread_alive.
  6807. (init_child_ops): Update.
  6808. Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6809. * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and
  6810. gdb_hostif.dbgarg to NULL instead of stdout.
  6811. (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout.
  6812. Mon Jan 18 16:40:50 1999 Stan Shebs <shebs@andros.cygnus.com>
  6813. * ser-ocd.c (ocd_open): Handle Unix case gracefully.
  6814. * target.c (dummy_target): Don't initialize statically.
  6815. (init_dummy_target): New function, fills in dummy_target.
  6816. (initialize_targets): Use it.
  6817. * hpux-thread.c (hpux_thread_ops): Don't initialize statically.
  6818. (init_hpux_thread_ops): New function, fills in hpux_thread_ops.
  6819. (_initialize_hpux_thread): Use it.
  6820. * m3-nat.c (m3_ops): Don't initialize statically.
  6821. (init_m3_ops): New function, fills in m3_ops.
  6822. (_initialize_m3): Use it.
  6823. 1999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6824. * sol-thread.c: delete compile time initialization of target_ops
  6825. (_initialize_sol_thread): initialize target_ops at run time.
  6826. * hpux-thread.c: added target_ops entry.
  6827. * m3-nat.c: ditto.
  6828. Mon Jan 18 15:19:13 1999 David Taylor <taylor@texas.cygnus.com>
  6829. * procfs.c (procfs_ops): delete compile time initialization.
  6830. (_initialize_procfs): initialize procfs_ops at run time.
  6831. Mon Jan 18 12:51:44 1999 Christopher Faylor <cgf@cygnus.com>
  6832. * configure.in: Ensure that -luser32 is always linked in
  6833. for cygwin build.
  6834. * configure: Regenerated.
  6835. Mon Jan 18 08:38:05 1999 Mark Alexander <marka@cygnus.com>
  6836. * values.c (value_virtual_fn_field): Clear the pointed-to
  6837. offset when casting to the base class.
  6838. Mon Jan 18 10:30:51 1999 David Taylor <taylor@texas.cygnus.com>
  6839. * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to
  6840. udi_ops; delete NULL initializers.
  6841. Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6842. * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not
  6843. gdb_file*.
  6844. * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr.
  6845. Mon Jan 18 10:46:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6846. * stack.c (print_frame_info_base): Don't cast call to
  6847. catch_errors.
  6848. (print_args_stub): Change char* arg to PTR.
  6849. * symmisc.c (print_symbol): Ditto.
  6850. * top.c (quit_cover): Ditto.
  6851. * remote.c (remote_open_1, remote_start_remote): Ditto.
  6852. * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame):
  6853. Ditto.
  6854. * stack.c (backtrace_command): Cast first arg of make_cleanup to
  6855. make_cleanup_func.
  6856. * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype.
  6857. Mon Jan 18 08:47:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
  6858. * defs.h (catch_errors_ftype): Define.
  6859. (catch_errors): Replace char* arg with PTR arg.
  6860. * top.c (catch_errors): Update
  6861. * breakpoint.c (bpstat_stop_status, bpstat_stop_status,
  6862. delete_breakpoint, breakpoint_re_set): Delete all casts in call to
  6863. catch_errors.
  6864. (breakpoint_cond_eval, watchpoint_check,
  6865. cover_target_enable_exception_callback, breakpoint_re_set_one):
  6866. Arg is PTR not char*.
  6867. * breakpoint.c (cover_target_enable_exception_callback): Change
  6868. type to int. Check for cast values of 0 and -1. Return a result!
  6869. (insert_breakpoints): Move declaration of SAL and ARGS to where
  6870. they are used.
  6871. 1999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6872. * remote.c (remote_query): new function - creates proper interface
  6873. to the remote protocol "q" command.
  6874. Fri Jan 15 17:11:48 EST 1999 Zdenek Radouch (radouch@cygnus.com)
  6875. * config/fr30/tm-fr30.h: Changed ABI to match GCC change
  6876. (always use pointer for structs passed by value).
  6877. 1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
  6878. * target.h: added entry for target queries (to_query)
  6879. target.c: ditto.
  6880. Thu Jan 14 18:29:17 1999 David Taylor <taylor@texas.cygnus.com>
  6881. * mips-tdep.c (mips_gdbarch_init): fix stream arg in
  6882. fprintf_unfiltered calls.
  6883. * remote-mm.c (mm_wait): fix stream arg to gdb_flush.
  6884. * remote-udi.c (udi_wait): fix stream arg to fwrite.
  6885. * symmisc.c (maintenance_check_symtabs): fix stream argument to
  6886. print_address_numeric.
  6887. Wed Jan 13 19:33:16 1999 David Taylor <taylor@texas.cygnus.com>
  6888. * breakpoint.c (insert_breakpoints): insert cast to eliminate
  6889. warning.
  6890. Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
  6891. * infrun.c (set/show scheduler-locking) New command. Set a
  6892. mode bit that will control how GDB attempts to control thread
  6893. scheduling for step, continue, etc. (resume): make use of
  6894. the schedule-locking mode.
  6895. * target.h (struct target_ops): new field to_has_thread_control.
  6896. * sol-thread.c: initialize target_ops to_has_thread_control.
  6897. * procfs.c: ditto.
  6898. * target.c: ditto.
  6899. * m3-nat.c: ditto.
  6900. * remote.c: ditto.
  6901. * hpux-thread.c: ditto.
  6902. * thread.c: cull duplicate prototypes. Move prototypes to top.
  6903. * serial.c: indentation cleanup.
  6904. * breakpoint.c: add casts to eliminate compiler warnings.
  6905. Tue Jan 12 17:00:00 1999 Edith Epstein <eepstein@sophia.cygnus.com>
  6906. * inftarg.c (child_create_inferior): fixed HPUXHPPA specific
  6907. call to fork_inferior. The shell param is now NULL.
  6908. 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
  6909. * monitor.c (init_base_monitor_ops): Whitespace cleanup.
  6910. (_initialize_remote_monitors): Same.
  6911. 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
  6912. * monitor.c (init_monitor_ops): Initialize the monitor_ops
  6913. structure if it hasn't already been done.
  6914. Tue Jan 12 14:50:10 1999 Stan Shebs <shebs@andros.cygnus.com>
  6915. * inftarg.c (child_ops): Don't initialize statically.
  6916. (init_child_ops): New function, fills in child_ops.
  6917. (_initialize_inftarg): Use it.
  6918. (child_post_attach): Declare extern.
  6919. (child_wait): Fix ambiguous parens.
  6920. (child_attach_to_process): Remove unused local wstatus.
  6921. (child_insert_fork_catchpoint, child_remove_fork_catchpoint,
  6922. child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
  6923. child_has_forked, child_insert_exec_catchpoint,
  6924. child_remove_exec_catchpoint): Return a value.
  6925. Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
  6926. * remote.c (remote_wait): Add inferior_pid to thread list only
  6927. if it is not already there.
  6928. 1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
  6929. * scm-tags.h: Update FSF's address on copyright notice.
  6930. * ser-e7kpc.c: Same.
  6931. * gnu-nat.h: Same.
  6932. Mon Jan 11 13:45:57 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
  6933. * dwarf2read.c (dump_die): Change stderr to gdb_stderr.
  6934. * expprint.c (print_subexp): fprintf => fprintf_unfiltered.
  6935. * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered.
  6936. * stack.c (struct function_bounds): Remove superfluous `typedef'.
  6937. * symfile.c (list_overlays_command): stdout => gdb_stdout.
  6938. * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout.
  6939. * utils.c (print_spaces): Make more efficient.
  6940. Mon Jan 11 13:55:51 1999 David Taylor <taylor@texas.cygnus.com>
  6941. * utils (print_spaces): fix arg to strcat; fix formatting.
  6942. Fri Jan 8 11:57:24 1999 Stan Shebs <shebs@andros.cygnus.com>
  6943. * exec.c (exec_ops): Don't initialize statically.
  6944. (init_exec_ops): New function, fills in exec_ops.
  6945. (_initialize_exec): Use it.
  6946. Thu Jan 7 17:50:15 EST 1999 Zdenek Radouch (radouch@cygnus.com)
  6947. Beta FR30 port.
  6948. * fr30-tdep.c
  6949. * config/fr30/tm-fr30.h
  6950. Wed Jan 6 12:28:35 1999 David Taylor <taylor@texas.cygnus.com>
  6951. * configure.in: Add an --enable-tui argument. Construct
  6952. tui/Makefile from tui/Makefile.in. Use AM_PROG_CC_STDC. If we
  6953. have the GUI, then we need this to process libgui.h.
  6954. (ENABLE_CFLAGS): define and export BUILD_TUI.
  6955. (AC_CHECK_HEADERS): Add check for term.h.
  6956. * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs.
  6957. * config.in, configure : regenerated.
  6958. * Makefile.in: Allow the TUI code to be conditionally enabled.
  6959. (TUI_LIBRARY): New variable, value are set by the configuration
  6960. script. Set to the empty string when the TUI isn't enabled.
  6961. (gdb$(GDBEXT)): Use those, instead of referring to all-tui and
  6962. tui/libtui.a directly.
  6963. (BUILD_TUI): build the tui -- only when configured with
  6964. --enable-tui.
  6965. (YLWRAP): use ylwrap to avoid problems on systems w/o bison.
  6966. (gdb$(EXEEXT)): make it dependent on BUILD_TUI.
  6967. (all-tui): remove dependency from phony target.
  6968. (c-exp.tab.c): use ylwrap instead of bison.
  6969. (jv-exp.tab.c): ditto.
  6970. (f-exp.tab.c): ditto.
  6971. (m2-exp.tab.c): ditto.
  6972. (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c.
  6973. (SFILES): remove the above files
  6974. (COMMON_OBS): remove somread.o
  6975. (SFILES): Add the tui files to this, so they get included in etags
  6976. tables.
  6977. (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add
  6978. tui/libtui.a to the link list.
  6979. (all-tui): New rule, which does a recursive make in the tui
  6980. subdir.
  6981. (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}. And
  6982. don't echo the make command. This is closer to what the other
  6983. recursions do.
  6984. (HFILES_NO_SRCDIR): add hpread.h
  6985. (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o
  6986. (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for
  6987. the new files. Remove hpread.c, hpread.o
  6988. (gdb$(EXEEXT)): Depend on the actual tui library, not on a
  6989. fictitious target. Since the fictitious target never existed,
  6990. make would always relink.
  6991. (tui/libtui.a): Always recurse to make sure the library is up to
  6992. date.
  6993. Wed Jan 6 12:05:12 1999 Stan Shebs <shebs@andros.cygnus.com>
  6994. * remote.c: Pacify --enable-build-warnings, reformat code
  6995. to conform to standards, fix spelling errors.
  6996. (ishex, stubhex, record_currthread, etc): Declare.
  6997. (ishex, stubhex): Declare char arg as int.
  6998. (pack_string): Comment out, never used but possibly useful.
  6999. (threadref_to_int, remote_get_threadinfo, etc): Make static.
  7000. Wed Jan 6 11:43:32 1999 David Taylor <taylor@texas.cygnus.com>
  7001. The following changes were made by Elena Zannoni
  7002. <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as
  7003. part of a project to merge in changes made by HP.
  7004. * c-exp.y: use external flag hp_som_som_object_present to decide
  7005. whether code was compiled by HP's compilers. Add two new C++
  7006. tokens for true and false.
  7007. (yylex): check for template name is done differently for the
  7008. HP/aCC compiler case. Change some of the template processing code
  7009. for handling HP aCC templates. Handle true and false tokens.
  7010. Tue Jan 5 11:13:36 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
  7011. * remote.c (record_curthread): Must not modify inferior_pid when
  7012. called from wait_for_inferior. Instead, if a new thread-id is
  7013. detected, call add_thread.
  7014. (MAGIC_NULL_PID): new macro, use instead of the magic number
  7015. "42000".
  7016. (remote_find_new_threads): if inferior_pid is unknown, get and use
  7017. the current thread id.
  7018. (remote_start_remote): on connecting, attempt to get the current
  7019. thread id for inferior_pid.
  7020. (remote_resume): If pid == -1, then resume any-thread (not the
  7021. current thread specifically). Also some cosmetic fixups.
  7022. * thread.c (info_threads_command): don't initialize current_pid
  7023. until after call to FIND_NEW_THREADS (which may change inferior_pid).
  7024. Also some cosmetic fixups.
  7025. * infrun.c: cosmetic fixups and casts to avoid warnings.
  7026. * infcmd.c: cosmetic fixups, mainly long lines.
  7027. Tue Jan 5 11:55:57 1999 David Taylor <taylor@texas.cygnus.com>
  7028. * target.c (noprocess): terminate sentence with a period.
  7029. * breakpoint.c (catch_command_1): ditto.
  7030. * c-valprint.c (c_value_print): remove hack^2 from HP; it causes
  7031. testsuite losses with no real gain.
  7032. * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only
  7033. if tm-*.h hasn't overridden default value.
  7034. 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
  7035. * configure.in: Fix whitespace indentation for --help.
  7036. * configure: Regenerated.
  7037. 1999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr>
  7038. * main.c: Add --write command line option, document -w.
  7039. * gdb.1: Document --write.
  7040. 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
  7041. * configure.in: Require autoconf 2.12.1 or higher.
  7042. * doc/configure.in: Ditto.
  7043. * nlm/configure.in: Ditto.
  7044. * rdi-share/configure.in: Ditto.
  7045. * testsuite/configure.in: Ditto.
  7046. * doc/Makefile.in: Don't hardcode $(SHELL).
  7047. * nlm/Makefile.in: Ditto.
  7048. * rdi-share/Makefile.in: Ditto.
  7049. * testsuite/Makefile.in: Ditto.
  7050. Mon Jan 4 12:53:03 1999 Stan Shebs <shebs@andros.cygnus.com>
  7051. * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
  7052. inits of new fields, including ref to bogus field.
  7053. (vx_ops, vx_run_ops): Make static.
  7054. Mon Jan 4 15:05:29 1999 David Taylor <taylor@texas.cygnus.com>
  7055. * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete,
  7056. already defined in tm.h.
  7057. * inftarg.c: change <sys/unistd.h> to <unistd.h> and
  7058. conditionalize its inclusion.
  7059. * infttrace.c: ditto.
  7060. For older changes see ChangeLog-1998
  7061. Local Variables:
  7062. mode: change-log
  7063. left-margin: 8
  7064. fill-column: 74
  7065. version-control: never
  7066. End: