ChangeLog-1993 298 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577
  1. Fri Dec 31 14:33:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2. * nindy-share/nindy.c: Fix order of arguments to store_unsigned_integer
  3. (second and third arguments were reversed).
  4. (say): Use varargs.
  5. Fri Dec 31 12:13:47 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
  6. * remote-mips.c: Add timeout parameter to mips_request and
  7. mips_receive_packet.
  8. (callers): pass in mips_receive_wait except mips_initialize (where
  9. we use it to clean up the kludge where we had been changing
  10. mips_receive_wait temporarily) and mips_wait (where we pass in
  11. -1 for no timeout).
  12. Fri Dec 31 14:33:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  13. * stack.c (print_block_frame_locals): Also print LOC_BASEREG variables.
  14. Fri Dec 31 06:55:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  15. * symtab.c (find_methods): Call fprintf_symbol_filtered with DMGL_ANSI.
  16. Thu Dec 30 10:16:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  17. * values.c (unpack_long): Fix garbled error message.
  18. * remote-mips.c (mips_error): New function.
  19. * remote-mips.c: Use it instead of error() most places.
  20. * remote-mips.c (mips_receive_packet): New arg throw_error.
  21. (mips_initialize): Use it not catch_errors.
  22. * defs.h: Declare error_pre_print and warning_pre_print here...
  23. * main.c: ...not here.
  24. * breakpoint.c (breakpoint_chain): Make static.
  25. * breakpoint.c, breakpoint.h (frame_in_dummy): New function.
  26. * stack.c (print_frame_info): Use it.
  27. Thu Dec 30 07:41:36 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  28. * exec.c (add_to_section_table): Check for SEC_ALLOC instead of
  29. SEC_LOAD to handle .bss segments properly.
  30. Thu Dec 30 10:16:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  31. * infrun.c (wait_for_inferior): Enable code which assumes that if
  32. we jump into the prologue from another function, then it was a
  33. subroutine call. #if 0 AT_FUNCTION_START; the above code should
  34. take care of this case.
  35. Wed Dec 29 12:32:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  36. * valprint.c (val_print_string): Change chunksize from 200
  37. to 8.
  38. * symfile.c (generic_load): If no arguments, get file name
  39. from get_exec_file.
  40. * c-exp.y: Revert Kung's change. "..." is not a type, and the
  41. change caused "p (...)0" to dump core.
  42. * gdbtypes.c (check_stub_method): Don't pass "..." to
  43. parse_and_eval_type. This should fix the bug which Kung was
  44. trying to fix.
  45. * stabsread.c (define_symbol): If we choose not to combine
  46. two symbols, don't just ignore the second (LOC_REGISTER) one.
  47. * printcmd.c (print_frame_args): If we have a LOC_ARG and a
  48. LOC_REGISTER, use the LOC_ARG not the LOC_REGISTER.
  49. Tue Dec 28 15:08:00 1993 Fred Fish (fnf@deneb.cygnus.com)
  50. * solib.c (DEBUG_BASE): Remove macro and all references.
  51. * solib.c (debug_base_symbols): Add array of symbols to lookup.
  52. * solib.c (IGNORE_FIRST_LINK_MAP_ENTRY): Add macro.
  53. * solib.c (look_for_base, locate_base): Use debug_base_symbols.
  54. * solib.c (find_solib): Use IGNORE_FIRST_LINK_MAP_ENTRY.
  55. Tue Dec 28 12:06:57 1993 Kung Hsu (kung@cirdan.cygnus.com)
  56. * c-exp.y : fix grammar to parse ellipsis (...)
  57. Mon Dec 27 18:42:14 1993 Kung Hsu (kung@cirdan.cygnus.com)
  58. * stabsread.c (read_type): fix problem when reading static member
  59. of a class. caused by change to allow :: inside template
  60. instantiated name.
  61. Mon Dec 27 11:07:05 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  62. * gdbtypes.h: Expand on comments for TYPE_CODE_BITSTRING and
  63. TYPE_CODE_STRING a bit.
  64. * m68k-tdep.c (m68k_skip_prologue, m68k_find_saved_regs):
  65. Allow pea %fp; move.l %sp, %fp instead of link instruction to
  66. set up the new frame.
  67. * main.c (init_main): Change "set remotedebug" back to var_zinteger
  68. from var_boolean.
  69. * c-exp.y (yylex): Don't try to deal with nested types.
  70. * cp-valprint.c (cplus_print_value): Call check_stub_type on
  71. TYPE_BASECLASS (type, i) before we look at its name.
  72. * dbxread.c: Move default definition of GCC_COMPILED_FLAG_SYMBOL
  73. from here . . .
  74. * symtab.h: . . . to here.
  75. * dbxread.c (record_minimal_symbol): Move check for gcc{,2}_compiled.
  76. and __gnu_compiled* from here . . .
  77. * minsyms.c (prim_record_minimal_symbol_and_info): . . . to here.
  78. * minsyms.c (prim_record_minimal_symbol): Call
  79. prim_record_minimal_symbol_and_info rather than duplicating code.
  80. * minsyms.c, symtab.h (prim_record_minimal_symbol{,_and_info}),
  81. coffread.c (record_minimal_symbol),
  82. xcoffread.c (RECORD_MINIMAL_SYMBOL), callers: Add objfile parameter.
  83. Sun Dec 26 20:44:02 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
  84. * dbxread.c (process_one_symbol): Handle stabs-in-som just like
  85. stabs-in-elf.
  86. (pastab_build_psymtabs): Likewise.
  87. * hppa-tdep.c: Change all comments to reference %r3 or frame
  88. pointer rather than %r4.
  89. (frame_chain, skip_prologue, dig_rp_from_stack): Handle %r3 as the
  90. frame pointer.
  91. * config/pa/tm-hppa.h (FP_REGNUM): Define as %r3.
  92. (FIND_FRAME_SAVED_REGS): Handle %r3 as frame pointer.
  93. (CALL_DUMMY): Likewise.
  94. Sun Dec 26 16:59:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  95. * exec.c (exec_file_command): If error occurs after we have opened
  96. exec_bfd but before we call push_target, make sure to close exec_bfd.
  97. * infrun.c (wait_for_inferior): Remove confusing and inaccurate
  98. stuff about subroutine calls, return, etc., from comment which
  99. says "We've wandered out of the step range.".
  100. Sun Dec 26 09:18:10 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  101. * infrun.c (wait_for_inferior): When checking whether the line has
  102. changed, check the symtab as well.
  103. Sun Dec 26 09:18:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  104. * gdbtypes.c (force_to_range_type): Use switch statement.
  105. complain() not warning() if the TYPE_CODE isn't one we know how to
  106. deal with gracefully. Use builtin_type_int not
  107. lookup_fundamental_type (the objfile we passed to
  108. lookup_fundamental_type was sometimes NULL).
  109. * valops.c (call_function_by_hand, push_word), defs.h (push_word),
  110. convex-xdep.c, m88k-nat.c, i386m3-nat.c, mips-tdep.c, mipsm3-nat.c,
  111. ns32km3-nat.c, remote-bug.c, m88k-tdep.c, remote-hms.c, remote-mips.c,
  112. config/gould/tm-np1.h, hppa-tdep.c (hppa_fix_call_dummy), remote-vx.c:
  113. Use REGISTER_SIZE, unsigned LONGEST, and
  114. {store,extract}_unsigned_integer, instead of sizeof
  115. (REGISTER_TYPE) and REGISTER_TYPE.
  116. * All tm.h files: Change REGISTER_TYPE to REGISTER_SIZE.
  117. * hppa-tdep.c (pa_print_fp_reg): Remove unused variable val.
  118. * Makefile.in (ALLDEPFILES): Remove i386ly-nat.c and m68kly-nat.c.
  119. Add lynx-nat.c.
  120. Sat Dec 25 20:05:41 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
  121. * hppa-tdep.c (init_extra_frame_info): Correctly adjust the base
  122. of the current frame when "fromleaf" is true. Do not adjust the
  123. frame base of the innermost frame if it is a leaf function.
  124. Sat Dec 25 13:39:21 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  125. * stabsread.c (define_symbol): Only combine a p/r pair into a
  126. LOC_REGPARM if REG_STRUCT_HAS_ADDR.
  127. Sat Dec 25 09:50:29 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  128. * valops.c (value_struct_elt): Check for (value)-1 return from
  129. search_struct_method.
  130. Sat Dec 25 09:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  131. * defs.h: Move definitions of TARGET_*_BIT after include of tm.h.
  132. The old way (using #undef in tm.h) was ugly and asking for
  133. trouble, because it makes it possible for some file to use the
  134. wrong definition. Move definition of HOST_CHAR_BIT after definition
  135. of TARGET_CHAR_BIT.
  136. * config/alpha/tm-alpha.h, config/h8300/tm-h8300.h,
  137. config/h8500/tm-h8500.h, config/z8k/tm-z8k.h: Don't undef TARGET_*_BIT
  138. before defining them.
  139. * mdebugread.c: Change the builtin_type_* in this file to
  140. mdebug_type_* and make them static. Use TYPE_CODE_ERROR for
  141. complex and float decimal.
  142. * printcmd.c (disassemble_command): Call wrap_here between printing
  143. address and printing instruction.
  144. Fri Dec 24 14:23:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  145. * stabsread.c (read_type): Don't fall through 'S' case (the case it
  146. was falling though happened to do the right thing ("break;") but that
  147. is hardly a good thing to assume).
  148. Tue Dec 21 13:32:02 1993 Per Bothner (bothner@kalessin.cygnus.com)
  149. * ch-exp.y (match_dollar_tokens): Fix off-by-one bug.
  150. * ch-lang.c (chill_is_varying_struct), ch-lang.h: New function.
  151. * ch-lang.c (chill_printstr): Use double quotes, not single quotes.
  152. * ch-typeprint.c (chill_type_print_base): Handle TYPE_CODE_BITSTRING.
  153. Improve printing of TYPE_CODE_STRING, TYPE_CODE_SET, and
  154. TYPE_CODE_STRUCT (including checking chill_is_varying_struct).
  155. Print TYPE_DUMMY_RANGE by printing its TYPE_TARGET_TYPE.
  156. Handle TYPE_CODE_ENUM.
  157. * ch-valprint.c (chill_val_print): Handle TYPE_CODE_BITSTRING.
  158. For TYPE_CODE_STRING, never print address. Handle VARYING strings.
  159. * gdbtypes.c (force_to_range_type): New.
  160. * gdbtypes.c (create_set_type): Make work, following Chill layout.
  161. * gdbtypes.h (TYPE_LOW_BOUND, TYPE_HIGH_BOUND, TYPE_DUMMY_RANGE): New.
  162. * stabsread.c (read_type): Distinguish string and bitstring from
  163. char-array and set.
  164. * valarith.c (value_subscript), valops.c (value_coerce_array):
  165. Handle STRINGs as well as ARRAYs.
  166. * valarith.c (value_bit_index): Fix think. Use new macros.
  167. Fri Dec 17 10:45:32 1993 Kung Hsu (kung@cirdan.cygnus.com)
  168. * symtab (decode_line_1): fix a bug when position char is not
  169. set correctly.
  170. * c-valprint (c_val_print): handle vtbl printing when vtbl is not
  171. set up yet.
  172. Thu Dec 16 16:46:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  173. * mips-tdep.c (read_next_frame_reg): If SIGFRAME_REG_SIZE is not
  174. defined, define it as 4.
  175. Thu Dec 16 13:08:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
  176. * config/m68k/nm-hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.
  177. * config/m68k/tm-hp300bsd.h (REMOTE_BPT_VECTOR): Define.
  178. * config/m68k/tm-m68k.h (REMOTE_BPT_VECTOR): Allow targets to
  179. override.
  180. (REMOTE_BREAKPOINT): Likewise.
  181. Thu Dec 16 09:14:58 1993 Jeff Law (law@snake.cs.utah.edu)
  182. * hpread.c (read_hp_function_type): Correctly handle
  183. pass-by-value structures > 64bits in size.
  184. (process_one_debug_symbol): Likewise.
  185. Mon Dec 13 20:17:39 1993 Per Bothner (bothner@kalessin.cygnus.com)
  186. Implement support for Chill POWERSETs.
  187. * ch-exp.y (operand_2): Implement 'Element IN PowerSet'.
  188. * ch-typeprint.c (chill_type_print_base): Handle POWERSETs.
  189. * ch-valprint.c (chill_val_print): Handle TYPE_CODE_SET.
  190. * eval.c (evaluate_subexp): Implement BINOP_IN.
  191. * expression.h (enum exp_opcode): Added BINOP_IN.
  192. * gdbtypes.c (create_set_type), gdbtypes.h: New function.
  193. * stabsread.c (read_type): If 'S', create a set type.
  194. * valarith.c (value_bit_index, value_in), value.h: New functions,
  195. for indexing in SETs.
  196. Mon Dec 13 06:42:37 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
  197. * paread.c (pa_symfile_init): Check for the existance of stabs
  198. after DBX_TEXT_SECT has been initialized.
  199. Tue Nov 23 17:29:28 1993 Steve Chamberlain (sac@jonny.cygnus.com)
  200. * config/h8300/tm-h8300.h (BREAKPOINT): Insn changed to sleep.
  201. (DECP_PC_AFTER_BREAK): Now is 0.
  202. * config/h8500/tm-h8500.h (REGISTER_BYTES, REGISTER_BYTE,
  203. REGISTER_NAMES): update to new view. (INIT_EXTRA_FRAME_INFO): No
  204. extra frame info now.
  205. * config/sh/sh.h (NOP): Define NOP insn.
  206. * config/z8k/tm-z8k.h (BIG): is now sim_z8001_mode.
  207. * config/z8k/z8ksim.mt (TDEPFILES): Add remote-sim.o to list.
  208. * ser-go32.c: Lint. (strncasecmp): Removed, now in libiberty.
  209. (go32_readchar): Special handling for faster polling. (async
  210. structure): Volatile.
  211. * h8300-tdep.c (print_register_hook): Allocate and use the right
  212. number bytes for the raw register.
  213. * h8500-tdep.c (regoff, frame_find_saved_reg, examine_prologue):
  214. deleted. (h8500_register_size, h8500_register_virtual_type, ):
  215. Use new way of counting registers.
  216. * remote-e7000.c (echo_index): deleted. (expect): Better handling
  217. of user interrupts. (expect_prompt): Remove never used log file
  218. support. (want, want_nopc): Add support for H8/300H.
  219. (fetch_regs_from_dump): Treat \r and \n as whitespace.
  220. (e7000_drain): Send an "end" command before waiting for output to
  221. stop. (e7000_wait): Cope with H8/300H, better handling of user
  222. interrupts. (why_stop, expect_n, sub2_from_pc): New function.
  223. * remote-utils.c (gr_load_image): call fflush and QUIT more regularly.
  224. * utils.c (notice_quit): New function for polling for user interrupts.
  225. Fri Dec 10 15:53:56 1993 Per Bothner (bothner@kalessin.cygnus.com)
  226. * stabsread.c (read_array_type): Allow negative array bounds,
  227. without interpreting that to mean "adjustable."
  228. * ch-valprint.c (chill_val_print): Handle RANGE types.
  229. * ch-typeprint.c (chill_type_print_base): Handle BOOL.
  230. Handle variant records. Handle RANGE types.
  231. Tue Dec 7 15:41:32 1993 Ian Lance Taylor (ian@cygnus.com)
  232. * config/mips/idt.mt: Use tm-idt.h instead of tm-bigmips.h.
  233. * config/mips/idtl.mt: Use tm-idtl.h instead of tm-mips.h.
  234. * config/mips/tm-idt.h, config/mips/tm-idtl.h: New files; use
  235. different BREAKPOINT value for IDT.
  236. * mipsread.c: Include bfd.h and coff/sym.h.
  237. Mon Dec 6 16:34:10 1993 K. Richard Pixley (rich@cygnus.com)
  238. * ser-unix.c (set_tty_state): set the rest of the terminal state
  239. pieces.
  240. Mon Dec 6 12:01:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  241. * configure.in: Recognize mips* for all mips targets.
  242. (mips*el-*-elf*, mips*-*-elf*): New targets; use idt and idtl.
  243. Added Irix 5 support.
  244. * configure.in (mips-sgi-irix5*): New host and target. Use irix5
  245. for both.
  246. * config/mips/irix5.mh, config/mips/irix5.mt,
  247. config/mips/xm-irix5.h, config/mips/nm-irix5.h,
  248. config/mips/tm-irix5.h, irix5-nat.c: New files for Irix 5 support.
  249. * mdebugread.c: New file, split out of mipsread.c. Added
  250. elfmdebug_build_psymtabs routine. Added some checks on external
  251. symbols. Changed code to keep ecoff_debug_info and
  252. ecoff_debug_swap structs in the psymtab and in global pointers
  253. rather than retrieving them from the bfd. Also changed to keep
  254. the pending list with the psymtab rather than the objfile (each
  255. psymtab for a single objfile points to the same pending list).
  256. * mipsread.c: Bulk of file moved into mdebugread.c, leaving just
  257. the sym_fns.
  258. * Makefile.in (SFILES): Added mdebugread.c.
  259. (OBS): Added mdebugread.o.
  260. (mdebugread.o): New target.
  261. * symfile.h: Declare mdebug_build_psymtabs and
  262. elfmdebug_build_psymtabs.
  263. * elfread.c (struct elfinfo): Added mdebugsect field.
  264. (elf_locate_sections): Remember location of .mdebug section.
  265. (elf_symfile_read): Call elfmdebug_build_psymtabs on .mdebug
  266. section.
  267. * infrun.c (AT_FUNCTION_START): Set to 0 if not already defined.
  268. (wait_for_inferior): Use AT_FUNCTION_START if it is defined to see
  269. if PC is at the start of a function.
  270. * mips-tdep.c (read_next_frame_reg): Use SIGFRAME_REG_SIZE, and
  271. give it a default definition.
  272. (mips_skip_prologue): Skip instructions which initialize $gp
  273. register.
  274. (in_sigtramp): New procedure, moved in from mipsread.c.
  275. * config/mips/tm-mips.h: Declare in_sigtramp.
  276. * serial.h (serial_fdopen): Make parameter const to match
  277. function definition.
  278. Fri Dec 3 14:20:43 1993 Stu Grossman (grossman at cygnus.com)
  279. * config/mips/irix4.mh: Enable ser-tcp.o.
  280. Tue Nov 30 15:24:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  281. * Makefile.in (check): Do not use subdir_do, so that
  282. TARGET_FLAGS_TO_PASS is used correctly.
  283. Mon Nov 29 16:10:38 1993 Stu Grossman (grossman at cygnus.com)
  284. * i386-nlmstub.c: Undo I/O redirection changes by Tom Lord.
  285. These definitely won't work under Netware.
  286. Mon Nov 29 15:34:58 1993 Kung Hsu (kung@cirdan.cygnus.com)
  287. * stabsread.c(read_struct_field): Fix the check when getting to
  288. member functions.
  289. Mon Nov 29 16:48:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  290. gcc -Wall -O lint:
  291. * mips-tdep.c (heuristic_proc_desc): Initialize reg30 to avoid
  292. warning. Unnest comment.
  293. (init_extra_frame_info): Remove unused variable mask.
  294. (MASK): Fully parenthesize.
  295. (mips_push_dummy_frame): Remove unused variable val.
  296. (mips_skip_prologue): Remove unused variables f and b.
  297. Mon Nov 29 12:23:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  298. * mipsread.c (parse_symbol, parse_partial_symbols): Do not create
  299. (partial) symbols for opaque struct definitions.
  300. Mon Nov 29 11:36:57 1993 Stu Grossman (grossman at cygnus.com)
  301. * i386ly-tdep.c (i386lynx_saved_pc_after_call): Change call_inst
  302. to unsigned char to avoid domain warning for some values.
  303. Mon Nov 22 23:42:59 1993 Steve Chamberlain (sac@jonny.cygnus.com)
  304. * remote-e7000.c (e7000_wait): Cope with H8/300 register dump.
  305. * config/h8300/h8300hms.mt: Add remote-e7000.
  306. Mon Nov 22 11:03:45 1993 Fred Fish (fnf@cygnus.com)
  307. Merged changes from kev@spuds.geg.mot.com (Kevin A. Buettner):
  308. * config/m88k/delta88.mh (NATDEPFILES): Added corelow.o and
  309. coredep.o to this list.
  310. * m88k-nat.c (m88k_register_u_addr): Avoid error when passed
  311. the number for an M88110 extended register by just returning the
  312. address of r0.
  313. Sat Nov 20 09:20:51 1993 Fred Fish (fnf@rtl.cygnus.com)
  314. * go32-xdep.c (re_comp, re_exec): Remove stubs now that gdb
  315. always uses it's own version of regex.
  316. Fri Nov 19 18:23:19 1993 Kung Hsu (kung@cirdan.cygnus.com)
  317. * valops.c(value_struct_elt_for_reference): enhance search operator in
  318. c++.
  319. * symtab.c(decode_line_1): same as above.
  320. Fri Nov 19 15:08:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  321. * symtab.c (decode_line_1): Add comment about use of
  322. return_to_top_level directly instead of error. Add comment saying
  323. that the '' should not be needed--that the completer should be fixed.
  324. Fri Nov 19 11:00:33 1993 Kung Hsu (kung@cirdan.cygnus.com)
  325. * symtab.c(decode_line_1): fix the inconsistency of setting
  326. breakpoint with '' or without them. The '' is needed when you
  327. want name completion.
  328. Thu Nov 18 08:25:50 1993 Fred Fish (fnf@cygnus.com)
  329. * valprint.c (val_print_string): When looking for a null
  330. terminator compare current bufsize to fetchlimit to determine
  331. when to stop, instead of computing buffer+fetchlimit which
  332. may overflow for very large limits (like "unlimited").
  333. Wed Nov 17 18:23:09 1993 Kung Hsu (kung@cirdan.cygnus.com)
  334. * eval.c(evaluate_subexp): to use unified search so type conversion
  335. operator works in calling method.
  336. * valarith.c(value_x_binop, value_x_unop): same as above.
  337. * valops.c(search_struct_method): same as above.
  338. Wed Nov 17 18:47:34 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  339. * mipsread.c: Change use of ECOFF information to correspond to
  340. changes in bfd/libecoff.h.
  341. (mipscoff_symfile_offsets): Made static.
  342. Wed Nov 17 09:43:31 1993 Kung Hsu (kung@cirdan.cygnus.com)
  343. * valops.c (typecmp): improve prototype matching when calling
  344. a method. Make 'p (*(ostream *) &cout) << "lll" ' to work.
  345. * eval.c(evalute_subexp): fix operator search problem when call
  346. like p x.'operator+'(i).
  347. Tue Nov 16 17:15:03 1993 Stu Grossman (grossman at cygnus.com)
  348. * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. Move
  349. common code into lynx-nat.c.
  350. * lynx-nat.c: New module. Contains portable code for Lynx native
  351. stuff (mostly ptrace related).
  352. * config/i386/i386lynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o
  353. * config/m68k/m68klynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o
  354. * config/nm-lynx.h, config/tm-lynx.h: New files to contain
  355. non-architecture specific native and target defs.
  356. * config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h,
  357. config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h: Move all
  358. (arch) portable stuff into ../{tm nm}-lynx.h.
  359. Tue Nov 16 13:33:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  360. * symtab.c (gdb_mangle_name): Only assume that the physname is
  361. the entire mangled name if it looks like the mangled name of a
  362. constructor. Needed for testsuite to work with GCC 2.4.5.
  363. * a68v-nat.c: Replace with new version from Troy Rollo. The
  364. version I am replacing appears to be an old copy of sun3-nat.c.
  365. * dstread.c (dst_symfile_read): Replace sort_all_symtab_syms call
  366. with loop.
  367. * Makefile.in (TAGS): Depend on TAGFILES_{NO,WITH}_SRCDIR.
  368. * Makefile.in: (HFILES,TAGFILES): Split into _WITH_SRCDIR and
  369. _NO_SRCDIR versions.
  370. (TAGS): Only add srcdir to TAGFILES_NO_SRCDIR.
  371. (This is part of a long saga involving me putting srcdir on
  372. everything (perhaps for now-obsolete reasons, I forget), Rich
  373. removing the srcdir from everything, Stu putting it back some
  374. places for Sun make, and me just now getting around to fixing
  375. `make TAGS' again).
  376. Mon Nov 15 12:29:10 1993 Kung Hsu (kung@cirdan.cygnus.com)
  377. * stack.c(print_frame_info): print demangled function name
  378. ansi style.
  379. Mon Nov 15 14:32:29 1993 Steve Chamberlain (sac@jonny.cygnus.com)
  380. * remote-e7000.c: New file to cope with the Hitachi E7000 ICE.
  381. * remote-utils.c, remote-utils.h (gr_load_image): New function to
  382. download to target.
  383. * h8300-tdep.c, h8500-tdep.c, remote-z8k.c, sh-tdep.c z8k-tdep.c
  384. (sim_load): delete.
  385. * remote-sim.c (gdbsim_load): Use gr_load_image, rather than
  386. sim_load.
  387. * config/sh/sh.mt: Add remote-e7000
  388. Mon Nov 15 11:38:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  389. * config/i386/linux.mh: Remove XM_CLIBS, TERMLIB, SYSV_DEFINE, and
  390. REGEX.
  391. * config/i386/xm-linux.h: Don't include xm-i386v.h. Define
  392. HOST_BYTE_ORDER ourselves. Define HAVE_TERMIOS not HAVE_TERMIO.
  393. Define NEED_POSIX_SETPGID. Include unistd.h.
  394. Mon Nov 15 12:29:10 1993 Kung Hsu (kung@cirdan.cygnus.com)
  395. * symtab.c(gdb_mangle_name): fix the problem with constructor
  396. name mangling.
  397. Mon Nov 15 11:38:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  398. * gdbtypes.h: Add TYPE_FLAG_TARGET_STUB.
  399. * gdbtypes.c (check_stub_type): On TYPE_FLAG_TARGET_STUB, do
  400. what cleanup_undefined_types does for arrays, except we clear
  401. TYPE_FLAG_TARGET_STUB if we fix up the type.
  402. * stabsread.c (cleanup_undefined_types): Add comments about how
  403. doing arrays here is no longer the clean way to do it.
  404. (read_array_type): Set TYPE_FLAG_TARGET_STUB as well as calling
  405. add_undefined_type.
  406. * c-typeprint.c, ch-typeprint.c: Move call to check_stub_type
  407. outside switch so it happens for all type codes.
  408. * cp-valprint.c (cp_print_value_fields): Recurse to val_print,
  409. instead of c_val_print, so that check_stub_type gets called.
  410. * gdbtypes.h, gdbtypes.c, m2-lang.c, ch-lang.c, c-lang.c: Remove
  411. TYPE_FLAG_SIGNED. It was inconsistently set, never checked
  412. (except in recursive_dump_type), and is pointless.
  413. Mon Nov 15 00:40:38 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
  414. * paread.c (pa_symfile_init): Look for the $TEXT$ section rather
  415. than the .text section.
  416. Sun Nov 14 00:28:13 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  417. * stabsread.c: Remove #if 0'd dbx_class_complaint. We now handle
  418. this (more or less) gracefully, and complain() was never a good
  419. way of dealing with this.
  420. * stabsread.c (read_type): Skip the colon when reading a
  421. cross-reference. Only complain, not error_type, on unrecognized
  422. cross-reference types. error_type, not dump core, if the colon is
  423. missing.
  424. Fri Nov 12 16:23:08 1993 Stu Grossman (grossman at cygnus.com)
  425. * config/m68k/tm-sun3.h: Disable use of alternate breakpoint insn
  426. when doing remote stuff.
  427. Fri Nov 12 16:22:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  428. * c-exp.y (yylex): Call lookup_symtab not lookup_partial_symtab.
  429. * partial-stab.h: Ignore ':' symbol descriptors. Same case as
  430. Kung's stabsread.c change.
  431. Fri Nov 12 11:18:02 1993 Kung Hsu (kung@cirdan.cygnus.com)
  432. * stabsread.c (patch_block_stabs, define_symbol, read_type): in
  433. g++ template instantiation, nested class can be part of the
  434. params, and '::' can gets into symbol or type names. This is
  435. to fix the problem.
  436. * gdbtypes.c (lookup_struct_elt_type): Handle type ref or pointer
  437. to struct/union case.
  438. Fri Nov 12 10:39:31 1993 Stu Grossman (grossman at cygnus.com)
  439. * coff-solib.c (coff_solib_add): Cast result of alloca().
  440. * m68k-tdep.c (m68k_saved_pc_after_call): Get rid of
  441. GDB_TARGET_IS_SUN3. Use more general SYSCALL_TRAP macro.
  442. * config/m68k/m68klynx.mh (NATDEPFILES): Remove exec.o (it's
  443. already in TDEPFILES).
  444. * config/m68k/tm-m68k.h (SAVED_PC_AFTER_CALL): Use
  445. m68k_saved_pc_after_call.
  446. * Remove all Sun3 specific stuff.
  447. * (FIX_CALL_DUMMY): Cast arg to bfd_putb32 to unsigned char *.
  448. * config/m68k/tm-m68klynx.h: Define SYSCALL_TRAP as trap #10.
  449. Disable REMOTE_BREAKPOINT mechanism.
  450. * config/m68k/tm-sun3.h: Get rid of GDB_TARGET_IS_SUN3.
  451. * Protect from multiple includion.
  452. * Move Sun3 specific stuff from tm-m68k.h to here.
  453. * Define SYSCALL_TRAP as trap #0.
  454. * Remove def of SAVED_PC_AFTER_CALL (now in tm-m68k.h).
  455. * gdbserver/low-lynx.c: Redo all register store/fetch stuff to
  456. make it portable for 386 and 68k.
  457. Fri Nov 12 09:53:26 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  458. * mips-tdep.c (init_extra_frame_info): Check to see whether the
  459. registers mentioned in the proc_desc have been saved. This
  460. generalizes mips_in_lenient_prologue in the sense that we keep
  461. searching until we've found saves for all the registers, not just
  462. look for a "lenient prologue" pattern.
  463. * mips-tdep.c: #if 0 lenient prologue code.
  464. * mips-tdep.c (heuristic_proc_desc): Don't assume a host short
  465. is 16 bits.
  466. Thu Nov 11 19:58:05 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  467. * config/i386/i386sol2.mh: Comment out corelow.o.
  468. * printcmd.c (address_info): Use filtered, not unfiltered functions.
  469. We should be able to deal with a QUIT here.
  470. Thu Nov 11 15:22:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
  471. * printcmd.c (address_info): Use fprintf_symbol_filtered
  472. to print the symbol name.
  473. * stabsread.c (define_symbol): Handle cfront lossage for
  474. struct/union/enums and typedefs.
  475. * partial-stab.h (case N_BINCL): Update psymtab_language
  476. as appropriate when changing subfiles.
  477. (case N_SOL): Update psymtab_language as appropriate when
  478. changing subfiles. Add typedef for structs, unions, and enums
  479. when processing C++ files.
  480. Thu Nov 11 13:18:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  481. * README: Remove information on languages and just cite the (newly
  482. updated) information in doc/gdb.texinfo instead.
  483. * delta68-nat.c: Fix typos (add missing ");" and stuct -> struct).
  484. Wed Nov 10 09:31:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  485. * dbxread.c (process_one_symbol, N_RBRAC): Don't clear
  486. within_function just because local_symbols is NULL. It appears
  487. that this bug has existed since the 10 Apr 89 change which started
  488. clearing within_function here.
  489. * config/m68k/tm-m68k.h: Clean up CALL_DUMMY comment.
  490. * config/m68k/{tm-hp300bsd.h,tm-hp300hpux.h,tm-m68k-em.h,
  491. tm-monitor.h,tm-sun3.h,tm-vx68.h}, config/sparc/tm-sparc.h:
  492. Define BELIEVE_PCC_PROMOTION.
  493. * dbxread.c: Remove BELIEVE_PCC_PROMOTION define. The code which
  494. used this was moved to stabsread.c a long time ago.
  495. * dstread.c (dst_sym_fns): Update for flavours.
  496. * symfile.c (find_sym_fns): Add kludge for apollo like for rs/6000.
  497. * dstread.c (dst_symfile_offsets): Set objfile->num_sections.
  498. gcc -Wall lint:
  499. * thread.c: Include "gdbcmd.h" and <ctype.h>.
  500. * Makefile.in: Update dependency.
  501. * thread.c (thread_command): Remove unused variable p.
  502. * values.c (unpack_double): Use len instead of TYPE_LENGTH (type).
  503. * valprint.c (print_floating): Correctly check sign bit now that
  504. we are using unsigned arithmetic.
  505. * symtab.c (find_pc_line_range): Remove unused variables exact_match,
  506. ind, and l.
  507. Tue Nov 9 17:42:25 1993 Kung Hsu (kung@cirdan.cygnus.com)
  508. * valarith.c (value_x_binop): fix search operator in class bug
  509. * valarith.c (value_x_unop): fix search operator in class bug
  510. Tue Nov 9 19:20:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  511. * Makefile.in (init.c): Add udi2go32.o to list of files that we
  512. should not try to search for _initialize_* functions.
  513. * remote-udi.c (udi_wait): Change UDIGdb_StdoutReady back to
  514. UDIStdoutReady. It accidentally got changed on 24 Oct 93 when
  515. stdout was changed to gdb_stdout. Likewise for UDIGetStdout,
  516. UDIStderrReady, and UDIGetStderr.
  517. Tue Nov 9 12:48:06 1993 Tom Lord (lord@cygnus.com)
  518. * remote-hms.c (hms_wait): fixed too many arguments to putc_unfiltered.
  519. Tue Nov 9 12:20:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  520. * utils.c (quit): Also call gdb_flush on standard output and error.
  521. * .gdbinit: Remove "source /.gdbinit". It causes a spurious error
  522. if /.gdbinit doesn't exist (and I know of no convention of putting
  523. something in /.gdbinit).
  524. Mon Nov 8 18:17:11 1993 Kung Hsu (kung@cirdan.cygnus.com)
  525. * cp-valprint.c (cp_print_value_fields): change output from <no
  526. value> to <optimized out or zero length>
  527. Mon Nov 08 17:05:30 1993 Jeffrey Wheat (cassidy@cygnus.com)
  528. * Makefile.in: Change RUNTEST_FLAGS back to RUNTESTFLAGS
  529. Change RUNTEST = runtest to test for existance of
  530. a runtest in the source tree first.
  531. Mon Nov 8 10:42:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  532. * Makefile.in: Remove unused variable GCC. Remove "#CC=cc" line
  533. which doesn't really relate to anything.
  534. * Makefile.in (CC_FOR_TARGET): Test for existence of gcc/xgcc, not
  535. for existence of gcc/Makefile.
  536. * inflow.c (terminal_init_inferior), infptrace.c (child_resume):
  537. Add comments about use of Lynx PIDGET and how we will want to
  538. clean it up.
  539. * stabsread.c: Remove long_kludge_name code (it was already #if 0).
  540. * stabsread.c (read_one_struct_field): Clean up comments to reflect
  541. Kung's change of 5 Nov 93.
  542. * stabsread.c (read_one_struct_field): Don't give up on unknown
  543. visibility character, just shove it in fip->list->visibility.
  544. (read_baseclasses): Don't give up on unknown virtual or visibility
  545. characters, just assume a reasonable default, complain, and keep
  546. going.
  547. (attach_fields_to_type): Complain on unrecognized visibility.
  548. One result of all this is that '9' (VISIBILITY_IGNORE) can be used
  549. in a stab as well as being something which GDB uses internally.
  550. Mon Nov 8 07:57:30 1993 Doug Evans (dje@canuck.cygnus.com)
  551. * configure.in: Remove h8300h, we have multilib now.
  552. Mon Nov 8 06:11:24 1993 D. V. Henkel-Wallace (gumby@cirdan.cygnus.com)
  553. * configure.in: Add unixware as a configuration alias for x86
  554. sysv4
  555. * config/i386/i386nw.mt: add i387-tdep.o, exec.o to TDEPFILES
  556. Sun Nov 7 23:49:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  557. * symtab.c (decode_line_1, decode_line_2): Do not adjust pc by
  558. FUNCTION_START_OFFSET if funfirstline is not set.
  559. Fri Nov 5 17:19:30 1993 Kung Hsu (kung@cirdan.cygnus.com)
  560. * gdbtypes.h : add a field 'ignore_field_bits in cplus_specific,
  561. and macros to handle the bits.
  562. * stabsread.c (read_one_struct_field): add VISIBILITY_IGNORE, and
  563. for field of length 0, set this bit on.
  564. * cp-valprint.c (cp_print_value_fields): for VISIBILITY_IGNORE
  565. field, print <no value>.
  566. Fri Nov 5 14:43:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  567. * Version 4.11.2.
  568. Fri Nov 5 09:49:22 1993 Stu Grossman (grossman at cygnus.com)
  569. * inflow.c (terminal_init_inferior): Temporarily use Lynx PIDGET
  570. macro to set process groups.
  571. * infptrace.c (child_resume): Temporarily use Lynx PIDGET to
  572. specify resumption of all threads.
  573. * infrun.c (wait_for_inferior): Fix handling of thread-specific
  574. breakpoints for systems where DECR_PC_AFTER_BREAK > 0 (ie: backup
  575. PC by the right amount when continuing the thread).
  576. * thread.c (thread_apply_command): Add the `thread apply'
  577. command to apply a given GDB command to a list of threads.
  578. Fri Nov 5 05:58:03 1993 Jim Kingdon (kingdon@cygnus.com)
  579. * Makefile.in (init.c): Don't call sed if filename is empty.
  580. Thu Nov 4 08:27:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  581. * dbxread.c (unknown_symchar_complaint): Make message refer to
  582. "symbol descriptor" not "symbol type character" for consistency
  583. with stabs.texinfo terminology.
  584. * stabsread.c (read_struct_fields): Accept either '$' or '.' as
  585. the character which introduces a cpp_abbrev or anonymous type.
  586. * c-lang.c (c_printstr): Print "" to stream (like all the other
  587. output from this function), not gdb_stdout.
  588. * dbxread.c (process_one_symbol): Do relocate 'S' symbols by
  589. the text offset (revert 12 Oct 93 change).
  590. * configure.in: Make hppa*-*-hiux* use hppahpux,
  591. not non-existent hppahiux.
  592. Wed Nov 3 16:24:09 1993 Kung Hsu (kung@cirdan.cygnus.com)
  593. * values.c (value_fn_field): when physical name not found, do not
  594. error, but return null.
  595. * valops.c (value_struct_elt): when name and args match does not
  596. mean it is the one, some times a typedef class can have the same
  597. member method and args. This probably will not happen with new
  598. version of g++, but it does happen in old g++ and cause gdb error.
  599. Wed Nov 3 09:20:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  600. Merge changes for dos x udi:
  601. * Makefile.in (udi2go32.o): add rule to build this file
  602. * 29k-share/udi/udi2go32.c: new file
  603. * config/a29k/a29k-udi.mt: add udi2go32.o
  604. * 29k-share/udi/{udr.c, udip2soc.c}: #ifdef out the entire file
  605. if __GO32__ is defined. What a hack.
  606. Wed Nov 3 09:20:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  607. * remote.c (putpkt, getpkt): Don't call interrupt_query.
  608. * findvar.c (value_of_register): Rename val to reg_val to avoid
  609. name conflict with some (e.g. tm-m68k.h) REGISTER_CONVERT_TO_VIRTUAL.
  610. * main.c: Add variables source_line_number, source_file_name,
  611. source_error, source_error_allocated, and source_pre_error.
  612. (command_line_input): If source_file_name set, increment
  613. source_line_number and set error_pre_print with them.
  614. (source_command): Set source_* and make a cleanup so they get
  615. set back.
  616. Tue Nov 2 16:28:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  617. * stack.c (down_silently_command): Add comment about PR 1913.
  618. * breakpoint.c (insert_breakpoints, delete_breakpoint): Call
  619. target_terminal_ours_for_output before attempting output.
  620. * fork-child.c (fork_inferior): Fix comment so that it suggests
  621. "set shell" rather than having "set env SHELL" affect GDB's
  622. operation.
  623. Tue Nov 2 15:03:08 1993 Tom Lord (lord@rtl.cygnus.com)
  624. * utils.c (vfprintf_unfiltered): don't use maybe_filtered
  625. since it involves a fixed size buffer.
  626. Tue Nov 2 13:42:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  627. * findvar.c (value_of_register, value_from_register),
  628. hppa-tdep.c (pa_print_fp_reg), infcmd.c (do_registers_info),
  629. valops.c (value_assign): Use REGISTER_CONVERT_TO_* only if
  630. REGISTER_CONVERTIBLE is defined, otherwise just copy the content.
  631. Pass desired type to REGISTER_CONVERT_TO_*.
  632. * config/m68k/tm-m68k.h, config/i960/tm-i960.h (REGISTER_CONVERT_*):
  633. Pass length of desired type to store/extract_floating.
  634. * config/i386/tm-arm.h, config/i386/tm-i386aix.h,
  635. config/i386/tm-sun386.h, config/i386/tm-symmetry.h,
  636. config/m88k/tm-m88k.h config/rs6000/tm-rs6000.h (REGISTER_CONVERT_*):
  637. Use extract_floating and store_floating with length of desired type.
  638. * config/m68k/tm-news.h (STORE,EXTRACT_RETURN_VALUE): Add type
  639. parameter to REGISTER_CONVERT_*.
  640. * config/a29k/tm-a29k.h, config/convex/tm-convex.h,
  641. config/gould/tm-np1.h, config/gould/tm-pn.h, config/h8300/tm-h8300.h,
  642. config/h8500/tm-h8500.h, config/i386/tm-i386v.h,
  643. config/mips/tm-mips.h, config/ns32k/tm-merlin.h,
  644. config/ns32k/tm-umax.h, config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
  645. config/sh/tm-sh.h, config/sparc/tm-sparc.h, config/tahoe/tm-tahoe.h,
  646. config/vax/tm-vax.h, config/z8k/tm-z8k.h (REGISTER_CONVERTIBLE,
  647. REGISTER_CONVERT_TO_RAW, REGISTER_CONVERT_TO_VIRTUAL): Remove
  648. versions for which REGISTER_CONVERTIBLE is always false.
  649. * z8k-tdep.c (register_convert_to_virtual, register_convert_to_raw):
  650. Remove, no longer used.
  651. * alpha-tdep.c (alpha_register_convert_to_raw,
  652. alpha_register_convert_to_virtual): New routines to handle
  653. the different raw formats in alpha floating point registers.
  654. * config/alpha/tm-alpha.h (REGISTER_CONVERTIBLE,
  655. REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Use them.
  656. Tue Nov 2 12:45:23 1993 Stan Shebs (shebs@rtl.cygnus.com)
  657. * gdbserver/configure.in: Recognize *-*-lynxos* instead of
  658. *-*-lynx*, recognize sparc-*-lynxos*.
  659. * gdbserver/Makefile.in (install, install_only): Add.
  660. * gdbserver/gdbserver.1: New file, man page for gdbserver.
  661. Tue Nov 2 03:01:01 1993 Jeff Law (law@snake.cs.utah.edu)
  662. * hpread.c: Include <time.h> and <sys/types.h>. Change include
  663. of "libhppa.h" to "som.h".
  664. (BYTES_IN_WORD): Define.
  665. (hppa_sym_fns): "hppa" is 4 characters, not 5.
  666. Mon Nov 1 09:40:21 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  667. * symtab.c, symtab.h, source.c: Change find_line_pc_range to take
  668. a struct symtab_and_line argument, rather than a symtab and a line.
  669. Re-write it to be based on the address rather than bogusly adding
  670. one to the line number and hoping that has something to do with the
  671. end of the line.
  672. * config/m88k/m88k.mh (NATDEPFILES): Remove exec.o.
  673. * paread.c (pa_symtab_read): Change comments to say ignoring
  674. labels really should be handled by the assembler/compiler.
  675. * Makefile.in: Add -O to CXXFLAGS.
  676. * TODO: Expand comments on fast watchpoints.
  677. Sun Oct 31 19:45:06 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
  678. * paread.c (pa_symtab_read): Also filter out local symbols
  679. starting with "L$".
  680. Sun Oct 31 09:28:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  681. * symfile.h (sym_fns), symfile.c (find_sym_fns), xcoffread.c,
  682. coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c:
  683. Change from using bfd target name to using the flavour.
  684. * objfiles.h, infcmd.c, symfile.c: Add comments about how various
  685. objfiles get created and when we should blow them away.
  686. Sat Oct 30 08:32:53 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  687. * symfile.c (reread_symbols): When re-reading symbols, do all the
  688. right operations ourself, rather than calling symbol_file_command.
  689. If we re-read something, call clear_symtab_users not just
  690. breakpoint_re_set.
  691. * objfiles.h, objfiles.c (build_objfile_section_table): No longer
  692. static.
  693. * symfile.c (clear_symtab_users): Call clear_pc_function_cache.
  694. * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c
  695. (*_symfile_offsets): Set objfile->num_sections.
  696. * remote.c (remote_wait), symfile.c (syms_from_objfile):
  697. Don't muck with objfile->num_sections now that all the symbol
  698. readers set it.
  699. * elfread.c: Clean up obsolete comment about handling only DWARF.
  700. * paread.c: Remove comment about how we should use an "ordinary"
  701. file format with an hppa suffix. There is nothing ordinary about SOM.
  702. * config/i386/{i386m3.mh,i386mk.mh}, config/mips/mipsm3.mh,
  703. config/ns32k/ns32km3.mh: Change MMALLOC_LIB to MMALLOC.
  704. * TODO: Update Mach stuff.
  705. Fri Oct 29 16:30:36 1993 Stan Shebs (shebs@rtl.cygnus.com)
  706. LynxOS support:
  707. * configure.in: Change *-*-lynx* to *-*-lynxos*, add
  708. sparc-*-lynxos*.
  709. * Makefile.in (ALLDEPFILES): Add m68kly-nat.c, sparcly-nat.c.
  710. Rename i386lynx-nat.[co] to i386ly-nat.[co].
  711. (ALLCONFIG): Add config/{m68k,sparc}/{m68k,sparc}lynx.m[ht].
  712. (m68kly-nat.o, sparcly-nat.o): Add rules.
  713. * i386ly-tdep.c: Cosmetics.
  714. * i386lynx-nat.c: Removed.
  715. * i386ly-nat.c: New file, was i386lynx-nat.c.
  716. * m68kly-nat.c: New file.
  717. * sparcly-nat.c: New file.
  718. * config/xm-lynx.h: New file, cpu-independent host info.
  719. * config/i386/i386lynx.mh: Changes for consistency.
  720. * config/i386/i386lynx.mt: Ditto.
  721. * config/i386/tm-i386lynx.h: Ditto.
  722. * config/i386/nm-i386lynx.h: Ditto.
  723. * config/i386/xm-i386lynx.h: Include config/xm-lynx.h.
  724. * config/m68k/m68klynx.mh, config/m68k/m68klynx.mt,
  725. config/m68k/tm-m68klynx.h, config/m68k/nm-m68klynx.h,
  726. config/m68k/xm-m68klynx.h: New files, M68K LynxOS support.
  727. * config/sparc/sparclynx.mh, config/sparc/sparclynx.mt,
  728. config/sparc/tm-sparclynx.h, config/sparc/nm-sparclynx.h,
  729. config/sparc/xm-sparclynx.h: New files, Sparc LynxOS support.
  730. Fri Oct 29 08:11:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  731. * defs.h, findvar.c (extract_floating, store_floating): New functions.
  732. * Move SWAP_TARGET_AND_HOST from defs.h to findvar.c because it is
  733. now used only by extract_floating and store_floating.
  734. * valprint.c (print_floating): Use unsigned arithmetic. Use
  735. extract_unsigned_integer instead of SWAP_TARGET_AND_HOST.
  736. Change sizeof (float) to 4 and sizeof (double) to 8 (those are always
  737. the relevant sizes for this code, which is in #ifdef IEEE_FLOAT).
  738. * values.c (unpack_long, unpack_double, value_from_double),
  739. valarith.c (value_binop), stabsread.c (define_symbol):
  740. Use extract_floating and store_floating instead of
  741. SWAP_TARGET_AND_HOST.
  742. * config/m68k/tm-m68k.h, config/i960/tm-i960.h (REGISTER_CONVERT_*):
  743. Use extract_floating and store_floating.
  744. * config/m88k/tm-m88k.h: Add comments (it should be doing the same).
  745. * i386-tdep.c (i386_extract_return_value),
  746. * remote-nindy.c (nindy_store_registers): Use store_floating.
  747. Fri Oct 29 09:31:38 1993 Steve Chamberlain (sac@rtl.cygnus.com)
  748. * remote-sim.c (gdbsim_store_register): Change var name so
  749. it compiles with non-ANSI compilers.
  750. Fri Oct 29 08:11:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  751. * TODO: Add idea for "disassemble" with source.
  752. Fri Oct 29 00:41:01 1993 Fred Fish (fnf@cygnus.com)
  753. * Makefile.in (VERSION): Bump to 4.11.1 after release and cvs
  754. tagging.
  755. Thu Oct 28 09:14:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  756. * TODO: Add section on Mach. Stop calling it a "bug list".
  757. Remove John's name and email address. Remove item on "always"
  758. ("hook-stop" takes care of this). Remove item on executables with
  759. no symbols (this works on some machines, at least). Remove item
  760. about calling error() during symbol reading (I think all the important
  761. ones have been cleaned up). Revise items about signals and remote
  762. systems. Remove section on ^Z requiring several continues to make
  763. it go (this now works. Perhaps the item is based on confusion over
  764. programs (like GDB itself) which catch SIGTSTP and then re-send
  765. themselves the signal. PR 2575 might contain relevant info).
  766. Thu Oct 28 16:55:34 1993 Fred Fish (fnf@cygnus.com)
  767. * NEWS: Note improvements in C++ support, preliminary thread
  768. implementation, and LynxOS native and target support for 386.
  769. Thu Oct 28 16:55:34 1993 Fred Fish (fnf@cygnus.com)
  770. * README: Add note from Peter Schauer about OSF/1 shared
  771. libraries. Add note from Pace Willisson about configuring on BSDI
  772. BSD/386 release 1.0. Update gdb references to gdb 4.11.
  773. Thu Oct 28 09:14:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  774. * NEWS: Add notes about Alpha and "set remotedebug" for UDI.
  775. * valops.c (value_assign): Change bitfield code to use a buffer of
  776. the correct size, rather than an int.
  777. Wed Oct 27 13:43:07 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  778. * config/i386/{i386m3.mt,i386m3.mh},
  779. config/mips/{mipsm3.mt,mipsm3.mh},
  780. config/ns32k/{ns32km3.mt,ns32km3.mh}: Use correct names for TM_FILE
  781. and XM_FILE. Replace host files *mach3-xdep.o with native
  782. files *m3-nat.o. Replace host file os-mach3.o with native
  783. file m3-nat.o.
  784. * remote-udi.c: Remove LOG_FILE stuff; superceded by "set remotedebug".
  785. * remote-mon.c: Remove commented out "set remotedebug" command.
  786. * remote-nindy.c: Clean up comment about wanting alternative to
  787. options specified on the GDB command line.
  788. * fork-child.c (fork_inferior): Set inferior_pid before calling
  789. init_trace_fun. Move the code which gets us through the shell
  790. to new function startup_inferior.
  791. * inferior.h: Declare startup_inferior.
  792. * procfs.c (procfs_init_inferior), inftarg.c (ptrace_him):
  793. Call startup_inferior.
  794. * m3-nat.c (m3_trace_him): Call intercept_exec_calls.
  795. * config/nm-m3.h: Don't define STARTUP_INFERIOR.
  796. * config/i386/tm-i386m3.h, config/ns32k/tm-ns32k.h,
  797. config/mips/tm-mipsm3.h: Don't define START_INFERIOR_TRAPS_EXPECTED.
  798. * m68k-stub.c: Change vector 13 from SIGFPE to SIGBUS.
  799. Tue Oct 26 22:05:03 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
  800. * mips-tdep.c (mips_pop_frame): If proc_desc is NULL, don't dump core.
  801. Tue Oct 26 15:07:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  802. gcc -Wall lint:
  803. * nlmread.c: Include stabsread.h.
  804. * Makefile.in: Update dependencies.
  805. * remote.c: Change PBUFSIZ back to 400. John's 28 Feb 1992 change
  806. to increase it broke the ability to write large chunks of memory
  807. with m68k-stub and i386-stub. Now we only use more than 400 on
  808. machines where we need that much to write the registers.
  809. * remote.c (remote_write_bytes): Eliminate possible abort(). The
  810. check for when to abort was off by a few bytes and besides which,
  811. it is handled by MAXBUFBYTES, which the caller uses.
  812. * m68k-stub.c: Add comments about trap #1 and trap #8 instructions.
  813. Tue Oct 26 08:36:07 1993 Doug Evans (dje@canuck.cygnus.com)
  814. * remote-sim.h (SIM_ADDR): New type (same as CORE_ADDR).
  815. (sim_set_pc): Update prototype.
  816. (sim_read, sim_write): Ditto, and use unsigned char *buf.
  817. (sim_fetch_register, sim_store_register): Use unsigned char *buf.
  818. (sim_info): Pass printf function as argument, add verbose argument.
  819. (sim_stop_reason): Renamed from sim_stop_signal, fix prototype.
  820. * remote-sim.c (gdbsim_wait): Update call to sim_stop_reason.
  821. (gdbsim_files_info): Update call to sim_info.
  822. Tue Oct 26 10:41:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  823. * valops.c (value_assign): Call reinit_frame_cache when assigning
  824. to a register.
  825. Mon Oct 25 11:08:59 1993 Stu Grossman (grossman at cygnus.com)
  826. * infrun.c (wait_for_inferior): Fix PC out of objfile bounds
  827. check to just use stop_func_name == 0.
  828. * remote-udi.c (store_register): Invalidate NPC/PC_REGNUM after
  829. changing PC.
  830. Mon Oct 25 14:57:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  831. * gdbserver/{low-lynx.c,low-sparc.c,low-sun3.c}, standalone.c,
  832. m3-nat.c, i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c: bcopy -> memcpy.
  833. gcc -Wall lint:
  834. * breakpoint.c: Include thread.h.
  835. * coffread.c: Include stabsread.h.
  836. * Makefile.in: Update dependencies.
  837. * breakpoint.c (mention): Add bp_call_dummy to switch.
  838. * symmisc.c (dump_symtab): Use %d not %ld for line number.
  839. Sun Oct 24 18:29:32 1993 Tom Lord (lord@rtl.cygnus.com)
  840. * every non-obsolete file except utils.c:
  841. Change the stream argument to _filtered to GDB_FILE *.
  842. Change all references to stdout/stderr to gdb_stdout/gdb_stderr.
  843. Replace all calls to stdio output functions with
  844. calls to corresponding _unfiltered functions.
  845. Replaced calls to fopen for output to gdb_fopen.
  846. Added sufficient goo to utils.c and defs.h to make the above
  847. work.
  848. The net effect is that stdio output functions are only directly
  849. used in utils.c. Elsewhere, the _unfiltered and _filtered
  850. functions and GDB_FILE type are used.
  851. In the near future, GDB_FILE will stop being equivalant to
  852. FILE.
  853. The semantics of some commands has changed in a very subtle way:
  854. called in the right context, they may cause new occurences of
  855. prompt_for_continue() behavior.
  856. Please respect this change by not reintroducing stdio output
  857. dependencies in the main body of gdb code. All output from
  858. commands should go to a GDB_FILE.
  859. Sun Oct 24 20:16:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  860. * parse.c, parser-defs.h (write_exp_msymbol): New function to write
  861. the appropriate expression for a minimal symbol. Taken from c-exp.y
  862. and m2-exp.y but handles mst_file_*.
  863. * c-exp.y, m2-exp.y: Use it.
  864. Sun Oct 24 09:31:05 1993 Fred Fish (fnf@lisa.cygnus.com)
  865. * elfread.c (elf_symtab_read): Use bfd convention that both
  866. initialized and uninitialized data sections have the SEC_ALLOC
  867. flag bit set, but only initialized sections have SEC_LOAD set.
  868. SEC_DATA is ignored since it only gets set for initialized
  869. data.
  870. Sat Oct 23 14:48:18 1993 Doug Evans (dje@canuck.cygnus.com)
  871. * remote-sim.h (sim_stop): New enum.
  872. (sim_stop_signal): Change prototype, result is enum sim_stop.
  873. * remote-sim.c (gdbsim_wait): Update call to sim_stop_signal.
  874. Fri Oct 22 07:49:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  875. * stabsread.c (define_symbol): Skip the whole thing about "pcc
  876. promotion" on little-endian machines.
  877. * remote-vx.c (vx_wait): Rename pid parameter to pid_to_wait_for.
  878. Some compilers (legitimately) don't like variables in the
  879. function's outermost block whose name is the the same as the name of
  880. a parameter.
  881. Merge Apollo patches from Troy Rollo (troy@cbme.unsw.edu.au):
  882. * dst.h, dstread.c, config/m68k/{apollo68b.mt,tm-apollo68b.h}:
  883. New files.
  884. * config/m68k/nm-apollo68b.h: Add more defines.
  885. * configure.in: Recognize apollo target, not just host.
  886. * configure.in: Add * to end of all OS names.
  887. Fri Oct 22 06:14:01 1993 Fred Fish (fnf@cygnus.com)
  888. * Makefile.in (ALLPARAM): Add config/m88k/xm-delta88v4.h
  889. Thu Oct 21 12:23:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  890. * Makefile.in (init.c): Generate using the source, not munch. This
  891. cleans up all kinds of hassles (which nm to use in munch, etc). The
  892. new formatting conventions (mostly already followed) are that
  893. the name of the _initialize_* routines must start in column zero,
  894. and must not be inside #if.
  895. * munch: Removed.
  896. * Makefile.in: Remove references to munch.
  897. * serial.c, remote.c, infptrace.c, maint.c, convex-tdep.c,
  898. alpha-tdep.c, hp300ux-nat.c, hppab-nat.c, osfsolib.c, remote-es.c,
  899. procfs.c, remote-udi.c, ser-go32.c, ultra3-xdep.c, sh-tdep.c,
  900. i960-tdep.c, hppa-tdep.c, h8500-tdep.c, dpx2-nat.c, delta68-nat.c,
  901. z8k-tdep.c: Make sure the above conventions are followed. Make
  902. sure they are all declared as returning void. Clean up
  903. miscellaneous comments and such.
  904. * sh-tdep.c (sim_load): Add function.
  905. Thu Oct 21 15:58:48 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
  906. * remote-mips.c (mips_wait): add pid argument.
  907. Thu Oct 21 12:23:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  908. * Makefile.in (c-exp.tab.o): Remove notice about shift/reduce conflicts
  909. which no longer occur.
  910. gcc -Wall lint:
  911. * findvar.c (symbol_read_needs_frame), corelow.c (ignore),
  912. inflow.c (gdb_has_a_terminal): Make sure to return a value.
  913. * regex.h: Declare re_set_syntax.
  914. * printcmd.c: Include valprint.h.
  915. * infcmd.c, exec.c, maint.c, core.c: Include language.h.
  916. * maint.c: Include expression.h.
  917. * infrun.c, fork-child.c, corelow.c, inflow.c: Include thread.h.
  918. * inftarg.c: Include command.h.
  919. * coredep.c: Include value.h.
  920. * c-exp.y, m2-exp.y, ch-exp.y: Include bfd.h, symfile.h and objfiles.h.
  921. * ch-typeprint.c: Include typeprint.h.
  922. * ch-valprint.c: Include c-lang.h.
  923. * nlmread.c: Include buildsym.h.
  924. * environ.c: Include gdbcore.h. Only include defs.h once.
  925. (set_in_environ): Cast const char * to char * when passing to
  926. set_gnutarget.
  927. * Makefile.in: Update dependencies to reflect all these new includes.
  928. Remove unused variables:
  929. * printcmd.c (printf_command): args_to_vprintf.
  930. * coffread.c (coff_symfile_init): strsection.
  931. Move variables to within the #ifdefs where they are used:
  932. * symtab.c (gdb_mangle_name): opname.
  933. * inftarg.c (child_attach): pid and exec_file.
  934. * inftarg.c (child_detach): siggnal.
  935. * objfiles.c (allocate_objfile): mapto, md, and fd.
  936. * objfiles.c (free_objfile): mmfd.
  937. * infrun.c (wait_for_inferior): Include BPSTAT_WHAT_LAST in switch.
  938. * infrun.c (wait_for_inferior): Remove unused same_pid label.
  939. * inferior.h: Declare set_sigint_trap and clear_sigint_trap.
  940. * parser-defs.h: Declare write_exp_elt_block.
  941. * stabsread.h: Declare elfstab_offset_sections and
  942. coffstab_build_psymtabs.
  943. Thu Oct 21 12:05:08 1993 Ken Raeburn (raeburn@cygnus.com)
  944. Patch from Jeff Law:
  945. * paread.c: Fix references to "hppa" that should now be "som".
  946. Thu Oct 21 12:23:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  947. * symtab.c (decode_line_1): Don't use SYMBOL_LINE for functions.
  948. Thu Oct 21 02:59:07 1993 Stu Grossman (grossman at cygnus.com)
  949. * remote-udi.c (udi_store_registers, store_register): Use
  950. UDI29KPC address space when modifying PC. It seems that you can't
  951. modify the PC directly (at least in the isstip simulator).
  952. Wed Oct 20 11:35:43 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  953. * target.h: Put remote_debug declaration back here. Add baud_rate.
  954. * remote.c, remote-udi.c, remote-utils.h: Let target.h take care of
  955. declaring these. Those random externs all over are error prone.
  956. * Move "set remotebaud" from remote-utils.c to main.c to it applies
  957. to remote.c as well.
  958. * xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
  959. Sort symtabs for this objfile only, not for all objfiles.
  960. * symfile.c, symfile.h (sort_all_symtab_syms): Remove; no longer used.
  961. * mipsread.c (parse_symbol): In third-eye, a function has a block
  962. within it which represents the whole function. Create only one
  963. GDB block for both.
  964. Wed Oct 20 17:47:42 1993 Stu Grossman (grossman at cygnus.com)
  965. * main.c: Make baud_rate and remote_debug be global variables,
  966. remove #include "remote-utils.h". This makes it possible to build
  967. GDB without remote-utils.c. Also, move setting of remote_debug
  968. into main, so that all remote*.c files can use it (not just the
  969. serial line ones). And, make baud_rate be an int.
  970. * remote-udi.c: Change kiodebug to remote_debug.
  971. * remote-utils.c: Move setting of baud rate and debug into main.c.
  972. * remote-utils.h: Redefine sr_{get set}_debug and sr_{get set}_baud
  973. to use baud_rate and remote_debug globals for compatibility.
  974. * remote.c: Use remote_debug and baud_rate globals directly,
  975. instead of sr_ functions, so that we don't need to load
  976. remote-utils.c.
  977. * config/a29k/a29k-udi.mt: Define REMOTE_O as null so that we don't
  978. get the default remote* modules.
  979. Wed Oct 20 11:35:43 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  980. * stabsread.c (define_symbol): When combining a LOC_ARG and a
  981. LOC_REGISTER, use the type from the LOC_REGISTER, not from the
  982. LOC_ARG.
  983. Wed Oct 20 14:34:38 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  984. * config/i386/xm-go32.h: define some signals if they aren't
  985. already defined.
  986. Wed Oct 20 11:35:43 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  987. * Makefile.in (INTERNAL_LDFLAGS): New macro. The new part is
  988. that we use CFLAGS and PROFILE_CFLAGS to link.
  989. (gdb, rapp, kdb): Use INTERNAL_LDFLAGS instead of
  990. LDFLAGS and/or GLOBAL_CFLAGS.
  991. Wed Oct 20 09:29:55 1993 Stu Grossman (grossman at cygnus.com)
  992. * Makefile.in: Add $(srcdir) to all refs to 29k-share
  993. directories.
  994. Tue Oct 19 17:23:34 1993 Fred Fish (fnf@deneb.cygnus.com)
  995. * Makefile.in (ALLCONFIG): Add config/i386/{i386m3.mh, i386m3.mt,
  996. i386/i386mk.mh i386/i386mk.mt}, config/mips/{mipsm3.mh,
  997. mipsm3.mt}, config/ns32k/{ns32km3.mh, ns32m3.mt}
  998. * Makefile.in (remote_utils_h): Add remote-sim.h
  999. * Makefile.in (NONSRC): Add i386-nlmstub.c
  1000. * Makefile.in (HFILES): Add coff-solib.h
  1001. Tue Oct 19 14:15:40 1993 Kung Hsu (kung@cirdan.cygnus.com)
  1002. * values.c (value_virtual_fn_field): Fix the offset calculation
  1003. when calling virtual functions. (gdb.t22/virtfunc.exp).
  1004. * eval.c (evaluate_subexp): same as above.
  1005. Tue Oct 19 10:43:16 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1006. * config/rs6000/rs6000.mh (TERMCAP): Define to -lcurses.
  1007. * Makefile.in: Define CXXFLAGS.
  1008. Tue Oct 19 09:28:52 1993 Stu Grossman (grossman@cygnus.com)
  1009. * sparclite/Makefile.in: Fixup so that this works with Sun make
  1010. and VPATH.
  1011. Tue Oct 19 10:43:16 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1012. * breakpoint.h (struct bpstat_what): Don't use bitfields.
  1013. * typeprint.c: Add "class CLASS-NAME" to docstring for ptype.
  1014. Tue Oct 19 06:17:10 1993 Fred Fish (fnf@cirdan.cygnus.com)
  1015. * Makefile.in (ALLPARAM): Add config/m88k/{nm-delta88v4.h,
  1016. tm-delta88v4.h, xm-dgux.h}.
  1017. * Makefile.in (ALLCONFIG): Add config/m88k/{delta88v4.mh,
  1018. delta88v4.mt}.
  1019. * README: Remove comment about SunOS 5.x programs leaving
  1020. coredumps. Info from Sun is that this was not in customer
  1021. releases.
  1022. Mon Oct 18 10:28:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1023. * hppa-tdep.c (restore_pc_queue): Call target_terminal_ours after
  1024. done stepping the inferior.
  1025. * c-exp.y: Remove never-used (because of shift/reduce conflicts)
  1026. rules for pointers to members.
  1027. * Makefile.in: Remove notice about expected shift/reduce conflicts.
  1028. * buildsym.c (finish_block): If we pop the context stack and it is
  1029. not empty, complain () instead of abort ().
  1030. Sun Oct 17 19:42:31 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1031. * parse.c, parser-defs.h (follow_types): New function.
  1032. * c-exp.y (ptype : typebase abs_decl): Use it.
  1033. * c-exp.y (ptype): Add support for type qualifiers after the
  1034. typebase. The typebase rule already has support for them before
  1035. the typebase.
  1036. * Makefile.in: Change the expected number of shift/reduce
  1037. conflicts to 6. This is OK--the 2 new conflicts are basically the
  1038. same as one of the old ones.
  1039. Sun Oct 17 13:04:49 1993 Fred Fish (fnf@cygnus.com)
  1040. * Makefile.in (VERSION): Bump to 4.10.3.
  1041. Sun Oct 17 09:18:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1042. * infrun.c (wait_for_inferior): Clean up comments which were at
  1043. the top of the file, making them more concise and moving them with
  1044. the code (Sorry, Randy, but these stream-of-consciousness comments
  1045. really have to go). Switch the order of the "&&", which makes
  1046. things clearer and turns out to be an improvement with respect to
  1047. side effects and speed.
  1048. Sun Oct 17 02:06:01 1993 Stu Grossman (grossman at cygnus.com)
  1049. * procfs.c: Handle process exits more elegantly by trapping on
  1050. entry to _exit. Also, cleanup procinfo list when process dies of
  1051. it's own accord (as opposed to being killed).
  1052. Sat Oct 16 20:47:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1053. * config/m88k/xm-dgux.h: Define NO_PTRACE_H.
  1054. * corelow.c (add_to_thread_list): Need a cast to go from PTR to
  1055. asection *.
  1056. * infrun.c: Add comment about signals.
  1057. * fork-child.c (fork_inferior): Remove CREATE_INFERIOR_HOOK again.
  1058. Stu reinstated it (accidently I assume).
  1059. Sat Oct 16 15:27:10 1993 Stu Grossman (grossman at cygnus.com)
  1060. * procfs.c (procfs_wait): Losing Unixware can't do poll on /proc
  1061. files. Use PIOCWSTOP instead.
  1062. * corelow.c (add_to_thread_list): Fix arg to match prototype.
  1063. * procfs.c (procfs_set_sproc_trap): Don't use this if sproc
  1064. isn't available.
  1065. * (procfs_notice_signals): Fix prototype.
  1066. Fri Oct 15 22:46:07 1993 Stu Grossman (grossman at cygnus.com)
  1067. * breakpoint.c (breakpoint_thread_match break_command_1):
  1068. Thread-specific breakpoint support.
  1069. * breakpoint.h (struct breakpoint): Add thread id field.
  1070. * fork-child.c (fork_inferior): Move call to init_thread_list()
  1071. back a bit so that init_trace_fun can do thread functions.
  1072. * hppa-tdep.c (restore_pc_queue): Add pid to call to target_wait.
  1073. * hppab-nat.c (child_resume): Handle default pid.
  1074. * hppah-nat.c (child_resume): Handle default pid.
  1075. * i386lynx-nat.c (child_wait): New arg pid.
  1076. * inflow.c (kill_command): Reset thread list.
  1077. * infptrace.c (child_resume): Handle default pid.
  1078. * infrun.c: Thread-specific breakpoint support.
  1079. * inftarg.c (child_wait): Add pid arg.
  1080. * osfsolib.c (solib_create_inferior_hook): Add pid to call to
  1081. target_resume.
  1082. * procfs.c: Multi-thread support.
  1083. * remote-bug.c (bug_wait): Add pid arg.
  1084. * remote-hms.c (hms_wait): Add pid arg.
  1085. * remote-mips.c (mips_wait): Add pid arg.
  1086. * remote-mon.c (monitor_wait): Add pid arg.
  1087. * remote-nindy.c (nindy_wait): Add pid arg.
  1088. * remote-sim.c (gdbsim_wait): Add pid arg.
  1089. * remote-udi.c (udi_wait): Add pid arg.
  1090. * remote-vx.c (vx_wait): Add pid arg.
  1091. * remote-z8k.c (sim_wait): Add pid arg.
  1092. * remote.c (remote_wait): Add pid arg.
  1093. * solib.c (solib_create_inferior_hook): Add pid to call to
  1094. target_resume.
  1095. * target.h (struct target_ops): Add pid arg to to_wait and
  1096. to_notice_signals.
  1097. * thread.c (valid_thread_id): New func to validate thread #s.
  1098. * (pid_to_thread_id): New func to do the obvious.
  1099. * thread.h: Prototypes for above.
  1100. * coff-solib.c (coff_solib_add): Use nameoffset field to locate
  1101. filename.
  1102. Fri Oct 15 21:29:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1103. * h8300-tdep.c, h8500-tdep.c: Define sim_load only, but not
  1104. sim_kill, sim_open, or sim_set_args.
  1105. * stack.c (print_stack_frame): Put catch_errors around
  1106. print_frame_info so (for example) error printing source doesn't
  1107. cause auto-displays to get skipped in normal_stop.
  1108. * findvar.c (value_from_register): When preparing to cast a value
  1109. from REGISTER_VIRTUAL_TYPE to type, copy the REGISTER_VIRTUAL_SIZE;
  1110. the old code didn't copy the whole thing.
  1111. * valops.c (value_assign): Add comment.
  1112. Fri Oct 15 12:57:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1113. * mipsread.c (upgrade_type): Replace bitsize sanity checks and
  1114. complaint by a comment explaining why they were useless.
  1115. Fri Oct 15 14:30:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1116. * Move comments on bypassing call dummy breakpoint from stack.c
  1117. to breakpoint.h.
  1118. Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1119. * symtab.c (lookup_partial_symtab): If filename is not found and
  1120. contains no slashes, try again and compare without leading path
  1121. components.
  1122. * symtab.c (lookup_symtab_1): Replace open coded version of
  1123. lookup_partial_symtab with a function call.
  1124. Thu Oct 14 20:34:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1125. * fork-child.c (fork_inferior), remote-eb.c (eb_create_inferior),
  1126. remote-mon.c (monitor_create_inferior), remote-nindy.c
  1127. (nindy_create_inferior), remote-st.c (st2000_create_inferior),
  1128. remote-vx.c (vx_create_inferior): Remove CREATE_INFERIOR_HOOK; it
  1129. is replaced by init_trace_fun.
  1130. * config/convex/xm-convex.h, convex-xdep.c: Add comments explaining
  1131. how to do without CREATE_INFERIOR_HOOK for whoever fixes the Convex
  1132. port.
  1133. * Makefile.in: Add Mach files to ALLDEPFILES, etc.
  1134. * m3-nat.c: Clean up more hair--message(), cprocs.
  1135. * configure.in: Recognize Mach targets and hosts.
  1136. * config/ns32k/tm-umax.h: Add some #ifndef's so tm-ns32km3.h can
  1137. include this file.
  1138. * Mach headers in config/*/tm-*.h: Fix includes to match correct
  1139. locations of files.
  1140. Thu Oct 14 21:35:55 1993 Rob Savoye (rob@darkstar.cygnus.com)
  1141. * remote-mon.c (general_open): Set dev_name. Minor tweaking to get
  1142. it working again.
  1143. * config/m68k/tm-monitor.h: Remove floating point register names
  1144. as there aren't any on any of the monitors that use this code.
  1145. Wed Oct 13 11:47:23 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1146. * inflow.c: Pass pointer to process group, not process group itself,
  1147. to TIOCSPGRP ioctl.
  1148. * inflow.c (terminal_ours_1): Don't print warning on failure to
  1149. set process group.
  1150. * printcmd.c (printf_command): Instead of using makeva* and
  1151. calling vprintf, just make the appropriate calls to printf.
  1152. * printcmd.c, config/pa/xm-pa.h, config/mips/xm-makeva.h,
  1153. config/alpha/xm-alpha.h, config/m88k/xm-m88k.h: Remove all
  1154. traces of makeva*. My apologies to everyone (including me!)
  1155. who spent so much time getting it to work on various machines,
  1156. but look at the bright side, at least you won't have to do it
  1157. again in the future.
  1158. * printcmd.c (printf_command): Make a cleanup for val_args (fixes
  1159. a memory leak).
  1160. Tue Oct 12 22:54:41 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1161. * config/mips/xm-mips.h: Remove comment about HAVE_SGTTY vs. usleep.
  1162. Tue Oct 12 12:01:29 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
  1163. * configure.in: only configure gdbserver for native environments
  1164. Tue Oct 12 08:59:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1165. * stabsread.c (read_type): Treat a negative type number at the start
  1166. of a type as a type reference, not as a definition of a type with
  1167. "50=" omitted. This makes things work on the RS/6000 again (the
  1168. 14 Sep 1993 change broke it).
  1169. * inflow.c: Use 0 (standard input) not scb->fd.
  1170. (terminal_ours_1): If printing warning, don't claim it happened in
  1171. terminal_inferior.
  1172. * blockframe.c (get_prev_frame_info): Don't error() if there are no
  1173. frames; just return NULL.
  1174. * xcoffsolib.h, xcoffexec.c: Undo the part of Fred's bfd->abfd
  1175. change which involved structure elements. It was unnecessary and
  1176. was not consistently done.
  1177. * stabsread.h, stabsread.c, dbxread.c (common_block*, copy_pending):
  1178. Move common block handling from dbxread.c to stabsread.c.
  1179. Use the name from the BCOMM instead of the ECOMM.
  1180. Allocate things on the symbol_obstack.
  1181. * xcoffread.c (process_xcoff_symbol): Process C_BCOMM, C_ECOMM,
  1182. and C_ECOML. On unrecognized storage classes, go ahead and call
  1183. define_symbol (after the complaint).
  1184. * dbxread.c (process_one_symbol): Don't relocate 'S' symbols by
  1185. the text offset.
  1186. Tue Oct 12 12:33:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1187. * osfsolib.c (solib_create_inferior_hook): Reset stop_soon_quietly
  1188. after shared library symbol reading to get rid of warning from
  1189. heuristic_proc_start.
  1190. Tue Oct 12 12:01:29 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
  1191. * remote-sim.c: fix unterminated character string
  1192. Tue Oct 12 08:59:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1193. * stabsread.c: Fix comment about gcc 2.3.3 stab for long long int.
  1194. Mon Oct 11 14:27:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1195. * m3-nat.c, config/nm-m3.h: Add a target_ops struct and other
  1196. various things to try to get this to work.
  1197. * symtab.h: Fix comments re headers, sharing blockvectors, etc.
  1198. Mon Oct 11 11:46:06 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
  1199. * config/i960/vxworks960.mt (REMOTE_O): add dcache.o and remote-utils.o
  1200. Mon Oct 11 02:48:57 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1201. * mipsread.c (parse_partial_symbols): Do not add undefined
  1202. symbols to the partial symbol table.
  1203. * alpha-tdep.c (init_extra_frame_info): Remove kludge for gcc,
  1204. gcc has to be compatible with the native tools.
  1205. * alpha-tdep.c (alpha_push_arguments): Rename NUM_ARG_REGS to
  1206. ALPHA_NUM_ARG_REGS and move its definition to tm-alpha.h.
  1207. * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Change it to the
  1208. way the native tools define it, update comment.
  1209. Fri Oct 8 15:54:06 1993 Fred Fish (fnf@deneb.cygnus.com)
  1210. * osfsolib.c, remote-sim.c, remote.c, solib.c, xcoffexec.c,
  1211. xcoffsolib.h: Use 'abfd' for bfd variables instead of 'bfd'.
  1212. Sun cc doesn't like variable names that match their typedef'd type.
  1213. Fri Oct 8 14:56:21 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1214. * inflow.c: Remove unused includes of sys/param.h and sys/types.h.
  1215. * inflow.c, ser-unix.c, ser-go32.c, ser-tcp.c, serial.h,
  1216. terminal.h, fork-child.c, main.c, utils.c: Move all the process
  1217. group stuff back to inflow.c and terminal.h; that's a better place
  1218. for it and fixes problems with trying to get/set the process group
  1219. of a tty we're doing remote debugging on.
  1220. * terminal.h: Skip the redefines and includes if HAVE_TERMIOS.
  1221. * findvar.c, value.h (symbol_read_needs_frame): New function.
  1222. * c-exp.y, m2-exp.y: Call it instead of having our own switch on
  1223. the symbol's class.
  1224. * valops.c (value_of_variable): Use symbol_read_needs_frame to
  1225. decide whether we care about finding a frame.
  1226. Fri Oct 8 02:34:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1227. * blockframe.c (get_frame_block): Do not adjust pc if the frame
  1228. function was interrupted by a signal.
  1229. Thu Oct 7 19:20:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1230. * config/h8300/tm-h8300.h: Don't define sr_get_debug.
  1231. * remote-sim.c: Include remote-utils.h.
  1232. * target.h: Add comment about target_has_execution.
  1233. Thu Oct 7 16:14:19 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
  1234. * h8300-tdep.c (sim_load, sim_kill, sim_open, sim_set_args):
  1235. New functions.
  1236. * infrun.c (normal_stop): Don't try and set the pc in the current
  1237. frame coredump if there isn't one.
  1238. * remote-sim.c (gdbsim_store_register): Don't
  1239. SWAP_TARGET_AND_HOST, sim_store_register takes bytes in raw order.
  1240. (gdbsim_wait): Set status with WSETSTOP.
  1241. * config/h8300/tm-h8300.h (sr_get_debug): Define
  1242. Thu Oct 7 12:56:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1243. New Mach stuff:
  1244. * config/i386/i386mach.c: Explain this is for the old (probably
  1245. non-functional and/or obsolete) Mach stuff.
  1246. * m3-nat.c, config/nm-m3.h,
  1247. i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c,
  1248. config/i386/{i386m3.mh,i386m3.mt,tm-i386m3.h,xm-i386m3.h},
  1249. config/i386/{i386mk.mh,i386mk.mt,tm-i386mk.h,xm-i386mk.h},
  1250. config/mips/{mipsm3.mh,mipsm3.mt,tm-mipsm3.h,xm-mipsm3.h},
  1251. config/ns32k/{ns32km3.mh,ns32km3.mt,tm-ns32km3.h,xm-ns32km3.h}:
  1252. New files.
  1253. * blockframe.c (find_pc_partial_function): If we call
  1254. PSYMTAB_TO_SYMTAB, call target_terminal_ours_for_output first.
  1255. This is needed now that wait_for_inferior passes in endaddr.
  1256. * infrun.c: Move call to target_terminal_inferior from proceed
  1257. to resume.
  1258. Thu Oct 7 09:22:04 1993 Stu Grossman (grossman at cygnus.com)
  1259. * blockframe.c (find_pc_partial_function): Fix handling for PCs
  1260. beyond the end of the last function in an objfile.
  1261. * coff-solib.c (coff_solib_add): Use BFD to get fields from .lib
  1262. section.
  1263. * infrun.c (wait_for_inferior): Modify test for subroutine entry
  1264. to include pc out of bounds of the previous function.
  1265. * remote.c (remote_wait): Use strtoul for parsing 'N' message.
  1266. Add code to relocate symfile_objfile->sections.
  1267. Thu Oct 7 06:22:43 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1268. * config/sparc/sun4os4.mh: Add comment saying why we don't use
  1269. -lresolv.
  1270. Thu Oct 7 09:29:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1271. * breakpoint.c, breakpoint.h (breakpoint_init_inferior): New function
  1272. that clears the `inserted' flag for all breakpoints and deletes
  1273. any breakpoints which should go away between runs of programs.
  1274. * inflow.c (generic_mourn_inferior), infrun.c (init_wait_for_inferior),
  1275. remote-es.c (es1800_load), comments in exec.c and corelow.c:
  1276. Use it instead of mark_breakpoints_out.
  1277. * breakpoint.c (mark_breakpoints_out): Update comment, tm-rs6000.h
  1278. uses it in a completely different context.
  1279. * breakpoint.c (breakpoint_re_set_one): Add bp_call_dummy case.
  1280. Thu Oct 7 09:29:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1281. * Makefile.in (REGEX, REGEX1): Always use our own version of
  1282. regex.c to be consistent across hosts.
  1283. * source.c (_initialize_source): Initialize regex to use grep
  1284. style syntax as an approximation to POSIX basic regex syntax.
  1285. Wed Oct 6 12:43:47 1993 Jeffrey A Law (law@snake.cs.utah.edu)
  1286. Jim Kingdon (kingdon@lioth.cygnus.com)
  1287. * hppa-tdep.c (frame_chain): Rework so that it correctly
  1288. handles boundaries where code with a frame pointer calls code
  1289. without a frame pointer.
  1290. (dig_fp_from_stack): New function.
  1291. Wed Oct 6 12:43:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1292. * breakpoint.c (delete_breakpoint): Don't insert a disabled breakpoint.
  1293. * README: Add Alpha notes from Schauer.
  1294. Tue Oct 5 15:26:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1295. * Makefile.in (install, uninstall): Remove $$n.1 stuff; I don't
  1296. understand what it is trying to do, but I suspect it's not doing
  1297. it.
  1298. * config/ns32k/merlin.mh: Add comment about M_INSTALL.
  1299. * config/m88k/{delta88.mh,delta88v4.mh}: Remove M_INSTALL and
  1300. M_UNINSTALL; it tries to install a non-existent file gdb.z.
  1301. * Makefile.in: Remove M_INSTALL stuff; the above were the only uses.
  1302. * stabsread.c (read_range_type): Remove comment which recommends
  1303. distinguishing float from complex by the name.
  1304. Tue Oct 5 12:17:40 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1305. Jim Kingdon (kingdon@cygnus.com)
  1306. Stu Grossman (grossman@cygnus.com)
  1307. Changes to support alpha OSF/1 in native mode.
  1308. * alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
  1309. config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
  1310. New files.
  1311. * Makefile.in: Add new files and dependencies.
  1312. * configure.in: Add alpha target.
  1313. * config/alpha/alpha-osf1.mh (NATDEPFILES): Add osfsolib.o
  1314. * config/alpha/alpha-osf1.mh (MH_CFLAGS): Remove, we can handle
  1315. shared libraries now.
  1316. * config/alpha/xm-alpha.h: Cleanup, get MAKEVA_* defines right.
  1317. * defs.h (CORE_ADDR): Make its type overridable via CORE_ADDR_TYPE,
  1318. provide `unsigned int' default.
  1319. * breakpoint.c (breakpoint_auto_delete): Delete only if we really
  1320. stopped for the breakpoint.
  1321. * stabsread.c, stabsread.h (define_symbol): Change valu parameter
  1322. to a CORE_ADDR.
  1323. * stabsread.c (read_range_type): Handle the case where the lower
  1324. bound overflows and the upper doesn't and the range is legal.
  1325. * infrun.c (resume): Do not step a breakpoint instruction if
  1326. CANNOT_STEP_BREAKPOINT is defined.
  1327. * inferior.h (CALL_DUMMY_LOCATION): New variant AT_ENTRY_POINT.
  1328. Now that we have the bp_call_dummy breakpoint the call dummy code
  1329. is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
  1330. FIX_CALL_DUMMY can be used to set up everything for the dummy.
  1331. The breakpoint for the dummy is set at the entry point and thats it.
  1332. * blockframe.c (inside_entry_file, inside_entry_func): Do not stop
  1333. backtraces if pc is in the call dummy at the entry point.
  1334. * infcmd.c (run_stack_dummy): Handle AT_ENTRY_POINT case. Use
  1335. the expected breakpoint pc when setting up the frame for
  1336. set_momentary_breakpoint.
  1337. * symfile.c (entry_point_address): New function for AT_ENTRY_POINT
  1338. support.
  1339. * valops.c (call_function_by_hand): Handle AT_ENTRY_POINT case.
  1340. Tue Oct 5 11:37:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1341. * configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux).
  1342. Change other hppa host entries to use -*- not -hp-.
  1343. Mon Oct 4 19:16:14 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  1344. * i386-nlmstub.c: New file; debugging stub for i386 NetWare. Must
  1345. be compiled with NetWare header files and turned into an NLM with
  1346. nlmconv.
  1347. Mon Oct 4 11:02:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1348. * minsyms.c (lookup_minimal_symbol_by_pc): Don't use mst_abs symbols.
  1349. * dbxread.c (process_one_symbol): Make n_opt_found static.
  1350. * Rename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names.
  1351. * Makefile.in, config/i386/i386lynx.mt: Change accordingly.
  1352. * values.c (record_latest_value): Fetch lazy values and set VALUE_LVAL
  1353. to not_lval.
  1354. Sun Oct 3 15:54:51 1993 Stan Shebs (shebs@rtl.cygnus.com)
  1355. * objfiles.h (objfile): New slot sym_stab_info, use by most
  1356. stab-reading formats.
  1357. * gdb-stabs.h (DBX_SYMFILE_INFO): Access sym_stab_info instead of
  1358. sym_private.
  1359. * coffread.c (coff_symfile_init): Alloc struct for sym_stab_info.
  1360. * dbxread.c, elfread.c, paread.c: Change sym_private references to
  1361. sym_stab_info references.
  1362. Sat Oct 2 19:28:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1363. * mipsread.c, objfiles.c, utils.c: Use PTR not void *. RISC/OS
  1364. 4.02 lacks void *.
  1365. * elfread.c: Use void * not PTR inside PARAMS.
  1366. * config/mips/news-mips.mh: Remove coredep.o; mips-nat.o does it.
  1367. * config/mips/news-mips.mh: Define NAT_FILE not NM_FILE.
  1368. * config/mips/nm-news-mips.h: Include mips/nm-mips.h not nm-mips.h.
  1369. Sat Oct 2 16:05:22 1993 Stu Grossman (grossman at cygnus.com)
  1370. * Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
  1371. tm-i386lynx.h: Add support for SVR3 COFF shared libraries.
  1372. Sat Oct 2 15:50:41 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1373. * m88k-nat.c (store_inferior_registers): When writing all registers,
  1374. don't try to write EXIP_REGNUM or ENIP_REGNUM (not needed for this
  1375. case, and they cause trouble).
  1376. * TODO: Don't suggest doing fast watchpoints by stepping a line
  1377. at a time. That would be really hairy and still not fast enough.
  1378. Do suggest debug registers and page table diddling.
  1379. Fri Oct 1 14:54:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1380. * printcmd.c (do_examine): Make meaning of 'h', 'w', and 'g' not
  1381. depend on builtin_type_*. Instead, it is always 2, 4, and 8 bytes
  1382. like the documentation says.
  1383. * printcmd.c (decode_format) [CC_HAS_LONG_LONG]: Remove 'l' as
  1384. synonym for 'g'. This was never documented, it shouldn't depend on
  1385. CC_HAS_LONG_LONG, and I don't see what's wrong with 'g'.
  1386. Fri Oct 1 10:06:35 1993 Kung Hsu (kung@cirdan.cygnus.com)
  1387. * symtab.c: fix a bug in testsuite (virtfunc.exp)
  1388. Thu Sep 30 11:30:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1389. * m88k-nat.c (fill_gregset): Fix typo (R_SFIP -> R_FIP).
  1390. * c-typeprint.c (c_type_print_base, TYPE_FN_FIELD_STUB code):
  1391. If demangled name lacks a colon, don't dump core.
  1392. * blockframe.c (find_pc_partial_function): If pst->readin is
  1393. set, don't try to get symbols from pst.
  1394. * inflow.c (generic_mourn_inferior): Call reinit_frame_cache
  1395. instead of doing it ourself.
  1396. * blockframe.c (reinit_frame_cache): Use code which was in
  1397. generic_mourn_inferior so we can use this function even when
  1398. we have switched targets.
  1399. * corelow.c (core_detach): Call reinit_frame_cache.
  1400. * target.c (target_detach): Don't call generic_mourn_inferior
  1401. (revert yesterday's change, now handled by core_detach).
  1402. * objfiles.c (free_objfile): Detach any core file if we call
  1403. SOLIB_CLEAR. #include target.h.
  1404. * fork-child.c (fork_inferior): Don't call target_terminal_init
  1405. and target_terminal_inferior until we are sure that the inferior
  1406. has called gdb_setpgid. This fixes PR 2900 (Schauer tracked it
  1407. down and was able to reliably reproduce it by putting a sleep()
  1408. before the gdb_setpgid()).
  1409. Thu Sep 30 12:00:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1410. * c-exp.y, m2-exp.y: Change type of address for msymbol to
  1411. builtin_type_long.
  1412. * infptrace.c (fetch_register, store_inferior_register,
  1413. child_xfer_memory): Use PTRACE_XFER_TYPE for the type of ptrace
  1414. transfers. Provide an `int' default for PTRACE_XFER_TYPE.
  1415. Thu Sep 30 11:30:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1416. * defs.h (TARGET_*_BIT): Don't use host information (sizeof) in
  1417. picking defaults.
  1418. * cp-valprint.c (cp_is_vtbl_ptr_type): Continue to accept old form.
  1419. Thu Sep 30 11:25:55 1993 Kung Hsu (kung@cygnus.com)
  1420. * cp-valprint.c (cp_is_vtbl_ptr_type):
  1421. change vtable field name to __vtbl (pr2695).
  1422. * symtab.c (gdb_mangle_name): fix a bug, to get mangled name right.
  1423. Wed Sep 29 18:34:22 1993 Stu Grossman (grossman at cygnus.com)
  1424. * Makefile.in: Add deps for i386lynx-nat.o and i386lynx-tdep.o to
  1425. keep non-gnu makes happy.
  1426. Wed Sep 29 17:20:54 1993 Jeff Law (law@snake.cs.utah.edu)
  1427. * hpread.c (read_hpux_symtab): When a K_END is found for a
  1428. K_MODULE, clear the have_module and have_name flags.
  1429. Wed Sep 29 10:52:19 1993 Kung Hsu (kung@cygnus.com)
  1430. * c-valprint.c: to fix virtual table print bug (pr2695).
  1431. Wed Sep 29 10:52:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1432. * target.c (target_detach): Call generic_mourn_inferior.
  1433. * inflow.c (generic_mourn_inferior): Call flush_cached_frames.
  1434. Tue Sep 28 23:08:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1435. * dbxread.c, coffread.c, elfread.c: A few changes to comments.
  1436. Tue Sep 28 18:39:37 1993 Stan Shebs (shebs@rtl.cygnus.com)
  1437. * configure.in: Rename ...-lynx* to ...-lynxos*.
  1438. Add m68*-*-lynxos* configuration.
  1439. * dbxread.c (coffstab_build_psymtabs): New function,
  1440. interfaces coffread.c to dbxread functions.
  1441. * coffread.c (coff_symfile_info): Expand to include
  1442. dbx_symfile_info slots.
  1443. (coff_symfile_init): Init coff_symfile_info struct.
  1444. (coff_locate_sections): New functions, finds the stab and stabstr
  1445. sections.
  1446. (coff_symfile_read): Call coffstab_build_psymtabs if a stab
  1447. section is present.
  1448. (coff_section_offsets): Replace fake version with real offsets.
  1449. Tue Sep 28 18:00:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1450. * infcmd.c (run_stack_dummy): Set the frame in the bp_call_dummy
  1451. breakpoint.
  1452. Tue Sep 28 17:53:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  1453. * config/nm-sysv4.h: Include solib.h. Define SVR4_SHARED_LIBS.
  1454. * config/tm-sysv4.h: Don't include solib.h.
  1455. * config/xm-sysv4.h: Don't define SVR4_SHARED_LIBS.
  1456. * config/i386/i386v4.mt (TDEPFILES): Move solib.o from here...
  1457. * config/i386/i386v4.mh (NATDEPFILES): ...to here.
  1458. * config/i386/nm-i386v4.h: Include nm-sysv4.h.
  1459. * config/m68k/amix.mt (TDEPFILES): Move solib.o from here...
  1460. * config/m68k/amix.mh (NATDEPFILES): ...to here.
  1461. Tue Sep 28 09:45:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1462. * symmisc.c (print_symbol): Use %02x not %2x for LOC_CONST_BYTES.
  1463. Clean up problems with targets and hosts that have 64 bit longs
  1464. and pointers and 32 bit ints.
  1465. * breakpoint.c, buildsym.c, c-lang.c, c-valprint.c, ch-lang.c,
  1466. ch-valprint.c, core.c, cp-valprint.c, dbxread.c, exec.c,
  1467. expprint.c, gdbtypes.c, infcmd.c, language.c, language.h,
  1468. m2-lang.c, maint.c, mips-tdep.c, mipsread.c, partial-stab.h,
  1469. printcmd.c, remote-vx.c, solib.c, source.c, stack.c, symfile.c,
  1470. symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
  1471. Change all printf formats from %x to %lx if outputting an address.
  1472. Change la_*_format to use long format.
  1473. local_hex_string, local_hex_string_custom now take an unsigned long
  1474. argument, change all callers.
  1475. * coffread.c (read_coff_symtab): Remove superfluous cast for
  1476. complaint output.
  1477. * dbxread.c (end_psymtab): Cast MSYMBOL_INFO to long, not int.
  1478. * findvar.c, value.h (write_register): Change val to LONGEST.
  1479. * gdbtypes.h (struct type): Change `bitsize' to long as
  1480. TYPE_FIELD_STATIC_PHYSNAME uses this field as a pointer.
  1481. * inferior.h (struct inferior_status): Change type of stop_pc to
  1482. CORE_ADDR.
  1483. * language.h (local_octal_string, local_octal_string_custom):
  1484. Remove prototype, the functions are neither defined nor used.
  1485. * mipsread.c (parse_symbol): Use temporary variable for bitsize as
  1486. f->bitsize is a long now.
  1487. * objfiles.c (add_to_objfile_sections, build_objfile_section_table):
  1488. Use unsigned long casts instead of int for abusing sections_end
  1489. pointer as integer.
  1490. * stack.c (parse_frame_specification): Change type of `args' to
  1491. CORE_ADDR for SETUP_ARBITRARY_FRAME.
  1492. * printcmd.c (make_vasize): Allow redefinition via MAKEVA_SIZE.
  1493. * mipsread.c (parse_type): Alpha cc now supports the t->continued
  1494. bit, update algorithm to match the way the compiler uses it.
  1495. Tue Sep 28 12:05:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1496. * utils.c (fprintfi_filtered): Fix comments.
  1497. Mon Sep 27 18:10:08 1993 Stu Grossman (grossman at cygnus.com)
  1498. * coffread.c (read_coff_symtab): Don't call getfilename if there
  1499. are no auxents.
  1500. Mon Sep 27 10:22:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1501. * symtab.c (find_pc_line): Fix comments.
  1502. * remote-udi.c (udi_mourn): Don't pop target.
  1503. Fri Sep 24 17:25:41 1993 Stu Grossman (grossman at cygnus.com)
  1504. * corelow.c: Add multi thread/process support for core files with
  1505. .reg/XXX pseudo-sections.
  1506. * i386lynx-nat.c thread.h thread.c: Remove unnecessary core file
  1507. support.
  1508. Thu Sep 23 10:49:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1509. * remote-udi.c (download): Skip zero length sections.
  1510. * valops.c (search_struct_method, value_struct_elt):
  1511. Use (value)-1, not -1, for error.
  1512. * infcmd.c (step_1), infrun.c (wait_for_inferior): Add comments
  1513. about SHIFT_INST_REGS.
  1514. * exec.c (exec_file_command): Set text_end based on all code readonly
  1515. sections, not just ".text".
  1516. * defs.h, infcmd.c, config/z8k/tm-z8k.h, config/m88k/tm-m88k.h,
  1517. config/sh/tm-sh.h, config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
  1518. z8k-tdep.c: Remove all references to ADDR_BITS_SET.
  1519. * config/m88k/tm-m88k.h: Define TARGET_WRITE_PC.
  1520. * config/m88k/tm-m88k.h, m88k-tdep.c: Add call function stuff.
  1521. Thu Sep 23 00:13:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1522. * config/mips/tm-mips.h (STORE_STRUCT_RETURN): Define as noop as
  1523. the pushing of the struct return address is already handled in
  1524. mips_push_arguments.
  1525. * mips-tdep.c (reinit_frame_cache_sfunc): Fix typo in prototype
  1526. declaration.
  1527. * mipsread.c (parse_symbol, parse_type, upgrade_type): Add more
  1528. sanity checks for corrupt symbol entries to avoid core dumps
  1529. reported by benson@odi.com. Obviously Ultrix 4.3A cc now has
  1530. the same problems as the OSF/1 alpha cc.
  1531. * mipsread.c (parse_lines): Iterate over the range of the compressed
  1532. line number entries, the old iteration sometimes failed to stop
  1533. and wrote past the end of the LINETABLE. Add sanity check to avoid
  1534. the same problem in case the line number info is corrupt.
  1535. * mipsread.c (parse_procedure): Adjust pdr for alpha __sigtramp.
  1536. * mipsread.c (parse_external, parse_partial_symbols): Ignore stNil
  1537. symbols that are produced for statics in .o files and stLocal symbols
  1538. that are produced for every section in OSF/1 dynamically linked
  1539. executables.
  1540. * mipsread.c (psymtab_to_symtab_1): Put out `undefined symbols'
  1541. warning only under `verbose on' as there are many undefined symbols
  1542. in a dynamically linked executable.
  1543. Wed Sep 22 10:28:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1544. * config/i960/nindy960.mt: Don't define REMOTE_O; REMOTE_O was
  1545. intended only for VxWorks. Remove dcache.o from TDEPFILES now
  1546. that we pick it up from the default REMOTE_O.
  1547. * breakpoint.c (bpstat_what): Initialize retval.call_dummy and
  1548. retval.step_resume.
  1549. * mips-tdep.c (mips_frame_chain): If frame size zero, return zero.
  1550. * rs6000-tdep.c: Add comment about framelessness.
  1551. * remote-nindy.c: Declare ninMemGet and ninMemPut.
  1552. Wed Sep 22 08:02:57 1993 Stu Grossman (grossman at cygnus.com)
  1553. * Makefile.in: Add i386lynx-tdep to the right places.
  1554. (TARDIRS): Add gdbserver.
  1555. * exec.c (print_section_info): Print entry point.
  1556. * i386lynx-nat.c (i386lynx_saved_pc_after_call): Move into
  1557. i386lynx-tdep.c. Add core file support.
  1558. * i386lynx-tdep.c: New module for Lynx/386 target dependant code.
  1559. * maint.c: Add `maint info sections' command to print info about all
  1560. sections that BFD knows about for exec and core files.
  1561. * sparc-tdep.c (sparc_push_dummy_frame): Update stack pointer
  1562. before putting frame on the stack. Consolidate writes to reduce
  1563. traffic for remote debugging.
  1564. * config/i386/i386lynx.mh (NATDEPFILES): Remove exec.o.
  1565. * config/i386/i386lynx.mt (TDEPFILES): Add exec.o, i386lynx-tdep.o.
  1566. * config/i386/nm-i386lynx.h: Add target_pid_to_str().
  1567. * config/i386/tm-i386lynx.h: Remove target_pid_to_str().
  1568. * sparclite/Makefile.in: Add deps to keep Sun make happy.
  1569. Tue Sep 21 17:48:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1570. * breakpoint.h, breakpoint.c (bpstat_stop_status): Add new argument
  1571. not_a_breakpoint.
  1572. * infrun.c (wait_for_inferior): Pass it. Also consolidate the
  1573. test of whether we are stepping into a CURRENTLY_STEPPING macro.
  1574. Tue Sep 21 17:22:34 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  1575. * breakpoint.c (bpstat_stop_status),
  1576. infcmd.c (step_1),
  1577. infrun.c (wait_for_inferior): collapse SHIFT_INST_REGS ifdef
  1578. and insert macro.
  1579. * m88k-tdep.c: include ieee-float.h. new global target_is_m88110.
  1580. new const struct ext_format_m88110 for float format.
  1581. (pic_prologue_code): add braces.
  1582. (next_insn): remove unused variable buf.
  1583. (frame_find_saved_regs): remove unused variables next_addr,
  1584. saved_regs, regnum.
  1585. (frame_locals_address): remove unused variables frame, ap.
  1586. (frame_args_address): remove unused variables frame, ap.
  1587. (push_parameters): add some breaks and a default case.
  1588. * remote-bug.c: remove redundant includes of value.h, target.h,
  1589. serial.h.
  1590. (bug_open): corrected typo, sr_multi_scan -> gr_multi_scan.
  1591. (bug_fetch_register): special case sfip register for m88110.
  1592. remove flag bit masking of pc registers. This should be handled
  1593. by the ADDR_BITS_* macros.
  1594. (bug_store_register): special case sfip register for m88110.
  1595. Corrected sprint format for extended registers.
  1596. * config/m88k/tm-m88k.h: white space and comment changes. include
  1597. ieee-float.h. expanded to cope with m88110 extended registers.
  1598. (R0_REGNUM, XFP_REGNUM, X0_REGNUM): new macros.
  1599. (SHIFT_INST_REGS): becomes a real macro.
  1600. Tue Sep 21 17:48:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1601. * breakpoint.c (breakpoint_1): Support bp_call_dummy.
  1602. Tue Sep 21 17:06:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  1603. * elfread.c (record_minimal_symbol_and_info): Guess the section to
  1604. use from the type.
  1605. * objfiles.c: Include gdb-stabs.h for SECT_* macros.
  1606. (objfile_relocate): Relocate textlow and texthigh in psymtabs.
  1607. Relocate partial symbols. Check that minimal SYMBOL_SECTION is
  1608. nonnegative before using it.
  1609. * symtab.h: Adjust section field comment.
  1610. * remote.c (interrupt_query): New function.
  1611. (remote_interrupt_twice): Call interrupt_query.
  1612. (putpkt, getpkt): If quit_flag is set, call interrupt_query.
  1613. (remote_wait): Don't bother with objfile_relocate if the addresses
  1614. haven't changed.
  1615. (remote_fetch_registers): If we see a packet that doesn't start
  1616. with a hex character, fetch a new one.
  1617. Tue Sep 21 11:44:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1618. * remote.c, remote-utils.c: Use SERIAL_FLUSH_INPUT after opening it.
  1619. * printcmd.c (print_scalar_formatted): When truncating value we are
  1620. going to print as unsigned, handle it generally for any length
  1621. less than sizeof (LONGEST), rather than special-casing sizeof (char),
  1622. sizeof (short), and sizeof (long). Clarify comment on what this
  1623. is for.
  1624. * symfile.c (deduce_language_from_filename): Accept .cxx for C++.
  1625. * buildsym.c (start_subfile): Use deduce_language_from_filename
  1626. rather than checking for .C or .cc ourself.
  1627. Mon Sep 20 14:53:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1628. * defs.h: Declare argument of re_comp as const char *.
  1629. * remote.c, remote-mips.c: Use sr_get_debug not remote_debug.
  1630. * README: Say using bfd from another release doesn't generally work.
  1631. Sat Sep 18 10:13:18 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
  1632. * mipsread.c (parse_type): Don't complain() if we guessed struct
  1633. and it was a union, or vice versa.
  1634. * defs.h (make_cleanup): Change PTR to void * when inside PARAMS.
  1635. Some of the following is in #ifdef CALL_DUMMY_BREAKPOINT_OFFSET.
  1636. * breakpoint.h (enum bptype): Add bp_call_dummy.
  1637. (struct bpstat_what): Add call_dummy field.
  1638. * infrun.c (wait_for_inferior): Deal with it.
  1639. * breakpoint.c (bpstat_what): Deal with call dummy breakpoint.
  1640. * infcmd.c (run_stack_dummy): Set the call dummy breakpoint.
  1641. * config/sparc/tm-sparc.h: Define CALL_DUMMY_BREAKPOINT_OFFSET.
  1642. * remote-sim.h: New file.
  1643. * remote-sim.c: Add remote debug feature. Rename stuff to distinguish
  1644. interface to simulator from gdb-specific stuff. Other changes.
  1645. * remote-sp64sim.c: Renamed to remote-sim.c.
  1646. Use sr_get_debug instead of our own sim_verbose/simif_snoop.
  1647. Use gnutarget in call to bfd_openr.
  1648. Rename simif_* to gdbsim_*.
  1649. * config/sparc/sp64sim.mt: Change remote-sp64sim.c to remote-sim.c.
  1650. Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1651. * findvar.c (extract_signed_integer): Cast *p to LONGEST before doing
  1652. the xor and subtract. Otherwise it will not sign extend if the type
  1653. of LONGEST is larger than int.
  1654. * cp-valprint.c (cp_print_class_method): Inhibit core dump if
  1655. domain is an undefined cross reference.
  1656. * valops.c (call_function_by_hand): Set real_pc to correct
  1657. value if CALL_DUMMY_LOCATION != ON_STACK.
  1658. Thu Sep 16 20:37:06 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
  1659. * config/a29k/tm-a29k.h (FRAME_CHAIN): If rsize is zero, return zero.
  1660. Thu Sep 16 13:16:22 1993 Stu Grossman (grossman at cygnus.com)
  1661. * infrun.c (wait_for_inferior): Allow user to single step within
  1662. a stack dummy.
  1663. Thu Sep 16 12:34:01 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
  1664. * dbxread.c (copy_pending): Deal with END NULL.
  1665. (process_one_symbol): Add comments about what common_block NULL means.
  1666. Wed Sep 15 14:50:26 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
  1667. * remote-udi.c, remote-adapt.c, remote-mm.c: Move processor_type
  1668. to tm-a29k.h and a29k-tdep.c and make it an enum.
  1669. * a29k-tdep.c (a29k_get_processor_type): New function. Fix many
  1670. aspects of how we detected the processor type.
  1671. * remote-udi.c, remote-adapt.c, remote-mm.c (*_open): Call it
  1672. rather than figuring out the type ourselves.
  1673. Thu Sep 16 12:12:59 1993 Stu Grossman (grossman at cygnus.com)
  1674. * sparc-stub.c (_trap_low): Do restore/save sequence after
  1675. setting sp to ensure that we load the previous window from the
  1676. right place on the stack.
  1677. Thu Sep 16 00:36:32 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1678. * mipsread.c: Many changes for alpha ecoff format:
  1679. Correct sizeof(int) == sizeof(long) assumptions.
  1680. Replace stParsed hack by putting the parsed types on the pending chain.
  1681. Replace mips specific ecoff mapping by ECOFF_REG_TO_REGNUM macro,
  1682. provide default for cross debugging.
  1683. Swapping the symbol back is no longer needed as the symbol is not
  1684. modified anymore.
  1685. Add new alpha basic types, handle btTypedef, handle stStaticProc
  1686. external symbols .
  1687. Update and clean up cross_ref for alpha cc cross ref variations.
  1688. Allocate types on the type_obstack to inhibit storage leaks.
  1689. * config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM): Define.
  1690. * gdbtypes.c (recursive_dump_type): Dump TYPE_TAG_NAME if it is set.
  1691. Tue Sep 14 09:12:17 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
  1692. * stabsread.c (read_type): Process "s" (size) type attribute.
  1693. If type is defined to another type, copy the type.
  1694. Tue Sep 14 18:37:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  1695. * config/i386/i386v4.mh (NATDEPFILES): Move exec.o from here...
  1696. * config/i386/i386v4.mt (TDEPFILES): ...to here.
  1697. Tue Sep 14 12:21:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  1698. * Makefile.in (remote_utils_h): add serial.h and target.h.
  1699. (main.o, remote-es.o, remote-nindy.o, remote.o): remove target.h
  1700. (already in remote_utils_h).
  1701. (remote-utils.o): new rule.
  1702. * remote-utils.h: include serial.h.
  1703. * serial.h: ifdef protect from multiple inclusion.
  1704. * remote.c, remote-nindy.c, remote-mon.c, remote-es.c: include
  1705. remote-utils.h.
  1706. * remote.c (remote_open), remote-nindy.c (nindy_open,
  1707. nindy_files_info), remote-mon.c (general_open), remote-es.c
  1708. (es1800_open): use remote-utils facilities for baud rate.
  1709. Tue Sep 14 09:12:17 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
  1710. * paread.c, coffread.c, elfread.c, dwarfread.c:
  1711. Include <time.h> and <sys/types.h> before libbfd.h.
  1712. * paread.c: Define BYTES_IN_WORD before including aout/aout64.h.
  1713. * Makefile.in (a29k-tdep.o): Depend on $(defs_h).
  1714. * config/a29k/tm-a29k.h (SAVED_PC_AFTER_CALL): Use gr122 not lr0
  1715. if this is a transparent procedure.
  1716. Mon Sep 13 16:06:43 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
  1717. * remote.c: Define remote_debug to 0 and #if 0 baud_rate. Temporary
  1718. hack so this file compiles again.
  1719. * remote-utils.c (gr_multi_scan): Cast return value from alloca.
  1720. (gr_multi_scan): #if 0 never-reached return(-1).
  1721. * remote-udi.c (udi_wait): Return inferior_pid not 0.
  1722. Mon Sep 13 14:14:35 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  1723. Collect some remote things into remote-utils.
  1724. * remote-utils.[ch]: new files of functions collected from several
  1725. different remote targets.
  1726. * Makefile.in (REMOTE_O): add remote-utils.o.
  1727. (dcache_h, remote_utils_h): new macros.
  1728. (HFILES): add $(remote_utils_h).
  1729. (ALLDEPFILES): add $(remote_utils_h).
  1730. (dcache.o): new rule.
  1731. (main.o, remote-bug.o): also depend on $(remote_utils_h).
  1732. * target.h (remote_debug): extern moved to remote-utils.h.
  1733. * target.c (find_default_run_target, find_core_target): initialize
  1734. runable.
  1735. (remote_debug): moved to remote-utils.c.
  1736. (_initialize_targets): move declaration of user variable
  1737. remotedebug to remote-utils.c.
  1738. * remote-bug.c: include remote-utils.h rather than dcache.h.
  1739. (bug_close, bug_write, bug_write_cr, desc, bug_dcache, timeout,
  1740. dev_name, check_open, is_open, readchar, readchar_nofail,
  1741. pollchar, expect, expect_prompt, get_hex_digit, get_hex_byte,
  1742. get_hex_word, bug_kill, bug_detach, bug_create_inferior,
  1743. multi-scan, bug_prepare_to_store, bug_fetch_word,
  1744. bug_store_word, bug_files_info, bug_mourn, bug_com, bug_device,
  1745. bug_speed): removed and replaced with facilities from
  1746. remote-utils.[ch].
  1747. (bug_read_inferior_memory): renamed to bug_read_memory.
  1748. (bug_write_inferior_memory): renamed to bug_write_memory.
  1749. (bug_xfer_inferior_memory): renamed to bug_xfer_memory.
  1750. (get_word): comment out this unused function for now.
  1751. (bug_settings, cpu_check_strings): new statics.
  1752. (bug_open): rewritten to use gr_open.
  1753. (_initialize_remote_bug): remove declarations of commands bug,
  1754. device, speed.
  1755. * main.c: include remote-utils.h.
  1756. (baud_rate): removed to remote-utils.c.
  1757. (main): handle baud rate settings using new facilities from
  1758. remote-utils.
  1759. * defs.h (baud_rate): removed extern.
  1760. m88110 support via bug-197 monitor.
  1761. * remote-bug.c (get_reg_name, bug_fetch_register,
  1762. bug_store_register): added m88110 extended register support.
  1763. (wait_strings): added bug-197 prompt.
  1764. (bug_wait): cope with bug-197 prompt.
  1765. (start_load): cope with either bug-197 or bug-187 prompt.
  1766. Mon Sep 13 12:53:09 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
  1767. * inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses of
  1768. pc_changed. If it was ever set to a non-zero value, it was before
  1769. GDB 2.8. It doesn't seem to have any useful function.
  1770. * defs.h: Don't define NORETURN (see comment).
  1771. Sat Sep 11 10:46:09 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
  1772. * m88k-nat.c (fill_gregset): Set r31 and sfip.
  1773. Thu Sep 9 10:18:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1774. * remote-udi.c (udi_wait, case UDIStdinNeeded): Use a loop calling
  1775. getchar() (terminated only on '\n') instead of scanf. Send the
  1776. '\n' which terminates it to the remote system.
  1777. More gcc lint:
  1778. * exec.c (ignore): Return 0.
  1779. * stack.c (return_command): Fetch lazy value directly, not via
  1780. VALUE_CONTENTS, to avoid "value computed is not used".
  1781. * inflow.c (new_tty): Move osigttou inside #if.
  1782. * remote.c (remote_fetch_registers): If remote reply is short, just
  1783. note that fact and keep going (reading extra registers as all bits 0).
  1784. (remote_store_registers): Send number of registers that were found
  1785. by remote_fetch_registers.
  1786. * m68k-tdep.c, config/m68k/tm-m68k.h, config/m68k/tm-*.h: Remove
  1787. HAVE_68881. Define CANNOT_STORE_REGISTER if ptrace() can't write
  1788. floating registers.
  1789. * config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt,tm-m68k-fp.h,m68k-fp.mt}:
  1790. Remove, replaced by {tm-m68k-em.h,m68k-em.mt}.
  1791. * Makefile.in, configure.in: Change accordingly.
  1792. Thu Sep 9 04:59:03 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1793. * mipsread.c (cross_ref): Allow SGI extended symbol types as cross
  1794. reference targets.
  1795. * symmisc.c (print_symbol): Use TYPE_TAG_NAME not TYPE_NAME to avoid
  1796. printing of identities.
  1797. Wed Sep 8 19:18:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1798. * breakpoint.c (breakpoint_1): Deal with step resume breakpoint.
  1799. Wed Sep 8 13:01:10 1993 K. Richard Pixley (rich@cygnus.com)
  1800. Gcc lint.
  1801. * config/m88k/tm-m88k.h (frame_find_saved_regs): prototype.
  1802. * config/h8300/tm-h8300.h (NUM_REGS): rewrite to avoid nested comment.
  1803. * blockframe.c (get_prev_frame_info): initialize address.
  1804. * breakpoint.c (bpstat_copy): initialize retval.
  1805. (bpstat_stop_status): initialize value_is_zero.
  1806. (bpstat_what): initialize bs_class.
  1807. (breakpoint_1, mention): add do-nothing case for bp_step_resume.
  1808. (break_command_1): initialize cond_end, addr_end, &
  1809. canonical_strings_chain.
  1810. (enable_breakpoint): initialize save_selected_frame.
  1811. * buildsym.c (end_symtab): initialize symtab & linetablesize.
  1812. * c-exp.y (parse_number): initialize i.
  1813. * c-typeprint.c (c_type_print_varspec_prefix): include
  1814. TYPE_CODE_BITSTRING in switch statements and do nothing.
  1815. * c-valprint.c (c_val_print): removed unused variable c.
  1816. * ch-valprint.c (chill_val_print): removed unused variable eltlen.
  1817. * cp-valprint.c (cp_print_class_method): initialize f & j.
  1818. * eval.c (evaluate_subexp): initialize pc2, arg1, arg2.
  1819. * expprint.c (print_subexp): initialize myprec, assoc, & tempstr.
  1820. * findvar.c (value_from_register): initialize first_addr.
  1821. * gdbtypes.c (lookup_struct_elt_type): localize use of temporary
  1822. variable typename.
  1823. * infcmd.c (run_stack_dummy): return zero rather than simple
  1824. return.
  1825. * infrun.c (wait_for_inferior): initialize stop_sp, prologue_pc.
  1826. remove symtab, appears unused.
  1827. (restore_selected_frame): return 1.
  1828. * mipsread.c (psymtab_to_symtab_1): initialize first_off.
  1829. (fixup_sigtramp): initialize b0.
  1830. * printcmd.c (do_examine): initialize val_type.
  1831. (print_frame_args): initialize b.
  1832. * ser-tcp.c (tcp_restore): comment out declaration. Appears
  1833. unused.
  1834. * ser-unix.c (hardwire_restore): comment out declaration. Appears
  1835. unused.
  1836. (hardwire_send_break): moved variable status into ifdef
  1837. HAVE_SGTTY.
  1838. (wait_for): moved variable numfds into ifdef HAVE_SGTTY.
  1839. * serial.h: comment change only.
  1840. * stabsread.c (rs6000_builtin_type): initialize rettype.
  1841. (read_range_type): initialize nbits.
  1842. * stack.c (print_frame_info): remove unused variable numargs.
  1843. (parse_frame_specification): remove unused variables arg1, arg2,
  1844. arg3.
  1845. (return_command): initialize return_value.
  1846. * symfile.c (cashier_psymtab): initialize pprev.
  1847. * symtab.c (find_pc_psymbol): initialize best.
  1848. (lookup_symbol): initialize s.
  1849. (make_symbol_completion_list): initialize quote_pos.
  1850. * thread.c: include command.h.
  1851. (thread_info): static declaration removed; unused.
  1852. (info_threads_command): fix == vs = typo.
  1853. * typeprint.c (whatis_exp): initialize old_chain.
  1854. * valprint.c (val_print_string): remove unused variable
  1855. first_addr_err. Initialize old_chain.
  1856. (_initialize_valprint): white space comment change.
  1857. * values.c (show_values): rewrite if statement to avoid empty
  1858. body.
  1859. (vb_match): remove unused variable fieldtype_target_type.
  1860. Wed Sep 8 10:21:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1861. * Makefile.in (mipsread.o): Depend on $(bfd_h).
  1862. Tue Sep 7 13:06:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1863. * gdbserver/Makefile.in (TAGS): config files are in
  1864. $(srcdir)/../config, not $(srcdir)/config.
  1865. * config/pa/tm-hppa.h: Declare target_read_pc and target_write_pc.
  1866. (STORE_RETURN_VALUE): Pass the correct offset of the return
  1867. register to write_register_bytes.
  1868. * hppa-tdep.c: Use target_write_pc if PCOQ_TAIL_REGNUM was not saved.
  1869. Tue Sep 7 14:30:34 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  1870. * remote.c (remote_wait): Don't call error. Instead, call warning
  1871. inside a loop. User can ^C to get out.
  1872. * config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swapping
  1873. routine to match BFD name change.
  1874. * config/z8k/tm-z8k.h (FIX_CALL_DUMMY): Likewise.
  1875. Mon Sep 6 15:01:57 1993 Jeffrey Wheat (cassidy@cygnus.com)
  1876. * elfread.c: change elf32_symbol_type to elf_symbol_type
  1877. Mon Sep 6 15:43:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  1878. * remote.c (remote_wait): Added 'W' and 'N' responses.
  1879. Fri Sep 3 08:57:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1880. * main.c, utils.c: Add comments about immediate_quit.
  1881. * elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
  1882. to minimal symbols.
  1883. * target.c (pop_target): Don't try to deal with the stack becoming
  1884. empty. Shouldn't happen and the code that tried was broken.
  1885. * dcache.c: Cast return value from xmalloc.
  1886. * remote.c: Move setting of immediate_quit from remote_open to
  1887. remote_start_dummy and set it back to zero when done.
  1888. Thu Sep 2 00:07:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1889. * m88k-tdep.c: Remove a bunch of unused #includes.
  1890. * language.h: Add comment about current_language.
  1891. * mips-tdep.c (_initialize_mips_tdep): Change heuristic-fence-post
  1892. from var_uinteger to var_zinteger.
  1893. * configure.in: Fix typo (delta88r4 -> delta88v4).
  1894. * config/m88k/xm-delta88.h: Don't include sys/siginfo.h. It was
  1895. to make this work on SVR4 before SVR4 had its own configuration,
  1896. and it breaks SVR3.
  1897. * config/m88k/tm-delta88v4.h: Define FRAME_CHAIN_VALID_ALTERNATE.
  1898. * config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o.
  1899. * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
  1900. * config/m88k/m88k.mh: Use xm-dgux.h.
  1901. * config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
  1902. MAKEVA_END and MAKEVA_ARG.
  1903. * config/m88k/xm-*.h: Include m88k/xm-m88k.h.
  1904. * printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
  1905. Wed Sep 1 19:31:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1906. * remote-udi.c (udi_wait): Call `warning' not `error'.
  1907. * symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
  1908. demangling, don't put the mangled form in the completion list.
  1909. * symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
  1910. symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c
  1911. partial-stab.h, symmisc.c, gdbtypes.c: Lint. Remove (or put
  1912. inside #if) unused variables and labels. Fix unclosed comment.
  1913. Deal with enumeration values unhandled in switch statements. Make
  1914. sure non-void functions return values. Include appropriate
  1915. headers.
  1916. * dbxread.c (elfstab_build_psymtabs): Don't check for unsigned
  1917. value < 0.
  1918. Wed Sep 1 14:36:00 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  1919. * i960-tdep.c, ns32k-pinsn.c, remote-adapt.c, xcoffread.c:
  1920. index -> strchr.
  1921. Wed Sep 1 11:35:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1922. * remote.c: Add comment explaining why dcache is disabled.
  1923. (remote_fetch_word, remote_store_word): Make static and #if 0.
  1924. They are not called from anywhere.
  1925. Wed Sep 1 14:41:28 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  1926. * arm-tdep.c, convex-tdep.c, convex-xdep.c, dbxread.c,
  1927. h8300-tdep.c, h8500-tdep.c, i960-pinsn.c, i960-tdep.c,
  1928. infptrace.c, m88k-tdep.c, mips-tdep.c, regex.c, remote-vx.c,
  1929. rs6000-tdep.c, xcoffexec.c, xcoffread.c, z8k-tdep.c,
  1930. config/arm/tm-arm.h, config/convex/tm-convex.h,
  1931. config/gould/tm-np1.h, config/gould/tm-pn.h,
  1932. config/m68k/tm-isi.h, config/ns32k/tm-umax.h,
  1933. config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
  1934. config/rs6000/tm-rs6000.h, config/tahoe/tm-tahoe.h,
  1935. config/vax/tm-vax.h: bzero -> memset.
  1936. * regex.c: bcmp -> memcmp.
  1937. Wed Sep 1 11:35:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  1938. * symtab.c (find_pc_line, find_line_common),
  1939. symtab.h (struct linetable), xcoffread.c (arrange_linetable):
  1940. Revise comments re linetable sorting.
  1941. * buildsym.c (compare_line_numbers): Sort by pc, not by line.
  1942. * coffread.c: Tell end_symtab to sort the line table.
  1943. * coffread.c: Re-work a lot of the coff-specific stuff to use stuff
  1944. in buildsym.c. This includes coff_finish_block, coff_context_stack,
  1945. coff_local_symbols, coff_file_symbols, coff_global_symbols,
  1946. coff_end_symtab and coff_add_symbol_to_list.
  1947. (read_enum_type): Deal with it now that we have a "struct pending"
  1948. not a "struct coff_pending".
  1949. * buildsym.c (end_symtab): Don't realloc subfile->linetable.
  1950. Wed Sep 1 13:12:43 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  1951. * a68v-nat.c, altos-xdep.c, convex-tdep.c, convex-xdep.c,
  1952. findvar.c, hppab-nat.c, hppah-nat.c, i386mach-nat.c,
  1953. irix4-nat.c, m68k-tdep.c, m88k-tdep.c, mipsread.c, regex.c,
  1954. remote-bug.c, remote-hms.c, rs6000-nat.c, rs6000-tdep.c,
  1955. sparc-nat.c, stabsread.c, sun3-nat.c, sun386-nat.c, symfile.c,
  1956. umax-xdep.c, xcoffread.c, 29k-share/udi/udip2soc.c,
  1957. 29k-share/udi/udr.c, config/a29k/tm-a29k.h, config/arm/tm-arm.h,
  1958. config/convex/tm-convex.h, config/gould/tm-np1.h,
  1959. config/gould/tm-pn.h, config/h8300/tm-h8300.h,
  1960. config/h8500/tm-h8500.h, config/i386/tm-i386aix.h,
  1961. config/i386/tm-sun386.h, config/i386/tm-symmetry.h,
  1962. config/i960/tm-i960.h, config/m68k/tm-news.h,
  1963. config/m88k/tm-m88k.h, config/mips/tm-mips.h,
  1964. config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
  1965. config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
  1966. config/rs6000/tm-rs6000.h, config/sh/tm-sh.h,
  1967. config/tahoe/tm-tahoe.h, config/vax/tm-vax.h,
  1968. config/z8k/tm-z8k.h, nindy-share/nindy.c: bcopy -> memcpy.
  1969. Wed Sep 1 05:05:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1970. * mipsread.c (parse_partial_symbols): Use language from FDR if it
  1971. is unambigous. Patch from ptf@delcam.co.uk (Paul Flinders).
  1972. * mipsread.c (ecoff_symfile_info): New struct to hold the global
  1973. pending_list.
  1974. * mipsread.c (mipscoff_symfile_init, parse_partial_symbols):
  1975. Allocate the global pending list and link it to the objfile.
  1976. * mipsread.c (is_pending_symbol, add_pending): Use global pending
  1977. list from objfile. Allocate pending list entries from the
  1978. psymbol_obstack.
  1979. * mipsread.c (free_pending): Remove. The pending list is now
  1980. freed when the psymbol_obstack is freed.
  1981. * mipsread.c (psymtab_to_symtab1): Remove pending list allocation,
  1982. the global pending list is used now.
  1983. * mipsread.c (parse_partial_symbols): Skip only the first
  1984. file indirect entry when building the dependency list.
  1985. Tue Aug 31 15:01:27 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  1986. Break dcache code out of remote.c.
  1987. * dcache.h: white space changes only.
  1988. * dcache.c: add user settable variable to set whether data caching
  1989. is in use.
  1990. * remote.c: include dcache.h. removed data caching code which is
  1991. now in dcache.c. Compile in data caching again. (data caching
  1992. is currently off by default.)
  1993. (remote_read_bytes, remote_write_bytes): change second arg to
  1994. unsigned char.
  1995. (remote_dcache): new static variable.
  1996. * Makefile.in (REMOTE_O): add dcache.o.
  1997. * config/m88k/m88k.mt (TDEPFILES): removed dcache.o.
  1998. Break dcache code out of remote-nindy.c.
  1999. * remote-nindy.c: removed dcache code. Changed callers to use new
  2000. conventions. include dcache.h.
  2001. (nindy_dcache): new static variable.
  2002. * config/i960/nindy960.mt (TDEPFILES): added dcache.o.
  2003. Break dcache code out of remote-bug.c into dcache.[hc].
  2004. * Makefile.in (dcache_h): new macro.
  2005. (HFILES): added $(dcache_h).
  2006. (ALLDEPFILES): added dcache.c.
  2007. (dcache.o): new rule.
  2008. (remote-bug.o): now depends on $(dcache_h).
  2009. * remote-bug.c: include dcache.h. remove externs for insque and
  2010. remque, add extern for bcopy. Prototype bug_close,
  2011. bug_clear_breakpoints, bug_write_cr. dcache code moved to
  2012. dcache.[hc]. Changed dcache calling convention to include an
  2013. initial DCACHE argument.
  2014. (bug_dcache): new static variable.
  2015. (bug_read_inferior_memory): change second arg to
  2016. unsigned char.
  2017. * dcache.[ch]: new files.
  2018. * config/m88k/m88k.mt (TDEPFILES): add dcache.o.
  2019. Tue Aug 31 10:33:13 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2020. * c-typeprint.c (c_print_type_base): Treat show = 0 just like
  2021. show < 0. The only case where we had been distinguishing is that
  2022. show = 0 used to print "struct " or "enum " instead of
  2023. "struct {...}" or "enum {...}" which seems clearly wrong.
  2024. Mon Aug 30 17:51:32 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  2025. * configure.in: recognize m88110 as an m88k.
  2026. Mon Aug 30 16:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2027. * valops.c (call_function_by_hand): If we discard cleanups, call
  2028. bpstat_clear (&inf_status.stop_bpstat).
  2029. Mon Aug 30 12:47:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2030. * stabsread.h, dbxread.c (end_psymtab): Return NULL if the psymtab
  2031. was empty and thrown away.
  2032. * mipsread.c (parse_partial_symbols): Do not add empty psymtabs to
  2033. dependency list, skip self dependencies.
  2034. * mipsread.c (parse_fdr): Removed, obsolete.
  2035. * mipsread.c (parse_lines): Check for cbLine being zero, not
  2036. cbLineOffset.
  2037. * mipsread.c (struct symloc): Add pst_language.
  2038. * mipsread.c (parse_partial_symbols): Set up proper language for
  2039. header files, save it in pst_language for psymtab_to_symtab_1.
  2040. * mipsread.c (psymtab_to_symtab_1): Use pst_language.
  2041. Mon Aug 30 10:48:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2042. * configure.in: Fix typo m88*-motorola-svr4* -> sysv4*.
  2043. Fri Aug 27 17:09:19 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  2044. * paread.c: Include som.h instead of libhppa.h. (From Utah.)
  2045. Fri Aug 27 09:30:40 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
  2046. * symmisc.c (dump_symtab): Use catch_errors around print_symbol.
  2047. Change calling sequence of print_symbol to fit catch_errors.
  2048. * mips-tdep.c: Call reinit_frame_cache every time the user does
  2049. "set heuristic-fence-post".
  2050. * gdbserver/low-sun3.c: New file.
  2051. * gdbserver/Makefile.in, config/m68k/sun3.mh: Change accordingly.
  2052. * Rename files for 14-character limits:
  2053. gdbserver/remote-gutils.c -> gdbserver/utils.c
  2054. gdbserver/remote-inflow.c -> gdbserver/low-lynx.c
  2055. gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c
  2056. gdbserver/remote-server.c -> gdbserver/server.c
  2057. remote-monitor.c -> remote-mon.c
  2058. * Makefile.in, gdbserver/Makefile.in, gdbserver/configure.in,
  2059. config/m68k/monitor.mt, config/i386/i386lynx.mh,
  2060. config/sparc/sun4os4.mh: Change accordingly.
  2061. * gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.
  2062. Thu Aug 26 14:32:51 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2063. * infcmd.c, inferior.h (run_stack_dummy): If we stop somewhere
  2064. besides the dummy, return 1 rather than calling error().
  2065. Let caller print the error message. Remove name argument.
  2066. * valops.c (call_function_by_hand): Deal with changes to calling
  2067. sequence of run_stack_dummy. Discard restore_inferior_status cleanup
  2068. if run_stack_dummy returns 1.
  2069. * Version 4.10.2.
  2070. * config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
  2071. Get struct return address from v0, not a0.
  2072. * infrun.c (restore_inferior_status): Use catch_errors when
  2073. restoring selected frame.
  2074. Wed Aug 25 21:52:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2075. * infrun.c (save_inferior_status, restore_inferior_status):
  2076. Save and restore the registers too.
  2077. * inferior.h (struct inferior_status): Add "registers".
  2078. Tue Aug 24 00:36:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2079. * dbxread.c (end_psymtab): Clean up comment.
  2080. * frame.h, symtab.h, findvar.c (read_var_value): Change basereg
  2081. support to use LOC_BASEREG rather than SYMBOL_BASEREG_VALID.
  2082. * dwarfread.c: Use LOC_BASEREG where appropriate.
  2083. * Various: Support LOC_BASEREG and LOC_BASEREG_ARG.
  2084. * coffread.c (init_lineno, init_stringtab): Don't check whether
  2085. xmalloc returned NULL.
  2086. * config/vax/xm-vaxult.h: Define NO_PTRACE_H.
  2087. * target.c, target.h: Add "set remotedebug" command.
  2088. * remote-bug.c, remote.c, remote-mips.c: Remove "set remotedebug" and
  2089. "set m88ksnoop" options and use generic "set remotedebug" instead.
  2090. * NEWS: Describe this change.
  2091. Mon Aug 23 20:26:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2092. * buildsym.h: Remove declaration of dbxread.c functions.
  2093. * stabsread.h: Group together dbxread.c functions.
  2094. Move elfstab_build_psymtabs here from symfile.h.
  2095. Declare pastab_build_psymtabs.
  2096. * elfread.c, paread.c: Include stabsread.h (for stabsread_new_init
  2097. declaration, etc).
  2098. Mon Aug 23 17:16:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  2099. * remote-bug.c: rename quiet to bug88k_snoop.
  2100. (double_scan, multi_scan): generalize double_scan into a scan
  2101. for multiple patterns. Rename to multi_scan.
  2102. (bug_wait, bug_write_inferior_memory): adapt to use the new
  2103. multi_scan in order to catch and represent target bus errors.
  2104. (bug_scan): currently unused, so comment out.
  2105. (bug_quiet): removed. Replaced with a standard user settable boolean.
  2106. * m88k-tdep.c: remove include of sys/dir.h. Appears unnecessary
  2107. and isn't available on solaris.
  2108. Mon Aug 23 14:56:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2109. * config/m88k/{delta88v4.mt,delta88v4.mh}: New files
  2110. * config/m88k/delta88.mh: Fix comment.
  2111. * config/m88k/tm-delta88.h: Remove unused BCS define.
  2112. * config/m88k/{tm-delta88v4.h,xm-delta88v4.h,nm-delta88v4.h}:
  2113. New files.
  2114. * configure.in: Recognize m88*-motorola-sysv4*.
  2115. * m88k-nat.c: Always include sys/types.h; don't depend on USG.
  2116. Mon Aug 23 12:57:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2117. * mipsread.c (parse_symbol, parse_type, cross_ref): Pass name of
  2118. symbol as an argument and use it in complaints.
  2119. * symmisc.c (dump_psymtab): Dump filenames of dependencies.
  2120. Mon Aug 23 1993 Sean Fagan (sef@cygnus.com)
  2121. and Jim Kingdon (kingdon@cygnus.com)
  2122. Add NetBSD support:
  2123. * configure.in: Recognize netbsd.
  2124. Sun Aug 22 22:50:32 1993 Jeff Law (law@snake.cs.utah.edu)
  2125. * hpread.c (get_textlow): Don't go past a K_END when looking for a
  2126. K_FUNCTION. Avoids losing on source files with no functions.
  2127. Fri Aug 20 14:01:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2128. * remote-nindy.c: Remove unused include of sys/ioctl.h.
  2129. * frame.h, symtab.h: Revise comments regarding baseregs.
  2130. Fri Aug 20 15:07:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2131. * mipsread.c (parse_partial_symbols, psymtab_to_symtab_1):
  2132. Set language for psymtab and symtab.
  2133. * mipsread.c (new_symbol): Set language and initialize demangled
  2134. name for symbol.
  2135. * symmisc.c (print_symbol): Use SYMBOL_SOURCE_NAME when printing
  2136. the symbol type.
  2137. * symtab.c (decode_line_1): Inhibit coredumps with cfront executables.
  2138. Fri Aug 20 14:01:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2139. * Move KERNEL_U_ADDR from xm-hp300bsd.h to nm-hp300bsd.h and make
  2140. it conditionalized on 4.3 vs. 4.4.
  2141. * config/m68k/nm-hp300bsd.h: Move REGISTER_U_ADDR out of 4.3 and
  2142. 4.4 sections; it was identical and now works for 4.4.
  2143. * mips-tdep.c (is_delayed): Use INSN*BRANCH* not ANY_DELAY.
  2144. * printcmd.c (MAKEVA_END): Update this version to use "aligner".
  2145. Thu Aug 19 22:08:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2146. * config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION): Define.
  2147. * mipsread.c (parse_symbol, parse_type, cross_ref): Handle corrupt
  2148. file indirect entries with complaints instead of core dumps. Remove
  2149. complaint for stTypedef within aggregates.
  2150. Thu Aug 19 17:58:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2151. * coffread.c (process_coff_symbol): Ignore tagnames like .0fake.
  2152. * coffread.c (coff_read_enum_type): #if 0 out code which changes
  2153. enum {FALSE, TRUE} into boolean.
  2154. * config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. not
  2155. non-existent files nm-delta.h, etc.
  2156. * config/m68k/tm-delta68.h: Define CANNOT_STORE_REGISTER.
  2157. * delta68-nat.c: Add "[0]" in offsetof argument.
  2158. * delta68-nat.c (_initialize_kernel_u_addr): Don't try to set up
  2159. nl with initializer, just assign to it. Check n_scnum field on
  2160. return.
  2161. Wed Aug 18 21:42:52 1993 Jeff Law (law@snake.cs.utah.edu)
  2162. * hpread.c (read_hpux_symtab): Call SET_NAMESTRING for K_MODULE
  2163. debug symbols.
  2164. Wed Aug 18 12:03:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2165. * printcmd.c (print_address), values.c (value_as_pointer): Don't
  2166. use ADDR_BITS_REMOVE.
  2167. * defs.h: Try to clarify comment about ADDR_BITS_REMOVE.
  2168. * blockframe.c (block_innermost_frame): Uncomment.
  2169. Return NULL if passed NULL.
  2170. * frame.h: Declare it.
  2171. * expression.h (union exp_element): Add field block.
  2172. * parse.c (write_exp_elt_block): New function.
  2173. * expression.h (OP_VAR_VALUE): Now takes additional struct block *.
  2174. * *-exp.y: Write block for OP_VAR_VALUE.
  2175. * eval.c, expprint.c, parse.c: Deal with block for OP_VAR_VALUE.
  2176. * valops.c, value.h (value_of_variable), callers:
  2177. Add second argument, for block.
  2178. * main.c (gdb_readline): If we read some characters followed by EOF,
  2179. return them rather than returning NULL.
  2180. Tue Aug 17 11:14:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2181. * mips-tdep.c: Remove unused #ifndef NUMERIC_REG_NAMES and add comment.
  2182. Tue Aug 17 15:10:04 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  2183. * config/m88k/tm-m88k.h: Fix typo in comment.
  2184. (FP_REGNUM): define in terms of SP_REGNUM
  2185. rather than by absolute number. Also clearly comment that this
  2186. is a convenient lie in order to decrease future confusion.
  2187. (ACTUAL_FP_REGNUM): new macro for FP.
  2188. (FRAME_CHAIN_VALID): removed. Standard default works fine.
  2189. * m88k-tdep.c (frame_chain_valid): redundant, so removed.
  2190. (NEXT_PROLOGUE_INSN): removed unused fourth arg, fixed all
  2191. callers.
  2192. (read_next_frame_reg): declare static.
  2193. (examine_prologue): removed unused variabel insn2, rename insn1
  2194. to insn, rewrote comment about finding fp, sp, etc. set frame_fp
  2195. based on ACTUAL_FP_REGNUM rather than FP_REGNUM which is
  2196. actually a scammed alias for SP_REGNUM on m88k.
  2197. * frame.h: fixed typo in comment.
  2198. Tue Aug 17 11:14:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2199. * 29k-share/udi/udiphcfg.h: Always include udiphunix.h not udiphdos.h.
  2200. * complaints.c (complain): fflush (stdout) after output.
  2201. Tue Aug 17 01:43:55 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2202. * blockframe.c, frame.h (sigtramp_saved_pc): New routine to fetch
  2203. the saved pc from sigcontext on the stack for BSD signal handling.
  2204. * config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
  2205. FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):
  2206. Define to make backtracing through sigtramp work.
  2207. * config/vax/tm-vax.h (SIGTRAMP_START, SIGTRAMP_END, TARGET_UPAGES,
  2208. FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET): Ditto.
  2209. Mon Aug 16 13:52:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2210. * main.c (cd_command): If current_directory on entry is "/", then
  2211. don't append an extra slash.
  2212. Don't assume that /../.. means /.
  2213. * target.c (target_xfer_memory): Clear errno before calling
  2214. to_xfer_memory.
  2215. * stack.c (frame_info, print_frame_info): Add comment about using
  2216. the starting source line number on a line boundary if backtracing
  2217. through sigtramp.
  2218. Mon Aug 16 09:52:33 1993 Jeff Law (law@snake.cs.utah.edu)
  2219. * hpread.c: Add U Utah contribution notice. Add TODO list.
  2220. (hp_type_lookup): Use TYPE_NAME and TYPE_TAG_NAME.
  2221. (process_one_debug_symbol): Likewise.
  2222. Mon Aug 16 02:56:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2223. * blockframe.c (create_new_frame, get_prev_frame_info):
  2224. Use the function name when calling IN_SIGTRAMP.
  2225. * config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
  2226. Define for correct handling of bachtraces through _sigtramp.
  2227. * m68k-tdep.c (m68k_find_saved_regs): Adjust saved sp for fake
  2228. sigtramp frames.
  2229. * mipsread.c (parse_type): Handle corrupt TIR info with complaint
  2230. instead of core dump.
  2231. * mipsread.c (parse_partial_symbols): Put static symbols into the
  2232. mimimal symbol table, use proper mst_types for all minimal symbols.
  2233. * stack.c (frame_info, print_frame_info): Use the starting source
  2234. line number on a line boundary if backtracing through sigtramp.
  2235. Fri Aug 13 14:37:05 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  2236. * remote-bug.c: include gdbcmd.h.
  2237. (sleep, remque, insque): forward decls added.
  2238. (bug_fetch_registers, bug_store_registers): forward decls
  2239. removed.
  2240. (bug_read_inferior_memory, bug_write_inferior_memory): forward
  2241. decls added.
  2242. (srec_frame, srec_max_retries, srec_bytes, srec_echo_pace,
  2243. srec_sleep, srec_noise): new static variables for user settable
  2244. options. Mostly these are for debugging and tuning. I don't
  2245. expect them to stay user settable options for long.
  2246. (timeout): change default to 4 seconds.
  2247. (check_open): declare funtion static, force return value.
  2248. (readchar_nofail): if timeout, then say so if not being quiet.
  2249. (pollchar, double_scan, bug_scan, bug_srec_write_cr,
  2250. start_load): new functions.
  2251. (bug_wait): rewritten to use double scan.
  2252. (expect): while (1) -> for (;;)
  2253. (get_hex_digit): rewrite if condition to avoid gcc complaints.
  2254. (bug_load, bug_create_inferior, bug_open, bug_store_register):
  2255. removed unused variables.
  2256. (bug_load): replaced DELTA macro with user settable srec_frame
  2257. variable. Other minor lint.
  2258. (find_end_of_word, is_baudrate_right, set_rate, not_bug_wait,
  2259. gethex, timed_read, translate_addr, bug_before_main_loop):
  2260. unsused and removed.
  2261. (bug_resume): add missing first arg, pid.
  2262. (get_reg_name): use ip rather than cr04.
  2263. (bug_write, bug_write_cr, but_clear_breakpoints, bug_quiet):
  2264. declare type, args, and explicitly return.
  2265. (bug_store_register): straighten out the ip vs cr04 confusion.
  2266. (bug_write_inferior_memory): rewrite to cope with errors while
  2267. downloading s-records.
  2268. (bug_read_inferior_memory): declare static.
  2269. (bug_clear_breakpoints): expect nobr before prompt.
  2270. (_initialize_remote_bug): add initializations for srec-bytes,
  2271. srec-max-retries, srec-frame, srec-noise, srec-sleep,
  2272. srec-echo-pace.
  2273. * Makefile.in (remote-bug.o): new rule.
  2274. (ALLDEPFILES): added remote-bug.c
  2275. * remote-hms.c (hms_wait): use -1 for timeout's which means block
  2276. forever rather than 99999.
  2277. * ser-unix.c (get_tty_state): if a descriptor is not a tty, then
  2278. simply save encode this fact as the process group and return
  2279. success rather than an error.
  2280. (set_tty_state): if process group is -1, do not reset the
  2281. process group.
  2282. (hardwire_reachar): comment change.
  2283. * serial.h: comment change.
  2284. * config/m88k/tm-m88k.h: comment change to remove embedded
  2285. comment.
  2286. (SKIP_PROLOGUE): skip_prologue returns a value which is expected
  2287. to reset the pc argument. So reset it.
  2288. Fri Aug 13 10:15:24 1993 Fred Fish (fnf@deneb.cygnus.com)
  2289. * Makefile.in (VERSION): Bump to 4.10.1 after release and cvs
  2290. tagging.
  2291. Thu Aug 12 20:40:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2292. * gdbserver/Makefile.in: Use GDBSERVER_LIBS and
  2293. GDBSERVER_DEPFILES. Also remove much (but not all that could be
  2294. removed) crud inherited from gdb Makefile.in.
  2295. * config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Define GDBSERVER_*.
  2296. * gdbserver/README: Say it works on Sun and change configuration
  2297. instructions slightly.
  2298. Wed Aug 11 18:56:59 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
  2299. * config/i386/i386v4.mh: use -lsocket and -lnsl, for remote
  2300. targets that use BSD style network connections
  2301. Wed Aug 11 17:54:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2302. * remote-{monitor,bug}.c: Make bug_ops not static (forward declaration
  2303. of statics doesn't work with SunOS4 /bin/cc).
  2304. Rename the occurrence in remote-monitor.c to monitor_bug_ops.
  2305. Tue Aug 10 13:07:14 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
  2306. * blockframe.c (find_pc_partial_function),
  2307. mips-tdep.c (find_proc_desc): Deal with "pathological" case.
  2308. Tue Aug 10 14:50:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2309. * utils.c (wrap_here): Allow indent to be NULL.
  2310. (fputs_filtered): Don't check for null wrap_indent (wrap_here now
  2311. guarantees that it isn't, and anyway we were only checking one out
  2312. of the two places we dereferenced it).
  2313. * objfiles.h (struct objfile): Clean up comments for
  2314. {obj,sym}_private to clarify what they are private to.
  2315. Mon Aug 9 16:45:00 1993 Stan Shebs (shebs@rtl.cygnus.com)
  2316. * stabsread.c, buildsym.c (hashname): Moved function to
  2317. buildsym.c, as suggested in the sources.
  2318. Mon Aug 9 09:53:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2319. * remote-udi.c: Make udi_ops extern rather than trying forward
  2320. declaration of a static variable.
  2321. * hppab-nat.c: Define ptrace to call_ptrace and pass the 5th arg
  2322. there, rather than using an ANSI C specific macro.
  2323. * 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h. Also put
  2324. sys/types.h near the top (just on general principles).
  2325. * environ.c (set_in_environ): Remove G960BASE and G960BIN; they are
  2326. no longer used.
  2327. * gdbcore.h: New variable gnutarget.
  2328. * core.c: Add commands to set and show it.
  2329. * Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
  2330. * environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
  2331. putenv.
  2332. * symtab.c (decode_line_1): Give error on unmatched single quote.
  2333. Sun Aug 8 13:59:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2334. * ser-unix.c (hardwire_send_break) [HAVE_SGTTY]: Use select not usleep.
  2335. * remote.c: Add comments about 'd', 'r', and unrecognized requests.
  2336. * inflow.c (terminal_init_inferior): Don't muck with tty state if
  2337. gdb_has_a_terminal() is false.
  2338. Sun Aug 8 10:07:47 1993 Fred Fish (fnf@cygnus.com)
  2339. * dwarfread.c (record_minimal_symbol): Remove prototype and
  2340. function.
  2341. * dwarfread.c (add_partial_symbol): Remove code to add minimal
  2342. symbols and remove comment about limitations. Experiments show
  2343. that now that gdb handles the ELF symtab better for creating
  2344. minimal symbols, that no additional information is added by
  2345. examining the DWARF information, and in fact, given the
  2346. limitations, the DWARF code was actually making things worse.
  2347. Sat Aug 7 10:59:03 1993 Fred Fish (fnf@deneb.cygnus.com)
  2348. * elfread.c (elf_symtab_read): Properly sort out the bss symbols
  2349. from the data symbols and give them the correct minimal_symbol_type.
  2350. Add file static symbols to the minimal symbol table, not just
  2351. global symbols. Add absolute symbols as well (like _edata, _end).
  2352. Redo stabs-in-elf special symbol handling now that file static
  2353. symbols are entered into the into the minimal symbol table.
  2354. * dwarfread.c (add_partial_symbol): Add comment about limitations
  2355. of DWARF symbols for distinquishing data from bss when adding
  2356. minimal symbols. Add file local symbols to minimal symbols.
  2357. Thu Aug 5 08:58:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2358. * ser-go32.c: Define job_control variable.
  2359. Thu Aug 5 15:56:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
  2360. * configure.in: z8k-coff is the same as z8k-sim
  2361. Thu Aug 5 08:58:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2362. * 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
  2363. * config/i386/tm-i386bsd.h (NUM_REGS): There are only 10, not 11.
  2364. * inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL.
  2365. * 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h.
  2366. Wed Aug 4 18:32:12 1993 Fred Fish (fnf@cygnus.com)
  2367. * inflow.c (pass_signal): Signal handlers take one int arg;
  2368. supply an unused one to make it type compatible as an arg to
  2369. signal().
  2370. Tue Aug 3 18:34:14 1993 Ian Lance Taylor (ian@cygnus.com)
  2371. * config/mips/tm-mips.h: Include bfd.h before coff/sym.h.
  2372. Tue Aug 3 15:34:57 1993 Fred Fish (fnf@cygnus.com)
  2373. * Makefile.in (ALLCONFIG): Add config/i386/i386nw.mt,
  2374. config/m68k/delta68.mh, config/m68k/delta68.mt,
  2375. config/m68k/dpx2.mh, config/m68k/dpx2.mt, config/mips/riscos.mh,
  2376. config/mips/news-mips.mh.
  2377. * Makefile.in (ALLPARAM): Add config/i386/nm-symmetry.h,
  2378. config/i386/tm-i386nw.h, config/m68k/nm-delta68.h,
  2379. config/m68k/tm-delta68.h, config/m68k/xm-delta68.h,
  2380. config/m68k/nm-dpx2.h, config/m68k/tm-dpx2.h,
  2381. config/m68k/xm-dpx2.h, config/mips/xm-makeva.h.
  2382. * Makefile.in (ALLDEPFILES): Add dpx2-nat.c.
  2383. Tue Aug 3 12:02:09 1993 Ian Lance Taylor (ian@cygnus.com)
  2384. * mipsread.c: Updated for BFD ECOFF changes. Now gets the
  2385. swapping routines and external structure sizes via the
  2386. ecoff_backend information. No longer includes coff/mips.h.
  2387. Tue Aug 3 10:58:04 1993 Fred Fish (fnf@cygnus.com)
  2388. * Makefile.in (SFILES): Add thread.c
  2389. Tue Aug 3 10:21:58 1993 Doug Evans (dje@canuck.cygnus.com)
  2390. * remote-sp64sim.c (simif_create_inferior): Add FIXME regarding
  2391. sim_set_args return code.
  2392. Mon Aug 2 16:35:31 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  2393. * Makefile.in (VERSION): bumped to 4.9.4.
  2394. * remote-monitor.c: updated copyright.
  2395. (bug_ops, monitor_desc): now static.
  2396. (monitor_desc): in several places, check and/or set to NULL.
  2397. * remote-hms.c (hms_files_info): Add the appropriate items where
  2398. missing in the printf call.
  2399. * remote-bug.c: new file for m88k bug support.
  2400. * config/m88k/m88k.mt (TDEPFILES): added remote-bug.o.
  2401. Mon Aug 2 14:22:09 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
  2402. * h8300-tdep.c: Use new variable h8300hmode.
  2403. Mon Aug 2 12:06:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2404. * valops.c (typecmp): If we are passing a non-reference to a function
  2405. which takes a reference, pass the address.
  2406. (value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference
  2407. references here.
  2408. * thread.c (thread_switch): Define as static.
  2409. (add_thread): Cast return value from xmalloc.
  2410. * gdbtypes.c (fill_in_vptr_fieldno): Call check_stub_type.
  2411. * gdbtypes.{c,h}: Improve comments on vptr_fieldno.
  2412. Mon Aug 2 11:58:52 1993 Fred Fish (fnf@deneb.cygnus.com)
  2413. * README: Elaborate on gdb C++ support and cfront support.
  2414. Mon Aug 2 11:30:57 1993 Stu Grossman (grossman at cygnus.com)
  2415. * i386lynx-nat.c, thread.c, thread.h: Update copyrights.
  2416. Mon Aug 2 12:06:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2417. * Makefile.in (ALLDEPFILES): Add i386lynx-nat.c.
  2418. Mon Aug 2 08:42:50 1993 Stu Grossman (grossman at cygnus.com)
  2419. * gdbserver/remote-inflow.c (create_inferior): Fix comments, and
  2420. error msg. Setup seperate process group for child.
  2421. * (write_inferior_memory): Sleep for 1 second and retry on ptrace
  2422. failure.
  2423. Sun Aug 1 22:58:18 1993 Stu Grossman (grossman at cygnus.com)
  2424. * config/i386/i386lynx.mh (NATDEPFILES): Drop coredep (for now).
  2425. * config/i386/nm-i386bsd.h: Protect from multiple inclusion.
  2426. * config/i386/nm-i386lynx.h: Lotsa new host porting stuff.
  2427. * config/i386/tm-i386lynx.h: Define SAVED_PC_AFTER_CALL and
  2428. target_pid_to_str.
  2429. * Makefile.in (CLIBS): Reorder to make Lynx ld happy.
  2430. * (HFILES): New file thread.h.
  2431. * (OBS): New file thread.c.
  2432. * configure.in: Host config for Lynx/386.
  2433. * fork-child.c (fork_inferior): Call init_thread_list().
  2434. * infrun.c (resume): Add pid to invocation of target_resume().
  2435. * (wait_for_inferior): Pay attention to pid from target_wait().
  2436. Multi-threading code now uses this to determine what to do.
  2437. * inftarg.c (child_wait): Conditionalize based on CHILD_WAIT macro.
  2438. Use target_pid_to_str() macro throughout when printing pid.
  2439. * inferior.h (child_resume): Add pid to prototype.
  2440. * hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as
  2441. argument, instead of using inferior_pid.
  2442. * procfs.c (procfs_resume): Pass in pid as argument. Ignored for
  2443. now. Use target_pid_to_str() macro throughout for printing process id.
  2444. * remote-adapt.c (adapt_resume): Pass in pid as argument.
  2445. * remote-eb.c (eb_resume): Pass in pid as argument.
  2446. * remote-es.c (es1800_resume): Pass in pid as argument.
  2447. * remote-hms.c (hms_resume): Pass in pid as argument.
  2448. * remote-mips.c (mips_resume): Pass in pid as argument.
  2449. * remote-mm.c (mm_resume): Pass in pid as argument.
  2450. * remote-monitor.c (monitor_resume): Pass in pid as argument.
  2451. * remote-nindy.c (nindy_resume): Pass in pid as argument.
  2452. * remote-sa.sparc.c (remote_resume): Pass in pid as argument.
  2453. * remote-sim.c (rem_resume): Pass in pid as argument.
  2454. * remote-sp64sim.c (simif_resume): Pass in pid as argument.
  2455. * remote-st.c (st2000_resume): Pass in pid as argument.
  2456. * remote-udi.c (udi_resume): Pass in pid as argument.
  2457. * remote-vx.c (vx_resume): Pass in pid as argument.
  2458. * remote-z8k.c (rem_resume): Pass in pid as argument.
  2459. * remote.c (remote_resume): Pass in pid as argument.
  2460. * solib.c (solid_create_inferior_hook): Pass inferior_pid to
  2461. target_resume().
  2462. * target.c (normal_pid_to_str): New routine to print out process
  2463. ID normally.
  2464. * target.h (struct target_ops): Add pid to prototype at
  2465. to_resume(). (target_resume): Add pid argument.
  2466. * (target_pid_to_str): Default definition for normal type pids.
  2467. * thread.h, thread.c: New modules for multi thread/process control.
  2468. Sun Aug 1 13:02:42 1993 John Gilmore (gnu@cygnus.com)
  2469. * README: Say that bug-gdb is also the place to send requests
  2470. for help with GDB.
  2471. Sun Aug 1 09:42:13 1993 Fred Fish (fnf@cygnus.com)
  2472. * Makefile.in (make-proto-gdb-1): Use -f opt on rm of Makefile.
  2473. * h8500-tdep.c: Add parens around a few macro args.
  2474. Fri Jul 30 15:43:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2475. * TODO: Remove items about unix-to-unix/rapp debugging (now we
  2476. have gdbserver), moving xm files to subdirectory, ptype yylval,
  2477. and file-local symbols.
  2478. * gdbtypes.h: Improve comments about C++ methods.
  2479. Fri Jul 30 14:16:32 1993 Fred Fish (fnf@deneb.cygnus.com)
  2480. * c-exp.y: Add missing 5th arg for one call to lookup_symbol, cast
  2481. NULL in all other calls to correct pointer types.
  2482. Fri Jul 30 15:43:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2483. From Jeffrey Law:
  2484. * tm-hppa.h (TARGET_WRITE_PC): Define.
  2485. * hppa-tdep.c (hppa_fix_call_dummy): If in a syscall,
  2486. then return the address of the dummy itself rather than
  2487. the address of $$dyncall.
  2488. (target_write_pc): New function to store a new PC.
  2489. Fri Jul 30 12:51:27 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2490. and Jim Kingdon (kingdon@cygnus.com)
  2491. * breakpoint.c (breakpoint_re_set_one): Always reparse breakpoint
  2492. conditions, they might contain symbol table references.
  2493. Fri Jul 30 12:51:27 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2494. * mipsread.c (parse_symbol): Handle opaque struct definitions and
  2495. type naming for stTypedef symbols.
  2496. Fri Jul 30 14:44:21 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2497. * c-exp.y (yylex): Detect C++ nested types.
  2498. Fri Jul 30 11:07:37 1993 Doug Evans (dje@canuck.cygnus.com)
  2499. * sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted.
  2500. (dump_ccreg, sparc_print_register_hook): New fns.
  2501. * remote-sim.h: New file.
  2502. * remote-sp64sim.h (sim_*): External fns. (simif_*): Internal fns.
  2503. * config/sparc/sp64.mt: New file.
  2504. * config/sparc/tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
  2505. (PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.
  2506. Fri Jul 30 10:15:01 1993 Fred Fish (fnf@deneb.cygnus.com)
  2507. * Makefile.in (ALLCONFIG): Add config/i386/ptx.mh
  2508. Fri Jul 30 08:58:01 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2509. From J. Law:
  2510. * infcmd.c (read_pc): Remove PA specific code.
  2511. * tm-hppa.h (TARGET_READ_PC): Define.
  2512. * hppa-tdep.c (target_read_pc): New function.
  2513. * symtab.c (gdb_mangle_name): Deal with it if type lacks a name.
  2514. Fri Jul 30 07:36:53 1993 Fred Fish (fnf@deneb.cygnus.com)
  2515. * NEWS: Add note that DEC alpha support is host only, not native.
  2516. * README: Emphasize that C++ support works best with GNU C++ and
  2517. stabs debugging format.
  2518. * delta68-nat.c: Add missing FSF copyright.
  2519. Fri Jul 30 08:58:01 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2520. * paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
  2521. * hppa-tdep.c (frame_chain_valid): Check that our function has the
  2522. same address as _start, not that it must be the same symbol.
  2523. Fri Jul 30 00:18:40 1993 Fred Fish (fnf@deneb.cygnus.com)
  2524. * Makefile.in (ALLDEPFILES): Add delta68-nat.c
  2525. * Makefile.in (delta68-nat.o): Add dependency.
  2526. Thu Jul 29 12:09:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2527. * value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind
  2528. was adequate in gdb 3.5 but not now.
  2529. * valops.c (typecmp): An array in t2 matches a pointer in t1.
  2530. * valops.c (typecmp): When comparing type1& to type2, compare
  2531. type1 and type2 as leniently as if we were comparing type1 to
  2532. type2.
  2533. * cp-valprint.c (cplus_print_value): Don't dump core if the
  2534. baseclass doesn't have a name.
  2535. * values.c (vb_match): New function, which finds the virtual
  2536. base class pointer even if the types are nameless.
  2537. (baseclass_{addr,offset}): Use it.
  2538. * hppa-tdep.c: Make "maintenance print unwind" command from old
  2539. "unwind" command.
  2540. * remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
  2541. obsolete junk which apparently had been copied from the
  2542. pre-serial.h remote.c, but which is no longer used.
  2543. Thu Jul 29 12:36:20 1993 Fred Fish (fnf@deneb.cygnus.com)
  2544. * Makefile.in (NONSRC): Need 29k-share/README, not
  2545. 29k-share/udi/README.
  2546. Thu Jul 29 12:09:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2547. * paread.c (pa_symfile_init): If error reading string table, don't
  2548. use errno in cases where it hasn't been set.
  2549. * ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid.
  2550. * remote-monitor.c (_initialize_monitor): Comment out use of
  2551. connect_command, since connect_command itself is commented out.
  2552. * remote-monitor.c (generic_open): Parse arguments the same way
  2553. as remote.c.
  2554. * hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments.
  2555. Wed Jul 28 13:19:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2556. * config/mips/xm-mips.h: Define HAVE_TERMIOS.
  2557. * dbxread.c (record_minimal_symbol): Don't put gcc_compiled or
  2558. __gnu_compiled* symbols into the minimal symbols.
  2559. Wed Jul 28 08:26:58 1993 Ian Lance Taylor (ian@cygnus.com)
  2560. * remote-mips.c (_initialize_remote_mips): Added "timeout" and
  2561. "retransmit-timeout" variables to set mips_receive_wait and
  2562. mips_retransmit_wait, respectively.
  2563. Wed Jul 28 03:58:58 1993 (pes@regent.e-technik.tu-muenchen.de)
  2564. * symmisc.c (dump_msymbols): Handle new mst_file_* types.
  2565. Tue Jul 27 12:07:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2566. * remote-udi.c: Remove old comment about download not implemented.
  2567. * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
  2568. * nindy-share/*, remote-nindy.c: Extensive hacking to make it
  2569. conform to GDB conventions like using memcpy not bcopy, serial.h,
  2570. etc. This is to make it host on Solaris, AIX, etc.
  2571. * Makefile.in: Reflect removed nindy-share files.
  2572. * config/i960/nindy960.mt (TDEPFILES): Remove ttybreak.o.
  2573. * stack.c (print_frame_info): Revise comment about `pathological'
  2574. case (there was a wrong FIXME about text labels; also asm() can
  2575. trigger this as well as versions of ar which truncate .o names).
  2576. * buildsym.c (start_subfile): If a .c file includes a .C file, set
  2577. the language of both of them to C++.
  2578. * config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
  2579. <memory.h>.
  2580. Include <malloc.h> rather than declaring malloc functions ourself.
  2581. * ser-unix.c (set_tty_state): Don't ignore errors setting process
  2582. group.
  2583. * inflow.c (terminal_inferior): If attach_flag set, ignore errors
  2584. from set_tty_state.
  2585. * fork-child.c (fork_inferior): Only quote exec file if needed.
  2586. * mipsread.c (parse_symbol): Remove 21 Jul 93 change with
  2587. stTypedef inside an stBlock.
  2588. Tue Jul 27 12:36:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2589. * breakpoint.c (breakpoint_1): Walk the breakpoint chain to decide if
  2590. we have breakpoints or watchpoints as we might have to ignore internal
  2591. breakpoints.
  2592. Fix gdb core dumps after `file newfile' commands.
  2593. * symtab.h, symfile.c (clear_symtab_users): New routine which
  2594. unconditionally clears symtab users. clear_symtab_users_once
  2595. commented out as it was a noop anyway.
  2596. * objfiles.c (free_objfile): Don't call clear_symtab_users_once.
  2597. * objfiles.c (free_all_objfiles), symfile.c (new_symfile_objfile),
  2598. xcoffexec.c (exec_close): Call clear_symtab_users if necessary.
  2599. * symfile.c (syms_from_objfile): Install cleanups for errors during
  2600. symbol reading.
  2601. * coffread.c, dbxread.c, mipsread.c, xcoffread.c (*_symfile_read):
  2602. Lint cleanup code, call do_cleanups explicitly.
  2603. * symfile.c (symbol_file_add): Call new_symfile_objfile and
  2604. reinit_frame_cache _after_ the new symbols are read in.
  2605. Tue Jul 27 01:57:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2606. * mipsread.c (parse_type): Do not set tag name for compiler
  2607. generated fake tag names.
  2608. Mon Jul 26 17:31:49 1993 K. Richard Pixley (rich@rtl.cygnus.com)
  2609. * config/m88k/m88k.mt (TDEPFILES): add exec.o.
  2610. Mon Jul 26 13:17:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2611. * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
  2612. command. Now we use unwind info by default if we can find it.
  2613. * config/sparc: Move VARIABLES_INSIDE_BLOCK and SUN_FIXED_LBRAC_BUG
  2614. to tm-sparc.h so they are shared between Solaris and SunOS4.
  2615. * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
  2616. N_GSYM functions.
  2617. * config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
  2618. for floating point registers.
  2619. * mipsread.c (parse_symbol): Put stStaticProc symbols in minimal
  2620. symbols as mst_file_text.
  2621. * hppa-tdep.c (pc_in_linker_stub): Return 0 if can't read memory.
  2622. * stabsread.c (rs6000_builtin_type): Make logical types be
  2623. TYPE_CODE_BOOL.
  2624. Sun Jul 25 23:41:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2625. * breakpoint.{c,h} (struct breakpoint): Replace symtab field with
  2626. source_file field.
  2627. Fri Jul 23 09:57:25 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
  2628. * remote.c: Don't error() on errors xferring memory.
  2629. * target.h: Clean up comments about *xfer_memory.
  2630. * exec.c, corelow.c (target_ops struct): Don't allow
  2631. {insert,remove}_breakpoints to be defaulted to
  2632. memory_{insert_remove}_breakpoint.
  2633. * demangle.c: Make it so `help set dem' tells you how to get the
  2634. list of demangling styles.
  2635. Thu Jul 22 15:41:09 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
  2636. * Makefile.in: Use REMOTE_O macro not remote.o.
  2637. * config/i960/{nindy960,vxworks960}: Don't use remote.o.
  2638. Thu Jul 22 12:43:25 1993 Ian Lance Taylor (ian@cygnus.com)
  2639. * coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>
  2640. (can't include it in nm-*.h file because it causes conflicts with
  2641. a.out symbol definitions).
  2642. * hp300ux-nat.c (fetch_core_registers): Commented out; obsolete.
  2643. * config/m68k/hp300hpux.mh (NATDEPFILES): Added coredep.o and
  2644. corelow.o.
  2645. * config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined.
  2646. (REGISTER_U_ADDR): Defined.
  2647. * config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of
  2648. HAVE_TERMIO.
  2649. * config/pa/xm-hppah.h: Likewise.
  2650. Wed Jul 21 11:37:30 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
  2651. * mipsread.c (parse_symbol): when stTypedef and friends occur within
  2652. an stBlock, skip over the fields of the inner one.
  2653. * mips-tdep.c (init_extra_frame_info): If in lenient prologue, call
  2654. heuristic_proc_desc rather than just assuming registers not saved.
  2655. * Makefile.in (regex.o): Add dependency.
  2656. * hppa{b,h}-nat.c: Warning, not error, if can't access registers.
  2657. * config/pa/hppa{b,h}.h: Define ATTACH_DETACH.
  2658. Wed Jul 21 03:07:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2659. * config/mips/xm-makeva.h: New file implements va_list alignment
  2660. restrictions for mips hosts.
  2661. * config/mips/{xm-irix3.h, xm-mips.h, xm-news-mips.h, xm-riscos.h}:
  2662. Use it.
  2663. Wed Jul 21 00:11:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2664. * mips-tdep.c (init_extra_frame_info): Do not check for
  2665. mips_in_lenient_prologue if it is a dummy frame.
  2666. * mipsread.c (fixup_sigtramp): Initialize pdr.adr, it is used by
  2667. mips_in_lenient_prologue.
  2668. Tue Jul 20 14:14:59 1993 Jeff Law (law@snake.cs.utah.edu)
  2669. * hpread.c (read_hp_array_type): Handle "char foo[]".
  2670. Tue Jul 20 12:53:47 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
  2671. * mips-tdep.c (heuristic_proc_start): First time we print the
  2672. warning, elaborate.
  2673. (_initialize_mips_tdep): Improve docstring for `set heur'.
  2674. * config/rs6000/tm-rs6000.h: Remove call to insert_step_breakpoint.
  2675. * symtab.c (find_line_symtab): New function, to deal with multiple
  2676. symtabs with the same name.
  2677. (find_line_pc{,_range}): Use it.
  2678. (find_pc_symtab): Add comment about overlapping symtabs.
  2679. Mon Jul 19 21:29:14 1993 Fred Fish (fnf@deneb.cygnus.com)
  2680. * Makefile.in (SFILES): Add nlmread.c.
  2681. * Makefile.in (OBS): Add nlmread.o.
  2682. * Makefile.in (nlmread.o): Add new target.
  2683. * configure.in (i[34]86-*-netware): New configuration.
  2684. * nlmread.c, config/i386/{i386nw.mt, tm-i386nw.h}: New files
  2685. for NLM/NetWare support.
  2686. Mon Jul 19 11:48:57 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
  2687. * symtab.h (enum minimal_symbol_type): Add mst_file_*.
  2688. * partial-stab.h [DBXREAD_ONLY]: Record statics in miminal symbols.
  2689. * dbxread.c (record_minimal_symbol): Deal with statics.
  2690. * minsyms.c (lookup_minimal_symbol): Prefer externals to statics.
  2691. * config/i386/xm-i386sco.h: Define HAVE_TERMIOS.
  2692. * printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so
  2693. arg_bytes field of makeva_list is always aligned.
  2694. * config/pa/xm-pa.h: Make arglist_address a char *.
  2695. * ser-unix.c: Don't try to use job control with termio.
  2696. Sun Jul 18 23:11:28 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2697. and Jim Kingdon (kingdon@cygnus.com)
  2698. Make breakpoint_re_set_one work with overloaded member functions,
  2699. `b 123' and `b foo' if foo is a static function.
  2700. * symtab.c (decode_line_1, decode_line_2): New argument `canonical'
  2701. to return canonical line specs if requested by the caller.
  2702. * breakpoint.c, source.c, symtab.c, symtab.h: Change prototypes and
  2703. callers accordingly.
  2704. * symtab.c (build_canonical_line_spec): New helper function which
  2705. constructs the canonical line spec.
  2706. * breakpoint.c (break_command_1): Use canonical line spec instead
  2707. of command string as addr_string if necessary.
  2708. * source.c (line_info): Fix storage leak.
  2709. Sun Jul 18 15:22:45 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
  2710. * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
  2711. but not the others.
  2712. * symm-tdep.c: Remove exec_file_command.
  2713. [_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
  2714. A few miscellaneous cleanups.
  2715. * symm-nat.c: Renamed from symm-xdep.c.
  2716. * All symmetry dependent files: Many changes.
  2717. * mips-tdep.c (mips_skip_prologue): New argument lenient.
  2718. Use read_memory_nobpt.
  2719. (is_delayed, mips_in_lenient_prologue): New functions.
  2720. (init_extra_frame_info): If in the prologue, don't use saved registers.
  2721. * config/mips/tm-mips.h: Declare mips_skip_prologue.
  2722. * partial-stab.h (N_SO): Add the text offset to valu before, not after,
  2723. passing it to END_PSYMTAB.
  2724. Fri Jul 16 18:48:52 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
  2725. * symtab.c (find_pc_symtab): Call warning, not printf directly.
  2726. * solib.c (solib_add): Use x{re,m}alloc, not {re,m}alloc.
  2727. Fri Jul 16 09:56:42 1993 Ian Lance Taylor (ian@cygnus.com)
  2728. * mipsread.c: No longer need to undefine ZMAGIC.
  2729. Thu Jul 15 18:03:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  2730. * m88k-pinsn.c: Moved code into opcodes/m88k-dis.c.
  2731. (print_insn): Now just calls print_insn_m88k.
  2732. Thu Jul 15 14:54:05 1993 Doug Evans (dje@canuck.cygnus.com)
  2733. * h8300-tdep.c (examine_prologue): Make prototype match definition.
  2734. Thu Jul 15 08:34:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2735. * NEWS: Mention that remote.c now has a `load' operation.
  2736. * hppa-tdep.c (pc_in_linker_stub): New function.
  2737. (find_proc_framesize): Return 0 for linker stubs.
  2738. (rp_saved): Tell the caller where rp is saved.
  2739. (frame_chain_valid): Return 1 for linker stubs.
  2740. (frame_saved_pc): Use return value from rp_saved.
  2741. * stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,
  2742. pass the sp relative to the frame in question, not the sp in the
  2743. innermost frame.
  2744. Wed Jul 14 17:37:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2745. * mipsread.c (parse_procedure): Take as argument the symtab to look
  2746. the name up in. Look it up with mylookup_symbol, not lookup_symbol.
  2747. (psymtab_to_symtab_1): For stabs, pass the symtab to parse_procedure.
  2748. * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
  2749. already checked the first characters.
  2750. Changes from Jeffrey Law:
  2751. * printcmd.c (makeva_list): Use MAKEVA_EXTRA_INFO to define
  2752. machine dependent fields in the makeva_list structure.
  2753. (makeva_size): Allocate extra space to handle gaps made by
  2754. alignment restrictions.
  2755. * config/pa/xm-pa.h (MAKEVA_EXTRA_INFO): Define.
  2756. (MAKEVA_START): Initialize arglist_address field.
  2757. (MAKEVA_ARG): Always store arguments on natural alignment
  2758. boundaries. Set arglist_address to the address right after
  2759. the args.
  2760. (MAKEVA_END): Simply return the value stored in arglist_address.
  2761. Wed Jul 14 13:51:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2762. * ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
  2763. address, not addr.
  2764. * hppah-nat.c (store_inferior_registers): Don't print i in cases
  2765. where we aren't using it.
  2766. * a29k-tdep.c (get_saved_register): Fix typo.
  2767. Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com)
  2768. * configure.in: Recognize h8300h (variant of h8300).
  2769. Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com)
  2770. * configure.in: Recognize sparc64-*-*.
  2771. Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2772. * stabsread.c (define_symbol): Make the caddr_t hack apply to `function
  2773. returning foo' as well as `pointer to foo'.
  2774. * remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
  2775. * config/m68k/tm-m68k.h: Define it.
  2776. * mem-break.c, breakpoint.c: Improve comments.
  2777. Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
  2778. * config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
  2779. * config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
  2780. Tue Jul 13 11:50:38 1993 Doug Evans (dje@canuck.cygnus.com)
  2781. * gdbcore.h (read_memory_integer, read_memory_unsigned_integer):
  2782. Make prototype match definition.
  2783. Tue Jul 13 11:15:15 1993 Fred Fish (fnf@cygnus.com)
  2784. * elfread.c: Remove notice about file still being under
  2785. construction.
  2786. * Makefile.in (ultra3-xdep.o, umax-xdep.o): Add missing ')'.
  2787. Mon Jul 12 17:46:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2788. * a29k-tdep.c (read_register_stack): Make val static.
  2789. Mon Jul 12 14:10:48 1993 Doug Evans (dje@canuck.cygnus.com)
  2790. * config/h8300/tm-h8300.h (REGISTER_CONVERTIBLE): Change value to 0.
  2791. (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Move def'n to
  2792. usual spot.
  2793. Mon Jul 12 11:29:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2794. * c-valprint.c (c_val_print): Fix thinko with unspecified length
  2795. arrays.
  2796. * hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
  2797. use it.
  2798. Sun Jul 11 19:35:05 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2799. * symtab.c (decode_line_1): Use end of block to figure out whether
  2800. val.end is in the same function, not minimal symbols.
  2801. * source.c (line_info): Add a few more wrap_here's.
  2802. * i386-tdep.c (i386_follow_jump): Do byteswapping where needed and
  2803. don't make assumptions about sizes of host data types.
  2804. * blockframe.c, symtab.h (find_pc_partial_function): New arg endaddr.
  2805. * infrun.c, breakpoint.c, printcmd.c: Change callers.
  2806. * printcmd.c (containing_function_bounds): Remove.
  2807. * printcmd.c (disassemble_command): Use find_pc_partial_function,
  2808. not containing_function_bounds.
  2809. * infcmd.c (step_1): Use find_pc_partial_function rather than
  2810. trying to roll our own. Move check for a pc between SIGTRAMP_START and
  2811. SIGTRAMP_END in find_pc_partial_function, not step_1.
  2812. * sparc-tdep.c (sparc_frame_chain, frame_saved_pc):
  2813. Keep unswapped value in array of char, not REGISTER_TYPE.
  2814. Use REGISTER_RAW_SIZE not sizeof (REGISTER_TYPE).
  2815. (sparc_extract_struct_value_address): Use TARGET_PTR_BIT not
  2816. sizeof (CORE_ADDR).
  2817. Thu Jul 1 15:50:05 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
  2818. * configure.in (m68*-bull-sysv*): added support for Bull dpx2.
  2819. * config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files.
  2820. * config/m68k/dpx2.m{h,t}: New files.
  2821. Thu Jul 1 15:46:10 1993 Jeff Law (law@snake.cs.utah.edu)
  2822. * hpread.c: Run through gnu-indent.
  2823. Sun Jul 11 12:32:08 1993 Doug Evans (dje@canuck.cygnus.com)
  2824. * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
  2825. more parens around macro arg.
  2826. Sat Jul 10 09:54:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2827. * infrun.c: Remove step_resume_{duplicate,shadow}. Replace
  2828. step_resume_break_address with step_resume_breakpoint (now local
  2829. to wait_for_inferior).
  2830. ({insert,remove}_step_breakpoint): Remove.
  2831. (wait_for_inferior): Set step resume break with
  2832. set_momentary_breakpoint. Test hitting it with bpstat_stop_status
  2833. and bpstat_what (stop_step_resume_break removed).
  2834. * breakpoint.{h,c}, infrun.c: Return value from bpstat_what now struct
  2835. which includes previous return value as main_action, and a step_resume
  2836. bit.
  2837. * breakpoint.c (delete_breakpoint): If breakpoint was inserted, and
  2838. there is another breakpoint there, insert it.
  2839. * infrun.c (wait_for_inferior): Rearrange the spaghetti a bit. Use
  2840. a few more gotos.
  2841. Various: Clean up and add comments.
  2842. * infrun.c [TDESC]: Remove remaining tdesc code (see ChangeLog
  2843. for Wed Nov 13 16:45:13 1991).
  2844. Fri Jul 9 12:36:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2845. * values.c, value.h (modify_field), callers: Make fieldval a LONGEST.
  2846. * h8300-tdep.c (NEXT_PROLOGUE_INSN): Make pword1 an INSN_WORD *
  2847. not short *.
  2848. * findvar.c, defs.h
  2849. ({extract,store}_{signed_integer,unsigned_integer,address}):
  2850. New routines to replace SWAP_TARGET_AND_HOST.
  2851. All over: All uses of SWAP_TARGET_AND_HOST on integers replaced.
  2852. * config/sparc/tm-sparc.h: Add comment suggesting that removing
  2853. ins and locals from the registers array might clean things up.
  2854. * utils.c: Clean up comments about wrap buffer and wrap_here.
  2855. * printcmd.c (printf_command): Call wrap_here before vprintf.
  2856. * mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
  2857. Patch from ptf@delcam.co.uk (Paul Flinders).
  2858. * a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.
  2859. Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2860. * defs.h, remote-eb.c (TM_FILE_OVERRIDE): Remove it.
  2861. * mips-tdep.c (init_extra_frame_info): Set proper fci->frame if pc
  2862. is at the start of the dummy code.
  2863. Thu Jul 8 14:48:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2864. * sparc-tdep.c (sparc_push_dummy_frame): Skip all the do_save_insn
  2865. stuff, just write the sp and fp.
  2866. (sparc_pop_frame): Skip the do_restore_insn; we already restore
  2867. the sp with the other out registers.
  2868. * hppa-tdep.c (hppa_push_arguments): Allocate enough space for
  2869. arguments.
  2870. * hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep.
  2871. Thu Jul 8 14:47:00 1993 Doug Evans (dje@canuck.cygnus.com)
  2872. * sparc-tdep.c (sparc_frame_chain): Handle sizeof (CORE_ADDR)
  2873. != sizeof (REGISTER_TYPE).
  2874. (frame_saved_pc): Ditto.
  2875. Thu Jul 8 08:22:05 1993 Doug Evans (dje@canuck.cygnus.com)
  2876. * config/h8300/tm-h8300.h: (REGISTER_TYPES): Adjust for h8/300h.
  2877. (REGISTER_RAW_SIZE): Ditto.
  2878. (REGISTER_VIRTUAL_TYPE): Use builtin_type_unsigned_long for regs
  2879. on the h8/300h (ints may still be 16 bits).
  2880. (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE,
  2881. EXTRACT_STRUCT_VALUE_ADDRESS): Add FIXME's for h8/300h. Some
  2882. thought needed here.
  2883. * h8300-tdep.c (print_insn): Call print_insn_h8300h if h8/300h.
  2884. (examine_prologue): reg_save_depth is 4 if h8/300h.
  2885. * findvar.c (read_register): Provide some support for 64 bit regs.
  2886. (write_register): Ditto.
  2887. Wed Jul 7 14:30:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2888. * config/mips/nm-riscos.h: machine/machparam.h is always the right
  2889. place to look for BSD43_NBPG, not machine/vmparam.h
  2890. * infcmd.c (run_stack_dummy): New argument name.
  2891. Change error message in (another) attempt to make it comprehensible.
  2892. * valops.c (call_function_by_hand): Pass name to run_stack_dummy.
  2893. * symtab.h: Declare demangle and asm_demangle since macros use them.
  2894. * eval.c (evaluate_subexp): Add comment about calling a member
  2895. function of a variable in a register.
  2896. * expression.h: Clean up comment about string in STRUCT_STRUCT etc.
  2897. * config/{rs6000/tm-rs6000.h,sparc/tm-sparc.h,pyr/tm-pyr.h},
  2898. inferior.h (PC_IN_CALL_DUMMY) [ON_STACK]: Add comments about stack
  2899. frame tops and bottoms.
  2900. * frame.h, blockframe.c, stack.c, a29k-tdep.c,
  2901. config/gould/tmp-{pn,np1}.h,
  2902. config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
  2903. next_frame from struct frame_info. It has no purpose beyond
  2904. ->next->frame and is an artifact from GDB 2.8.
  2905. Tue Jul 6 11:51:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2906. * Makefile.in: Remove gdb before creating a new one.
  2907. Update init.c atomically.
  2908. * Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
  2909. (ALLCONFIG): Add config/alpha/alpha-osf1.mh.
  2910. * infcmd.c (_initialize_infcmd): In docstring for "continue",
  2911. describe argument as setting ignore count.
  2912. Sun Jul 4 15:04:47 1993 Doug Evans (dje@cygnus.com)
  2913. * h8300-tdep.c (examine_prologue): Fix call to
  2914. read_memory_unsigned_integer.
  2915. Fri Jul 2 18:22:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2916. * config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
  2917. rather than including xm-bigmips.h.
  2918. * eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
  2919. default cases.
  2920. * Makefile.in (distclean): Remove y.tab.h.
  2921. Fri Jul 2 14:55:48 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2922. * exec.c (exec_file_command): Remove Mar 28 hack as BFD handles
  2923. file updates properly now.
  2924. * mipsread.c (mips_coff_new_init): Force reevaluation of sigtramp
  2925. addresses if switching to a new symbol file.
  2926. * dbxread.c (process_one_symbol): Avoid dereferencing NULL
  2927. symbols that might be returned from define_symbol.
  2928. Fri Jul 2 13:33:12 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
  2929. New target macros for getting at the pc, sp and fp.
  2930. * infcmd.c (read_pc, write_pc): Modify to use new macros.
  2931. (read_sp, write_sp, read_fp, write_fp): New functions.
  2932. * blockframe.c (reinit_frame_cache, get_prev_frame_info):
  2933. Use new functions.
  2934. * breakpoint.c (bpstat_alloc): ditto.
  2935. * infrun.c (wait_for_inferior): ditto.
  2936. * stack.c (print_frame_info): ditto.
  2937. * valops (call_function_by_hand): ditto.
  2938. * corelow.c (core_open): ditto.
  2939. * h8500-tdep.c: (target_read_sp, target_write_sp, target_read_pc,
  2940. target_write_pc, target_read_fp, target_write_fp): New functions.
  2941. * inferior.h (read_sp, write_sp, read_fp, write_fp): Prototypes.
  2942. * config/alpha/xm-alpha.h: Add MAKEVA_END.
  2943. * config/h8500/tm-h8500.h: Define new macros.
  2944. Fri Jul 2 13:51:04 1993 Ian Lance Taylor (ian@cygnus.com)
  2945. * configure.in (mipos-*-riscos*): New host and target; use riscos.
  2946. * config/mips/nm-riscos.h: If BSD43_NBPG is not defined by
  2947. vmparam.h, include machparam.h.
  2948. (KERNEL_U_ADDR): Define to be BSD43_UADDR.
  2949. Fri Jul 2 13:39:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2950. * c-exp.y (yylex): Give error if unmatched single quote.
  2951. * configure.in, config/m68k/*delta68*, delta68-nat.c: New port.
  2952. * Remove unused STACK_END_ADDR in the following files (in other
  2953. files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h,
  2954. tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h,
  2955. tm-hp300hpux.h, tm-isi.h.
  2956. Thu Jul 1 09:51:27 1993 Jim Kingdon (kingdon@cygnus.com)
  2957. * config/mips/nm-riscos.h: Define NBPG and UPAGES.
  2958. config/mips/xm-riscos.h: Include <sys/types.h>.
  2959. * ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
  2960. not an initializer, to copy the structure.
  2961. * gdbtypes.h (struct type): Add field tag_name.
  2962. * gdbtypes.c (type_name_no_tag), c-typeprint.c (c_type_print_base):
  2963. Use it.
  2964. * {coff,dwarf,mips,stabs}read.c: Set it.
  2965. * xm-sysv4.h: Undefine HAVE_TERMIO.
  2966. * config/mips/nm-riscos.h: Remove unmatched #endif.
  2967. Define FETCH_INFERIOR_REGISTERS.
  2968. * config/mips/riscos.mh: Don't include coredep.o; mips-nat.o is enough.
  2969. Fix misspelling of NAT_FILE.
  2970. * mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
  2971. we can still process "modern" core files.
  2972. * ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
  2973. print c_line.
  2974. (_initialize_ser_hardwire): Just check whether _POSIX_JOB_CONTROL
  2975. is defined; don't care what it is defined to.
  2976. Wed Jun 30 20:06:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2977. * config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
  2978. Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  2979. * inftarg.c: Remove unused include of terminal.h.
  2980. * signals.h: Don't undefine signals anymore.
  2981. * main.c: Use job_control from serial.h.
  2982. * fork-child.c (fork_inferior): Use gdb_setpgid.
  2983. * serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid.
  2984. * utils.c (quit): Use current_target->to_terminal_ours to figure
  2985. out whether we care about lack of job control, rather than __GO32__.
  2986. * utils.c: Include serial.h not terminal.h
  2987. (quit): Use job_control not TIOCGPGRP.
  2988. * terminal.h: Don't undefine TIOCGPGRP.
  2989. * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT.
  2990. * utils.c (quit): Use it.
  2991. * serial.h: Add SERIAL_UN_FDOPEN.
  2992. * utils.c (quit): Use it.
  2993. * ser-unix.c: Add process group to ttystate.
  2994. [HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate.
  2995. * inflow.c: Include serial.h not terminal.h.
  2996. Use serial.h stuff to replace most of the maze of #ifdef's.
  2997. * inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function.
  2998. * serial.h: Document SERIAL_SET_TTY_STATE as being immediate.
  2999. * ser-unix.c: Use TIOCSETN not TIOCSETP so it is true.
  3000. * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c:
  3001. Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and
  3002. SERIAL_SET_PROCESS_GROUP.
  3003. * inflow.c: Use them.
  3004. * config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h:
  3005. Define HAVE_TERMIOS.
  3006. * Various: Remove all use of TIOC*_BROKEN.
  3007. Wed Jun 30 12:20:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3008. * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define.
  3009. Tue Jun 29 13:44:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3010. * target.h (target_detach): Turn macro into function.
  3011. * target.c (target_detach): Define it, do deferred register stores
  3012. before calling the real target function.
  3013. Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3014. and Jim Kingdon (kingdon@cygnus.com)
  3015. * symtab.h (BLOCK_SHOULD_SORT): Do not sort blocks corresponding to
  3016. a function to avoid printing of function arguments in wrong order
  3017. due to sorting.
  3018. * symfile.c (compare_symbols): Remove code for sorting arguments
  3019. as blocks containing arguments are no longer sorted.
  3020. * symtab.c (lookup_block_symbol): Update comment accordingly.
  3021. Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3022. * config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
  3023. (REG_STRUCT_HAS_ADDR): Add comment.
  3024. * infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
  3025. to check whether there is line number information.
  3026. Tue Jun 29 08:29:17 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  3027. * remote-udi.c: Fix docstring so that it compiles.
  3028. * remote-mips.c, remote-nindy.c: move bfd.h before symfile.h
  3029. (for file_ptr).
  3030. Tue Jun 29 09:11:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3031. * dbxread.c (process_one_symbol): If we find a LOC_BLOCK where we
  3032. don't expect it, change it to LOC_STATIC so at least we don't coredump.
  3033. * c-typeprint.c (c_type_print_base): Don't error() on invalid type.
  3034. * symtab.h: Add comments about line numbers.
  3035. * source.c (identify_source_line): Fix off by one bug with line.
  3036. Mon Jun 28 19:00:21 1993 Jeff Law (law@snake.cs.utah.edu)
  3037. * hpread.c: Do not include libhppax. Instead include libhppa.h
  3038. and hpux-symtab.h. Misc indention fixes.
  3039. (find_unwind_entry): Add PARAM prototype.
  3040. (read_hpux_symtab): More fixes for names and sizes of structs,
  3041. unions, enums, typedefs, and tagdefs.
  3042. (read_hp_enum_type, read_hp_struct_type): Likewise.
  3043. (read_hp_set_type, read_hp_subrange_type): Likewise.
  3044. (hp_type_lookup, process_one_debug_symbol): Likewise.
  3045. (process_one_debug_symbol): Search forward from the K_FUNCTION for
  3046. the first K_BEGIN when setting the line number associated with a
  3047. function. Avoid unnecessary calls to savestring.
  3048. (hp_alloc_type): Initialize TYPE_CPLUS_SPECIFIC here. Remove
  3049. most cases where we set it elsewhere.
  3050. (hppa_sym_fns): Use "hppa" instead of hppax since hpread.c and
  3051. paread.c use the same BFD backend now. All references changed.
  3052. (hpux_symfile_init): Allocate space to hold the debugging section
  3053. contents on the symbol obstack.
  3054. Mon Jun 28 10:09:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3055. * printcmd.c (makeva*): New interface, for making a va_list.
  3056. (printf_command): Use it.
  3057. * config/m88k/xm-delta88.h: Remove VPRINTF define, not needed.
  3058. * config/pa/xm-pa.h: New file.
  3059. * config/pa/xm-hppa{b,h}.h: Include it.
  3060. * xcoffread.c: Remove obsolete NO_TYPEDEFS comment.
  3061. Sun Jun 27 08:54:55 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3062. * valprint.c (val_print_type_code_int): Fix off by one error with
  3063. eliminating leading zeroes for large little endian integers.
  3064. Sun Jun 27 08:58:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3065. * config/mips/riscos.mh (CC): Use -systype sysv.
  3066. * ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.
  3067. * Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h.
  3068. Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3069. * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
  3070. CALL_DUMMY between different 68k machines.
  3071. Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com)
  3072. * gdbserver/Makefile.in: Add dependancies on server.h.
  3073. * gdbserver/remote-gutils.c: Remove lots of unused functions and
  3074. variables.
  3075. * gdbserver/remote-inflow.c: Remove lots of unused variables and
  3076. #includes. Also, use PTRACE_* symbols instead of constants.
  3077. (mywait): Surround calls to wait() with enable/disable_async_io()
  3078. so that we can be interrupted from GDB while waiting for the
  3079. child. Also, handle child exit more gracefully.
  3080. * gdbserver/remote-server.c: Remove lots of unused variables.
  3081. Move all extern defs into server.h. Redo main loop so that
  3082. failure from getpkt() causes communications to be re-established.
  3083. Fix 'k' command so that it restarts the child.
  3084. * gdbserver/remote-utils.c: Remove lots of unloved vars and
  3085. subrs. Move many extern decls into server.h. (remote_open): For
  3086. tcp, seperate usage of proto fd from connected fd. Close proto
  3087. fd after getting connection. (putpkt/getpkt): Pay attention to
  3088. errors when reading/writing. Report these to the caller. New
  3089. routines input_interrupt/enable_async_io/disable_async_io to make
  3090. it possible to get an I/O interrupt when data arrives from the
  3091. comm link.
  3092. * serial.h: New file to contain common defs for all remote files.
  3093. Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com)
  3094. * remote.c: Add arg names to prototypes, in a modest effort at
  3095. clarification. Also add prototypes for some new functions.
  3096. * (remote_wait): Better error reporting for 'T' responses.
  3097. * ser-go32.c (strncasecmp): Make str1 & str2 be const.
  3098. * (dos_async_init): Make usage message reflect requested port #.
  3099. * ser-tcp.c (tcp_open): Terminate hostname properly to prevent
  3100. random hostname lookup failures. Add nicer message for unknown
  3101. host error. (wait_for): Wake up in case of exceptions. Also,
  3102. restart select() if we got EINTR.
  3103. * ser-unix.c (wait_for): Restart select() if we got EINTR.
  3104. * serial.c: (serial_close): Clean up code.
  3105. Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3106. * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
  3107. CALL_DUMMY between different 68k machines.
  3108. Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3109. * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
  3110. Make comment explaining this comprehensible.
  3111. (TAGFILES): Include ALLDEPFILES.
  3112. (ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
  3113. 29k-share/udi/udi.
  3114. (update-alldeps): Remove; obsolete.
  3115. * remote.c: Move comments regarding packets to top of file with the
  3116. rest of the protocol comments.
  3117. Fix incorrect description of 'T' response.
  3118. * README (Reporting Bugs): Refer people to the GDB manual.
  3119. * c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
  3120. * stabsread.c: Type -16 is 4 bytes.
  3121. * remote-udi.c: Improve docstring.
  3122. Fri Jun 25 11:16:31 1993 Fred Fish (fnf@cygnus.com)
  3123. * elfread.c (elf_symfile_read): Call bfd_elf_find_section, not
  3124. bfd_elf32_find_section, to track bfd changes.
  3125. Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3126. * config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define.
  3127. * config/mips/xm-riscos.h: Define USG.
  3128. Thu Jun 24 14:52:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3129. * main.c (filename_completer): Don't complete to files ending in ~.
  3130. * NEWS: Mention filename completion and "info line" enhancements.
  3131. * main.c (symbol_completion_function): On "info t foo", return NULL,
  3132. don't error().
  3133. * main.c (symbol_completion_function): Don't use readline word
  3134. breaking. Use new calling convention for c->completer and
  3135. complete_on_cmdlist.
  3136. * command.h (struct command): Change arguments; now the text passed
  3137. to completer does not have any word breaking done. New arg word.
  3138. * symtab.{c,h} (make_symbol_completion_list): Do word breaking. Take
  3139. word argument.
  3140. * {main.c,gdbcmd.h} ({filename,noop}_completer): Take word argument.
  3141. * command.{c,h} (complete_on_cmdlist): Take word argument.
  3142. * command.c (lookup_cmd_1): Doc fix.
  3143. Thu Jun 24 13:26:04 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  3144. * Makefile.in (OP_INCLUDE): define.
  3145. (OPCODE_CFLAGS): use OP_INCLUDE.
  3146. * config/i386/ncr3000.mh, config/i386/i386v4.mh,
  3147. config/i386/i386sol2.mh, config/m68k/hp300hpux.mh,
  3148. config/m68k/amix.mh, config/mips/irix[34].mh,
  3149. config/m88k/delta88.mh, config/sparc/sun4sol2.mh (ALLOCA,
  3150. ALLOCA1): macros removed.
  3151. * config/mips/decstation.mh, config/rs6000/rs6000.mh
  3152. (MMALLOC_LIB): renamed to MMALLOC.
  3153. Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3154. * partial-stab.h: Consolidate case statements for N_LSYM and N_FUN.
  3155. * dbxread.c: Change comment regarding acc.
  3156. Wed Jun 23 16:33:36 1993 Jeff Law (law@snake.cs.utah.edu)
  3157. * hpread.c: Document a few functions, misc cleanups. Update
  3158. copyright to reflect the first "release" of this file.
  3159. (struct hpux_symfile_info): Delete unneeded fields. Keep pointers
  3160. to the contents of the debug sections rather than offsets within
  3161. the file itself. Corresponding changes to the accessor macros.
  3162. (sl_symbol_size, slt_symbuf): Delete unneeded global variables.
  3163. (slt_symbuf_start, slt_symbuf_end, lntt_symbuf): Likewise.
  3164. (lntt_symbuf_start, lntt_symbuf_end, gntt_symbuf): Likewise.
  3165. (gntt_symbuf_start, gntt_symbuf_end): Likewise.
  3166. (fill_slt_symbuf, fill_lntt_symbuf): Delete unneeded functions.
  3167. (fill_gntt_symbuf): Likewise.
  3168. (get_lntt, get_gntt, get_slt): Simplify.
  3169. (hpux_symfile_init): Read and store the contents of the debugging
  3170. sections. Do error checking on memory allocation and BFD calls.
  3171. (read_hpux_symtab): Delete KERNELDEBUG crud. Ignore debug symbols
  3172. which are not needed for building partial symbol tables. Handle
  3173. K_CONST, K_TYPEDEF, and K_TAGDEF just like K_SVAR and K_DVAR.
  3174. (read_ofile_symtab): Delete useless processing_gcc_compilation stuff.
  3175. (read_hp_struct_type): Initialize TYPE_CPLUS_SPECIFIC.
  3176. (read_hp_set_type, read_hp_array_type): Likewise.
  3177. (read_hp_subrange_type, hp_type_lookup): Likewise.
  3178. Wed Jun 23 15:04:54 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  3179. Makefile overhaul dropping autodepend features.
  3180. * Makefile.in: many comment changes. forced consistent use of $()
  3181. for makefile variables references. dropped leading ./ in file
  3182. references. Drop $(srcdir)/ prefix on all dependencies.
  3183. Inserted contents of alldeps.mak and depend.
  3184. (INCLUDE_CFLAGS): defined as new macro for getting libiberty's
  3185. include directory into the compilation line.
  3186. (GDB_CFLAGS): new macro to take up the semantic previously held
  3187. by INCLUDE_CFLAGS.
  3188. (LIBIBERTY): dropped ancient subdir macro. I last removed this
  3189. macro in feb of '92. How does it keep coming back?
  3190. (MMALLOC_LIB): renamed to MMALLOC.
  3191. (BFD_SRC_DIR): renamed to BFD_SRC.
  3192. (BFD_OBJ_DIR): renamed to BFD_DIR.
  3193. (BFD_LIB): renamed to BFD.
  3194. (BFD_INCLUDES): renamed to BFD_CFLAGS.
  3195. (READLINE_DIR): now represents object directory.
  3196. (RL_LIB): renamed to READLINE.
  3197. (READLINE_SRC, READLINE_CFLAGS, OPCODES, OPCODES_CFLAGS): new
  3198. macros.
  3199. (INTERNAL_CFLAGS): added GDB_CFLAGS, OPCODES_CFLAGS,
  3200. READLINE_CFLAGS, BFD_CFLAGS. Dropped USER_CFLAGS.
  3201. (LDFLAGS): removed default assignment.
  3202. (TEXIDIR, INCLUDE_DEP, MMALLOC_DIR, MMALLOC_DEP, BFD_DEP,
  3203. READLINE_DEP, LIBIBERTY_DIR, TESTS, depend, STAGESTUFF): unused, so removed.
  3204. (ALLOCA1, ALLOCA): removed all references. alloca is now in
  3205. libiberty.
  3206. (VERSION): unilaterally and arbitrarily bumped to 4.9.3.
  3207. (SFILES, NONSRC, HFILES, ALLDEPFILES, ALLPARAM, ALLCONFIG):
  3208. removed all $(srcdir) prefixes.
  3209. (getopt_h, ieee-float_h, bfd_h, wait_h, dis-asm_h): new macros
  3210. for potential dependencies. commented out by default.
  3211. (readline_headers, udiheaders): convenient abbreviations.
  3212. (gdbcore_h, frame_h, symtab_h, gdbtypes_h, expression_h,
  3213. value_h, breakpoint_h, command_h, gdbcmd_h, defs_h, inferior_h):
  3214. new macros used for header file dependencies.
  3215. (install-info, clean-info): collapse into the info rule.
  3216. (install): now depends on all.
  3217. (install-only): new target for installing without depending on
  3218. all.
  3219. (uninstall): new target.
  3220. (config-check, config-check-hosts, config-check-targets): added
  3221. fixme comments.
  3222. (ch-exp.tab.c, m2-exp.tab.c): added artificial dependencies in
  3223. order to force parallel makes into keeping these rules separate.
  3224. * configure.in: omit cat'ing depend file onto generated Makefile.
  3225. * alldeps.mak, depend: removed.
  3226. * inferior.h: remove redundant include of symtab.h which is
  3227. included in value.h via breakpoint.h.
  3228. * alloca.c: removed. alloca is now in libiberty.
  3229. * config/m88k/delta88.mh, config/ns32k/merlin.mh (M_UNINSTALL):
  3230. new macro to undo what M_INSTALL does.
  3231. Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3232. * config/ns32k/{merlin.mh,xm-merlin.h}: Be consistent about name
  3233. of gdb-sh.
  3234. * dbxread.c (copy_pending): Change name and function of begi argument
  3235. to endi, since that is what the caller needs.
  3236. * Makefile.in (TAGFILES): Don't include YYFILES.
  3237. * Makefile.in (HFILES): Include monitor.h.
  3238. * Makefile.in: Include text that used to be in alldeps.mak.
  3239. Remove config/mips/{bigmips.mh,xm-bigmips} from it.
  3240. * Makefile.in, configure.in: Remove all traces of alldeps.mak.
  3241. * main.c (main): Print help message on stdout not stderr
  3242. per standards.texi.
  3243. New option --version per standards.texi.
  3244. In help message, show long options with "--" not "-".
  3245. Don't try to print help message or version until after we have
  3246. called initialize_all_files.
  3247. Tue Jun 22 11:03:13 1993 Jeff Law (law@snake.cs.utah.edu)
  3248. * hpread.c: Delete useless #if 1 statements.
  3249. (hp_type_translate): Use T_LONG, T_UNS_LONG, and T_DOUBLE instead
  3250. of magic integers. Fix handling for T_UNS_INT. Abort if the type
  3251. passed in is not an "immediate" type.
  3252. (read_hp_enum_type): Properly compute the size of the type.
  3253. (read_hp_array_type): Likewise.
  3254. (hp_type_lookup): Prefix the names of structs, unions and enums
  3255. with "struct", "union", and "enum" as appropriate.
  3256. Tue Jun 22 03:15:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3257. * solib.c (solib_add_common_symbols): Don't call lookup_minimal_symbol.
  3258. (solib_add): Call special_symbol_handling once, not once per library.
  3259. * procfs.c (procfs_resume): Don't pass a SIGTSTP whose action
  3260. is SIG_DFL.
  3261. * procfs.c (procfs_resume): Skip the unnecessary PRSVADDR on all
  3262. systems, not just Solaris.
  3263. * stabsread.c: Include <ctype.h>.
  3264. Mon Jun 21 16:09:46 1993 Jim Kingdon (kingdon@cygnus.com)
  3265. * fork-child.c (fork_inferior): Quote exec_file so it can contain
  3266. funky characters.
  3267. Mon Jun 21 16:56:47 1993 Fred Fish (fnf@cygnus.com)
  3268. * Makefile.in (INCLUDE_CFLAGS): Add BFD_INCLUDES for now, since
  3269. bfd.h is included by target.h, which most of gdb includes.
  3270. * depend: Hand remove BFD_INCLUDES from ${CC} lines, now that
  3271. it's in INCLUDE_CFLAGS.
  3272. Mon Jun 21 16:09:46 1993 Jim Kingdon (kingdon@cygnus.com)
  3273. * config/i386/*aix*, i386aix-nat.c: New files.
  3274. * configure.in: Use them.
  3275. * alldeps.mak: List them.
  3276. * coffread.c (decode_base_type): Deal with anonymous enum type.
  3277. * i387-tdep.c (print_387_status_word): Add comment re "top".
  3278. * i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func.
  3279. * dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*. Define them if and
  3280. only if not defined by a header file.
  3281. * mipsread.c: Don't define L_SET or L_INCR.
  3282. Mon Jun 21 15:10:07 1993 Fred Fish (fnf@cygnus.com)
  3283. * Makefile.in (BFD_INCLUDES): Bfd.h is now back in bfd build dir.
  3284. * depend: Hand updated to match.
  3285. Mon Jun 21 10:13:42 1993 Jeff Law (law@snake.cs.utah.edu)
  3286. * hpread.c: Include "demangle.h".
  3287. (process_one_debug_symbol): Set the SYMBOL_LANGUAGE and
  3288. SYMBOL_INIT_DEMANGLED_NAME for the current symbol. Adjust
  3289. SYMBOL_VALUE for local variables in the stack by the size of the
  3290. current function's stack (found in unwind descriptor). Keep
  3291. better track of the current unwind descriptor.
  3292. Sun Jun 20 13:11:11 1993 Jim Kingdon (kingdon@cygnus.com)
  3293. * stabsread.c (read_struct_fields): Don't call read_cpp_abbrev on $_.
  3294. (read_cpp_abbrev): Don't complain specially for $_. Also return 0 if
  3295. we don't recognize the abbrev.
  3296. Sun Jun 20 00:24:41 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3297. * solib.c (solib_add_common_symbols): Add comment about performance.
  3298. Fri Jun 18 12:37:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3299. * config/mips/{{x,n}m-riscos.h,riscos.mh}: New files.
  3300. * configure.in (mips-*-sysv*): Use riscos for host, bigmips for target.
  3301. * config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
  3302. * config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
  3303. * configure.in (mips-sony-*): Use news-mips for host.
  3304. * buildsym.h: Doc fix for processing_acc_compilation.
  3305. Thu Jun 17 19:57:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3306. * printcmd.c (print_formatted): Don't use tab in wrap_here arg.
  3307. Thu Jun 17 17:29:30 1993 Jim Kingdon (kingdon@lisa.cygnus.com)
  3308. * Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
  3309. ${srcdir}/../include.
  3310. * config/m88k/xm-delta88.h: Comment out unused defines which conflict
  3311. with system headers.
  3312. * printcmd.c (printf_command): Cast second arg to vprintf to PTR.
  3313. Use VPRINTF macro if defined.
  3314. * config/m88k/xm-delta88.h: Define VPRINTF. Include <sys/siginfo.h>.
  3315. Define TIOC{GETC,GLTC}_BROKEN.
  3316. * m88k-nat.c: Uncomment include of <sys/ptrace.h>.
  3317. * main.c: Rename initialize_{main,cmd_lists,history} to init_* to
  3318. make things easier on munch (apparently this matters on
  3319. the delta88 with svr3).
  3320. Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)
  3321. * Makefile.in: canonicalize install.sh; for use within
  3322. this directory (and subdirs)
  3323. Tue Jun 15 17:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  3324. * Makefile.in: remove parentdir support; use INSTALL_XFORM
  3325. Thu Jun 17 15:08:35 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
  3326. * configure.in (alpha-*-osf*), config/alpha/alpha-osf.mh: New
  3327. host.
  3328. * sh-tdep.c (frame_find_saved_regs): Use NUM_REGS rather than hard
  3329. wired (and wrong) constant.
  3330. * values.c (unpack_long): Add case to unpack when target object is
  3331. sizeof(int).
  3332. * config/sh/tm-sh.h (REGISTER_NAMES): Know about the news ones the
  3333. simulator defines.
  3334. Wed Jun 16 16:08:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  3335. * NEWS: tracking user visible changes starting with
  3336. vxworks-timeout.
  3337. * remote-vx.c (_initialize_vx): rename user settable option from
  3338. rpcTimeout to vxworks-timeout.
  3339. Wed Jun 16 14:34:10 1993 Jeff Law (law@snake.cs.utah.edu)
  3340. * hpread.c (hp_type_translate): Fix promotion bugs from
  3341. char to short and short to int.
  3342. Wed Jun 16 12:21:49 1993 Fred Fish (fnf@cygnus.com)
  3343. * Makefile.in (depend): More makefile diddling.
  3344. * alldeps.mak, depend: Update to latest automatically built
  3345. versions.
  3346. * Makefile.in (depend): Bfd.h keeps moving, keep up with it.
  3347. * alldeps.mak, depend: Update to latest automatically built
  3348. versions.
  3349. Tue Jun 15 12:26:05 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  3350. * remote-vx.c: include gdbcmd.h for setlist.
  3351. (_initialize_vx): make rpcTimeout user settable.
  3352. Mon Jun 14 09:23:51 1993 Jim Kingdon (kingdon@cygnus.com)
  3353. * main.c, gdbcmd.h: Add function filename_completer.
  3354. * main.c, symfile.c, source.c, exec.c, core.c: Use it for
  3355. "directory", "source", "cd", "symbol-file" "add-symbol-file",
  3356. "load", "file", "exec-file", "core-file" commands.
  3357. (But '/' is a word break, limiting usefulness; see comments).
  3358. * source.c (mod_path): Warning not error if can't find directory.
  3359. * isi-xdep.c: New file.
  3360. * config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
  3361. Sun Jun 13 09:17:48 1993 Jim Kingdon (kingdon@cygnus.com)
  3362. * config/m68k/xm-news.h: Include <sys/param.h>.
  3363. * m88k-tdep.c (IEEE_isNAN): Remove.
  3364. config/m88k/tm-m88k.h (INVALID_FLOAT): Return 0. This was the same
  3365. broken isNAN as on the mips.
  3366. * valprint.c (_initialize_valprint): Use c->function.sfunc not just
  3367. c->function.
  3368. * dbxread.c (process_one_symbol): If SUN_FIXED_LBRAC_BUG is not
  3369. defined, don't worry about Sun's silly LBRAC bug.
  3370. * config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0.
  3371. * dbxread.c (process_one_symbol): If there's a symbol before an
  3372. N_SO, don't error().
  3373. (case N_BCOMM): complain () not error ().
  3374. * defs.h, main.c (catch_errors): Add return_mask arg.
  3375. stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
  3376. other callers: Pass RETURN_MASK_ALL.
  3377. (return_to_top_level), callers: Add return_reason arg.
  3378. * utils.c (quit):
  3379. Use return_to_top_level (RETURN_QUIT) instead of error ().
  3380. * main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
  3381. Use SET_TOP_LEVEL not setjmp (to_top_level).
  3382. * remote-nindy.c: Use catch_errors not setjmp (to_top_level).
  3383. Sat Jun 12 14:40:54 1993 Jim Kingdon (kingdon@cygnus.com)
  3384. * solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
  3385. Don't try to get the debug base yet.
  3386. * dbxread.c (process_one_symbol): Set n_opt_found based on whether
  3387. a non-gcc N_OPT symbol is found. Make SUN_FIXED_LBRAC_BUG a macro
  3388. which returns 0 or 1 to say whether to do it.
  3389. * config/sparc/sun4{sol2,os4}.h
  3390. (SUN_FIXED_LBRAC_BUG,VARIABLES_INSIDE_BLOCK): Use n_opt_found so
  3391. the right thing happens for both acc and SunOS4 /bin/cc.
  3392. * valprint.c (print_hex_chars): Use local_hex_format_{pre,suf}fix.
  3393. * printcmd.c (print_scalar_formatted): Use val_print_type_code_int.
  3394. * mips-tdep.c: Remove isa_NAN; it assumed sizeof(host int) == 4 and
  3395. probably contained byte-order sins too.
  3396. config/mips/tm-mips.h (INVALID_FLOAT): Define to 0 like most machines.
  3397. The IEEE_FLOAT code in print_floating takes care of it.
  3398. Sat Jun 12 14:47:04 1993 Fred Fish (fnf@cygnus.com)
  3399. * Makefile.in (VERSION): Bump to 4.9.2.
  3400. * c-valprint.c (c_val_print): For array of chars printed with
  3401. string syntax, don't print the address of the array. From
  3402. bothner@cygnus.com.
  3403. * c-exp.y (yylex): Recognize '.' as indicating a floating point
  3404. number regardless of the radix. From wilson@cygnus.com.
  3405. * valprint.c (set_input_radix_1, set_output_radix_1): New
  3406. prototypes and functions that do the actual radix setting work.
  3407. * valprint.c (set_radix, set_output_radix, set_input_radix):
  3408. Rewrite to use set_input_radix_1 and set_output_radix_1.
  3409. * valprint.c (initialize_valprint): Enable commands to
  3410. independently set and show input and output radices.
  3411. * valprint.c (show_radix): New prototype and function that
  3412. handles separate input and output radices.
  3413. Fri Jun 11 18:39:38 1993 Ken Raeburn (raeburn@cygnus.com)
  3414. Patches from Jeff Law, law@cs.utah.edu:
  3415. * hppa-pinsn.c: Now uses disassembler from opcode library,
  3416. this contains only the stub function print_insn.
  3417. Fri Jun 11 15:19:59 1993 K. Richard Pixley (rich@cygnus.com)
  3418. * main.c (main): back to two periods for elipse.
  3419. (print_gdb_version): revised format for configuration info.
  3420. Fri Jun 11 10:24:35 1993 Fred Fish (fnf@cygnus.com)
  3421. * defs.h (INT_MAX): Cast unsigned shift result to int.
  3422. Fri Jun 11 10:17:41 1993 Jim Kingdon (kingdon@cygnus.com)
  3423. * dbxread.c (process_one_symbol): Rather than having
  3424. BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which
  3425. is true if we are doing stabs-in-elf, false otherwise.
  3426. config/sparc/tm-sun4sol2.h: Don't define it.
  3427. Fri Jun 11 13:33:40 1993 Ian Lance Taylor (ian@cygnus.com)
  3428. * remote-mips.c (mips_send_packet): Don't print garbage character
  3429. in debugging info.
  3430. (mips_request): Don't check that remote pid is 0, because
  3431. sometimes it isn't.
  3432. (mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
  3433. not an integer.
  3434. Fri Jun 11 10:17:41 1993 Jim Kingdon (kingdon@cygnus.com)
  3435. * stack.c (print_frame_info): Use catch_errors around print_frame_args.
  3436. * Makefile.in (install): Don't depend on gdb.
  3437. * Rename remote-es1800.c to remote-es.c
  3438. and remote-st2000.c to remote-st.c for 14-char filenames.
  3439. config/m68k/{es1800,st2000}: Use the new names.
  3440. * mips-tdep.c (isa_NAN): Don't return true on -0.
  3441. Fri Jun 11 10:24:35 1993 Fred Fish (fnf@cygnus.com)
  3442. * defs.h (INT_MAX): Cast unsigned shift result to int.
  3443. Thu Jun 10 13:26:41 1993 Fred Fish (fnf@cygnus.com)
  3444. * elfread.c (elf_symtab_read): Add bfd section address to bfd
  3445. symbols, now that they are section relative.
  3446. * solib.c (bfd_lookup_symbol): Ditto.
  3447. Thu Jun 10 11:27:34 1993 Jeff Law (law@snake.cs.utah.edu)
  3448. * hpread.c (read_hp_function_type): Adjust SYMBOL_VALUE for
  3449. arguments in the stack by the size of the current function's stack
  3450. (found in the unwind descriptor).
  3451. (process_one_debug_symbol): Likewise. Keep track of the current
  3452. function's unwind descriptor.
  3453. Thu Jun 10 10:56:56 1993 Jim Kingdon (kingdon@cygnus.com)
  3454. * Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
  3455. depend: Updated accordingly.
  3456. Wed Jun 9 16:08:44 1993 Jim Kingdon (kingdon@cygnus.com)
  3457. * Makefile.in (*.tab.c): Use mv for atomic update.
  3458. * Makefile.in ({dist,real}clean): Also remove nm.h.
  3459. (realclean): Also remove ${TESTS}, y.output, yacc.{acts,tmp}.
  3460. (distclean): Don't rebuild *.tab.c or TAGS.
  3461. Wed Jun 9 12:56:58 1993 K. Richard Pixley (rich@cygnus.com)
  3462. * Makefile.in (version.c): add host and target names to version.c.
  3463. * main.c (main): print three periods for the elipse.
  3464. (print_gdb_version): also print configuration.
  3465. * udi/udiids.h, udi/udip2soc.c, udi/udiphcfg.h, udi/udiphunix.h,
  3466. udi/udiproc.h, udi/udipt29k.h, udi/udiptcfg.h, udi/udisoc.h,
  3467. udi/udr.c: Change AMD copyrights to FSF copyleft '93.
  3468. * remote-eb.c (get_hex_regs, eb_fetch_registers), remote-adapt.c
  3469. (get_hex_regs, adapt_fetch_registers): cast args to
  3470. supply_register to avoid gcc warning.
  3471. * config/a29k/a29k.mt (TDEPFILES): drop minimon support. It
  3472. doesn't compile on solaris and is now obsolete.
  3473. * config/sparc/sun4os4.mh (XM_CLIBS): remove -lresolv. This
  3474. breaks stock sunos installations.
  3475. Wed Jun 9 06:14:33 1993 Jim Kingdon (kingdon@cygnus.com)
  3476. * m68k-stub.c: Add comment about frame cache.
  3477. * target.h (target_store_registers): Doc fix re error handling.
  3478. * findvar.c (write_register): Call SWAP_TARGET_AND_HOST regardless
  3479. of register_valid[regno].
  3480. Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
  3481. * symtab.h, dwarfread.c: Doc fix re dependencies.
  3482. Tue Jun 8 17:54:09 1993 Rob Savoye (rob@rtl.cygnus.com)
  3483. * serial.c (serial_close): If scb is NULL, don't try to close
  3484. it.
  3485. * configure.in: Add support for rom68k and bug boot monitors.
  3486. Tue Jun 8 17:39:12 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
  3487. * coffread.c (init_stringtab): Fix bug where sizeof(long) != 4.
  3488. * gdbcore.h, core.c (read_memory_unsigned_integer): New function.
  3489. * findvar.c (read_register, write_register): Fix thinko where
  3490. sizeof(host long) != sizeof(target int).
  3491. * h8300-tdep.c: Use new read_memory_unsigned_integer call.
  3492. * sh-tdep.c (_initialize_sh_tdep): Add memory_size command.
  3493. Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
  3494. * Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
  3495. m68k-tdep.c (m68k_find_saved_regs). Don't duplicate code between
  3496. 68881 and non-68881 cases. Check for a pair of movel instructions.
  3497. Tue Jun 8 14:52:55 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  3498. First cut at sparc-vxworks targetting.
  3499. * config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt: new files.
  3500. * configure.in: sparc-vxworks gdb_target now vxsparc.
  3501. * remote-eb.c, remote.c: symfile.h requires bfd.h so include it.
  3502. Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
  3503. * config/m68k/xm-news.h: add "extern int errno".
  3504. Tue Jun 8 13:45:07 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  3505. * remove-vx.c (vx_read_register, vx_write_register): collapse
  3506. ifdef I80960 else (assumes) m68k into parameterizable macros
  3507. VX_NUM_REGS and VX_SIZE_FPREGS.
  3508. * config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS,
  3509. VX_SIZE_FPREGS): new definitions.
  3510. Tue Jun 8 11:08:29 1993 Jim Kingdon (kingdon@cygnus.com)
  3511. * symfile.{c,h} (generic_load): New function.
  3512. remote{,-nindy,-eb,-mips}.c: Use it.
  3513. Mon Jun 7 20:07:30 1993 Stu Grossman (grossman@cygnus.com)
  3514. * Makefile.in (depend): More sed gubbish to deal with
  3515. ../bfd/bfd.h being generated during the build.
  3516. * depend: Re-done with corrected makefile.
  3517. Mon Jun 7 16:32:05 1993 Fred Fish (fnf@cygnus.com)
  3518. * Makefile.in (BFD_SRC_DIR): Renamed def and usages from BFD_DIR.
  3519. * Makefile.in (BFD_OBJ_DIR): New definition for the bfd build
  3520. directory to find automatically generated header files and library.
  3521. * Makefile.in (BFD_LIB): Use BFD_OBJ_DIR.
  3522. * Makefile.in (LINTFLAGS): Include BFD_OBJ_DIR.
  3523. * Makefile.in (saber_gdb): Include BFD_OBJ_DIR.
  3524. * Makefile.in (depend): Include BFD_OBJ_DIR in gcc args.
  3525. * Makefile.in (paread.o, xcoffexec.o): Remove, now in depend.
  3526. * depend, alldeps.mak: Rebuild after Makefile.in changes.
  3527. Fri Jun 4 10:18:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  3528. * configure.in: change lynx support to CPU-*-lynxos*
  3529. * Makefile.in (subdir_do): change test from existence of directory
  3530. to existence of Makefile (the directory may exist but not be configured)
  3531. Thu Jun 3 01:18:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  3532. * config/sparc/xm-sun4sol2.h: define MEM_FNS_DECLARED
  3533. Fri Jun 4 10:43:33 1993 Ian Lance Taylor (ian@cygnus.com)
  3534. * configure.in (mips-idt-ecoffl*): New target; use idtl.
  3535. (mips-idt-ecoff*): Added trailing '*'.
  3536. * config/mips/idtl.mt: New file; like idt.mt, but little endian.
  3537. Thu Jun 3 17:36:56 1993 Stu Grossman (grossman@cygnus.com)
  3538. * ser-go32.c: Clean up lots of compilation nits.
  3539. Thu Jun 3 14:44:57 1993 Stu Grossman (grossman@cygnus.com)
  3540. * Patches from Jeffrey Law <law@cs.utah.edu>.
  3541. * hppab-nat.c: Eliminate unnecessary ifdefs for
  3542. FETCH_INFERIOR_REGISTERS, CANNOT_FETCH_REGISTER, and
  3543. CANNOT_STORE_REGISTER.
  3544. (fetch_register): Delete code to handle CANNOT_FETCH_REGISTER.
  3545. * hppa-pinsn.c: Support 'I', 'J', and 'K' in output
  3546. templates for 1.1 FP computational instructions.
  3547. Thu Jun 3 03:34:49 1993 Stu Grossman (grossman@cygnus.com)
  3548. * Makefile.in: Remove ser-tcp.[co]. (Use XDEPFILES instead.)
  3549. * alldeps.mak, depend: Rebuild to account for ser-tcp.
  3550. * config/sparc/sun4os4.mh: Add ser-tcp to XDEPFILES.
  3551. * gdbserver/Makefile.in (gdbserver): Use -lbsd.
  3552. * gdbserver/remote-inflow{-sparc}.c (create_inferior): Don't use a
  3553. shell when running the child, as args have been expanded by the
  3554. time we get here. Simplify calling convention.
  3555. * gdbserver/remote-server.c (main): Use new calling convention
  3556. for create_inferior, remove defunct code for coalescing argv.
  3557. Remove extra calls to mywait(), as we no longer have to wade
  3558. through a shell.
  3559. * target.c (target_read_memory_partial): Don't deref errnoptr
  3560. when checking for null pointer.
  3561. Wed Jun 2 19:58:46 1993 John Gilmore (gnu@cygnus.com)
  3562. * remote-es1800.c: Fix typo.
  3563. Tue Jun 1 21:22:39 1993 Fred Fish (fnf@cygnus.com)
  3564. * target.c (target_read_memory_partial): Like target_read_memory,
  3565. but does partial reads, such as reads that bump into the end of
  3566. the address space.
  3567. * target.h (target_read_memory_partial): Add prototype.
  3568. * valprint.c (PRINT_MAX_DEFAULT): New define, initial value 200.
  3569. * valprint.c (val_print_string): Complete rewrite to fix bug with
  3570. bumping into end of memory, avoiding unnecessarily long reads, and
  3571. fixing bug when print_max is set to 0 (unlimited print length).
  3572. * valprint.c (_initialize_valprint): Use PRINT_MAX_DEFAULT to
  3573. initialize print_max.
  3574. Tue Jun 1 18:11:35 1993 Rob Savoye (rob at darkstar.cygnus.com)
  3575. * configure.in: Add support for rom68k and bug boot monitors.
  3576. Mon May 31 10:37:04 1993 Jim Kingdon (kingdon@cygnus.com)
  3577. * printcmd.c (print_scalar_formatted): Print integers bigger than
  3578. LONGEST in hex no matter how big, and no matter what the format
  3579. and size.
  3580. * stabsread.c (read_type): Skip type attributes if present.
  3581. * stabsread.c (read_huge_number): Don't accept '0' + radix as part
  3582. of number, just through '0' + radix - 1.
  3583. Sun May 30 15:35:21 1993 Fred Fish (fnf@cygnus.com)
  3584. * Makefile.in (SER_HARDWIRE): Temporarily comment out ser-tcp.o.
  3585. * {dbxread.c, dwarfread.c} (read_ofile_symtab): Rewrite to take
  3586. single parameter, the pointer to the partial symtab, rather than
  3587. a bunch of args that are derived from the partial symtab. Change
  3588. prototypes and callers to match.
  3589. * dbxread.c (read_ofile_symtab): Remove "#if 1" around code to
  3590. set demangling style automatically.
  3591. * defs.h (CPLUS_MARKER): Clarify comment that this is only for
  3592. GNU C++, not C++ in general.
  3593. * symtab.h (general_symbol_info): Simplify by eliminating one
  3594. structure level for the language dependent info.
  3595. Sat May 29 15:59:29 1993 Fred Fish (fnf@cygnus.com)
  3596. * c-typeprint.c (c_type_print_base): Avoid dereferencing NULL
  3597. names for TYPE_CODE_STRUCT and TYPE_CODE_UNION types.
  3598. TYPE_CODE_ENUM was already testing for this.
  3599. Fri May 28 17:18:05 1993 Stu Grossman (grossman@cygnus.com)
  3600. * Makefile.in: Add new file ser-tcp.c.
  3601. * defs.h (memcmp): Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
  3602. * findvar.c (write_register): See if we are writing back the same
  3603. value that's already in the register. If so, don't bother.
  3604. * remote.c (putpkt, getpkt): Improve handling of communication
  3605. problems.
  3606. * ser-go32.c: Prototype it to death. Update serial_ops and add
  3607. dummy routines where appropriate.
  3608. * ser-tcp.c: New module to implement serial I/O via TCP
  3609. connections.
  3610. * ser-unix.c: Clean up getting/setting of tty state. Get rid of
  3611. SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
  3612. * serial.c: Add start of support for connect command.
  3613. (serial_open): Distinguish between tcp and local devices.
  3614. * serial.h (struct serial_ops): Get rid of restore, add
  3615. get_tty_state and set_tty_state. Define protoypes and macros for
  3616. this mess.
  3617. * gdbserver/remote-utils.c: Add tcp support. (readchar): Do
  3618. some real buffering. Handle error conditions gracefully.
  3619. * gdbserver/remote-inflow-sparc.c: Update to remote-inflow.c
  3620. (Lynx), remove lots of cruft.
  3621. Fri May 28 17:24:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  3622. * printcmd.c (print_address_symbolic): turn this into an assigment
  3623. instead of an initialization (many compilers don't accept
  3624. structure initialization).
  3625. Thu May 27 16:56:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3626. * xcoffread.c (read_xcoff_symtab): If several program csects in one
  3627. source file, give them all the name of the source file, rather than
  3628. the 2nd and subsequent ones having NULL names.
  3629. Thu May 27 06:16:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3630. * printcmd.c (print_address_symbolic): Append source filename and
  3631. linenumber of the symbol if print symbol-filename is on.
  3632. (initialize_printcmd): `set print symbol-filename'.
  3633. Wed May 26 13:46:16 1993 Stu Grossman (grossman@cygnus.com)
  3634. * configure.in: Add config for Lynx target. Configure gdbserver
  3635. only for Lynx. Re-do selective configuration of sparclite.
  3636. * gdbserver/{remote-gutils.c remote-server.c Makefile.in
  3637. configure.in remote-inflow.c remote-utils.c}: New files to
  3638. support GDB remote server. Currently only works for Lynx.
  3639. Wed May 26 10:28:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3640. * stabsread.c (define_symbol, case 't'): Only set the name if it
  3641. is not a pointer type.
  3642. * stabsread.c (define_symbol): Clean up logic; move the read_type
  3643. calls to inside the switch statement (this improves the error
  3644. handling).
  3645. * mipsread.c (parse_symbol, parse_partial_symbols): Deal with Fortran
  3646. common blocks.
  3647. Tue May 25 20:44:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3648. * printcmd.c (print_formatted, case 'i'): Pass a tab to wrap_here.
  3649. * source.c (line_info): Change "pc" to "address" in messages and
  3650. use print_address for addresses.
  3651. * source.c (line_info): If we don't find a symtab, print more useful
  3652. output, including the symbolic address.
  3653. * source.c (line_info): If --fullname, display the source.
  3654. (identify_source_line), callers: Take pc as argument, rather than
  3655. assuming innermost frame (emacs doesn't use this, so no one ever
  3656. noticed).
  3657. * symtab.h: Declare frame_file_full_name.
  3658. * main.c: Don't.
  3659. Tue May 25 15:30:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
  3660. * breakpoint.c (catch_command_1): Fix typo in error msg.
  3661. Tue May 25 16:05:55 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  3662. * elfread.c (elf_symfile_read): Update ELF structure and routine
  3663. names to specify 32-bit versions.
  3664. (elf_symtab_read): Retrieve size field directly from symbol,
  3665. instead of using old kludge.
  3666. * mips-pinsn.c (print_insn): Cast address to bfd_vma before
  3667. calling opcodes library.
  3668. * z8k-tdep.c (print_insn): Likewise.
  3669. Tue May 25 13:06:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3670. * stabsread.c: Remove all uses of error(). Make error_type and
  3671. read_type_number static.
  3672. (define_symbol): Don't try to deal with a missing symbol
  3673. descriptor which isn't followed by digit, '(', or '-'.
  3674. * stabsread.h: Don't declare read_type_number here.
  3675. * gdbtypes.h: Don't declare error_type here.
  3676. * xcoffread.c: Remove NO_TYPEDEFS code.
  3677. Tue May 25 09:33:16 1993 Ian Lance Taylor (ian@cygnus.com)
  3678. * mips-tdep.c: Removed #include of many header files, and #define
  3679. of MIPSMAGIC; no longer used.
  3680. Tue May 25 09:36:13 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3681. * Many places: replace "the inferior" in messages with "the program"
  3682. or "the program being debugged".
  3683. * inflow.c (try_writing_regs): Remove; it's been #if 0'd forever
  3684. and I'm getting sick of maintaining it.
  3685. * config/i386/linux.mh: Don't use \ newline; the awk scripts don't
  3686. support it.
  3687. * config/i386/go32.mh: Define SER_HARDWIRE.
  3688. * Makefile.in: Define SER_HARDWIRE.
  3689. (DEPFILES): Use it.
  3690. (alldeps.mak): Add SER_HARDWIRE.
  3691. Remove all references to ser-hardwire.{c,o}.
  3692. * configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
  3693. Mon May 24 23:50:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3694. * sparc-nat.c (store_inferior_registers): Fill in all members of
  3695. inferior_fp_registers by reading them from the inferior before
  3696. modifying and writing them back.
  3697. Fixes unexplainable inferior FP exceptions after calls to the inferior
  3698. or setting of floating point registers.
  3699. * mips-tdep.c (mips_skip_prologue): Skip move of argument register
  3700. to register which is generated by gcc-2.4.
  3701. Tue May 25 00:42:39 1993 Ken Raeburn (raeburn@cygnus.com)
  3702. * hppa-pinsn.c: Define OLD_TABLE before including opcode/hppa.h.
  3703. Mon May 24 13:55:14 1993 Stu Grossman (grossman@cygnus.com)
  3704. * config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h
  3705. xm-i386lynx.h}: New configuration for Lynx.
  3706. Mon May 24 10:01:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3707. * mipsread.c (parse_symbol): Deal with scVar and scVarRegister.
  3708. * symtab.h: Comment that LOC_REGPARM_ADDR can be call by reference.
  3709. * c-typeprint.c (c_type_print_base): Don't print typedef'd names
  3710. as struct, union, or enum tags.
  3711. Mon May 24 01:10:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3712. * symmisc.c (dump_msymbols): Avoid gdb coredump with stripped
  3713. executable.
  3714. Sat May 22 10:03:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3715. * infrun.c (wait_for_inferior),
  3716. infcmd.c (program_info, signal_command): Use symbolic signal names.
  3717. * inftarg.c (child_wait): Deal with EINTR and include message from
  3718. strerror if printing an error message.
  3719. * main.c (command_line_input): Use STOP_SIGNAL not SIGTSTP.
  3720. * stabsread.c: Remove most uses of lookup_fundamental_type.
  3721. (define_symbol): Use read_type for type of enum constant,
  3722. not just read_type_number. Also don't call error().
  3723. (define_symbol): For unrecognized constant type, one complaint (the
  3724. one from error_type) is enough. Don't make our own in addition.
  3725. (define_symbol): Don't treat an N_FUN 'R' as a prototype.
  3726. * gdbtypes.h: Doc fixes.
  3727. Sat May 22 03:33:07 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3728. Fix stack unwinding through _sigtramp on Irix. These patches are from
  3729. Paul Flinders <ptf@delcam.co.uk>.
  3730. * mipsread.c (fixup_sigtramp): Find _sigtramp on Irix even when the
  3731. executable uses sigvec.
  3732. * mips-tdep.c (read_next_frame_reg): Allow tm-file to override
  3733. sigcontext offsets.
  3734. * config/mips/tm-irix3.h: Add sigcontext offsets for Irix.
  3735. Sat May 22 00:39:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3736. * infrun.c (wait_for_inferior): Clear stop_signal if it should not
  3737. be passed to the inferior to make "handle <signal> nopass nostop" work.
  3738. Sat May 22 00:21:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3739. * config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
  3740. the necessary bits.
  3741. * findvar.c (value_from_register): Fix uninitialized first_addr
  3742. which caused problems with assignment of doubles to register variables
  3743. on some targets.
  3744. * mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
  3745. missing mips definitions if necessary.
  3746. Fix handling of double register variables for mips targets and big
  3747. endian hosts. These patches are from Paul Flinders <ptf@delcam.co.uk>.
  3748. * config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
  3749. 8 bytes for doubles.
  3750. * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
  3751. conversion of type held in multiple registers to host format.
  3752. * config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
  3753. companion to REGISTER_CONVERT_TO_TYPE.
  3754. * config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
  3755. Convert to function calls.
  3756. * config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
  3757. mips targets.
  3758. * mips-tdep.c (mips_print_register): Raw buffer now needs just
  3759. MAX_REGISTER_RAW_SIZE bytes.
  3760. * mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
  3761. (if defined) for doubles.
  3762. * mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
  3763. New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
  3764. * valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
  3765. defined.
  3766. * findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
  3767. defined.
  3768. Fri May 21 09:04:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3769. * configure.in: Add i[34]86-*-isc*.
  3770. * stabsread.c: Make sure all complain() pass the address of the struct.
  3771. * xcoffread.c: Make sure all struct complaints are static not auto.
  3772. * Makefile.in: Add rule for xcoffexec.o like that for paread.o.
  3773. * xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol.
  3774. Wed May 19 12:33:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3775. * config/i386/linux.mh: Re-enable coredumps now that they should work.
  3776. Wed May 19 15:44:20 1993 K. Richard Pixley (rich@cygnus.com)
  3777. * config/m68k/tm-m68k.h (FRAME_CHAIN): add missing close paren.
  3778. Wed May 19 15:33:57 1993 Stu Grossman (grossman@cygnus.com)
  3779. * config/pa/nm-hppab.h: Comment PTRACE_ARG3_TYPE.
  3780. Wed May 19 12:33:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3781. * Makefile.in (INSTALLED_LIBS): New variable.
  3782. Tue May 18 14:08:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3783. * main.c (quit_command): In the "quit anyway?" message, tell the user
  3784. whether we are planning to detach or kill the program.
  3785. * config/vax/vaxbsd.mh: Add "NAT_FILE= nm-vax.h".
  3786. * config/vax/xm-vaxbsd.h: Use <sys/param.h> not <machine/limits.h>
  3787. * infcmd.c (read_pc): Doc fix.
  3788. * printcmd.c (print_address_symbolic): Use %u not %d for offset.
  3789. * blockframe.c (get_prev_frame_info): If pc in sigtramp, set
  3790. signal_handler_caller.
  3791. * tm-68k.h (FRAME_{CHAIN,SAVED_PC}): Deal with sigtramp.
  3792. * tm-hp300bsd.h: Define SIGTRAMP_{START,END} not IN_SIGTRAMP.
  3793. * inferior.h (IN_SIGTRAMP): Definition moved from infrun.c.
  3794. Use SIGTRAMP_START if defined.
  3795. * infcmd.c (step_1): Use SIGTRAMP_{START,END} if needed.
  3796. * infrun.c (wait_for_inferior): Check IN_SIGTRAMP before SKIP_PROLOGUE.
  3797. * infptrace.c: Remove unused KERNEL_U_ADDR_HPUX code.
  3798. * infcmd.c (step_1): Fix poorly worded error message.
  3799. * config/{i386/linux.mh,m68k/isi.mh} (NATDEPFILES):
  3800. Comment out corelow.c because core dumps are broken on these machines.
  3801. * Makefile.in (depend): Put "${srcdir}" in generated dependencies
  3802. if srcdir is not ".".
  3803. Also put in -I${BFD_DIR} or -I${READLINE_DIR} for files which need it.
  3804. (INCLUDE_CFLAGS): Remove BFD_DIR and READLINE_DIR.
  3805. * depend: Update to latest automatically built version.
  3806. Tue May 18 08:10:45 1993 Fred Fish (fnf@cygnus.com)
  3807. * ChangeLog, ChangeLog-92: Split ChangeLog at 1993.
  3808. * Makefile.in (NONSRC): Add ChangeLog-92
  3809. Tue May 18 08:03:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  3810. * findvar.c ({read,write}_register): Use REGISTER_RAW_SIZE
  3811. not typo RAW_REGISTER_SIZE.
  3812. * frame.h, inferior.h: Doc fixes.
  3813. Mon May 17 15:43:03 1993 Stu Grossman (grossman@cygnus.com)
  3814. * findvar.c (write_register): Add sanity check for register size.
  3815. (read_register): Fixup sanity check for register size to be
  3816. consistent with write_register().
  3817. Mon May 17 07:36:20 1993 Ian Lance Taylor (ian@cygnus.com)
  3818. * sparclite/Makefile.in: Add dummy info, install and install-info
  3819. targets.
  3820. Thu May 13 07:30:22 1993 Ian Lance Taylor (ian@cygnus.com)
  3821. * remote-nindy.c: Removed declaration of coffstrip.
  3822. * nindy-share/nindy.c: #if 0 coffstrip routine; no longer used.
  3823. Wed May 12 00:35:19 1993 Fred Fish (fnf@cygnus.com)
  3824. * Makefile.in (VERSION): Bump to 4.9.1 after release and cvs
  3825. tagging.
  3826. * Makefile.in (VERSION): GDB 4.9 release.
  3827. Tue May 11 08:04:41 1993 Fred Fish (fnf@cygnus.com)
  3828. * README: Update known bugs to include the Solaris bug that
  3829. leaves core dumps in the current directory when restarting the
  3830. inferior with "run". Expand on the testsuite information.
  3831. * Makefile.in (VERSION): Bump to 4.8.96 for what should hopefully
  3832. be the last 4.9 prerelease test archive.
  3833. Mon May 10 22:13:23 1993 Jim Kingdon (kingdon@cygnus.com)
  3834. * config/m68k/xm-hp300bsd.h: Include <sys/param.h> to avoid INT_MAX
  3835. redefined warnings.
  3836. Mon May 10 20:00:43 1993 Fred Fish (fnf@cygnus.com)
  3837. * README, NEWS: Update for gdb 4.9 release.
  3838. Mon May 10 19:38:34 1993 John Gilmore (gnu@cygnus.com)
  3839. * ch-exp.y (MAX, MIN): Rename to MAX_TOKEN, MIN_TOKEN.
  3840. * target.c (MIN): #undef before defining.
  3841. Mon May 10 16:03:03 1993 Jim Kingdon (kingdon@cygnus.com)
  3842. Patch from Jeffrey Law:
  3843. * config/pa/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
  3844. Mon May 10 15:28:27 1993 Ian Lance Taylor (ian@cygnus.com)
  3845. * hppa-tdep.c (hppa_push_arguments): Allocate correct amount of
  3846. memory.
  3847. Mon May 10 13:14:46 1993 Fred Fish (fnf@cygnus.com)
  3848. * ch-exp.y (start): Apply work-around to avoid bison warning.
  3849. Sun May 9 07:25:02 1993 Fred Fish (fnf@cygnus.com)
  3850. * Makefile.in (BISON): Remove double quotes around BISON
  3851. definition when bison is used.
  3852. * configure.in (hppa*-hp-bsd): Change to hppa*-hp-bsd*
  3853. * configure.in (hppa*-hp-hpux): Change to hppa*-hp-hpux*
  3854. * configure.in (m68*-hp-bsd): Change to m68*-hp-bsd*
  3855. * configure.in (m68*-hp-hpux): Change to m68*-hp-hpux*
  3856. * configure.in (hppa*-*-bsd): Change to hppa*-*-bsd*
  3857. * configure.in (hppa*-*-hpux): Change to hppa*-*-hpux*
  3858. * configure.in (m68*-hp-bsd): Change to m68*-hp-bsd*
  3859. * configure.in (m68*-hp-hpux): Change to m68*-hp-hpux*
  3860. * Makefile.in (VERSION): Bump to 4.8.6.
  3861. Sat May 8 12:36:03 1993 Fred Fish (fnf@cygnus.com)
  3862. * config/pa/xm-hppah.h (MALLOC_INCOMPATIBLE): Define it, and
  3863. include declarations for malloc/realloc/free. Both malloc and
  3864. realloc return 'void *' for non-ANSI compilations.
  3865. Sat May 8 01:39:30 1993 (pes@regent.e-technik.tu-muenchen.de)
  3866. * coffread.c (read_coff_symtab): Don't fclose stream as it is no
  3867. longer opened twice.
  3868. Thu May 6 21:08:55 1993 Jim Kingdon (kingdon@cygnus.com)
  3869. * solib.c (clear_solib): Don't close bfd if it is NULL.
  3870. Thu May 6 20:55:35 1993 Fred Fish (fnf@cygnus.com)
  3871. * core.c (dis_asm_read_memory): Cast second arg of
  3872. target_read_memory to "char *".
  3873. * breakpoint.c (watchpoint_check): Change arg type from PTR to
  3874. "char *", to match other functions called by catch_errors().
  3875. Thu May 6 15:47:45 1993 Stu Grossman (grossman@cygnus.com)
  3876. * More patches from Jeffrey Law (law@cs.utah.edu).
  3877. * config/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
  3878. * config/pa/tm-hppah.h (millicode_start, millicode_end):
  3879. Delete unnecessary declarations.
  3880. Thu May 6 15:15:46 1993 Stu Grossman (grossman@cygnus.com)
  3881. * ser-unix.c (wait_for): Use VTIME to do timeouts instead of
  3882. poll() for termio{s}.
  3883. Thu May 6 10:03:41 1993 Jim Kingdon (kingdon@cygnus.com)
  3884. * i386-tdep.c (i386_frame_num_args): Always return -1.
  3885. Wed May 5 15:16:33 1993 Stu Grossman (grossman@cygnus.com)
  3886. * Patches from Jeffrey Law <law@cs.utah.edu>.
  3887. * hppa-tdep.c: Declare frame_saved_pc.
  3888. (frameless_function_invocation): New function.
  3889. (frame_saved_pc, init_extra_frame_info): Use
  3890. frameless_function_invocation.
  3891. * config/pa/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
  3892. call instead of just grabbing the value currently in %r2.
  3893. (FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
  3894. * config/pa/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
  3895. definition and use the common one in tm-hppa.h.
  3896. * hppa-tdep.c (frame_chain_valid): If "use_unwind" is true, then
  3897. use unwind descriptors to determine if the frame chain is valid.
  3898. * hppa-tdep.c (find_dummy_frame_regs): Rework so that
  3899. it does not assume %r4 is the frame pointer.
  3900. * hppa-pinsn.c (print_insn): Handle 'r' and 'R' for break, rsm,
  3901. and ssm instructions.
  3902. * hppa-tdep.c (extract_5r_store, extract_5R_store): New
  3903. helper functions for print_insn.
  3904. * hppa-tdep.c (gcc_p, hpux_cc_p): Delete unused functions.
  3905. * config/pa/tm-hppa.h (ABOUT_TO_RETURN): Handle a return
  3906. which nullifies the following instruction.
  3907. Tue May 4 12:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
  3908. * infptrace.c [FIVE_ARG_PTRACE]: Define ptrace to call_ptrace and
  3909. pass the 5th arg there, rather than using an ANSI C-specific macro.
  3910. * Makefile.in (depend): Don't include ${CC} command for *.tab.c.
  3911. Tue May 4 19:33:12 1993 Fred Fish (fnf@cygnus.com)
  3912. * Makefile.in (VERSION): Bump to 4.8.5
  3913. * Makefile.in (INCLUDE_CFLAGS): Add BFD_DIR and READLINE_DIR
  3914. directories to include search path.
  3915. * Makefile.in (CLIBS, CDEPS, ADD_FILES, ADD_DEPS): Clean up
  3916. whitespace.
  3917. * Makefile.in (depend): For gcc -MM line, use INTERNAL_CFLAGS
  3918. * Makefile.in (main.o, dbxread.o, coffread.o, mipsread.o,
  3919. elfread.o, dwarfread.o, stabsread.o, xcoffread.o, xcoffexec.o,
  3920. xdr_ld.o, xdr_rdb.o, nindy.o, Onindy.o, ttybreak.o, ttyflush.o,
  3921. udr.o, udip2soc.o): Remove explicit rules, use the ones that
  3922. are automatically generated in "depend".
  3923. * Makefile.in (paread.o): Document why a dependency doesn't get
  3924. automatically generated in "depend" and leave this explicit rule
  3925. in for now (FIXME).
  3926. * depend: Update to latest automatically generated version.
  3927. Tue May 4 12:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
  3928. * xcoffread.c: Doc fix.
  3929. * Makefile.in (depend): Include $(CC) command in generated output.
  3930. Mon May 3 22:51:05 1993 Fred Fish (fnf@cygnus.com)
  3931. * Makefile.in (NONSRC): Remove ${srcdir}/putenv.c.
  3932. * Makefile.in (SFILES): Add ${srcdir}/putenv.c.
  3933. * depend: Update to latest automatically built version.
  3934. Mon May 3 19:20:20 1993 Stu Grossman (grossman@cygnus.com)
  3935. * sparclite/Makefile.in: Create default target that does nothing
  3936. in order to force user to build by hand.
  3937. * sparclite/Makefile: Remove. It's not necessary anymore.
  3938. * ser-unix.c (wait_for): New routine to handle read timeouts,
  3939. etc. Uses poll() if HAVE_TERMIO[S] is defined, select() otherwise.
  3940. Mon May 3 13:52:08 1993 Ian Lance Taylor (ian@cygnus.com)
  3941. * mips-pinsn.c (print_insn): Return value.
  3942. Sun May 2 11:43:57 1993 Fred Fish (fnf@cygnus.com)
  3943. * Makefile.in (SFILES): Remove ser-hardwire.c; it is a link made
  3944. at configuration time and doesn't belong in the distribution archive.
  3945. * Makefile.in (NONSRC): Add 29k-share/README.
  3946. * Makefile.in (HFILES): Add 29k-share/udi/udiids.h.
  3947. * defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN): Replace hex
  3948. constants with slightly more portable definitions (still depends
  3949. on 2's complement arithmetic though).
  3950. * config/i386/nm-linux.h: Define NO_SYS_REG_H for no <sys/reg.h>.
  3951. * i386v-nat.c (sys/reg.h): Conditionalize include on
  3952. NO_SYS_REG_H. Linux doesn't have <sys/reg.h>.
  3953. * ser-unix.c (termio.h): Include <termio.h> like other files that
  3954. include termio.h, not <sys/termio.h> which may not exist (on
  3955. linux for example).
  3956. Sat May 1 16:05:24 1993 Fred Fish (fnf@cygnus.com)
  3957. * valprint.c (print_longest): Change format parameter from a
  3958. 'char' to an 'int'. We can't have 'char' parameters with the
  3959. current coding style, where we mix prototypes with pre-ANSI
  3960. style declarations.
  3961. * value.h (print_longest): Change format parameter in prototype
  3962. from a 'char' to an 'int'.
  3963. Sat May 1 02:47:20 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3964. * config/mips/tm-mips.h (STAB_REG_TO_REGNUM): Match it with the gcc
  3965. definition.
  3966. * config/mips/tm-irix3.h (STAB_REG_TO_REGNUM): Add.
  3967. * irix4-nat.c (fill_fpregset): Fix bug with indexing into fpregsetp.
  3968. Fri Apr 30 17:45:32 1993 Stu Grossman (grossman@cygnus.com)
  3969. * The following patches are from Jeffrey Law <law@cs.utah.edu>.
  3970. * config/pa/hppabsd.mh: Add more files to NATDEPFILES.
  3971. * config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE.
  3972. * hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs.
  3973. ptrace needs 5 arguments, #define ptrace to always
  3974. pass zero as the 5th argument.
  3975. Fri Apr 30 15:54:13 1993 Steve Chamberlain (sac@thepub.cygnus.com)
  3976. * configure.in: Match z8k-*-sim for z8000.
  3977. * config/h8500/tm-h8500.h, h8500-tdep.c: Lint.
  3978. * remote-hms.c: Update to use new serial protocol.
  3979. Fri Apr 30 16:50:38 1993 K. Richard Pixley (rich@rtl.cygnus.com)
  3980. * mips-tdep.c: remove include of sys/dir.h. Doesn't seem
  3981. necessary and Solaris doesn't have it.
  3982. * Makefile.in (clean-info, install, install-info, info, dvi,
  3983. check, all): do not echo recursion lines.
  3984. * 29k-share/udip2soc.c (UDIConnect): replace union wait with int.
  3985. * config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is
  3986. required target ports which use sockets (like a29k-udi).
  3987. * remote-udi.c (udi_wait): Use SIGURG, as Solaris doesn't have SIGLOST.
  3988. Fri Apr 30 11:05:42 1993 Jim Kingdon (kingdon@cygnus.com)
  3989. * ser-unix.c [USE_{TERMIO,ALARM}_TIMEOUT]: New code to deal with
  3990. systems lacking select().
  3991. * Makefile.in (TAGS): Doc fix. Deal with empty DEPFILES.
  3992. Fri Apr 30 10:06:46 1993 Fred Fish (fnf@cygnus.com)
  3993. * alldeps.mak, depend: Update with latest automatically built
  3994. versions.
  3995. Thu Apr 29 12:03:23 1993 Fred Fish (fnf@cygnus.com)
  3996. * Makefile.in (SFILES): Add ser-unix.c and ser-go32.c.
  3997. * Makefile.in (make-proto-testsuite.dir): New target to make
  3998. prototype testsuite tree.
  3999. * Makefile.in (VERSION): Bump to 4.8.4.
  4000. Thu Apr 29 08:46:22 1993 Jim Kingdon (kingdon@cygnus.com)
  4001. * stabsread.c (define_symbol): If unrecognized constant type,
  4002. complain() not error().
  4003. Thu Apr 29 00:03:59 1993 Fred Fish (fnf@cygnus.com)
  4004. * infptrace.c: Add missing close paren to test for
  4005. FIVE_ARG_PTRACE defined.
  4006. * defs.h (CC_HAS_LONG_LONG): Set up to define CC_HAS_LONG_LONG
  4007. when compiling with gcc, but disable it for now. See comment.
  4008. * defs.h (LONGEST): Define as either "long" or "long long"
  4009. based on CC_HAS_LONG_LONG.
  4010. * defs.h (longest_to_int): Use CC_HAS_LONG_LONG to control
  4011. how longest_to_int is defined.
  4012. * c-valprint.c (c_val_print): Call print_longest.
  4013. * expprint.c (dump_expression): Use PRINTF_HAS_LONG_LONG
  4014. instead of LONG_LONG.
  4015. * {printcmd.c, gdbtypes.h} (LONG_LONG): Replace usages with
  4016. CC_HAS_LONG_LONG.
  4017. * printcmd.c (print_scalar_formatted): Call print_longest
  4018. and let it figure out what to do for PRINTF_HAS_LONG_LONG.
  4019. * typeprint.c (print_type_scalar): Call print_longest and let
  4020. it figure out what to do for PRINTF_HAS_LONG_LONG.
  4021. * valprint.c (val_print_type_code_int): Call print_longest
  4022. and let it figure out what to do for PRINTF_HAS_LONG_LONG.
  4023. * stabsread.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
  4024. * value.h (struct value): Replace usage of LONG_LONG with
  4025. CC_HAS_LONG_LONG.
  4026. * value.h (print_longest): Add prototype.
  4027. * values.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
  4028. * values.c (unpack_double): Collapse code that was unnecessarily
  4029. dependent on CC_HAS_LONG_LONG. Use LONGEST instead of direct types.
  4030. * values.c (value_from_longest): Remove dependency on
  4031. CC_HAS_LONG_LONG and just use LONGEST.
  4032. * solib.c (solib_map_sections): Use bfd_get_filename
  4033. to access filename field.
  4034. * solib.c (clear_solib): Save filename and free it later, after
  4035. bfd_close, since bfd_close may reference it. Use bfd_get_filename
  4036. to access the field.
  4037. * config/convex/xm-convex.h (LONG_LONG): Replace with
  4038. CC_HAS_LONG_LONG. Add define for PRINTF_HAS_LONG_LONG.
  4039. Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
  4040. * inflow.c (kill_command), infcmd.c (attach_command),
  4041. remote.c (remote_interrupt_twice): In messages for the user, call it
  4042. "the program" or "the program being debugged" not "the inferior".
  4043. * hp300ux-nat.c: Cast second arg to supply_register calls.
  4044. (_initialize_kernel_u_addr, getpagesize): New functions.
  4045. (store_inferior_register_1): Change arg name from value to val.
  4046. (fetch_core_registers): Make arg core_reg_size unsigned.
  4047. Pass 5 args to ptrace.
  4048. * config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE.
  4049. Remove KERNEL_U_ADDR stuff.
  4050. * infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace.
  4051. * config/m68k/hp300hpux.m{t,h}:
  4052. Move exec.o from NATDEPFILES to TDEPFILES
  4053. * config/m68k/hp300hpux.mt: Mention GAS requirement. Remove
  4054. hp-include stuff. Add m68k-tdep.o to TDEPFILES.
  4055. Wed Apr 28 13:27:54 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4056. * ch-exp.y (yylex): Don't STREQ with simplename if it is NULL.
  4057. Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
  4058. * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE.
  4059. Wed Apr 28 11:32:39 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4060. * valops.c (search_struct_field): Fix gdb core dump with incomplete
  4061. stabs info.
  4062. Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
  4063. * remote.c: Change timeout to 2.
  4064. (remote_open): Use unpush_target not remote_close.
  4065. (remote_resume): If siggnal != 0, give warning not error().
  4066. (remote_wait, remote_interrupt, remote_interrupt_twice):
  4067. If we get two interrupts, let the user get out if they want.
  4068. (remote_{kill,mourn}): New functions.
  4069. i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT.
  4070. Wed Apr 28 09:20:55 1993 Ian Lance Taylor (ian@rtl.cygnus.com)
  4071. * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl.
  4072. Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
  4073. * Remote targets (mourn): Call unpush_target.
  4074. * config/sparc/xm-sun4os4.h: Declare free() to return int.
  4075. Remove twisted use of PARAMS.
  4076. * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now
  4077. that ansidecl.h assumes ANSI on AIX.
  4078. Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com)
  4079. * README: Move most stuff about hacking GDB to doc/gdbint.texinfo.
  4080. (Known bugs): Remove AIX bugs, revise SPARC struct bug description.
  4081. Tue Apr 27 13:44:19 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4082. * expprint.c (print_subexp): Fix bug with OP_SCOPE operator output.
  4083. Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com)
  4084. * remote-vx.c (net_connect): Allow numeric IP address for host.
  4085. Mon Apr 26 17:59:38 1993 Steve Chamberlain (sac@thepub.cygnus.com)
  4086. * config/sh/sh.mt, config/sh/tm-sh.h, sh-tdep.c: New files.
  4087. Mon Apr 26 07:13:32 1993 Jim Kingdon (kingdon@cygnus.com)
  4088. * rs6000-tdep.c (branch_dest): Deal with stepping through system call.
  4089. * symtab.h, xcoffread.c: Revise linetable sorting comments.
  4090. Sun Apr 25 02:32:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4091. * valops.c (value_cast): A cast might also change the object
  4092. representation in C++.
  4093. * dbxread.c (end_psymtab): Copy subpst read_symtab function from pst
  4094. to get the proper read_symtab function when called from mipsread.c.
  4095. * mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1):
  4096. Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid
  4097. for dummy psymtabs, inhibit processing of dummy psymtabs.
  4098. Sat Apr 24 19:59:54 1993 Jim Kingdon (kingdon@cygnus.com)
  4099. * Changes from (or inspired by) AMD:
  4100. * remote-udi.c (udi_attach): Assignments to Space and Offset were
  4101. switched, fix it.
  4102. (udi_wait): Make error message (UDIGetStdout) match error.
  4103. (udi_wait): Handle UDIStdinNeeded.
  4104. * command.c [CANT_FORK]: Use system().
  4105. * utils.c (prompt_for_continue): Allow quit with 'q'.
  4106. * solib.c (solib_add): Don't call special_symbol_handling if there
  4107. were errors in symbol_add_stub. Also set so->from_tty before
  4108. calling symbol_add_stub.
  4109. Fri Apr 23 16:17:00 1993 Stu Grossman (grossman@cygnus.com)
  4110. * Merge in HPPA/BSD patches from Utah:
  4111. * defs.h: Add const to 2nd arg of psignal prototype.
  4112. * hppah-tdep.c: Renamed to hppa-tdep.c 'cuz it's common code with
  4113. BSD now.
  4114. * hppab-core.c: Deleted. No longer useful.
  4115. * hppab-nat.c: #include more files. Use PT_WUREGS, not
  4116. PT_WRITE_U.
  4117. * hppab-tdep.c: Deleted. Supplanted by hppa-tdep.c.
  4118. * config/pa/hppabsd.mh (NATDEPFILES): Remove hppab-core.o.
  4119. * config/pa/hppabsd.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
  4120. * config/pa/hppahpux.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
  4121. * config/pa/xm-hppab.h: #define SET_STACK_LIMIT_HUGE.
  4122. Fri Apr 23 10:34:02 1993 Stu Grossman (grossman@cygnus.com)
  4123. * Fix two bugs found by deja-gnu. One is the incorrect reporting
  4124. of the PC being in a stack dummy when looking at a core file
  4125. without symbols. The other is the incorrect passing of char
  4126. arguments during expression evaluation (ie: p foo('a','b') would
  4127. mess up the passing of it's args because it wasn't coercing the
  4128. char's to ints).
  4129. * hppah-tdep.c: Rename global functions to have consistent hppa_
  4130. prefix. Make more functions static. Drop hp_ prefix from static
  4131. functions. (hppa_push_arguments): Call value_arg_coerce to cast
  4132. char to int args if necessary. (hppa_fix_call_dummy): Create
  4133. this routine from FIX_CALL_DUMMY macro in tm-hppa.h.
  4134. * inferior.h (PC_IN_CALL_DUMMY): Check for frame_address being
  4135. valid (ie: != 0) before doing comparison against PC.
  4136. * valops.c (call_function_by_hand): Adjust call to FIX_CALL_DUMMY
  4137. to reflect new arguments.
  4138. * config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS): Use new hppa_
  4139. prefix for func name. (FIX_CALL_DUMMY): Move code into
  4140. hppah-tdep.c.
  4141. Fri Apr 23 01:28:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4142. * printcmd.c (print_address_symbolic): Search symtabs as well as the
  4143. minimal symbols for a nearby symbol.
  4144. Thu Apr 22 19:44:21 1993 John Gilmore (gnu@cacophony.cygnus.com)
  4145. * coffread.c: Comment changes around minimal symbol recording.
  4146. Thu Apr 22 16:24:36 1993 K. Richard Pixley (rich@rtl.cygnus.com)
  4147. * command.c: comment changes only.
  4148. * mips-tdep.c (heuristic_fence_post): new static variable.
  4149. (heuristic_proc_start): use heuristic_fence_post, print better
  4150. warnings, but only if not stop_soon_quietly.
  4151. (_initialize_mips_tdep): add_set_cmd for heuristic-fence-post.
  4152. Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com)
  4153. * symtab.h: Fix LOC_REF_ARG comment.
  4154. Wed Apr 22 20:21:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4155. and Jim Kingdon (kingdon@cygnus.com)
  4156. * stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a
  4157. LOC_REGPARM symbol.
  4158. * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments.
  4159. symfile.c (compare_symbols): Don't check first character; STRCMP
  4160. does that.
  4161. * stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for
  4162. structures that are passed by address in a register.
  4163. * symtab.h (enum address_class): Add LOC_REGPARM_ADDR.
  4164. * findvar.c (read_var_value),
  4165. printcmd.c (address_info, print_frame_args),
  4166. stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol),
  4167. * symtab.c (lookup_block_symbol): Deal with it.
  4168. Thu Apr 22 09:07:24 1993 Jim Kingdon (kingdon@cygnus.com)
  4169. * objfiles.h (obj_section), objfiles.c (build_objfile_section_table):
  4170. Add objfile field.
  4171. * objfiles.c (find_pc_section): Return a struct obj_section *.
  4172. * sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return.
  4173. * symfile.c (syms_from_objfile) [IBM6000_TARGET]:
  4174. Don't use obj_section hack.
  4175. * xcoffexec (vmap_symtab): Relocate obj_sections.
  4176. * printcmd.c (containing_function_bounds): Use find_pc_section.
  4177. * symtab.h: Clean up SYMBOL_VALUE comments.
  4178. Wed Apr 21 14:29:57 1993 Jim Kingdon (kingdon@cygnus.com)
  4179. * stack.c (print_frame_arg_vars), printcmd.c (print_frame_args):
  4180. Expand comments about LOC_ARG/LOC_LOCAL pairs.
  4181. * coffread.c (read_coff_symtab): Use rewind before fseek.
  4182. Wed Apr 21 14:24:19 1993 Per Bothner (bothner@cygnus.com)
  4183. * ch-exp.y: Removed unused structure_primitive_value and FIXME_23.
  4184. * Makefile.in: Add $(YFLAGS) when using $(YACC).
  4185. * Makefile.in: Remove message to expect conflicts and unused
  4186. rules in ch-exp.y, since there no longer are any such.
  4187. Wed Apr 21 13:27:50 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  4188. * stabs.texinfo: fixed bad xrefs (un-initialized statics)
  4189. Tue Apr 20 08:55:11 1993 Jim Kingdon (kingdon@cygnus.com)
  4190. * xcoffexec.c (xcoff_relocate_core): If no exec file, error()
  4191. rather than dumping core.
  4192. * Makefile.in: Add ${srcdir}/ to all source files.
  4193. (alldeps.mak): Add "${srcdir}/" to files when generating alldeps.mak.
  4194. (TAGS): Deal with srcdir and new config directory scheme.
  4195. createtags: Remove.
  4196. Makefile.in (NONSRC): Remove createtags.
  4197. alldeps.mak: Updated.
  4198. * rs6000-tdep.c: Delete unused function print_frame.
  4199. * frame.h (struct frame_info): Doc fix for next_frame.
  4200. New field signal_handler_caller.
  4201. blockframe.c (create_new_frame, get_prev_frame_info),
  4202. config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Set it (needs
  4203. INIT_FRAME_PC_FIRST).
  4204. stack.c (print_frame_info), rs6000-tdep.c (rs6000_frame_chain):
  4205. Check it.
  4206. Mon Apr 19 22:52:33 1993 Stu Grossman (grossman@cygnus.com)
  4207. * irix4-nat.c (fetch_core_registers): Special version of this for
  4208. Irix 4.x, which stores regs a bit differently from other /proc
  4209. based systems.
  4210. * procfs.c, core-svr4.c: Move fetch_core_registers from procfs.c
  4211. to new file core-svr4.c.
  4212. * config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh,
  4213. config/i386/ncr3000.mh, config/sparc/sun4sol2.mh: Add core-svr4.o
  4214. to NATDEPFILES.
  4215. * config/mips/irix4.mh: Add corelow.o to NATDEPFILES.
  4216. Mon Apr 19 11:13:34 1993 Jim Kingdon (kingdon@cygnus.com)
  4217. * i387-tdep.c: Remove unused #includes.
  4218. * configure.in: Match i[34]86-*-sysv3.2 not i[34]86-*-sysv32.
  4219. * config/i386/nm-i386v.h: Define NO_PTRACE_H.
  4220. Sun Apr 18 10:39:35 1993 Jim Kingdon (kingdon@cygnus.com)
  4221. * xcoffread.c: Nuke NO_DEFINE_SYMBOL code. There is no going back.
  4222. * stabsread.c (define_symbol): 'R' is synonym for 'P', not 'r'.
  4223. xcoffread.c (process_xcoff_symbol, case C_RPSYM):
  4224. Don't muck with SYMBOL_CLASS.
  4225. Fri Apr 16 17:38:33 1993 Stu Grossman (grossman@cygnus.com)
  4226. * munch: Don't use head command. It doesn't exist everywhere.
  4227. Fri Apr 16 15:07:57 1993 Fred Fish (fnf@cygnus.com)
  4228. * inflow.c (new_tty): Remove spurious 'o' character at end
  4229. of #endif line.
  4230. Fri Apr 16 12:27:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4231. * mips-tdep.c (mips_skip_prologue): Always skip the typical prologue
  4232. instructions and nothing more.
  4233. * mipsread.c (add_line): Add comment why we have to combine line number
  4234. entries for the same line number.
  4235. Fri Apr 16 09:42:03 1993 Jim Kingdon (kingdon@cygnus.com)
  4236. * symtab.{c,h}: Doc fixes (remove symseg references, last relevant
  4237. in gdb 2.8!).
  4238. Thu Apr 15 21:16:58 1993 Fred Fish (fnf@cygnus.com)
  4239. * depend, alldeps.mak: Update, now that gcc -MM bug is fixed.
  4240. Thu Apr 15 12:38:39 1993 Jim Kingdon (kingdon@cygnus.com)
  4241. * source.c (select_source_symtab): Clean up comment. Also, if
  4242. we have a current_source_symtab, and s is NULL, return without
  4243. doing anything.
  4244. xcoffread.c (xcoff_symfile_read): Don't call select_source_symtab.
  4245. breakpoint.c (breakpoint_re_set): Don't call select_source_symtab.
  4246. Thu Apr 15 02:37:48 1993 John Gilmore (gnu@cacophony.cygnus.com)
  4247. * dbxread.c (unknown_symchar_complaint): Add new complaint.
  4248. * stabsread.h: Declare it.
  4249. * partial-stab.h: Use it.
  4250. * utils.c (malloc_botch): Don't forward-declare if NO_MMALLOC.
  4251. Wed Apr 14 17:12:51 1993 Jim Kingdon (kingdon@cygnus.com)
  4252. * stack.c (print_frame_info): Print specially if dummy frame.
  4253. * breakpoint.c: Add comments regarding within_scope future direction.
  4254. * Version 4.8.3.
  4255. * xcoffread.c (record_include_{begin,end}): Change fatal to complain.
  4256. Wed Apr 14 14:03:18 1993 Per Bothner (bothner@cygnus.com)
  4257. * ch-exp.y: Fix thinko that broke parsing of FALSE.
  4258. Wed Apr 14 12:49:29 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4259. * stabsread.c (read_member_functions): Initialize domain for stubbed
  4260. member functions to avoid gdb core dumps when printing pointers
  4261. to member functions.
  4262. * cp-valprint.c (cp_print_class_method): Check for stubbed member
  4263. functions.
  4264. Tue Apr 13 08:28:26 1993 Jim Kingdon (kingdon@cygnus.com)
  4265. * expprint.c (print_subexp): If opcode not found in op_print_tab,
  4266. stop with an error().
  4267. eval.c (evaluate_subexp): Change error message.
  4268. * objfiles.c (build_objfile_section_table): Cast return value
  4269. from obstack_finish.
  4270. Mon Apr 12 10:53:50 1993 Jim Kingdon (kingdon@cygnus.com)
  4271. * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
  4272. to rs6000_frame_chain and deal with it if we're in a signal handler.
  4273. (FRAME_SAVED_PC): Use rs6000_frame_chain.
  4274. * breakpoint.c (within_scope): New function.
  4275. (enable_breakpoint, watchpoint_check): Use it.
  4276. * source.c (openp): Handle "exec-file ./ls" correctly.
  4277. * breakpoint.c (breakpoint_1): Use wrap_here before "at".
  4278. Sat Apr 10 01:32:43 1993 Per Bothner (bothner@rtl.cygnus.com)
  4279. * ch-exp.y: Clean up lexing of identifiers and
  4280. reserved words. (E.g. don't recognize FALSEXXX as the
  4281. keyword FALSE followed by the identifier XXX.)
  4282. Also, convert identifiers to lower case.
  4283. Fri Apr 9 15:53:19 1993 Stu Grossman (grossman@cygnus.com)
  4284. * remote-mips.c, remote-monitor.c, remote-st2000.c: Convert to
  4285. new serial interface.
  4286. Fri Apr 9 15:01:12 1993 Stu Grossman (grossman@cygnus.com)
  4287. * remote.c (remote_open): Use SERIAL_OPEN instead of serial_open.
  4288. (putpkt, getpkt): Use new return codes for SERIAL_READCHAR.
  4289. * ser-go32.c: Return -1 on most failures, 0 on most successes,
  4290. and use new return codes for go32_readchar().
  4291. * ser-unix.c: Ditto. Also, move error handling up to caller for
  4292. SERIAL_SETBAUDRATE().
  4293. * serial.c (serial_open): Internal call, not SERIAL_OPEN to get
  4294. to specific routine.
  4295. (serial_close): New routine to wrap around device close routine.
  4296. serial.h: Clean & document return values more clearly.
  4297. Fri Apr 9 10:20:55 1993 Jim Kingdon (kingdon@cygnus.com)
  4298. * rs6000-pinsn.c (print_operand): Deal with no operand instructions.
  4299. * rs6000-pinsn.c (print_operand, case LI): Print condition register
  4300. operand in decimal rather than wrong textual versions.
  4301. * printcmd.c (_initialize_printcmd): Clean up docstring for "x"
  4302. (mention 't', remove false thing about 'g' only good with 'f').
  4303. * breakpoint.h: move "struct breakpoint" and friends to top of
  4304. file so that bpstat_find_breakpoint prototype works.
  4305. * solib.c (struct so_list): Add bfd field.
  4306. (solib_map_sections): Leave bfd open and scratch_pathname allocated.
  4307. Put the bfd in bfd field of the so_list.
  4308. (clear_solib): Free bfd name and close_bfd on the bfd.
  4309. Fri Apr 9 00:45:41 1993 Per Bothner (bothner@rtl.cygnus.com)
  4310. * valarith.c (value_subscript): Add COERCE_REF.
  4311. * ch-exp.y (operand_5): We can generalize the 2nd operand
  4312. of a string repetition ot 'literal' without ambiguity.
  4313. Thu Apr 8 10:15:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  4314. * breakpoint.h (struct bpstat): Remove momentary field.
  4315. Remove bpstat_momentary_breakpoint. This was always kludgy
  4316. and is no longer used.
  4317. * breakpoint.h: Add enum bpstat_what.
  4318. breakpoint.h (struct bpstat), breakpoint.c (bpstat_stop_status):
  4319. stop and print fields of bpstat now per-breakpoint, not just
  4320. one for the whole chain.
  4321. breakpoint.{c,h} (bpstat_what): New function.
  4322. breakpoint.h: Remove bpstat_stop and bpstat_should_print.
  4323. infrun.c: Replace switch (stop_bpstat->breakpoint_at->type)
  4324. with call to bpstat_what.
  4325. README: Remove watchpoint/breakpoint bug from known bugs.
  4326. * breakpoint.h: Prototype bpstat_find_breakpoint.
  4327. Thu Apr 8 16:01:21 1993 Fred Fish (fnf@cygnus.com)
  4328. * symtab.c (find_methods, gdb_mangle_name): Note that functions
  4329. are g++ specific.
  4330. * symtab.h (VTBL_FNADDR_OFFSET, OPNAME_PREFIX_P, VTBL_PREFIX_P,
  4331. DESTRUCTOR_PREFIX_P): Note that macros are g++ specific.
  4332. Thu Apr 8 12:45:32 1993 Ian Lance Taylor (ian@cygnus.com)
  4333. * i960-pinsn.c (tabent): Copied struct definition from
  4334. opcodes/i960-dis.c.
  4335. Thu Apr 8 10:34:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4336. * symtab.h (DESTRUCTOR_PREFIX_P): New macro to check if physname
  4337. is a C++ destructor.
  4338. * symtab.c (gdb_mangle_name): Use it.
  4339. * symtab.c (find_methods): Do not add destructors to choice list
  4340. for constructors.
  4341. * symtab.c (decode_line_1): Make breakpoints on destructors work
  4342. for gcc-2.x again.
  4343. Wed Apr 7 18:43:09 1993 Stu Grossman (grossman@cygnus.com)
  4344. * ser-go32.c: Make it use serial port name.
  4345. * go32-xdep.c: Put in def for strlwr, needed by dir.o in go32 libc.
  4346. * infcmd.c (read_pc): Make sure that we read PC_REGNUM when not
  4347. in a system call!
  4348. Wed Apr 7 15:52:11 1993 Stu Grossman (grossman@cygnus.com)
  4349. * configure.in: Only configure sparclite subdir when target_cpu
  4350. is sparclite.
  4351. Wed Apr 7 10:11:22 1993 Jim Kingdon (kingdon@cygnus.com)
  4352. * xcoffread.c (struct coff_symbol): Change c_sclass to unsigned char.
  4353. Remove FIXME comment regarding this.
  4354. * symfile.h: Change NULL->'\0' in comment (that wasn't a typo).
  4355. * xcoffread.c (read_xcoff_symtab): Use E_SYMNMLEN.
  4356. Tue Apr 6 22:30:58 1993 K. Richard Pixley (rich@cygnus.com)
  4357. Add section table to objfile struct. Use it for find_pc_section.
  4358. * objfiles.c (add_to_objfile_sections,
  4359. build_objfile_section_table, find_pc_section): new functions.
  4360. (allocate_objfile): build section table.
  4361. * objfiles.h (struct obj_section): new structure.
  4362. (struct objfile): add section table.
  4363. (find_pc_section): new prototype.
  4364. * solib.[ch] (find_pc_section_from_so_list): removed.
  4365. * sparc-tdep.c: include objfiles.h for find_pc_section. include
  4366. symfile.h for objfiles.h.
  4367. (in_solib_trampoline): adjusted for new find_pc_section
  4368. prototype. Removed BAD_RICH_HACK ifdefs.
  4369. * symfile.c (syms_from_objfile): offset objfile sections.
  4370. (find_pc_section): removed. Also removed BAD_RICH_HACK ifdefs.
  4371. * symfile.h (find_pc_section): prototype removed. Also fixed
  4372. comment typo NUL -> NULL.
  4373. * target.[ch] (find_pc_section_from_targets): removed.
  4374. * config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.
  4375. Tue Apr 6 21:41:13 1993 Stu Grossman (grossman@cygnus.com)
  4376. * ser-go32.c: Format. (go32_open): Use proper return value.
  4377. * configure.in: Undo conditional configdirs hack for sparclite.
  4378. Tue Apr 6 17:07:37 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
  4379. * symtab.c (list_symbols): When call break_command, pass both
  4380. filename and function name not just function name.
  4381. Tue Apr 6 15:00:09 1993 Fred Fish (fnf@cygnus.com)
  4382. (Changes and new files to make "none" a full fledged configuration)
  4383. * config/none/{nm-none.h, tm-none.h, xm-none.h}: New files.
  4384. Currently only tm-none.h has any meaningful contents.
  4385. * config/none/none.mh (NAT_FILE): Use nm-none.h
  4386. * config/none/none.mh (XM_FILE): Use xm-none.h
  4387. * config/none/none.mt (TM_FILE): Use tm-none.h
  4388. * Makefile.in (depend): Remove comment about parse errors in
  4389. valops.c, it now parses correctly and generates a correct depend
  4390. line. Remove line that touches xm.h, tm.h, and nm.h; they are
  4391. now linked to config/none/{xm-none.h, tm-none.h, nm-none.h}.
  4392. Tue Apr 6 09:54:29 1993 Jim Kingdon (kingdon@cygnus.com)
  4393. * values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1.
  4394. * xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
  4395. exactly 8 characters.
  4396. Tue Apr 6 10:31:26 1993 Stu Grossman (grossman@cygnus.com)
  4397. * configure.in: Sparclite uses sparc config dir. Also has it's
  4398. own tm- & .mt files now. Also add sparclite to configdirs.
  4399. * go32-xdep.c: Dummy routines for sigsetmask & strlwr.
  4400. * config/i386/go32.mh: Nullify def of TERMCAP.
  4401. * config/i386/xm-go32.h: Get rid of redef of EIO.
  4402. * config/sparc/{sparclite.mh tm-sparclite.h}: New sparclite
  4403. specific configs. Very similar to sun4os4, but without solib.
  4404. * sparclite/{Makefile.in configure.in}: First cut at making this
  4405. dir configgable.
  4406. Tue Apr 6 03:10:44 1993 Stu Grossman (grossman@cygnus.com)
  4407. * ser-go32.c: First cut at adapting to new serial interface.
  4408. Mon Apr 5 22:29:43 1993 Stu Grossman (grossman@cygnus.com)
  4409. * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].
  4410. These implement a new serial line interface for talking to remote
  4411. targets.
  4412. * configure.in: Link ser-hardwire.c to ser-unix.c for all hosts,
  4413. EXCEPT go32, which gets ser-go32.c.
  4414. * remote.c: Use new serial interface. More remote-xxx's to be
  4415. converted later.
  4416. * ser-bsd.c, ser-termios.c: Removed.
  4417. * serial.c: New. Implements common operations for all serial
  4418. types.
  4419. * ser-unix.c: New. Unix specific serial operations for various
  4420. flavors of Unix (Posix, SysV, BSD).
  4421. * serial.h: Generic serial interface defs.
  4422. * config/i386/go32.mh, config/i386/i386bsd.h,
  4423. config/m68k/apollo68b.mh, config/sparc/sun4os4.mh: Remove
  4424. ser-bsd.o from XDEPFILES. All the magic is now handled in
  4425. configure.in.
  4426. Mon Apr 5 20:48:54 1993 Stu Grossman (grossman@cygnus.com)
  4427. * config/h8500/tm-h8500.h: Clean up brain damage found by GCC.
  4428. Fri Apr 2 08:23:14 1993 Jim Kingdon (kingdon@cygnus.com)
  4429. * xcoffread.c (xcoff_symfile_offsets): Use 0 not addr for offsets.
  4430. * rs6000-tdep.c (frameless_function_invocation): Don't even think
  4431. about framelessness except on the innermost frame.
  4432. * xcoffexec.c: Call fatal() not abort().
  4433. * stabsread.c (patch_block_stabs): If stab & no symbol, make
  4434. a LOC_OPTIMIZED_OUT symbol.
  4435. symtab.h (enum address_class): Add LOC_OPTIMIZED_OUT.
  4436. findvar.c (read_var_value), printcmd.c (address_info),
  4437. symmisc.c (print_{,partial_}symbol), c-exp.y (variable),
  4438. m2-exp.y (yylex): Deal with it.
  4439. ch-exp.y (yylex): Deal with it.
  4440. Thu Apr 1 18:43:02 1993 Stu Grossman (grossman@cygnus.com)
  4441. * findvar.c (value_from_register): H8500 specific, check to see
  4442. if we are looking at short pointer. If so, skip crock.
  4443. * h8500-tdep.c (h8500_frame_chain): Mask down value from
  4444. read_memory_integer() to avoid getting messed up by sign extension.
  4445. Thu Apr 1 16:44:41 1993 K. Richard Pixley (rich@rtl.cygnus.com)
  4446. * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section):
  4447. ifdef protect using BAD_RICH_HACK. This should be removed soon.
  4448. * config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define.
  4449. Thu Apr 1 09:01:38 1993 Jim Kingdon (kingdon@cygnus.com)
  4450. * i960-pinsn.c, a29k-pinsn.c: Much abridged, just use libopcodes.a.
  4451. * core.c (dis_asm_print_address): New function.
  4452. * core.c (dis_asm_read_memory): Reinstate 4th arg. The prototype
  4453. has been fixed.
  4454. Thu Apr 1 09:34:43 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4455. * breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the
  4456. entire breakpoint chain and print only the first entry that needs to
  4457. be printed and needs to be stopped for. Fixes problems with printing
  4458. of multiple breakpoints with different conditions.
  4459. * breakpoint.c (print_it_done): Renamed from print_it_noop as it
  4460. effectively stops printing of the breakpoint chain.
  4461. * breakpoint.c (print_it_noop): New routine to print nothing
  4462. for this breakpoint entry and dont stop printing.
  4463. * breakpoint.c (breakpoint_re_set_one): mention the reevaluated
  4464. watchpoint only if it is enabled.
  4465. * mipsread.c (parse_procedure): Correct incorrect setjmp procedure
  4466. descriptor from the library to make backtraces through setjmp work.
  4467. * mipsread.c (fixup_sigtramp): Correct pcreg and fregoffset for
  4468. sigtramp.
  4469. * mips-tdep.c (read_next_frame_reg): Provide correct values for
  4470. all registers saved within sigtramp, cleanup.
  4471. Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  4472. * sparc-pinsn.c: Much abridged, just calls version in libopcodes.a.
  4473. Wed Mar 31 21:23:41 1993 K. Richard Pixley (rich@rtl.cygnus.com)
  4474. * core.c (dis_asm_read_memory): drop fourth arg which conflicts
  4475. with prototype in ../include/dis-asm.h.
  4476. Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  4477. * core.c (dis_asm_{read_memory,memory_error}): New functions.
  4478. m68k-pinsn.c, h8500-tdep.c, i386-pinsn.c, mips-pinsn.c, z8k-tdep.c:
  4479. Use read_memory_func interface to disassembler.
  4480. Tue Mar 30 15:46:14 1993 K. Richard Pixley (rich@rtl.cygnus.com)
  4481. Teach sparc solaris to next over shared library functions.
  4482. * solib.[hc] (find_pc_section_from_so_list): new function and
  4483. prototype.
  4484. * sparc-tdep.c (in_solib_trampoline): new function.
  4485. * symfile.[hc] (find_pc_section): new function and prototypes.
  4486. * target.[hc] (find_pc_section_from_targets): new function and
  4487. prototypes.
  4488. * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to
  4489. in_solib_trampoline.
  4490. Tue Mar 30 08:06:24 1993 Jim Kingdon (kingdon@cygnus.com)
  4491. * infrun.c (wait_for_inferior): Revise comment.
  4492. * command.c (do_setshow_command): Use %u with var_{u,z}integer.
  4493. * command.{c,h}: New var_type var_integer.
  4494. main.c: Use it for history_size.
  4495. * rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c:
  4496. Lint and byte-order fixups.
  4497. * breakpoint.c (print_it_normal): Return 0 after hitting watchpoint.
  4498. * breakpoint.h (bpstat): New field print_it.
  4499. breakpoint.c (bpstat_print): Use it.
  4500. (print_it_normal): New function (from old bpstat_print code).
  4501. (bpstat_{alloc,stop_status}): Set print_it field.
  4502. * breakpoint.c (bpstat_stop_status): Use catch_errors when
  4503. evaluating watchpoint condition, via new function watchpoint_check.
  4504. Also stop if watchpoint disabled due to leaving its block.
  4505. * findvar.c [REG_STRUCT_HAS_ADDR]: Add comment.
  4506. Tue Mar 30 00:14:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4507. * mips-pinsn.c: Add missing include of dis-asm.h.
  4508. Mon Mar 29 15:03:25 1993 Fred Fish (fnf@cygnus.com)
  4509. * Makefile.in (clean, distclean, realclean): Recursively apply
  4510. to subdirs first, rather than last. This avoids, for example,
  4511. Makefile being removed in a parent directory before the recursive
  4512. make is run.
  4513. * alldeps.mak, depend: Update for below changes.
  4514. * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.
  4515. * m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h,
  4516. tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h,
  4517. tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}: Include tm-m68k.h
  4518. instead of tm-68k.h.
  4519. * Makefile.in (HFILES): tm-68k.h renamed to tm-m68k.h.
  4520. * README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c,
  4521. m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h,
  4522. nm-hp300bsd.h, config/m68k/xm-apollo68b.h}: Map '68k' to 'm68k'.
  4523. * a29k/tm-a29k.h, doc/gdbint.texinfo: Account for renaming of
  4524. tm-68k.h to tm-m68k.h.
  4525. * m68k/m68k-fp.mt (TM_FILE): tm-68k-fp.h renamed to tm-m68k-fp.h.
  4526. * m68k/m68k-nofp.mt (TM_FILE): tm-68k-nofp.h renamed to
  4527. tm-m68k-nofp.h.
  4528. * config/a29k/tm-a29k.h: Renamed from config/a29k/tm-29k.h.
  4529. * a29k-pinsn.c: Renamed from am29k-pinsn.c.
  4530. * a29k-tdep.c: Renamed from am29k-tdep.c.
  4531. * remote-eb.c, config/a29k/tm-ultra3.h: Include renamed tm-a29k.h.
  4532. * remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h,
  4533. tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi,
  4534. testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp:
  4535. Map '29k' to 'a29k'.
  4536. * config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt}
  4537. (TDEPFILES): Use renamed a29k-pinsn.o and a29k-tdep.o.
  4538. * config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE): Use renamed
  4539. tm-a29k.h.
  4540. * config/a29k/a29k-udi.mt (MT_CFLAGS): Remove TARGET_AM29K
  4541. define that does not appear anywhere else in the gdb source tree.
  4542. Mon Mar 29 13:55:29 1993 Jim Kingdon (kingdon@cygnus.com)
  4543. * breakpoint.c: Add comments regarding breakpoint_re_set.
  4544. * xcoffread.c (sort_syms, compare_symbols): Remove.
  4545. (xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c
  4546. not our own sort_syms (it is identical).
  4547. * xcoffread.c: Nuke NAMES_HAVE_DOT define (not used).
  4548. Sun Mar 28 11:24:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4549. * breakpoint.c (breakpoint_re_set_one): Fix storage leak.
  4550. * breakpoint.c (enable_breakpoint): Don't enable watchpoint if it
  4551. went out of scope.
  4552. * exec.c (exec_close): Fix storage leak.
  4553. * exec.c (exec_file_command): Make sure that bfd doesn't realign the
  4554. output sections when patching an executable.
  4555. * mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR
  4556. when writing all registers.
  4557. * mips-tdep.c (mips_push_dummy_frame): Save floating point registers
  4558. at the right offset in the dummy frame.
  4559. * mipsread.c (psymtab_to_symtab_1): Do not complain for stProc,
  4560. stStaticProc and stEnd symbols as they are generated by gcc-2.x.
  4561. * mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym.
  4562. Fri Mar 26 15:25:05 1993 John Gilmore (gnu@cygnus.com)
  4563. * Makefile.in (TARFILES): Avoid trailing backslash.
  4564. Fri Mar 26 11:29:30 1993 Jim Kingdon (kingdon@cygnus.com)
  4565. * breakpoint.{c,h}: Add exp_string to struct breakpoint and use
  4566. it in breakpoint_re_set.
  4567. * breakpoint.c (watch_command, enable_breakpoint): Fetch lazy values.
  4568. * rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int,
  4569. don't use sizeof(int) for target stuff, etc).
  4570. Thu Mar 25 15:03:53 1993 Fred Fish (fnf@cygnus.com)
  4571. * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
  4572. i860-pinsn.c, i860-tdep.c, config/i860/*: Remove incomplete i860
  4573. support that can't be integrated anyway due to lack of clear
  4574. authorship.
  4575. Thu Mar 25 12:26:50 1993 Stu Grossman (grossman@cygnus.com)
  4576. * findvar.c (read_register, write_register): Make these capable
  4577. of reading/writing registers that are shorter than REGISTER_TYPE.
  4578. * (value_from_register): Install H8500 specific code to return
  4579. proper value when register is being used as a pointer.
  4580. * h8500-tdep.c: Remove extra defines of NUM_REGS.
  4581. (h8500_skip_prologue): Use correct lengths for LINK instructions.
  4582. (FRAME_CHAIN): Change name to h8500_frame_chain. Rewrite code to
  4583. chain frames properly by combining frame pointer with T reg.
  4584. (init_extra_frame_info): Delete. It's now a macro.
  4585. (frame_args_address): Don't add PTR_SIZE. Stack args are already
  4586. offset by the correct amount off of the frame pointer.
  4587. (register_byte): Delete. It's now a macro.
  4588. (register_raw_size, register_virtual_size): Delete. Replaced by
  4589. common routine h8500_register_size, cuz there's no difference
  4590. between the raw & virtual sizes on this machine.
  4591. (register_convert_to_raw, register_convert_to_virtual): Delete,
  4592. cuz there's no difference between the raw & virtual forms.
  4593. Replaced by memcpy in tm file.
  4594. (register_virtual_type): Rename to h8500_register_virtual_type.
  4595. Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
  4596. (_initialize_h8500_tdep): Get rid of crock to ensure that GDB &
  4597. emulator have same reg offsets. This is all handled in the
  4598. simulator code now.
  4599. (h8500_trapped_internalvar): New routine to detect references to
  4600. convenience vars acting as pointer pseudo-regs.
  4601. (h8500_value_trapped_internalvar): Conjure up value of pointer
  4602. pseudo-regs.
  4603. (h8500_set_trapped_internalvar): Convert set value in real
  4604. register references.
  4605. infcmd.c (read_pc, write_pc): Add h8500 specific code to handle
  4606. code segment register.
  4607. infrun.c (proceed): Simplify. Call write_pc instead of doing it
  4608. by hand.
  4609. (wait_for_inferior): Add h8500 specific code to add stack segment
  4610. when reading SP register.
  4611. remote-sim.c (fetch_register): Spacing.
  4612. tm-h8500.h: #define GDB_TARGET_IS_H8500 to make it easier to
  4613. detect cruft. Redo all register manipulation stuff. Get rid of
  4614. pointer pseudo-regs. (INIT_EXTRA_FRAME_INFO): Adds stack segment
  4615. to frame pointer. (IS_TRAPPED_INTERNALVAL,
  4616. VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR): Use these
  4617. to create internal vars for pointer pseudo-regs.
  4618. Thu Mar 25 10:10:28 1993 Fred Fish (fnf@cygnus.com)
  4619. * Makefile.in: Numerous small changes to macro definitions
  4620. and rules for building gdb distribution tree. Many macros
  4621. eliminated or merged, and rules simplified.
  4622. * alldeps.mak: Update.
  4623. * depend: Update.
  4624. Wed Mar 24 13:52:29 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
  4625. * Makefile.in: recurse through SUBDIRS for dvi target too
  4626. Wed Mar 24 08:48:30 1993 Jim Kingdon (kingdon@cygnus.com)
  4627. * Clean up xcoff relocation.
  4628. objfiles.h (struct objfiles): Add section_offsets, num_sections.
  4629. symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets):
  4630. Set them.
  4631. symtab.h (struct general_symbol_info): Add section field.
  4632. minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it.
  4633. xcoffread.c: Set section for symbols and msymbols.
  4634. (struct symtab): Add block_line_section field.
  4635. buildsym.c (end_symtab): Set it.
  4636. (end_symtab and callers): Add section parameter.
  4637. objfiles.c (objfile_relocate): New funciton.
  4638. xcoffexec.c (vmap_symtab): Use it.
  4639. xcoffsolib.h (struct vmap): Remove unused fields.
  4640. config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove
  4641. CORE_NEEDS_RELOCATION, symtab_relocated.
  4642. config/rs6000/tm-rs6000.h: Remove use of loadinfotext.
  4643. rs6000-tdep.c: Make loadinfotext static.
  4644. breakpoint.c (fixup_breakpoints): Doc fix.
  4645. symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c
  4646. (end_symtab): primary field replaces nonreloc.
  4647. Tue Mar 23 00:10:53 1993 John Gilmore (gnu@cygnus.com)
  4648. * symtab.h (struct linetable_entry): Remove confusing comment.
  4649. Tue Mar 23 00:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  4650. * Makefile.in: add installcheck target
  4651. Mon Mar 22 16:17:58 1993 Fred Fish (fnf@cygnus.com)
  4652. * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
  4653. m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
  4654. z8k}: New directories to hold cpu specific configuration files.
  4655. Naming follows gcc convention.
  4656. * config/{*.mt, *.mh}: All target and host makefile fragment
  4657. config files moved to an appropriate config/<cpu> subdirectory.
  4658. * nm-*, xm-*, tm-*: All native, host, and target files, which
  4659. get linked to nm.h, xm.h, and tm.h respectively by configure,
  4660. moved to appropriate config/<cpu> subdirectory.
  4661. * nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
  4662. Native, host, and target files that are common across more than
  4663. one cpu architecture and included by one of the configured
  4664. native, host, or target files, get moved to config directory.
  4665. * Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
  4666. pick up native, host, or target include files moved to one of
  4667. the config subdirectories, and that are included by other files.
  4668. * Makefile.in (alldeps.mak): Modify to account for new config
  4669. directory structure.
  4670. * alldeps.mak, depend: Update for new config directory structure.
  4671. * config/*/[ntx]m-*.h: Modify all files that include other
  4672. [ntx]m-*.h files to use path relative to gdb/config. I.E.
  4673. "a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
  4674. "tm-29k.h".
  4675. * remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
  4676. * mipsread.c (tm-mips.h): Include mips/tm-mips.h.
  4677. * i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
  4678. * configure.in: Default gdb_host_cpu to host_cpu, and remap
  4679. the ones where the default is not unique or different than the
  4680. config subdirectory name. Similarly, handle gdb_target_cpu.
  4681. Modify configure.in as appropriate to make use of gdb_host_cpu
  4682. and gdb_target_cpu to find makefile fragments and make links.
  4683. Mon Mar 22 12:36:24 1993 Ian Lance Taylor (ian@cygnus.com)
  4684. * mipsread.c (compare_blocks): Sort blocks with the same start
  4685. address by decreasing ending address.
  4686. Mon Mar 22 20:36:04 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  4687. * mipsread.c (parse_procedure): Save cur_fdr accross call to
  4688. lookup_symbol as it might get clobbered by the call.
  4689. * mipsread.c (parse_partial_symbols): Use ADD_PSYMBOL_ADDR_TO_LIST.
  4690. The previous code did not initialize the language field for the psymtab
  4691. entry.
  4692. Sat Mar 20 00:33:39 1993 John Gilmore (gnu@cygnus.com)
  4693. * c-exp.y (parse_number): Avoid shift warning.
  4694. * serial.h (struct ttystate): Declare empty one on DOS.
  4695. Fri Mar 19 12:59:50 1993 Stu Grossman (grossman@cygnus.com)
  4696. * xm-sun4os4.h: Return type of free() should be void, not int.
  4697. * vx-share/vxWorks.h: Remove #def of NULL.
  4698. Fri Mar 19 11:28:18 1993 Jim Kingdon (kingdon@cygnus.com)
  4699. * tm-rs6000.h: Nuke no-op STAB_REG_TO_REGNUM.
  4700. Fri Mar 19 07:40:09 1993 Steve Chamberlain (sac@cygnus.com)
  4701. * z8k-tdep.c (print_insn): Include the new dis-asm header file.
  4702. Thu Mar 18 14:26:57 1993 Per Bothner (bothner@rtl.cygnus.com)
  4703. * ieee-float.c: Moved to ../libiberty.
  4704. * ieee-float.h: Moved to ../include.
  4705. * Makefile.in: Update accordingly.
  4706. * i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
  4707. Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
  4708. * m68k-tdep.c: Removed definition of ext_format ext_format_68881;
  4709. it is now in ../opcodes/m68881-ext.c.
  4710. * mips-tdep.c (mips_skip_prologue): Try to skip more of the
  4711. prologue (some callers _do_ care).
  4712. * mips-pinsn.c (print_insn), z8k-tdep.c (print_insn): Convert to
  4713. new interface of ../opcodes/*-dis.c.
  4714. * ch-exp.y: Add #include <ctype.h>.
  4715. Thu Mar 18 11:57:49 1993 Jim Kingdon (kingdon@cygnus.com)
  4716. * xcoffexec.c (exec_close): Don't close exec_bfd twice.
  4717. * xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.
  4718. Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
  4719. * xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc.
  4720. Wed Mar 17 11:28:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
  4721. * z8k-tdep.c (extract_return_value, write_return_value,
  4722. store_struct_return): New functions from macros in tm-z8k.h.
  4723. Wed Mar 17 11:23:06 1993 Fred Fish (fnf@cygnus.com)
  4724. * valops.c (value_arg_coerce): Apply temporary patch to
  4725. fix problem with coercion of array and function types when
  4726. passed as arguments to C functions, pending a more complete
  4727. review of when and how coercion should be done, depending
  4728. upon context and language.
  4729. Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
  4730. * xcoffread.c (MIN_TBTABSIZ): Change to 12.
  4731. * xcoffread.c (xcoff_symfile_read): Only read stringtab and
  4732. debugsec if there are a non-zero number of symbols.
  4733. Tue Mar 16 18:08:45 1993 John Gilmore (gnu@cygnus.com)
  4734. * command.c (show_user): Avoid fprintf_filtered botch (AGAIN!).
  4735. Tue Mar 16 15:18:17 1993 Jim Kingdon (kingdon@cygnus.com)
  4736. * xcoffexec.c (add_vmap): Wrap symbol read in catch_errors.
  4737. * xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf,
  4738. not just 50 symbols.
  4739. (symtbl_num_syms): New variable.
  4740. (read_xcoff_symtab): Set it.
  4741. (read_symbol_nvalue): Check for bad symno.
  4742. (read_symbol_{lineno,nvalue}, callers): Don't pass symtable; it's
  4743. always symtbl.
  4744. Tue Mar 16 10:09:05 1993 Stu Grossman (grossman@cygnus.com)
  4745. * config/rs6000.mh: Get rid of -Dfd_set=int crock.
  4746. This is defined in defs.h if necessary.
  4747. * vx-share/vxWorks.h: Remove #defs of min and max.
  4748. * vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
  4749. vx-share/xdr_rdb.c: include defs.h.
  4750. Fri Mar 12 09:33:23 1993 Jim Kingdon (kingdon@cygnus.com)
  4751. * xcoffread.c (retrieve_tracebackinfo): Move assignment out
  4752. of while condition.
  4753. * xcoffread.c (enter_line_range): complain() on bad endoffset.
  4754. xcoffread.c: Doc fixes.
  4755. Tue Mar 9 09:56:12 1993 Jim Kingdon (kingdon@cygnus.com)
  4756. * tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core.
  4757. xcoffexec.c (xcoff_relocate_core): New function.
  4758. (text_adjustment): Removed.
  4759. (add_vmap): Return the vmap.
  4760. rs6000-tdep.c (add_text_to_loadinfo): No longer static.
  4761. Fri Mar 5 05:22:46 1993 Jim Kingdon (kingdon@cygnus.com)
  4762. * xcoffsolib.h: Add objfile member to struct vmap.
  4763. xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd.
  4764. xcoffexec.c (add_vmap): Allocate objfiles here.
  4765. Sun Mar 14 02:54:15 1993 John Gilmore (gnu@cygnus.com)
  4766. Support 68000 series without floating point.
  4767. * configure.in (m68000-*-{aout,elf,coff}): New configs.
  4768. * tm-68k-nofp.h: New file, lacks 68881 support.
  4769. * config/m68k-nofp.mt: New file.
  4770. Sun Mar 14 02:30:08 1993 John Gilmore (gnu@cygnus.com)
  4771. Remove a few remaining underscore/no-underscore remnants from
  4772. config files.
  4773. * config/{m68k-un.mt, sparc-un.mt}: Remove.
  4774. * config/m68k-noun.mt: Rename to m68k-fp.mt.
  4775. * config/sparc-noun.mt: Rename to sparc-em.mt.
  4776. * tm-68k-noun.h, tm-spc-noun.h: Remove.
  4777. * tm-68k-un.h: Rename to tm-68k-fp.h.
  4778. * tm-spc-un.h: Rename to tm-spc-em.h.
  4779. * tm-sun4sol2.h: Cleanup.
  4780. * configure.in (m68k-*, sparc-* targets): Corresponding changes.
  4781. Sat Mar 13 14:58:22 1993 John Gilmore (gnu@cygnus.com)
  4782. * symmisc.c (std_in, std_out, std_err): Move initializations
  4783. to runtime code, in case they aren't constant.
  4784. Fri Mar 12 16:23:54 1993 K. Richard Pixley (rich@cygnus.com)
  4785. * symtab.c (find_pc_symtab): some object file formats, notably
  4786. mips, have holes in the address ranges of symtabs. Change
  4787. this algorithm from first hit to tightest fit.
  4788. * mips-tdep.c (heuristic_proc_start): if we walk the pc into the
  4789. fence post without finding the enclosing function, then print a
  4790. warning.
  4791. Thu Mar 11 09:33:01 1993 Fred Fish (fnf@cygnus.com)
  4792. * utils.c (fputs_demangled, fprint_symbol): Remove.
  4793. * utils.c (fprintf_symbol_filtered): New function which combines
  4794. the functionality of fputs_demangled and fprint_symbol. Uses a
  4795. caller provided language parameter to select the appropriate
  4796. demangler, and caller provided args to pass to the demangler.
  4797. * defs.h (enum language): Move further up in file so enum can
  4798. be used in prototypes.
  4799. * defs.h (fputs_demangled, fprint_symbol): Remove prototypes.
  4800. * defs.h (fprintf_symbol_filtered): Add prototype.
  4801. * c-typeprint.c (cp_type_print_method_args): Replace calls to
  4802. fputs_demangled with call to fprintf_symbol_filtered.
  4803. * cp-valprint.c (demangle.h): Include
  4804. * cp-valprint.c (cp_print_value_fields): Replace calls to
  4805. fprint_symbol with calls to fprintf_symbol_filtered.
  4806. * printcmd.c (print_frame_args): Replace call to fprint_symbol
  4807. with call to fprintf_symbol_filtered.
  4808. * stack.c (print_frame_info): Remove obsolete code so we don't
  4809. have to update fputs_demangled usage in it.
  4810. * stack.c (print_frame_info, frame_info): Add language variable
  4811. to pass to fprintf_symbol_demangled and initialize it from the
  4812. symbol's language. Replace calls to fputs_demangled with calls
  4813. to fprintf_symbol_filtered.
  4814. * symtab.c (find_methods): Replace call to fputs_demangled with
  4815. call to fprintf_symbol_filtered.
  4816. * ch-valprint.c (demangle.h): Include.
  4817. * ch-valprint.c (chill_print_value_fields): Replace call to
  4818. fprint_symbol with call to new fprintf_symbol_filtered.
  4819. Wed Mar 10 17:37:11 1993 Fred Fish (fnf@cygnus.com)
  4820. * Makefile.in (VERSION): Bump version to 4.8.2.
  4821. * main.c (source_command): Require an explicit pathname of file
  4822. to source, since previous behavior of defaulting to gdb init file
  4823. was troublesome and undocumented.
  4824. * printcmd.c (disassemble_command): Add missing '{}' pair to
  4825. else with two statements. Bug reported by Stephane Tsacas
  4826. <slt@isoft.fr>.
  4827. * symtab.c (find_pc_line): Don't complain about zero length or
  4828. negative length line numbers for the moment, since we may not own
  4829. the terminal when called, such as when single stepping. (FIXME)
  4830. * language.h (CAST_IS_CONVERSION): True if current language is
  4831. C++ as well as C. Fix from Peter Schauer.
  4832. * environ.c (get_in_environ, set_in_environ, unset_in_environ):
  4833. Use STREQN macro rather than bare '!strncmp()'.
  4834. * environ.c (unset_in_environ): Avoid use of memcpy on
  4835. overlapping memory regions, as suggested by Paul Eggert
  4836. <eggert@twinsun.com>.
  4837. * c-exp.y (%union struct): Remove unused ulval as suggested
  4838. by Paul Eggert <eggert@twinsun.com>.
  4839. Mon Mar 8 19:03:06 1993 Fred Fish (fnf@cygnus.com)
  4840. * main.c (gdbinit): Make static.
  4841. * main.c (inhibit_gdbinit): Move to file scope.
  4842. * main.c (main): Remove local inhibit_gdbinit.
  4843. * main.c (source_command): Don't source '.gdbinit' file by
  4844. default if gdb has been told to ignore it.
  4845. Sun Mar 7 21:58:53 1993 Ian Lance Taylor (ian@cygnus.com)
  4846. * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
  4847. 3.63.
  4848. Fri Mar 5 17:39:45 1993 John Gilmore (gnu@cacophony.cygnus.com)
  4849. * printcmd.c (print_address_symbolic): Only print if offset
  4850. is shorter than max_symbolic_offset.
  4851. (initialize_printcmd): `set print max-symbolic-offset'.
  4852. * am29k-tdep.c (TAGWORD_ZERO_MASK): New #define.
  4853. (examine_tag): Use it.
  4854. (read_register_stack): Only look in the local registers for a
  4855. memory address if it's between rfb and rsp; go to memory otherwise.
  4856. (initialize_29k): Fix call_scratch_address doc. Remove reginv_com.
  4857. (reginv_com): Remove ancient kludge command.
  4858. Fri Mar 5 17:16:26 1993 K. Richard Pixley (rich@rtl.cygnus.com)
  4859. * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
  4860. irix4 will again compile.
  4861. * tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.
  4862. * configure.in: accept mips-sgi-irix4* for irix4.
  4863. Fri Mar 5 07:49:48 1993 Steve Chamberlain (sac@lisa.cygnus.com)
  4864. * z8k-tdep.c (print_register_hook): Lint.
  4865. Thu Mar 4 17:42:03 1993 John Gilmore (gnu@cygnus.com)
  4866. Lint fixes from Paul Eggert (eggert@twinsun.com):
  4867. * command.c (do_setshow_command): var_uintegers are unsigned.
  4868. * sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes):
  4869. unsigned, since they use hex values with the high bit set.
  4870. Thu Mar 4 08:22:55 1993 Fred Fish (fnf@cygnus.com)
  4871. Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
  4872. * m88k-pinsn.c (sprint_address): Use SYMBOL_NAME macro to
  4873. access symbol name.
  4874. * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): Enclose
  4875. macro definitions in parenthesis.
  4876. * dbxread.c (dbx_symfile_init): Catch the case where there is
  4877. no string table, but the only way we find out is by reading zero
  4878. bytes from EOF.
  4879. Wed Mar 3 15:51:28 1993 Fred Fish (fnf@cygnus.com)
  4880. * dbxread.c (dbx_symfile_init): Make size of the string table
  4881. size field a define (DBX_STRINGTAB_SIZE_SIZE). Ensure that the
  4882. offset to the string table is nonzero and handle the nonexistant
  4883. string table case, should it occur. Ensure that the string table
  4884. size read from the file is reasonable, with a minimum lower bound
  4885. of DBX_STRINGTAB_SIZE_SIZE instead of zero.
  4886. Wed Mar 3 07:23:03 1993 Ian Lance Taylor (ian@cygnus.com)
  4887. * Makefile.in: Changes to build testsuite correctly.
  4888. (FLAGS_TO_PASS): Added CXX and CXXFLAGS.
  4889. (CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables.
  4890. (TARGET_FLAGS_TO_PASS): New variable.
  4891. (SUBDIRS): Added testsuite.
  4892. (all): Build testsuite using TARGET_FLAGS_TO_PASS, so that
  4893. testsuite is compiled with CC_FOR_TARGET rather than CC.
  4894. Tue Mar 2 17:57:56 1993 Fred Fish (fnf@cygnus.com)
  4895. * dbxread.c (dbx_symfile_init): Fix for nonexistant string table,
  4896. reported by mycroft@gnu.ai.mit.edu.
  4897. (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
  4898. * configure.in (vax-*-ultrix2*): New triplet.
  4899. * config/vaxult2.mh: New file.
  4900. * xm-vaxult2.h: New file.
  4901. * c-exp.y (parse_number): Change high_bit to unsigned.
  4902. * demangle.c: Change all references to cfront to ARM, since the
  4903. actual algorithm is the one specified in the Annotated Reference
  4904. Manual. This was confusing users into thinking that full cfront
  4905. support was implemented.
  4906. * dwarfread.c (CFRONT_PRODUCER): Remove, was never really used.
  4907. * eval.c (evaluate_subexp): For STRUCTOP_PTR pass the arg type
  4908. directly to lookup_struct_elt_type, which will do the
  4909. dereferencing itself.
  4910. * gdbtypes.c (lookup_struct_elt_type): Expand comments. Fix
  4911. NULL dereferencing bug for unnamed structs, comment out
  4912. questionable code.
  4913. Mon Mar 1 17:54:41 1993 John Gilmore (gnu@cygnus.com)
  4914. * coffread.c (process_coff_symbol): Change PCC argument correction
  4915. so that it only happens on big-endian targets; so that it only
  4916. happens if the short or char argument is aligned on an int
  4917. boundary; and so that it changes the location, rather than the
  4918. type, of the argument. These changes tend to parallel similar
  4919. (old) changes in stabsread.c.
  4920. * coffread.c (coff_read_enum_type): Use the specified size for
  4921. enums, don't assume that they are int-sized.
  4922. * c-valprint.c (c_val_print): Don't assume enums are the same as
  4923. ints.
  4924. * coredep.c: Handle NO_PTRACE_H in coredep.c. Fix by Michael
  4925. Rendell, <michael@mercury.cs.mun.ca>.
  4926. Mon Mar 1 09:25:57 1993 Fred Fish (fnf@cygnus.com)
  4927. * language.h (local_decimal_format_custom): Add prototype.
  4928. * language.c (local_decimal_format_custom): Add function, bug
  4929. reported by Robert R. Henry (rrh@tera.com).
  4930. Fri Feb 26 18:33:18 1993 John Gilmore (gnu@cacophony.cygnus.com)
  4931. * xcoffexec.c (vmap_ldinfo): Fix "/" for '/' typo, reported
  4932. by Josef Leherbauer, joe@takeFive.co.at.
  4933. Wed Feb 24 19:17:11 1993 John Gilmore (gnu@cacophony.cygnus.com)
  4934. * symfile.c (syms_from_objfile), tm-29k.h, tm-3b1.h, tm-68k-un.h,
  4935. tm-altos.h, tm-arm.h, tm-convex.h, tm-es1800.h, tm-h8300.h,
  4936. tm-hp300bsd.h, tm-hp300hpux.h, tm-hppa.h, tm-i386bsd.h,
  4937. tm-i386v.h, tm-i960.h, tm-irix3.h, tm-isi.h, tm-linux.h,
  4938. tm-m88k.h, tm-merlin.h, tm-mips.h, tm-news.h, tm-np1.h, tm-pn.h,
  4939. tm-pyr.h, tm-rs6000.h, tm-spc-un.h, tm-sun386.h, tm-sunos.h,
  4940. tm-symmetry.h, tm-sysv4.h, tm-tahoe.h, tm-umax.h, tm-vax.h,
  4941. tm-vx68.h, tm-z8k.h: Remove remnants of NAMES_HAVE_UNDERSCORE.
  4942. Wed Feb 24 07:41:15 1993 Fred Fish (fnf@cygnus.com)
  4943. * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize contents
  4944. of demangled name fields to NULL if no demangling exists for
  4945. a symbol. SYMBOL_INIT_LANGUAGE_SPECIFIC does this for new
  4946. symbols if their language is known at the time they are created,
  4947. but sometimes the language is not known until later.
  4948. * ch-typeprint.c (chill_print_type_base): Name changed to
  4949. chill_type_print_base to match pattern for C and C++ names.
  4950. * ch-typeprint.c (chill_print_type): Change "char" to "CHAR"
  4951. to be consistent with other usages.
  4952. * ch-typeprint.c (chill_type_print_base): Add support for
  4953. printing Chill STRUCT types.
  4954. * ch-valprint.c: Include values.h.
  4955. * ch-valprint.c (chill_print_value_fields): New function and
  4956. prototype for printing Chill STRUCT values.
  4957. * ch-valprint.c (chill_val_print): Fix call to val_print_string
  4958. that was being called with two args instead of three.
  4959. * ch-valprint.c (chill_val_print): Call chill_print_value_fields
  4960. to print Chill STRUCT values.
  4961. Tue Feb 23 18:58:11 1993 Mike Werner (mtw@poseidon.cygnus.com)
  4962. * configure.in: added testsuite to configdirs.
  4963. Tue Feb 23 11:21:33 1993 Fred Fish (fnf@cygnus.com)
  4964. * dwarfread.c (read_tag_string_type): Rewrite to allow forward
  4965. references of TAG_string_type DIEs in user defined types.
  4966. * ch-lang.c (chill_create_fundamental_type): Track compiler
  4967. change that now emits debugging info with the type long for Chill
  4968. longs.
  4969. Mon Feb 22 15:21:54 1993 Ian Lance Taylor (ian@cygnus.com)
  4970. * remote-mips.c: New file; implements MIPS remote debugging
  4971. protocol.
  4972. * config/idt.mt: New file; uses remote-mips.c
  4973. * configure.in (mips-idt-ecoff): New target; uses idt.mt.
  4974. * mips-tdep.c (mips_fpu): New variable; controls use of MIPS
  4975. floating point coprocessor.
  4976. (mips_push_dummy_frame): If not mips_fpu, don't save floating
  4977. point registers.
  4978. (mips_pop_frame): If not mips_fpu, don't restore floating point
  4979. registers.
  4980. (_initialize_mips_tdep): New function; let the user reset mips_fpu
  4981. variable.
  4982. * tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not
  4983. mips_fpu, don't use fp0 as floating point return register.
  4984. (FIX_CALL_DUMMY): If not mips_fpu, don't save floating point
  4985. registers.
  4986. Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
  4987. * testsuite: made modifications to testcases, etc., to allow
  4988. them to work properly given the reorganization of deja-gnu and the
  4989. relocation of the testcases from deja-gnu to a "tool" subdirectory.
  4990. Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
  4991. * testsuite: Initial creation of gdb/testsuite.
  4992. Migrated dejagnu testcases and support files for testing nm to
  4993. gdb/testsuite from deja-gnu. These files were moved "as is"
  4994. with no modifications. This migration is part of a major overhaul
  4995. of dejagnu. The modifications to these testcases, etc., which
  4996. will allow them to work with the new version of dejagnu will be
  4997. made in a future update.
  4998. Fri Feb 19 18:36:55 1993 John Gilmore (gnu@cygnus.com)
  4999. * NEWS: Add reminders for next release.
  5000. Fri Feb 19 10:01:39 1993 Ian Lance Taylor (ian@cygnus.com)
  5001. * mipsread.c (parse_lines): Correct check for files compiled with
  5002. -g1.
  5003. Fri Feb 19 05:56:15 1993 John Gilmore (gnu@cygnus.com)
  5004. * Makefile.in (VERSION): 4.8.1 to distinguish local versions.
  5005. Fri Feb 19 01:32:58 1993 John Gilmore (gnu@cygnus.com)
  5006. * Makefile.in (VERSION): GDB-4.8 release!
  5007. * README, NEWS: Update for release.
  5008. Thu Feb 18 22:44:40 1993 Stu Grossman (grossman@cygnus.com)
  5009. * am29k-pinsn.c (print_insn): Minor nits with const.
  5010. * am29k-tdep.c: More minor nits with arg types for
  5011. supply_register, NULL vs. 0, read_register_gen, & reginv_com.
  5012. Thu Feb 18 22:38:03 1993 John Gilmore (gnu@cygnus.com)
  5013. * gcc.patch: Update for a different GCC (G++) bug.
  5014. * main.c (print_gdb_version): Update copyright year to 1993.
  5015. * nm-hp300bsd.h: Decide whether this is BSD 4.3 or 4.4,
  5016. conditionalize this file on it. FIXME, right way is to split
  5017. these into two config files.
  5018. (ATTACH_DETACH): Define for BSD 4.4
  5019. (PTRACE_ARG_TYPE): caddr_t for BSD 4.4, unset for 4.3.
  5020. (U_REGS_OFFSET): Revise for 4.4.
  5021. (REGISTER_U_ADDR): Separate for 4.4, but it doesn't work yet.
  5022. * xm-hp300bsd.h: Move definitions of UINT_MAX, INT_MAX, INT_MIN,
  5023. LONG_MAX into this file to avoid cpp "redefinition" warnings.
  5024. Thu Feb 18 16:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
  5025. * nm-hp300bsd.h (PTRACE_ARG3_TYPE): FSF's hp300's have int* not
  5026. caddr_t.
  5027. Thu Feb 18 04:10:06 1993 John Gilmore (gnu@cygnus.com)
  5028. * c-lang.c (c_printstr): Bugfix for length==0 case.
  5029. * c-lang.c (c_printstr): If a C string ends in a null, don't
  5030. print the null.
  5031. Thu Feb 18 02:39:21 1993 Stu Grossman (grossman at cygnus.com)
  5032. * defs.h (STRCMP): Make it work for unsigned chars.
  5033. Thu Feb 18 01:56:06 1993 John Gilmore (gnu@cygnus.com)
  5034. * nm-hp300bsd.h (ATTACH_DETACH, PTRACE_ATTACH, PTRACE_DETACH): define.
  5035. * config/hp300bsd.mh (REGEX, REGEX1): Define.
  5036. * m68k-pinsn.c (BREAK_UP_BIG_DECL, AND_OTHER_PART): #if __GNUC__,
  5037. define to kludge the large opcode table into two smaller tables,
  5038. since GCC take exponential space to build the table. Lint.
  5039. (NOPCODES): Remove, use "numopcodes" from opcode/m68k.h instead.
  5040. Wed Feb 17 19:24:40 1993 John Gilmore (gnu@cygnus.com)
  5041. * Makefile.in (VERSION): Roll to 4.7.9.
  5042. * xm-hp300bsd.h: Define PSIGNAL_IN_SIGNAL_H and put a compatible
  5043. definition here, to handle both BSD 4.3 and 4.4 systems.
  5044. * mipsread.c (ZMAGIC): #undef to avoid duplicate define.
  5045. * remote.c (alarm): Move declaration to global level, before
  5046. first reference to it.
  5047. * tm-i386bsd.h (NUM_REGS): There are only eleven, not twelve.
  5048. * dbxread.c (process_one_symbol): Cast to unsigned char, not int.
  5049. Wed Feb 17 13:40:29 1993 K. Richard Pixley (rich@cygnus.com)
  5050. * remote.c (readchar): forward declare alarm which otherwise looks
  5051. like an undeclared variable to gcc.
  5052. * dbxread.c (process_one_symbol): cast enum value N_SO into int
  5053. when comparing against an int. Avoids superfluous warning from
  5054. vax ultrix 4.2 cc.
  5055. * inflow.c (set_sigint_trap): add cast to assignment from signal.
  5056. Avoids superfluous warnings from some systems and/or compilers
  5057. (like vax ultrix 4.2.)
  5058. * language.c (struct op_print unk_op_print_tab): use the enum
  5059. values rather naked zeros as initializers. Avoids warnings from
  5060. ultrix type compilers.
  5061. Tue Feb 16 00:53:20 1993 John Gilmore (gnu@cygnus.com)
  5062. * Makefile.in (VERSION): Roll to 4.7.6.
  5063. (SFILES_SUBDIR): Add 29k-share/udi_soc.
  5064. (SFILES_SUBSUBDIR): Move 29k-share/udi files to this macro.
  5065. (alldeps.mak): Make ALLDEPFILES_SUBSUBDIR for files in sub sub dirs.
  5066. (ALLDEPFILES_SUBSUBDIR): Depend on this for deeper dep files.
  5067. (HFILES): Remove all nm-* except nm-trash.h. Add ns32k-opcode.h.
  5068. (depend): Fix bug where nm-files in config files weren't noticed.
  5069. (make-proto-gdb-1): Avoid changing directories while building new
  5070. prototype. Build SFILES_SUBSUBDIR with longer symlinks.
  5071. Mon Feb 15 20:48:09 1993 John Gilmore (gnu@cygnus.com)
  5072. * remote.c: Improve error recovery. Allow user to break out
  5073. of initial connection attempt with INTERRUPT. Treat a timeout
  5074. while waiting for remote packet like a retry, unless the remote
  5075. side is actively running user code. Fix a few long printf_filtered's.
  5076. * xcoffread.c (read_xcoff_symtab): Don't use null symbol name for
  5077. trampoline symbols.
  5078. * buildsym.c (start_subfile): Allow null file name.
  5079. Fri Feb 12 15:46:49 1993 K. Richard Pixley (rich@cygnus.com)
  5080. * xcoffread.c (process_xcoff_symbol, read_symbol_lineno): complain
  5081. expects a pointer to complaint rather than a complaint
  5082. structure.
  5083. (process_linenos): free the previously allocated subfile name,
  5084. then allocate the new one from the heap.
  5085. Fri Feb 12 08:06:05 1993 Steve Chamberlain (sac@thepub.cygnus.com)
  5086. * h8300-tdep.c, tm-h8300.h: turn off some experimental features
  5087. Thu Feb 11 00:59:07 1993 John Gilmore (gnu@cygnus.com)
  5088. * stabsread.c (dbx_lookup_type): Handle negative type numbers.
  5089. Previously, would bogusly index off the bottom of type_vector.
  5090. (rs6000_builtin_type): Accept type number as argument.
  5091. (read_type, case '-'): Handle negatives like any other type number.
  5092. * symfile.c (deduce_language_from_filename): Handle null name.
  5093. * mips-tdep.c (isa_NAN): Fix byte order dependency.
  5094. Reported by Nobuyuki Hikichi <hikichi@sra.co.jp>,
  5095. fixed by sato@sm.sony.co.jp.
  5096. * xcoffread.c (parmsym): Don't use an initializer to set up
  5097. this struct symbol. Set it up in initialize_xcoffread.
  5098. (read_xcoff_symtab, xcoff_symfile_read): Surround code that only
  5099. works on real rs/6000 target with #ifndef FAKING_RS6000.
  5100. Wed Feb 10 23:42:37 1993 John Gilmore (gnu@cygnus.com)
  5101. * stabsread.c (rs6000_builtin_type): Move function from
  5102. xcoffread.c:builtin_type.
  5103. * xcoffread.c (builtin_type): Move to stabsread. Remove
  5104. IBM6000_HOST dependency. Move misplaced comments.
  5105. (various): Change printf's to complaints.
  5106. (patch_block_stabs, process_xcoff_symbol case C_DECL): Add
  5107. objfile argument to read_type calls under #if 0.
  5108. (process_xcoff_symbol case C_RSYM): Fix typo in #ifdef.
  5109. * xcoffexec.c (map_vmap): Don't allocate an objfile for the exec_file.
  5110. * Makefile.in: xcoffread.o is not built by default.
  5111. * xm-rs6000.h (IBM6000_HOST): Remove.
  5112. * config/rs6000.mh (NATDEPFILES): xcoffread.o is native only.
  5113. Wed Feb 10 18:31:20 1993 Stu Grossman (grossman at cygnus.com)
  5114. * findvar.c (read_var_value): If REG_STRUCT_HAS_ADDR, then set
  5115. VALUE_LVAL to be lval_memory so that we don't try to modify wild
  5116. register numbers when user tries to modify elements in structs
  5117. passed as arguments.
  5118. * inflow.c (child_terminal_info): Move banner outside of system
  5119. specific #ifdefs.
  5120. * tm-hppa.h (REG_STRUCT_HAS_ADDR): Define this for HPPA, which
  5121. passes struct/union arguments by address.
  5122. Wed Feb 10 15:34:46 1993 Ian Lance Taylor (ian@cygnus.com)
  5123. * Based on patch from Kean Johnston <maw@netcom.com>:
  5124. * nm-i386sco4.h: New file. Like nm-i386sco.h, but define
  5125. ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH.
  5126. * config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
  5127. Tue Feb 9 20:07:18 1993 John Gilmore (gnu@cygnus.com)
  5128. * remote-udi.c (FREEZE_MODE): Fix && for & typo. Found and
  5129. fixed by Lynn D. Shumaker, shumaker@saifr00.cfsat.honeywell.com.
  5130. Tue Feb 9 08:18:07 1993 Ian Lance Taylor (ian@cygnus.com)
  5131. * config/i386sco4.mh (MUNCH_DEFINE): Pass -p to nm to avoid bug in
  5132. cc debugging output.
  5133. Tue Feb 9 00:19:28 1993 John Gilmore (gnu@cygnus.com)
  5134. * stabsread.c (define_symbol): Complain about unrecognized names
  5135. that begin with CPLUS_MARKER (often '$'), but don't die. Fix
  5136. suggested by gb@cs.purdue.edu (Gerald Baumgartner).
  5137. (read_cpp_abbrev): Don't use the class name as part of the
  5138. vtable pointer member name (_vptr$) in $vf abbrevs or unrecognized
  5139. abbrevs. Inspired by Mike Tiemann.
  5140. (read_tilde_fields): Comment. Remove ancient dead code.
  5141. Remove erroneous but non-dead code. Simplify. Add complaints.
  5142. (in general): Remove extraneous (parentheses) in return
  5143. statements.
  5144. Fri Feb 5 14:01:22 1993 John Gilmore (gnu@cygnus.com)
  5145. * coffread.c (coff_lookup_type): Fix fencepost error reported
  5146. by Art Berggreen, <arg@opal.acc.com>.
  5147. Fix long file name bug reported on SCO Open Desktop 2.0 by Ulf Lunde
  5148. <Ulf.Lunde@kvatro.no> and Dag H. Wanvik <Dag.H.Wanvik@kvatro.no>:
  5149. * coffread.c (getfilename): Eliminate COFF_NO_LONG_FILE_NAMES
  5150. test, which is apparently left over from when we used native
  5151. include files and couldn't depend on the member names being there.
  5152. * tm-3b1.h, tm-altos.h, tm-i386v.h: Don't set it.
  5153. Thu Feb 4 12:23:15 1993 Ian Lance Taylor (ian@cygnus.com)
  5154. * mipsread.c: Major overhaul to use new BFD symbol table reading
  5155. routines. Now swaps information as it is needed, rather than
  5156. swapping everything when the file is read.
  5157. Thu Feb 4 01:52:36 1993 John Gilmore (gnu@cygnus.com)
  5158. * Makefile.in (TARDIRS): Add sparclite demo dir.
  5159. (*.tab.c): Change dependency on Makefile to depend on
  5160. Makefile.in, otherwise it always rebuilds after configuring.
  5161. Force output *.tab.c file into current directory even in "make"
  5162. versions that rewrite dependent file names used in command lines.
  5163. * TODO: Remove some things we did.
  5164. * am29k-opcode.h, convx-opcode: Remove; now in ../include/opcode.
  5165. * os68k-xdep.c: Remove; useless file (os68k is a target only).
  5166. * convex-pinsn.c: Use ../include/opcode/convex.h. Add CONST.
  5167. * symtab.h: Eliminate unnamed unions and structs.
  5168. Wed Feb 3 14:48:08 1993 John Gilmore (gnu@cygnus.com)
  5169. * Makefile.in (VERSION): Roll to 4.7.5.
  5170. Tue Feb 2 20:47:42 1993 John Gilmore (gnu@cygnus.com)
  5171. * breakpoint.c (breakpoint_re_set_one): Handle watchpoints when
  5172. re-evaluating symbol pointers.
  5173. Tue Feb 2 16:10:31 1993 Fred Fish (fnf@cygnus.com)
  5174. * c-exp.y (lcurly, rcurly): New nonterminals.
  5175. * c-exp.y (exp): Use lcurly and rcurly for arrays and UNOP_MEMVAL
  5176. constructs.
  5177. * parse.c (free_funcalls): Moved prototype from parser-defs.h,
  5178. made function static.
  5179. * parse.c (struct funcall): Moved struct def from parser-defs.h.
  5180. * parse.c (funcall_chain): Moved from parser-defs.h, made static.
  5181. * parse.c (start_arglist):
  5182. * parser-defs.h (free_funcalls): Moved prototype to parse.c.
  5183. * parser-defs.h (struct funcall): Moved struct def to parse.c.
  5184. * parser-defs.h (funcall_chain): Moved to parse.c.
  5185. * printcmd.c (print_frame_nameless_args): Fix prototype.
  5186. * tm-mips.h (setup_arbitrary_frame): Fix prototype.
  5187. * tm-sparc.h (setup_arbitrary_frame): Fix prototype.
  5188. * valops.c (typecmp): Moved prototype from values.h.
  5189. * value.h (typecmp): Moved prototype to valops.c, made static.
  5190. * ch-exp.y (yylex): Change way control sequences are disabled.
  5191. Tue Feb 2 16:11:43 1993 John Gilmore (gnu@cygnus.com)
  5192. * tm-mips.h, tm-sparc.h: Fix thinko in SETUP_ARBITRARY_FRAME.
  5193. Tue Feb 2 15:30:33 1993 Ian Lance Taylor (ian@cygnus.com)
  5194. * mipsread.c (upgrade_type): Build array types correctly, using
  5195. create_range_type and create_array_type.
  5196. Tue Feb 2 00:19:08 1993 John Gilmore (gnu@cygnus.com)
  5197. * remote-nindy.c: Cleanup.
  5198. * infrun.c (wait_for_inferior): When rolling back the PC after
  5199. a breakpoint, call write_pc so that NPC gets rolled back as well
  5200. (for the 29K).
  5201. * blockframe.c (inside_entry_file, inside_main_func,
  5202. inside_entry_func): PC of zero is always "bottom of stack".
  5203. * printcmd.c (print_frame_args, print_frame_nameless_args):
  5204. Let print_frame_nameless_args decide whether there are any,
  5205. laying groundwork for possibly later printing 29K args for
  5206. functions where we have tag words but no symbols.
  5207. Mon Feb 1 18:09:58 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
  5208. * Makefile.in: fix GDB doc targets for new doc subdir structure
  5209. Mon Feb 1 17:56:47 1993 John Gilmore (gnu@cygnus.com)
  5210. * stack.c (parse_frame_specification): Parse as many arguments
  5211. as there are (up to MAXARGS). Pass all of them in argc, argv
  5212. format to SETUP_ARBITRARY_FRAME. Put the burden of checking how
  5213. many there were, onto SETUP_ARBITRARY_FRAME.
  5214. * tm-mips.h, tm-sparc.h: Corresponding changes.
  5215. * mips-tdep.c, sparc-tdep.c: Ditto.
  5216. Mon Feb 1 17:19:37 1993 John Gilmore (gnu@cygnus.com)
  5217. * hp300ux-nat.c: Update copyrights.
  5218. * mipsread.c (parse_partial_symbols): Complain about block
  5219. indexes that go backwards. Fix from Peter Schauer.
  5220. * symfile.c (syms_from_objfile, symbol_file_add): Allow a
  5221. symbol-file that has no linkage symbols to be read.
  5222. * tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends): Move
  5223. from tm- file to xm-file, since they're host dependent.
  5224. * valarith.c (value_binop): Typo.
  5225. Mon Feb 1 16:16:59 1993 Stu Grossman (grossman at cygnus.com)
  5226. * sparclite/aload.c: Add copyleft.
  5227. * sparclite/crt0.s: Add comment at beginning.
  5228. Mon Feb 1 14:36:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
  5229. * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
  5230. * parse.c (std_regs): Only declare if NO_STD_REGS is defined.
  5231. Sun Jan 31 04:32:48 1993 Michael Tiemann (tiemann@rtl.cygnus.com)
  5232. * values.c (value_headof): Fix typo in which VTBL and ARG were
  5233. being confused for one another.
  5234. * valops.c (typecmp): Now static.
  5235. * gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the first
  5236. baseclass--we don't always inherit its virtual function table
  5237. pointer.
  5238. * eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this'
  5239. pointer correctly in case value_struct_elt moves it around.
  5240. * valops.c (typecmp): Now static. Also, now groks references
  5241. better.
  5242. * gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of
  5243. zero on recursive call. If NAME is the name of TYPE, return TYPE.
  5244. Sat Jan 30 19:55:52 1993 John Gilmore (gnu@cygnus.com)
  5245. * hppah-nat.c: Eliminate <sys/user.h> and other unnecessary stuff,
  5246. to avoid "too much defining" error from native C compiler (!).
  5247. * Makefile.in (HFILES): Add typeprint.h.
  5248. * typeprint.[ch]: Update copyrights.
  5249. Thu Jan 28 19:09:02 1993 John Gilmore (gnu@cygnus.com)
  5250. * Makefile.in: Update to match doc/ subdir changes.
  5251. * config/hp300hpux.mh: No cross-host file needed, just native.
  5252. * config/go32.mh: Remove nonexistent "native" support.
  5253. M88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:
  5254. * tm-m88k.h (REGISTER_CONVERT_TO_RAW): Fix typo.
  5255. * m88k-tdep.c (next_insn): Lint, cleanup.
  5256. (store_parm_word): Lint.
  5257. * README: Fix typo (reported by karl@hq.ileaf.com).
  5258. Wed Jan 27 21:34:21 1993 Fred Fish (fnf@cygnus.com)
  5259. * expression.h (BINOP_CONCAT): Document use for self concatenation
  5260. an integral number of times.
  5261. * language.c (binop_type_check): Extend BINOP_CONCAT for self
  5262. concatenation case.
  5263. * valarith.c (value_concat): Rewrite to support self
  5264. concatenation an integral number of times.
  5265. * Makefile.in (ch-exp.tab.c): Change "expect" message.
  5266. * ch-exp.y (FIXME's): Make all FIXME tokens distinct, to
  5267. eliminate hundreds of spurious shift/reduce and reduce/reduce
  5268. conflicts that mask the 5 real ones.
  5269. * ch-exp.y (STRING, CONSTANT, SC): Remove unused tokens.
  5270. * ch-exp.y (integer_literal_expression): Remove production,
  5271. no longer used.
  5272. Thu Jan 21 09:58:36 1993 Fred Fish (fnf@cygnus.com)
  5273. * eval.c (evaluate_subexp): Fix OP_ARRAY, remove code that
  5274. implied that "no side effects" was nonfunctional.
  5275. * eval.c (evaluate_subexp): Add BINOP_CONCAT case to deal with
  5276. character string and bitstring concatenation.
  5277. * expprint.c (dump_expression): Add case for BINOP_CONCAT.
  5278. * expression.h (exp_opcode): Add BINOP_CONCAT.
  5279. * gdbtypes.h (type_code): Add TYPE_CODE_BITSTRING.
  5280. * language.c (string_type): Add function to determine if a type
  5281. is a string type.
  5282. * language.c (binop_type_check): Add case for BINOP_CONCAT.
  5283. * valarith.c (value_concat): New function to concatenate two
  5284. values, such as character strings or bitstrings.
  5285. * valops.c (value_string): Remove error stub and implement
  5286. function body.
  5287. * value.h (value_concat): Add prototype.
  5288. * ch-exp.y (operand_3): Add actions for SLASH_SLASH (//).
  5289. * ch-exp.y (yylex): Recognize SLASH_SLASH.
  5290. * ch-lang.c (chill_op_print_tab): Add SLASH_SLASH (//) as
  5291. BINOP_CONCAT.
  5292. Tue Jan 19 14:26:15 1993 Fred Fish (fnf@cygnus.com)
  5293. * c-exp.y (exp): Add production to support direct creation
  5294. of array constants using the obvious syntax.
  5295. * c-valprint.c (c_val_print): Set printed string length.
  5296. * dwarfread.c (read_tag_string_type): New prototype and
  5297. function that handles TAG_string_type DIEs.
  5298. * dwarfread.c (process_dies): Add case for TAG_string_type
  5299. that calls new read_tag_string_type function.
  5300. * expprint.c (print_subexp): Add support for OP_ARRAY.
  5301. * gdbtypes.c (create_range_type, create_array_type): Inherit
  5302. objfile from the index type.
  5303. * ch-typeprint.c (chill_print_type): Add case for
  5304. TYPE_CODE_STRING.
  5305. * ch-valprint.c (chill_val_print): Fix case for
  5306. TYPE_CODE_STRING.
  5307. Mon Jan 18 11:58:45 1993 Ian Lance Taylor (ian@cygnus.com)
  5308. * mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB,
  5309. MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in
  5310. include/coff/mips.h.
  5311. Fri Jan 15 20:26:50 1993 Fred Fish (fnf@cygnus.com)
  5312. * c-exp.y (exp:STRING): Convert C strings into array-of-char
  5313. constants with an explicit null byte terminator. OP_STRING is
  5314. now used for real string types.
  5315. * c-lang.c (builtin_type_*): Move declarations to lang.c since
  5316. they are used by all languages.
  5317. * c-lang.c (_initialize_c_language): Move initializations of
  5318. builtin_type_* to lang.c.
  5319. * c-typeprint.c (c_type_print_varspec_prefix,
  5320. c_type_print_varspec_suffix): TYPE_CODE_PASCAL_ARRAY renamed
  5321. to TYPE_CODE_STRING.
  5322. * c-valprint.c (c_val_print): Change the way character arrays
  5323. are printed as strings to be consistent with the way strings
  5324. are printed when pointer-to-char types are dereferenced.
  5325. Remove test of print_max before calling val_print_string, which
  5326. now does it's own test.
  5327. * eval.c (evaluate_subexp): Add case for OP_ARRAY.
  5328. * expprint.c (print_subexp, dump_expression): Add case for OP_ARRAY.
  5329. * expression.h (enum exp_opcode): Add OP_ARRAY and document.
  5330. * gdbtypes.c (builtin_type_*): Add declarations moved from
  5331. c-lang.c.
  5332. * gdbtypes.c (create_string_type): New function to create real
  5333. string types.
  5334. * gdbtypes.c (recursive_dump_type): TYPE_CODE_PASCAL_ARRAY
  5335. renamed to TYPE_CODE_STRING.
  5336. * gdbtypes.c (_initialize_gdbtypes): Add initializations of
  5337. builtin_type_* types moved from c-lang.c.
  5338. * gdbtypes.h (enum type_code): TYPE_CODE_PASCAL_ARRAY renamed
  5339. to TYPE_CODE_STRING.
  5340. * gdbtypes.h (builtin_type_string): Add extern declaration.
  5341. * gdbtypes.h (create_string_type): Add prototype.
  5342. * m2-lang.c (m2_create_fundamental_type): TYPE_CODE_PASCAL_ARRAY
  5343. renamed to TYPE_CODE_STRING.
  5344. * m88k-tdep.c (pushed_size): TYPE_CODE_PASCAL_ARRAY renamed to
  5345. TYPE_CODE_STRING.
  5346. * mipsread.c (_initialize_mipsread): TYPE_CODE_PASCAL_ARRAY
  5347. renamed to TYPE_CODE_STRING.
  5348. * parse.c (length_of_subexp, prefixify_subexp): Add case for
  5349. OP_ARRAY.
  5350. * printcmd.c (print_formatted): Recognize TYPE_CODE_STRING.
  5351. * typeprint.c (print_type_scalar): TYPE_CODE_PASCAL_ARRAY renamed
  5352. to TYPE_CODE_STRING.
  5353. * valops.c (allocate_space_in_inferior): New function and
  5354. prototype, using code ripped out of value_string.
  5355. * valops.c (value_string): Rewritten to use new function
  5356. allocate_space_in_inferior, but temporarily disabled until some
  5357. other support is in place.
  5358. * valops.c (value_array): New function to create array constants.
  5359. * valprint.c (val_print_string): Add comment to document use,
  5360. complete rewrite to fix several small buglets.
  5361. * value.h (value_array): Add prototype.
  5362. * value.h (val_print_string): Change prototype to match rewrite.
  5363. * ch-valprint.c (chill_val_print): Add case for TYPE_CODE_STRING.
  5364. * ch-exp.y (match_character_literal): Disable recognition of
  5365. control sequence form of character literals and document why.
  5366. Thu Jan 14 15:48:12 1993 Stu Grossman (grossman at cygnus.com)
  5367. * nindy-share/nindy.c: Add comments to #endif's to clarify
  5368. grouping.
  5369. * hppa-pinsn.c (print_insn): Use read_memory_integer, instead of
  5370. read_memory to get byte order right.
  5371. * hppah-tdep.c (find_unwind_info): Don't read in unwind info
  5372. anymore. This is done in paread.c now. We expect unwind info
  5373. to hang off of objfiles, and search all of the objfiles when until
  5374. we find a match.
  5375. * (skip_trampoline_code): Cast arg to target_read_memory.
  5376. * objfiles.h (struct objfile): Add new field obj_private to hold
  5377. per object file private data (unwind info in this case).
  5378. * paread.c (read_unwind_info): New routine to read unwind info
  5379. for the objfile. This data is hung off of obj_private.
  5380. * tm-hppa.h: Define struct obj_unwind_info, to hold pointers to
  5381. the unwind info for this objfile. Also define OBJ_UNWIND_INFO to
  5382. make this easier to access.
  5383. Wed Jan 13 20:49:59 1993 Fred Fish (fnf@cygnus.com)
  5384. * c-valprint.c (cp_print_class_member): Add extern decl.
  5385. * c-valprint.c (c_val_print): Extract code for printing methods
  5386. and move it to cp_print_class_method in cp-valprint.c.
  5387. * c-valprint.c (c_val_print): Extract code to print strings and
  5388. move it to val_print_string in valprint.c.
  5389. * cp-valprint.c (cp_print_class_method): New function using
  5390. code extracted from c_val_print.
  5391. * valprint.c (val_print_string): New function using code
  5392. extracted from c_val_print.
  5393. * value.h (val_print_string): Add prototype.
  5394. * ch-exp.y (CHARACTER_STRING_LITERAL): Set correct token type.
  5395. * ch-exp.y (literal): Add action for CHARACTER_STRING_LITERAL.
  5396. * ch-exp.y (tempbuf, tempbufsize, tempbufindex, GROWBY_MIN_SIZE,
  5397. CHECKBUF, growbuf_by_size): New variables, macros, and support
  5398. functions for implementing a dynamically expandable temp buffer.
  5399. * ch-exp.y (match_string_literal): New lexer function.
  5400. * ch-exp.y (match_bitstring_literal): Dynamic buffer code
  5401. removed and replaced with new CHECKBUF macro.
  5402. * ch-exp.y (yylex): Call match_string_literal when appropriate.
  5403. * ch-valprint.c (ch_val_print): Add code for TYPE_CODE_PTR.
  5404. Sat Jan 9 19:59:33 1993 Stu Grossman (grossman at cygnus.com)
  5405. * Makefile.in: Add info for paread.o.
  5406. * config/hppahpux.mh: Add paread.o to NATDEPFILES.
  5407. * blockframe.c (frameless_look_for_prologue): Correct the
  5408. comment.
  5409. * gdbtypes.h, gdbtypes.c: Use const in decl of
  5410. cplus_struct_default, now that pa-gas assembler has been fixed.
  5411. * hppah-nat.c: Formatting.
  5412. * hppah-tdep.c: Remove lots of useless externs for variables we
  5413. don't use.
  5414. * (find_unwind_entry): Speed up by using binary search, and a one
  5415. entry cache.
  5416. * (rp_saved): New routine to see what unwind info says about RP
  5417. being saved on the stack frame.
  5418. * (frame_saved_pc): Look for prologue to see if we need to
  5419. examine the stack for the saved RP or not.
  5420. * (init_extra_frame_info): Check for prologue, instead of
  5421. framesize to determine if we are frameless or not.
  5422. * (frame_chain_valid): Stop backtraces when we run into _start.
  5423. * (push_dummy_frame): Reformat to make more readable.
  5424. * (find_dummy_frame_regs): ditto.
  5425. * (hp_pop_frame): ditto.
  5426. * (hp_restore_pc_queue): small cleanup.
  5427. * (hp_push_arguments): ditto.
  5428. * (pa_do_registers_info): ditto.
  5429. * (skip_prologue): New routine created from SKIP_PROLOGUE macro.
  5430. * tm-hppa.h: Move contents of SKIP_PROLOGUE into hppah-tdep.c.
  5431. * Define FRAME_CHAIN_VALID.
  5432. * Turn on BELIEVE_PCC_PROMOTION so that we can access char args
  5433. passed to functions.
  5434. * paread.c (pa_symtab_read): Use new bfd conventions for
  5435. accessing linker symbol table.
  5436. * (pa_symfile_init): Access embedded STAB info via BFD section
  5437. mechanism and related macros.
  5438. Sat Jan 9 19:31:43 1993 Stu Grossman (grossman at cygnus.com)
  5439. * sparc-stub.c: Use a seperate stack for our traps.
  5440. * Handle recursive traps.
  5441. * Remove all trap init code. This needs to be done by the
  5442. environment.
  5443. * (set_mem_fault_trap): Call exceptionHandler() to setup this
  5444. trap.
  5445. * (handle_exception): See if we are at breakinst, if so, then
  5446. advance PC sp that users can just step out of breakpoint().
  5447. * (case 'G'): Don't let GDB hack CWP. Also, copy saved regs to
  5448. new place if SP has changed.
  5449. * (case 's'): Get rid of this, we can't do it yet.
  5450. * (case 't'): New command to test any old random feature.
  5451. * (case 'r'): New command to reset the system.
  5452. * (breakpoint): Add label to breakpoint trap instruction so that
  5453. handle_exception() can detect where we are and get past the
  5454. breakpoint trivially.
  5455. Thu Jan 7 13:33:06 1993 Ian Lance Taylor (ian@cygnus.com)
  5456. * mips-pinsn.c: Actual work now done by opcodes/mips-dis.c.
  5457. Thu Jan 7 09:21:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  5458. * configure.in: recognise all sparclite variants
  5459. Wed Jan 6 10:14:51 1993 Steve Chamberlain (sac@thepub.cygnus.com)
  5460. * symfile.c: If O_BINARY isn't defined, set it to 0, call openp for
  5461. binary files oring in the right bit.
  5462. * main.c, source.c, state.c, symmisc.c: use macros defined in
  5463. fopen-{bin|both} when fopening files.
  5464. Wed Jan 6 08:19:11 1993 Fred Fish (fnf@cygnus.com)
  5465. * defs.h (HOST_CHAR_BIT): New macro, defaults to either CHAR_BIT
  5466. from a configuration file (typically including <limits.h>), or to
  5467. TARGET_CHAR_BIT if CHAR_BIT is not defined.
  5468. * eval.c (evaluate_subexp): Use new BYTES_TO_EXP_ELEM macro.
  5469. * eval.c (evaluate_subexp): Add case for OP_BITSTRING.
  5470. * expprint.c (print_subexp): Use new BYTES_TO_EXP_ELEM macro.
  5471. * exppritn.c (print_subexp, dump_expression): Add case for
  5472. OP_BITSTRING.
  5473. * expression.h (OP_BITSTRING): New expression element type for
  5474. packed bitstrings.
  5475. * expression.h (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM): New
  5476. macros to convert between number of expression elements and bytes
  5477. to store that many elements.
  5478. * i960-tdep.c (leafproc_return): Use new macros to access
  5479. minimal symbol name and address fields.
  5480. * m88k-pinsn.c (sprint_address): Use new macros to access
  5481. minimal symbol name and address fields.
  5482. * nindy-tdep.c (nindy_frame_chain_valid): Use new macro to access
  5483. minimal symbol address field.
  5484. * parse.c (write_exp_elt, write_exp_string, prefixify_expression,
  5485. parse_exp_1): Use new EXP_ELEM_TO_BYTES macro.
  5486. * parse.c (write_exp_string, length_of_subexp, prefixify_expression):
  5487. Use new BYTES_TO_EXP_ELEM macro.
  5488. * parse.c (write_exp_bitstring): New function to write packed
  5489. bitstrings into the expression element vector.
  5490. * parse.c (length_of_subexp, prefixify_subexp): Add case for
  5491. OP_BITSTRING.
  5492. * parser-defs.h (struct stoken): Document that it is used for
  5493. OP_BITSTRING as well as OP_STRING.
  5494. * parser-defs.h (write_exp_bitstring): Add prototype.
  5495. * ch-exp.y (BIT_STRING_LITERAL): Change token type to sval.
  5496. * ch-exp.y (NUM, PRED, SUCC, ABS, CARD, MAX, MIN, SIZE, UPPER,
  5497. LOWER, LENGTH): New tokens for keywords.
  5498. * ch-exp.y (chill_value_built_in_routine_call, mode_argument,
  5499. upper_lower_argument, length_argument, array_mode_name,
  5500. string_mode_name, variant_structure_mode_name): New non-terminals
  5501. and productions.
  5502. * ch-exp.y (literal): Useful production for BIT_STRING_LITERAL.
  5503. * ch-exp.y (match_bitstring_literal): New lexer support function
  5504. to recognize bitstring literals.
  5505. * ch-exp.y (tokentab6): New token table for 6 character keywords.
  5506. * ch-exp.y (tokentab5): Add LOWER, UPPER.
  5507. * ch-exp.y (tokentab4): Add PRED, SUCC, CARD, SIZE.
  5508. * ch-exp.y (tokentab3): Add NUM, ABS, MIN, MAX.
  5509. * ch-exp.y (yylex): Check tokentab6.
  5510. * ch-exp.y (yylex): Call match_bitstring_literal.
  5511. Mon Jan 4 16:54:18 1993 Fred Fish (fnf@cygnus.com)
  5512. * xcoffexec.c (vmap_symtab): Use new macros to access minimal
  5513. symbol name and value fields.
  5514. * c-exp.y (yylex): Make static, to match prototype and other
  5515. <lang>-exp.y files.
  5516. * expression.h (exp_opcode): Add BINOP_MOD.
  5517. * eval.c (evaluate_subexp): Handle new BINOP_MOD.
  5518. * expprint.c (dump_expression): Handle new BINOP_MOD.
  5519. * language.c (binop_type_check): Handle new BINOP_MOD.
  5520. * main.c (float_handler): Re-enable float handler when hit.
  5521. * valarith.c (language.h): Include, need current_language.
  5522. * valarith.c (TRUNCATION_TOWARDS_ZERO): Define default macro
  5523. for integer divide truncates towards zero for negative results.
  5524. * valarith.c (value_x_binop): Handle BINOP_MOD if seen.
  5525. * valarith.c (value_binop): Allow arithmetic operations on
  5526. TYPE_CODE_CHAR variables. Add case to handle new BINOP_MOD.
  5527. * ch-exp.y (operand_4): Add useful actions for MOD and REM.
  5528. * ch-exp.y (tokentab3): Add MOD and REM.
  5529. * ch-exp.y (yylex): Set innermost_block for symbols found
  5530. in local scopes. Return LOCATION_NAME for local symbols.
  5531. * ch-lang.c (chill_op_print_tab): Fix MOD entry to use
  5532. BINOP_MOD instead of BINOP_REM. Add REM entry, using BINOP_REM.
  5533. Mon Jan 4 07:35:31 1993 Steve Chamberlain (sac@wahini.cygnus.com)
  5534. * command.c (shell_escape, make_command, _initialize_command):
  5535. don't create or use fork if CANT_FORK is defined.
  5536. * serial.h, ser-go32.c: now compiles, but "the obvious problems of
  5537. code written for the IBM PC" remain.
  5538. * xm-go32.h: define CANT_FORK
  5539. Sun Jan 3 14:24:56 1993 Steve Chamberlain (sac@thepub.cygnus.com)
  5540. * remote-sim.c: first attempt at general simulator interface
  5541. * remote-hms.c: whitespace
  5542. * h8300-tdep.c: (h8300_skip_prologue, examine_prologue):
  5543. understand new stack layout. (print_register_hook): print ccr
  5544. register in a fancy way.
  5545. Sun Jan 3 14:16:10 1993 Fred Fish (fnf@cygnus.com)
  5546. * eval.c (language.h): Include.
  5547. * eval.c (evaluate_subexp_with_coercion): Only coerce arrays
  5548. to pointer types when the current language is C. It loses for
  5549. other languages when the lower index bound is nonzero.
  5550. * valarith.c (value_subscript): Take array lower bounds into
  5551. account when performing subscripting operations.
  5552. * valops.c (value_coerce_array): Add comment describing why
  5553. arrays with nonzero lower bounds are dealt with in value_subscript,
  5554. rather than in value_coerce_array.
  5555. Sat Jan 2 12:16:41 1993 Fred Fish (fnf@cygnus.com)
  5556. * ch-exp.y (FLOAT_LITERAL): Add token.
  5557. * ch-exp.y (literal): Add FLOAT_LITERAL.
  5558. * ch-exp.y (match_float_literal): New lexer routine.
  5559. * ch-exp.y (convert_float): Remove.
  5560. * ch-exp.y (yylex): Call match_float_literal.
  5561. * ch-exp.y (yylex): Match single '.' after trying
  5562. to match floating point literals.
  5563. * eval.c (evaluate_subexp): Add case MULTI_SUBSCRIPT.
  5564. * expprint.c (print_subexp): Rename BINOP_MULTI_SUBSCRIPT to
  5565. MULTI_SUBSCRIPT.
  5566. * expprint.c (dump_expression): New function for dumping
  5567. expression vectors during gdb debugging.
  5568. * expression.h (BINOP_MULTI_SUBSCRIPT): Name changed to
  5569. MULTI_SUBSCRIPT and moved out of BINOP range.
  5570. * expression.h (DUMP_EXPRESSION): New macro that calls
  5571. dump_expression if DEBUG_EXPRESSIONS is defined.
  5572. * m2-exp.y (BINOP_MULTI_SUBSCRIPT): Changed to MULTI_SUBSCRIPT.
  5573. * parse.c (length_of_subexp, prefixify_subexp): Change
  5574. BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT.
  5575. * parse.c (parse_exp_1): Call DUMP_EXPRESSION before and after
  5576. prefixify'ing the expression.
  5577. * printcmd.c (print_command_1): Add comment.
  5578. * ch-exp.y (expression_list): Add useful actions.
  5579. * ch-exp.y (value_array_element): Add useful actions.
  5580. * ch-exp.y (array_primitive_value): Add production.
  5581. * ch-exp.y (yylex): Recognize ',' as a token.
  5582. Fri Jan 1 18:22:02 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  5583. * Makefile.in: pass prefix and exec_prefix via FLAGS_TO_PASS,
  5584. POSIXize the recursive makes (make [variable assignments] target{s})
  5585. Fri Jan 1 11:56:23 1993 Fred Fish (fnf@cygnus.com)
  5586. * tm-sun4sol2.h (CPLUS_MARKER): Remove, now set in tm-sysv4.h.
  5587. * tm-sysv4.h (CPLUS_MARKER): By default, g++ uses '.' as the
  5588. CPLUS_MARKER for all SVR4 systems, so follow suit.
  5589. * defs.h (strdup_demangled): Remove prototype.
  5590. * dwarfread.c (enum_type, synthesize_typedef): Use new macro
  5591. SYMBOL_INIT_LANGUAGE_SPECIFIC.
  5592. * dwarfread.c (new_symbol): Use SYMBOL_INIT_DEMANGLED_NAME.
  5593. * minsyms.c (install_minimal_symbols, prim_record_minimal_symbol,
  5594. prim_record_minimal_symbol_and_info): Use new macro
  5595. SYMBOL_INIT_LANGUAGE_SPECIFIC.
  5596. * minsyms.c (install_minimal_symbols): Use new macro
  5597. SYMBOL_INIT_DEMANGLED_NAME.
  5598. * stabsread.c (define_symbol): Use new macro
  5599. SYMBOL_INIT_DEMANGLED_NAME.
  5600. * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
  5601. Use new macro SYMBOL_INIT_DEMANGLED_NAME.
  5602. * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Use new macro
  5603. SYMBOL_INIT_DEMANGLED_NAME.
  5604. * symmisc.c (dump_msymbols, dump_symtab, print_partial_symbol):
  5605. SYMBOL_DEMANGLED_NAME now tests language itself.
  5606. * symtab.c (COMPLETION_LIST_ADD_SYMBOL): SYMBOL_DEMANGLED_NAME
  5607. now tests language itself.
  5608. * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME): New macro that does
  5609. what SYMBOL_DEMANGLED_NAME used to do, directly access the C++
  5610. mangled name member in the language dependent portion of a symbol.
  5611. * symtab.h (SYMBOL_DEMANGLED_NAME): New macro that returns the
  5612. mangled name member appropriate for a symbol's language.
  5613. * symtab.h (SYMBOL_SOURCE_NAME, SYMBOL_LINKAGE_NAME,
  5614. SYMBOL_MATCHES_NAME, SYMBOL_MATCHES_REGEXP):
  5615. SYMBOL_DEMANGLED_NAME now tests language itself.
  5616. * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): New macro that
  5617. initializes language dependent portion of symbol.
  5618. * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): New macro that
  5619. demangles and caches the demangled form of symbol names.
  5620. * utils.c (fputs_demangled, fprint_symbol): Use current language
  5621. to select an appropriate demangling algorithm.
  5622. * utils.c (strdup_demangled): Remove, no longer used.
  5623. * symtab.h (SYMBOL_CHILL_DEMANGLED_NAME): New macro that directly
  5624. access the Chill mangled name member in the language dependent
  5625. portion of a symbol.
  5626. * ch-lang.c (chill_demangle): New function, simple demangler.
  5627. * defs.h (chill_demangle): Add prototype.
  5628. * symtab.h (language_dependent_info): Add struct for Chill.
  5629. For older changes see ChangeLog-1992
  5630. Local Variables:
  5631. mode: indented-text
  5632. left-margin: 8
  5633. fill-column: 74
  5634. version-control: never
  5635. End: