ChangeLog-1995 193 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912
  1. Fri Dec 29 16:30:58 1995 Stan Shebs <shebs@andros.cygnus.com>
  2. * symfile.c (find_sym_fns): Add PowerMac to xcoff file recognition
  3. kludge.
  4. Fri Dec 22 11:05:59 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  5. * configure.in (gdb_host): Add support for DG/UX running on x86 as
  6. a host.
  7. (all x86 targets and hosts): Add support for pentium-pro machines.
  8. * configure: Rebuild.
  9. * config/i386/i386dgux.mh: New file for DG/UX running on x86 host.
  10. Thu Dec 21 19:09:20 1995 Rob Savoye <rob@chinadoll.cygnus.com>
  11. * remote-array.c (array_wait): Poll the keyboard along with the
  12. serial port so users can tpye at the target while their
  13. application is running.
  14. Thu Dec 21 11:58:52 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  15. * Makefile.in (ppcbug-rom.o, srec.o): Add dependencies.
  16. * monitor.c (monitor_debug): Take prefix, and suffix arguments.
  17. Print trailing newline after the suffix.
  18. (monitor_printf{,_noecho}): Change monitor_debug calls.
  19. (monitor_printf): Call monitor_expect instead of trying to do the
  20. expect processing locally so that if there is extra junk, it
  21. doesn't hang things up.
  22. (readchar): If MO_HANDLE_NL is set, handle \r\n pairs and convert
  23. them to a single \r. Use monitor_debug to print out byte read.
  24. * monitor.h (MO_HANDLE_NL): Add new flag.
  25. * ppcbug-rom.c (ppcbug_ops{1,2}): Split into two ops, one that
  26. uses lo 0 to load, and the other that uses lo 1. Set flag
  27. MO_HANDLE_NL.
  28. (ppcbug_open{0,1}): Clone and split to handle ppcbug_ops{1,2}.
  29. (_initialize_ppcbug_rom): Set up both ppcbug_open{0,1}.
  30. Wed Dec 20 10:54:41 1995 Fred Fish <fnf@cygnus.com>
  31. * defs.h: Delete extraneous whitespace at end of file.
  32. * symfile.h: Move #include of demangle.h outside conditional.
  33. * objfiles.h (struct objstats, OBJSTAT, OBJSTATS): New struct and
  34. macros to hold per-objfile statistics for internal
  35. instrumentation.
  36. (struct objfile): Add OBJSTATS member, which is optional.
  37. * buildsym.h (next_symbol_text_func): Now takes objfile argument.
  38. Also update copyright to 1995.
  39. * dbxread.c (dbx_next_symbol_text): Now takes objfile argument.
  40. (dbx_symfile_init, coffstab_build_psymtabs, elfstab_build_psymtabs,
  41. stabsect_build_psymtabs): Accumulate string table size.
  42. (dbx_next_symbol_text, read_dbx_symtab, read_ofile_symtab):
  43. Accumulate number of stabs symbols read.
  44. * dwarfread.c (new_symbol, symthesize_typedef):
  45. Accumulate number of full symbols created.
  46. * gdbtypes.c (alloc_type): Accumulate number of types.
  47. * maint.c (maintenance_print_statistics): New function.
  48. * mdebugread.c (mdebug_next_symbol_text): Now takes objfile
  49. argument.
  50. * minsyms.c (prim_record_minimal_symbol_and_info): Accumulate
  51. number of minimal symbols read.
  52. * os9kread.c (read_os9k_psymtab): next_symbol_text takes objfile
  53. arg.
  54. * partial-stab.h: next_symbol_text takes objfile arg.
  55. * stabsread.c (error_type, STABS_CONTINUE): Now takes objfile arg
  56. and uses it to call next_symbol_text.
  57. * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
  58. Accumulate number of partial symbols created.
  59. * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Accumulate number of partial
  60. symbols created.
  61. * symmisc.c (print_objfile_statistics): Print the per-objfile
  62. internal instrumentation statistics gathered.
  63. * xcoffread.c (xcoff_next_symbol_text): Now takes objfile argument.
  64. Fri Dec 15 16:15:55 1995 Ian Lance Taylor <ian@cygnus.com>
  65. * top.c (set_endian_from_file): Use new bfd_big_endian macro.
  66. Fri Dec 15 12:21:10 1995 Raymond Jou <rjou@mexican.cygnus.com>
  67. * mpw-make.sed: Add quotes to RIncludes reference.
  68. Fri Dec 15 13:18:55 1995 Rob Savoye <rob@darkstar.cygnus.com>
  69. * remote-array.c: Remove bogus setting of baudrate to 4800. Their
  70. hardware has real UARTS now.
  71. Mon Dec 11 18:19:16 1995 Stan Shebs <shebs@andros.cygnus.com>
  72. * configure.in (powerpc-*-macos*): New target configuration.
  73. * configure: Update.
  74. * config/powerpc/macos.mh, config/powerpc/macos.mt,
  75. config/powerpc/nm-macos.h, config/powerpc/tm-macos.h, mac-nat.c:
  76. New files, native PowerMac debugging support.
  77. * Makefile.in (mac-nat.o): Add build rule.
  78. * mpw-config.in (enable_cflags): Add support.
  79. (m68k-apple-macos, powerpc-apple-macos): Fix natdepfiles to
  80. list object file instead of source file.
  81. * mpw-make.sed (@ENABLE_CFLAGS@): Don't edit out, replace with
  82. value of variable.
  83. (install, install-only): Edit MPW-specific installation into
  84. place of Unix shell code.
  85. * mac-gdb.r: Fix version resources to use symbolic version strings.
  86. (cfrg): New resource, code fragment for PowerMac.
  87. Mon Dec 11 14:13:03 1995 Fred Fish <fnf@amigalib.com>
  88. * dbxread.c (process_one_symbol): When looking at the next
  89. minimal symbol, check for end of the minimal symbol array
  90. (symbol with NULL pointer for name) before dereferencing it.
  91. Mon Dec 11 15:56:55 1995 Per Bothner <bothner@kalessin.cygnus.com>
  92. * eval.c (evaluate_struct_tuple): Fix thinko.
  93. Mon Dec 11 06:52:02 1995 Wilfried Moser <moser@rtl.cygnus.com>
  94. * ch-typeprint.c (chill_type_print_base): Slightly change of printing
  95. of variant structures.
  96. Mon Dec 11 00:36:01 1995 Per Bothner <bothner@kalessin.cygnus.com>
  97. * valops.c (value_cast): Handle casts to and from TYPE_CODE_CHAR.
  98. * ch-exp.c (match_integer_literal): Fix long long support.
  99. * gdbtypes.c (get_discrete_bounds): Make TYPE_LENGTH (type) ==
  100. sizeof (LONGEST) case work OK.
  101. Fri Dec 8 21:02:24 1995 Fred Fish <fnf@cygnus.com>
  102. * coffread.c, dbxread.c, dstread.c, objfiles.c, os9kread.c,
  103. symfile.c, symtab.c: Use "obstack.h" rather than <obstack.h>.
  104. Wed Dec 6 16:16:18 1995 Stu Grossman (grossman@cirdan.cygnus.com)
  105. * remote-mips.c (mips_receive_header): Allow mips_syn_garbage to be
  106. user-settable (via set syn-garbage-limit). Setting it to -1 makes
  107. it unlimited.
  108. Tue Dec 5 18:33:43 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
  109. * gdbtypes.c (check_stub_method): Make sure we get back a function
  110. string in the demangled name before we try to use it.
  111. Tue Dec 5 18:08:29 1995 Stu Grossman (grossman@cygnus.com)
  112. * monitor.c (monitor_expect_regexp): Make static, add prototype.
  113. * (monitor_read_memory_single): Call monitor_expect_regexp with
  114. pointer to getmem_resp_delim_pattern, not entire struct.
  115. Tue Dec 5 15:51:25 1995 Stan Shebs <shebs@andros.cygnus.com>
  116. * c-lang.h (c_op_print_tab): Don't declare, some compilers
  117. consider illegal if structure not defined, and only used
  118. in c-lang.c anyway.
  119. Sun Dec 3 12:31:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
  120. * eval.c (evaluate_subexp_standard case): Fix typo.
  121. Sun Dec 3 11:59:21 1995 Jeffrey A. Law <law@cygnus.com>
  122. * ch-exp.c (parse_named_record_element): Avoid aggregrate
  123. initializations for automatic variables.
  124. * hppa-tdep.c (hppa_alignof): Fix typo in last change.
  125. Sat Dec 2 19:32:57 1995 Fred Fish <fnf@cygnus.com>
  126. * symfile.c (global_psymbols, static_psymbols): Remove, unused.
  127. Sat Dec 2 03:02:21 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  128. * alpha-tdep.c (heuristic_proc_desc): Add heuristic to
  129. determine the return address register, needed for OSF/1-3.2C.
  130. * config/alpha/tm-alpha.h (T7_REGNUM, T9_REGNUM): Define.
  131. Fri Dec 1 07:23:57 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  132. * ppcbug-rom.c (ppcbug_cmds): Turn on MO_GETMEM_READ_SINGLE
  133. because PPCbug displays the memory as characters as well as hex.
  134. Fix getmem/setmem commands.
  135. * srec.c (load_srec): Fix off by one typo in last submission.
  136. * rs6000-tdep.c (push_arguments): Fix typo.
  137. Thu Nov 30 23:54:17 1995 Per Bothner <bothner@kalessin.cygnus.com>
  138. * language.c (lang_bool_type), language.h: New function.
  139. * language.h (LA_BOOL_TYPE): New macro.
  140. * eval.c (evaluate_subexp_standard) Use LA_BOOL_TYPE instead
  141. of builtin_type_int where appropriate,
  142. * valarith.c (value_subscript): Likewise.
  143. * valops.c (value_slice): Implement (value) bitstring slices.
  144. * valprint.c (val_print): If TYPE_LENGTH is zero, don't automatically
  145. print "<incomplete type>" - Chill has zero-length (string) types.
  146. * gdbtypes.c (check_stub_type): Removed; no longes needed.
  147. * ch-exp.c (expect, parse_call): Tweak error messages.
  148. Wed Nov 29 13:35:18 1995 Per Bothner <bothner@kalessin.cygnus.com>
  149. * scm-valprint.c (scm_isymnames): Remove "#@" prefix.
  150. (scm_scmval_print): Do not print "#@" prefix.
  151. * gdbtypes.h (enum type_code): Added TYPE_CODE_TYPEDEF.
  152. (check_typedef): New prototype.
  153. (CHECK_TYPEDEF): New macro.
  154. (TYPE_DUMMY_RANGE): Removed.
  155. * gdbtypes.c (get_discrete_bounds): Fix paren error; make more robust.
  156. (create_array_type): Don't force_to_range_type; users of the
  157. array are responsible for handling non-range index types.
  158. (create_set_type): Likewise.
  159. (force_to_range_type): Removed.
  160. (check_typedef): New function handles stub types and typedefs.
  161. (check_stub_type): Just call check_typedef. (To be removed.)
  162. (recursive_dump_type): Handle TYPE_CODE_TYPEDEF.
  163. * ch-lang.c (type_lower_upper): Use get_discrete_bounds.
  164. (evaluate_subexp_chill): Handle string repetition.
  165. Re-arrange to handle EVAL_AVOID_SIDE_EFFECTS better.
  166. * ch-typeprint.c (chill_type_print_base): Handle TYPE_CODE_TYPEDEF.
  167. Pass show=0 in recursive calls various places.
  168. (case TYPE_CODE_ARRAY): Don't require index type to have
  169. TYPE_CODE_RANGE.
  170. (case TYPE_CODE_RANGE): Don't need to support TYPE_DUMMY_RANGE.
  171. * gdbtypes.c, ch-lang.c, ch-typeprint.c (numerous places):
  172. Add check_typedef/CHECK_TYPEDEF as needed.
  173. * ch-exp.y: Replaced by ...
  174. * ch-exp.c: New file. Use recursive-descent.
  175. Recognize labelled array tuples and powerset ranges.
  176. * Makefile.in: Update for no longer using yacc for ch-exp.
  177. * c-lang.c: Make various functions non-static.
  178. * c-lang.h: Add bunches of prototypes.
  179. * cp-valprint.c (cp_print_value_fields): Also take address.
  180. (cp_print_value): Likewise. Use baselcass_offset.
  181. * stabsread.c (current_symbol): New static variable.
  182. (type_synonym_name): Remove.
  183. (read_type): If copying, make copy be a TYPE_CODE_TYPEDEF.
  184. (read_array_type): Don't need to handle undefined element type here.
  185. (cleanup_undefined_types): Ditto.
  186. (read_range_type): Look for Chill ranges.
  187. * valops.c (value_assign): Fix case lval_internalvar - don't try
  188. to assign into old value (which might be too small!).
  189. (value_coerce_array): No longer need special VALUE_REPEATED handling.
  190. (value_arg_coerce): Cleaner array->pointer decay mechanism.
  191. (search_struct_field): Use baseclass_offset rather than
  192. baseclass_addr.
  193. (value_slice): Use get_discrete_bounds.
  194. * value.h (COERCE_VARYING_ARRAY): Take type argumnt as well.
  195. * values.c (baseclass_offset): Change parameter interface.
  196. (baseclass_addr): Removed.
  197. * c-typeprint.c, c-valprint.c, ch-valprint.c, values.c, valops.c:
  198. Add check_typedef/CHECK_TYPEDEF as needed.
  199. * alpha-tdep.c, c-exp.y, h8500-tdep.c, f-exp.y, f-valprint.c,
  200. findvar.c, hppa-tdep.c, infcmd.c, language.c, printcmd.c,
  201. rs6000-tdep.c, symmisc.c, symtab.c, mdebugread.c:
  202. Add check_typedef/CHECK_TYPEDEF as needed.
  203. * f-typeprint.c, valarith.c, valprint.c, typeprint.c, eval.c:
  204. Add check_typedef/CHECK_TYPEDEF as needed.
  205. * f-typeprint.c: Various cleaning up.
  206. * valarith.c (value_subscript): Also subscript bitstrings (for Chill).
  207. * typeprint.c (print_type_scalar): Also support TYPE_CODE_RANGE.
  208. * eval.c (evaluate_subexp_standard case OP_ARRAY): Implement
  209. support for labelled array tuples and ranges in powerset tuples.
  210. (init_array_element): New function.
  211. * top.c (command_line_input): Only strip out an initial #-comment.
  212. Looking for internal comments is language-specific (breaks Scheme).
  213. * expression.h (enum exp_opcode): Add BINOP_RANGE.
  214. * expprint.c (dump_expression): Support BINOP_RANGE.
  215. * eval.c (evaluate_subexp_standard): Handle BINOP_RANGE (as error).
  216. (case MULTI_SUBSCRIPT): Fix broken f77 value->int ad hoc conversion.
  217. * ch-lang.c (chill_op_print_tab): Support BINOP_RANGE.
  218. (evaluate_subexp_chill): Error on BINOP_COMMA.
  219. * Makefile.in: Clean up so doc stuff stays in doc sub-dir.
  220. Wed Nov 29 16:39:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  221. * monitor.c (monitor_debug): New function to print monitor debug
  222. output in printable fashion.
  223. (monitor_printf{,_noecho}): Call monitor_debug instead of
  224. fputs_unfiltered.
  225. * srec.c (load_srec): When printing srec debug information, do not
  226. print the carriage return directly, instead print \\r followed by
  227. a newline.
  228. Tue Nov 28 15:25:28 1995 Doug Evans <dje@canuck.cygnus.com>
  229. * Makefile.in (target_subdir): Define.
  230. (CC_FOR_TARGET, CXX_FOR_TARGET): Use it to find target libraries.
  231. * configure.in (X_CFLAGS): Fix typo.
  232. (target_subdir): Set to "${target_alias}/" if cross.
  233. * configure: Regenerated.
  234. * dbxread.c (dbx_symfile_read): Set block_address_function_relative
  235. for `pe' format files.
  236. Tue Nov 28 11:17:47 1995 Fred Fish <fnf@cygnus.com>
  237. * magic.h: Renamed to gmagic.h to avoid <magic.h> conflict.
  238. * magic.c: Renamed to gmagic.c in sympathy.
  239. * eval.c, gmagic.c, config/tm-magic.h:
  240. Include "gmagic.h" rather than "magic.h".
  241. Sat Nov 25 02:56:38 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  242. * mdebugread.c (handle_psymbol_enumerators, parse_symbol):
  243. Recognize enums from alpha cc -migrate.
  244. (upgrade_type): Pass correct fd to parse_symbol when parsing
  245. the index type of an array.
  246. (parse_procedure, parse_lines, psymtab_to_symtab_1): Handle
  247. unsorted procedure descriptors from Irix 5.x and Alpha OSF/1-3.x
  248. shared libraries. Use CORE_ADDR instead of `unsigned long' in
  249. procedure descriptor address computations.
  250. * symtab.c (decode_line_1): Prevent accidental strchr match
  251. of a null character with the terminating null character of
  252. gdb_completer_quote_characters.
  253. (cplusplus_hint): Make sure that only a single quote is printed
  254. in the hint message.
  255. Fri Nov 24 16:17:01 1995 Jeffrey A Law (law@cygnus.com)
  256. * top.c (recurse_read_control_structure): Don't make cleanups
  257. here. Callers handle that correctly.
  258. Tue Nov 21 15:16:34 1995 Fred Fish <fnf@rtl.cygnus.com>
  259. * config/m68k/xm-hp300hpux.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
  260. Also force HAVE_MMAP to be defined since autoconf is currently broken
  261. for detecting a working mmap under hpux.
  262. * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS): Tweak MMAP_BASE_ADDRESS
  263. to a better value suggested by Jeffrey A Law (law@cygnus.com).
  264. Tue Nov 21 08:48:58 1995 Fred Fish <fnf@cygnus.com>
  265. * config/pa/xm-hppah.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
  266. Also force HAVE_MMAP to be defined since autoconf is currently broken
  267. for detecting a working mmap under hpux.
  268. * objfiles.c (map_to_address): Have gdb print a warning when it
  269. is compiled with HAVE_MMAP but without both MMAP_BASE_ADDRESS and
  270. MMAP_INCREMENT defined (thus making it appear mmap doesn't work).
  271. Mon Nov 20 14:13:53 1995 Stu Grossman (grossman@cygnus.com)
  272. * infrun.c (wait_for_inferior): Add support for dynamic function
  273. trampolines. These are pieces of code between the caller and the
  274. callee that figure out the address of the callee's code at run
  275. time. Upon entry, we can't figure out the callee's address, so we
  276. set a breakpoint within the trampoline where the address will be
  277. known, and continue the target. Once we hit the breakpoint, we
  278. break at the callee's address and proceed as usual.
  279. Mon Nov 20 11:12:34 1995 Fred Fish <fnf@cygnus.com>
  280. * objfiles.c (allocate_objfile): Change warning message about mapped
  281. symbol tables so that it is obvious that they are not supported on
  282. this particular machine rather than implying they are not supported
  283. at all in this version of gdb.
  284. Sun Nov 19 05:20:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  285. * irix5-nat.c, osfsolib.c (solib_address): Return the name of the
  286. containing solib.
  287. * stack.c (print_frame_info): Use minimal symbol only if
  288. fi->pc is in a known section.
  289. Sat Nov 18 11:19:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  290. * solib.c (solib_address): Return the name of the containing solib.
  291. * solib.h (PC_SOLIB): New macro; define using solib_address.
  292. * stack.c (print_frame_info) [PC_SOLIB]: If no function name, try
  293. PC_SOLIB on the PC value.
  294. Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  295. * annotate.c (annotate_source, annotate_frame_begin): Issue
  296. `0x' prefix for the pc value, to remain consistent with previous
  297. GDB versions.
  298. * blockframe.c (find_pc_partial_function), config/pa/tm-hppa.h:
  299. Remove Sun shared library transfer hack and
  300. INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK, it is obsoleted by the
  301. mst_solib_trampoline minimal symbols.
  302. * blockframe.c (inside_main_func): Check main_func_*pc against
  303. INVALID_ENTRY_*PC, not zero.
  304. * symfile.c (init_entry_point_info): Initialize ei.*pc with
  305. INVALID_ENTRY_*PC.
  306. * mipsread.c (mipscoff_symfile_read): If the entry_file bounds
  307. are still unknown after processing the partial symbols, then try
  308. to set them from the minimal symbols.
  309. * infcmd.c (registers_info): Error out if selected_frame is NULL.
  310. * stack.c (return_command): Select new current frame silently if
  311. not interactive.
  312. * mipsread.c (read_alphacoff_dynamic_symtab): Ignore additional
  313. DT_MIPS_LOCAL_GOTNO and DT_MIPS_GOTSYM entries.
  314. * irix5-nat.c (solib_create_inferior_hook): Call solib_add only
  315. if auto_solib_add_at_startup is nonzero.
  316. (_initialize_solib): Add "set auto-solib-add" command.
  317. * osfsolib.c (solib_create_inferior_hook): Call solib_add only
  318. if auto_solib_add_at_startup is nonzero.
  319. (_initialize_solib): Add "set auto-solib-add" command.
  320. Wed Nov 15 17:12:04 1995 Stan Shebs <shebs@andros.cygnus.com>
  321. * utils.c: Don't include sys/ioctl.h etc if MPW is host.
  322. Tue Nov 14 17:16:46 1995 Doug Evans <dje@canuck.cygnus.com>
  323. * config/arm/tm-arm.h (ADDITIONAL_REGISTER_NAMES): Fix r5.
  324. (FRAME_SAVED_PC): Minor clean up.
  325. Tue Nov 14 14:51:05 1995 Stu Grossman (grossman@cygnus.com)
  326. * monitor.c (monitor_load_srec monitor_make_srec): Move all
  327. S-record download code into srec.c.
  328. * srec.c srec.h: New files. Contain S-record loading routines
  329. formerly in monitor.c.
  330. * serial.c serial.h: New routine just like fprintf, but uses
  331. serial_t instead of FILE *.
  332. * sh-tdep.c (frame_find_saved_regs init_extra_frame_info):
  333. Don't add four to saved pc (makes things match manual). Also, fix
  334. bug where we didn't get pc from stack frame correctly.
  335. * config/sh/tm-sh.h (SAVED_PC_AFTER_CALL): Don't add four to
  336. saved pc. Real hardware does this for you.
  337. * sh3-rom.c (sh3_load): New routine. Sets up for download then
  338. calls generic S-record loader.
  339. * config/h8300/h8300.mt, config/h8500/h8500.mt,
  340. config/m68k/monitor.mt, config/pa/hppapro.mt, config/sh/sh.mt:
  341. Add srec.o to TDEPFILES.
  342. Tue Nov 14 15:57:36 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  343. * ppcbug-rom.c: New file to support the Motorola PPCBUG monitor
  344. for PowerPC's.
  345. * config/powerpc/ppc{,le}-{eabi,sim}.mt (TDEPFILES): Include
  346. ppcbug-rom.o, monitor.o, and srec.o
  347. * config/i386/linux.mt (XDEPFILES): Include ser-tcp.o.
  348. Mon Nov 13 13:12:46 1995 Jeffrey A Law (law@cygnus.com)
  349. * partial-stab.h: Remove GDB_TARGET_IS_HPPA kludge.
  350. Fri Nov 10 13:08:54 1995 Jeff Law (law@kahlua.cs.utah.edu)
  351. * terminal.h (HAVE_SGTTY): Fix typo.
  352. Thu Nov 9 17:34:01 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  353. * configure.in (gdb_target): Build in the simulator for all
  354. PowerPC eabi targets, not just eabisim, providing
  355. --enable-sim-powerpc is used, or the host compiler is GCC.
  356. Thu Nov 9 14:04:05 1995 Raymond Jou (rjou@mexican.cygnus.com)
  357. * mpw-config.in: Add variable with names of SIOW libraries.
  358. * mpw-make.sed: Add an action to build SIOWgdb.
  359. Wed Nov 8 19:25:22 1995 Stan Shebs <shebs@andros.cygnus.com>
  360. * mpw-make.sed: Edit @ENABLE_CFLAGS@ out, mpw-configure can
  361. add back in if necessary.
  362. Wed Nov 8 15:59:52 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
  363. * config/mips/vr4300.mt: Added simulator to default VR4300 build.
  364. Tue Nov 7 16:02:25 1995 Stu Grossman (grossman@cygnus.com)
  365. * remote-mips.c (mips_initialize): Fix brain damage found by
  366. Jamie. Basically had case statement in the wrong place...
  367. * (mips_load): Remove unnecessary `db tty0' command. It's all
  368. handled by mips_initialize now.
  369. Tue Nov 7 12:59:14 1995 Raymond Jou <rjou@mexican.cygnus.com>
  370. * mac-gdb.r: Added #ifdef Macgdb.
  371. Tue Nov 7 14:59:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
  372. * remote-mips.c (mips_initialize): Updated to talk to VR4300 RISQ
  373. monitor board.
  374. Mon Nov 6 11:44:11 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
  375. * config/mips/{tm-vr4300.h tm-vr4300el.h} (TARGET_MONITOR_PROMPT):
  376. Change into real strings.
  377. * remote-sim.c (gdbsim_open): Moved sim_open() call to after
  378. callback initialisation.
  379. Sun Nov 5 00:07:52 1995 Jason Molenda (crash@phydeaux.cygnus.com)
  380. * configure.in (AC_CHECK_HEADERS): add stddef.h.
  381. Fri Nov 3 12:30:43 1995 Fred Fish <fnf@cygnus.com>
  382. * Makefile.in (COMMON_OBS): Use corefile.o rather than core.o
  383. * core.c: Rename to corefile.c.
  384. * config/pyr/tm-pyr.h, umax-xdep.c, sun386-nat.c, pyr-xdep.c,
  385. Makefile.in (SFILES), gould-xdep.c, coredep.c, armtdep.c,
  386. arm-xdep.c, altos-xdep.c: Change core.c references to corefile.c.
  387. From Graham Stoney <greyham@research.canon.oz.au>.
  388. * Makefile.in (remote-array.o): Add rule to build.
  389. (ALLDEPFILES): Add remote-array.c
  390. * remote-array.c (baud_rate): Remove unnecessary declaration.
  391. (baudrate): Remove.
  392. (array_files_info): Print global baud_rate not baudrate.
  393. Sat Nov 4 10:21:58 1995 Stu Grossman (grossman@cygnus.com)
  394. * Makefile.in (INTERNAL_CFLAGS): Add ENABLE_CFLAGS.
  395. * fork-child.c (fork_inferior): Add call to
  396. TARGET_CREATE_INFERIOR_HOOK to allow target specific code to get
  397. control just before the new process executes it's first instruction.
  398. * remote-mips.c (mips_initialize): Cleanup a bit. Don't try to
  399. receive a packet at first. This speeds up initialization a lot.
  400. Use TARGET_MONITOR_PROMPT instead of "<IDT>".
  401. (common_breakpoint): Use rresponse instead of rerrflg to inspect
  402. error code.
  403. * symfile.c (syms_from_objfile reread_symbols): Call
  404. TARGET_SYMFILE_POSTREAD to allow target specific code to get
  405. control after reading new symbols.
  406. * target.h: New macros TARGET_SYMFILE_POSTREAD, and
  407. TARGET_CREATE_INFERIOR_HOOK. See above for descriptions.
  408. * config/mips/{irix5.mh nm-irix5.h}: Delete nm-irix5.h. Make
  409. NAT_FILE point directly at ../nm-sysv4.h.
  410. * config/mips/{mipsm3.mh nm-m3.h}: Delete nm-m3.h. Make
  411. NAT_FILE point directly at ../nm-m3.h.
  412. * config/mips/{mipsv4.mh nm-sysv4.h}: Delete nm-sysv4.h. Make
  413. NAT_FILE point directly at ../nm-sysv4.h.
  414. * config/mips/nm-mips.h: Improve comment at top of file.
  415. * config/mips/tm-mips.h (TARGET_MONITOR_PROMPT): Change
  416. definition into a proper string.
  417. Wed Nov 1 20:18:08 1995 Fred Fish <fnf@cygnus.com>
  418. * config/i386/tm-i386.h: New file containing generic i*86 target
  419. definitions.
  420. (TARGET_BYTE_ORDER): Moved here from tm-i386v.h.
  421. (IEEE_FLOAT): Moved here from tm-i386v.h.
  422. (START_INFERIOR_TRAPS_EXPECTED): Define default as 2.
  423. (FUNCTION_START_OFFSET): Moved here from tm-i386v.h.
  424. (SKIP_PROLOGUE): Moved here from tm-i386v.h.
  425. (SAVED_PC_AFTER_CALL): Moved here from tm-i386v.h.
  426. (INNER_THAN): Moved here from tm-i386v.h.
  427. (BREAKPOINT): Moved here from tm-i386v.h.
  428. (DECR_PC_AFTER_BREAK): Moved here from tm-i386v.h.
  429. (ABOUT_TO_RETURN): Moved here from tm-i386v.h.
  430. (REGISTER_SIZE): Moved here from tm-i386v.h.
  431. (NUM_REGS): Moved here from tm-i386v.h.
  432. (REGISTER_NAMES): Moved here from tm-i386v.h.
  433. (EXTRACT_STRUCT_VALUE_ADDRESS): Moved here from tm-i386v.h.
  434. (FP_REGNUM): Moved here from tm-i386v.h.
  435. (SP_REGNUM): Moved here from tm-i386v.h.
  436. (PC_REGNUM): Moved here from tm-i386v.h.
  437. (PS_REGNUM): Moved here from tm-i386v.h.
  438. (FP0_REGNUM): Moved here from tm-i386aix.h.
  439. (FPC_REGNUM): Moved here from tm-sun386.h.
  440. (REGISTER_BYTES): Moved here from tm-i386aix.h.
  441. (REGISTER_BYTE): Moved here from tm-i386aix.h.
  442. (REGISTER_RAW_SIZE): Moved here from tm-i386aix.h.
  443. (MAX_REGISTER_RAW_SIZE): Moved here from tm-i386aix.h.
  444. (REGISTER_VIRTUAL_SIZE): Moved here from tm-i386aix.h.
  445. (MAX_REGISTER_VIRTUAL_SIZE): Moved here from tm-i386aix.h.
  446. (EXTRACT_RETURN_VALUE): Moved here from tm-i386aix.h.
  447. (STORE_RETURN_VALUE): Moved here from tm-i386aix.h.
  448. (REGISTER_VIRTUAL_TYPE): Moved here from tm-i386v.h.
  449. (STORE_STRUCT_RETURN): Moved here from tm-i386v.h.
  450. (FRAME_CHAIN): Moved here from tm-i386v4.h.
  451. (FRAMELESS_FUNCTION_INVOCATION): Moved here from tm-i386v4.h.
  452. (FRAME_SAVED_PC): Moved here from tm-i386os9k.h
  453. (FRAME_ARGS_ADDRESS): Moved here from tm-i386v.h.
  454. (FRAME_LOCALS_ADDRESS): Moved here from tm-i386v.h.
  455. (FRAME_NUM_ARGS): Moved here from tm-i386sun.h.
  456. (FRAME_ARGS_SKIP): Moved here from tm-i386v.h.
  457. (FRAME_FIND_SAVED_REGS): Moved here from tm-i386v.h.
  458. (PUSH_DUMMY_FRAME): Moved here from tm-i386v.h.
  459. (POP_FRAME): Moved here from tm-i386v.h.
  460. (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET,
  461. CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Moved here from
  462. tm-i386v.h
  463. (print_387_control_word, print_387_status_word): Declare prototypes.
  464. (struct frame_info, struct frame_saved_regs): Forward decls for
  465. prototypes.
  466. (SP_ARG0): Moved here from tm-i386v.h.
  467. * config/i386/tm-i386v.h:
  468. (i386/tm-i386.h): Include.
  469. (TARGET_BYTE_ORDER): Remove.
  470. (IEEE_FLOAT): Remove.
  471. (START_INFERIOR_TRAPS_EXPECTED): Undef before redefine to 4.
  472. (FUNCTION_START_OFFSET): Remove.
  473. (SKIP_PROLOGUE): Remove.
  474. (i386_skip_prologue): Remove prototype.
  475. (SAVED_PC_AFTER_CALL): Remove.
  476. (INNER_THAN): Remove.
  477. (BREAKPOINT): Remove.
  478. (DECR_PC_AFTER_BREAK): Remove.
  479. (ABOUT_TO_RETURN): Remove.
  480. (REGISTER_SIZE): Remove.
  481. (NUM_REGS): Undef before redefine to 16 (no FP support).
  482. (REGISTER_NAMES): Undef before redefine.
  483. (FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove.
  484. (REGISTER_BYTES): Undef before redefine.
  485. (REGISTER_BYTE): Undef before redefine.
  486. (REGISTER_RAW_SIZE): Undef before redefine.
  487. (REGISTER_VIRTUAL_SIZE): Undef before redefine.
  488. (MAX_REGISTER_RAW_SIZE): Undef before redefine.
  489. (MAX_REGISTER_VIRTUAL_SIZE): Undef before redefine.
  490. (REGISTER_VIRTUAL_TYPE): Undef before redefine.
  491. (STORE_STRUCT_RETURN): Undef before redefine.
  492. (EXTRACT_RETURN_VALUE): Undef before redefine.
  493. (STORE_RETURN_VALUE): Undef before redefine.
  494. (EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
  495. (FRAME_CHAIN): Undef before redefine.
  496. (FRAMELESS_FUNCTION_INVOCATION): Undef before redefine.
  497. (FRAME_SAVED_PC): Undef before redefine.
  498. (FRAME_ARGS_ADDRESS): Remove.
  499. (FRAME_LOCALS_ADDRESS): Remove.
  500. (FRAME_NUM_ARGS): Undef before redefine.
  501. (FRAME_ARGS_SKIP): Remove.
  502. (FRAME_FIND_SAVED_REGS): Remove.
  503. (PUSH_DUMMY_FRAME): Remove.
  504. (POP_FRAME): Remove.
  505. (CALL_DUMMY): Remove.
  506. (CALL_DUMMY_LENGTH): Remove.
  507. (CALL_DUMMY_START_OFFSET): Remove.
  508. (CALL_DUMMY_BREAKPOINT_OFFSET): Remove
  509. (FIX_CALL_DUMMY): Remove.
  510. (print_387_control_word): Remove.
  511. (print_387_status_word): Remove.
  512. (SP_ARG0): Remove.
  513. * config/i386/tm-symmetry.h:
  514. (TM_SYMMETRY_H): Enclose file in test for define & define if needed.
  515. (START_INFERIOR_TRAPS_EXPECTED): Move to after inclusion of
  516. tm-i386v4.h or tm-i386v.h, #undef, and #define back to 2.
  517. (DECR_PC_AFTER_BREAK): Move to after inclusion of tm-i386v4.h
  518. or tm-i386v.h, #undef, and #define to 0.
  519. (MAX_REGISTER_RAW_SIZE): Remove.
  520. (FRAME_CHAIN): Remove.
  521. (FRAMELESS_FUNCTION_INVOCATION): Remove.
  522. (FRAME_SAVED_PC): Remove.
  523. (print_387_control_word, print_387_status_word): Remove prototypes.
  524. * config/i386/tm-ptx.h:
  525. (TM_PTX_H): Enclose file in test for define & define if needed.
  526. (START_INFERIOR_TRAPS_EXPECTED): Move to after inclusion of
  527. tm-i386v4.h or tm-i386v.h, #undef, and #define back to 2.
  528. (DECR_PC_AFTER_BREAK): Move to after inclusion of tm-i386v4.h
  529. or tm-i386v.h, #undef, and #define to 0.
  530. (SDB_REG_TO_REGNUM): Remove obsolete commented out define.
  531. (print_387_control_word, print_387_status_word): Remove prototypes.
  532. * config/i386/tm-linux.h:
  533. (TM_LINUX_H): Enclose file in test for define & define if needed.
  534. (i386/tm-i386.h): Include instead of tm-i386v.h.
  535. (START_INFERIOR_TRAPS_EXPECTED): Remove.
  536. * config/i386/tm-i386v4.h:
  537. (TM_I386V4_H): Enclose file in test for define & define if needed.
  538. (i386/tm-i386.h): Include instead of tm-i386v.h.
  539. (START_INFERIOR_TRAPS_EXPECTED): Remove.
  540. (FRAME_CHAIN): Moved to tm-i386.h.
  541. (FRAMELESS_FUNCTION_INVOCATION): Moved to tm-i386.h.
  542. (FRAME_SAVED_PC): Remove.
  543. (sigtramp_saved_pc): Define as i386v4_sigtramp_saved_pc.
  544. (FRAME_NUM_ARGS): Remove.
  545. * config/i386/tm-i386os9k.h:
  546. (TM_I386OS9K_H): Enclose file in test for define & define if needed.
  547. (i386/tm-i386.h): Include instead of tm-i386v.h.
  548. (START_INFERIOR_TRAPS_EXPECTED): Remove.
  549. (NUM_REGS): Undefine before redefining.
  550. (FRAME_CHAIN): Remove.
  551. (FRAMELESS_FUNCTION_INVOCATION): Remove.
  552. (FRAME_SAVED_PC): Move to tm-i386.h.
  553. * config/i386/tm-i386nw.h:
  554. (TM_I386NW_H): Enclose file in test for define & define if needed.
  555. (i386/tm-i386.h): Include instead of tm-i386v.h.
  556. (START_INFERIOR_TRAPS_EXPECTED): Remove.
  557. * config/i386/tm-i386bsd.h:
  558. (TM_I386BSD_H): Enclose file in test for define & define if needed.
  559. (i386/tm-i386.h): Include instead of tm-i386v.h.
  560. (START_INFERIOR_TRAPS_EXPECTED): Remove.
  561. (FRAMELESS_FUNCTION_INVOCATION): Remove.
  562. (FRAME_SAVED_PC): Remove.
  563. * config/i386/tm-i386aix.h:
  564. (i386/tm-i386.h): Include instead of tm-i386v.h.
  565. (START_INFERIOR_TRAPS_EXPECTED): Remove.
  566. (FP_REGNUM): Remove.
  567. (SP_REGNUM): Remove.
  568. (PC_REGNUM): Remove.
  569. (PS_REGNUM): Remove.
  570. (FP0_REGNUM): Moved to tm-i386.h.
  571. (NUM_REGS): Remove.
  572. (REGISTER_NAMES): Remove.
  573. (REGISTER_BYTES): Moved to tm-i386.h.
  574. (REGISTER_BYTE): Moved to tm-i386.h.
  575. (REGISTER_RAW_SIZE): Moved to tm-i386.h.
  576. (MAX_REGISTER_RAW_SIZE): Moved to tm-i386.h.
  577. (REGISTER_VIRTUAL_SIZE): Moved to tm-i386.h.
  578. (REGISTER_VIRTUAL_TYPE): Removed.
  579. (EXTRACT_RETURN_VALUE): Moved to tm-i386.h.
  580. (STORE_RETURN_VALUE): Moved to tm-i386.h.
  581. * config/i386/tm-sun386.h:
  582. (TM_SUN386_H): Enclose file in test for define & define if needed.
  583. (i386/tm-i386.h): Include.
  584. (TARGET_BYTE_ORDER): Remove.
  585. (FUNCTION_START_OFFSET): Remove.
  586. (SKIP_PROLOGUE): Remove.
  587. (SAVED_PC_AFTER_CALL): Remove.
  588. (INNER_THAN): Remove.
  589. (BREAKPOINT): Remove.
  590. (DECR_PC_AFTER_BREAK): Remove.
  591. (ABOUT_TO_RETURN): Remove.
  592. (REGISTER_SIZE): Remove.
  593. (NUM_REGS): Undefine before defining.
  594. (REGISTER_NAMES): Undefine before redefining.
  595. (REGISTER_BYTES): Undefine before redefining.
  596. (REGISTER_BYTE): Undefine before defining.
  597. (FP_REGNUM): Undefine before defining.
  598. (PC_REGNUM): Undefine before defining.
  599. (FPC_REGNUM): Undefine before defining.
  600. (REGISTER_RAW_SIZE): Undefine before defining.
  601. (FRAME_CHAIN): Undefine before defining.
  602. (FRAMELESS_FUNCTION_INVOCATION): Undefine before defining.
  603. (FRAME_SAVED_PC): Undefine before defining.
  604. (FRAME_NUM_ARGS): Moved to tm-i386.h.
  605. (MAX_REGISTER_RAW_SIZE): Remove.
  606. (MAX_REGISTER_VIRTUAL_SIZE): Remove.
  607. (STORE_STRUCT_RETURN): Remove.
  608. (EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
  609. (FRAME_ARGS_ADDRESS): Remove.
  610. (FRAME_LOCALS_ADDRESS): Remove.
  611. (FRAME_NUM_ARGS): Undefine before defining.
  612. (FRAME_ARGS_SKIP): Remove.
  613. (FRAME_FIND_SAVED_REGS): Remove.
  614. (PUSH_DUMMY_FRAME): Remove.
  615. (POP_FRAME): Remove.
  616. (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET): Remove.
  617. (struct frame_info, struct frame_saved_regs): Remove forward decls
  618. for prototypes.
  619. * config/i386/tm-i386lynx.h (i386/tm-i386.h): Include instead of
  620. tm-i386v.h.
  621. * config/i386/tm-i386m3.h (i386/tm-i386.h): Include instead of
  622. tm-i386v.h.
  623. * i386-tdep.c (i386_extract_return_value): Make function visible
  624. for all i386 targets, but only assume floating point values returned
  625. in floating point registers for I386_AIX_TARGET.
  626. * i386v-nat.c (i386_register_u_addr): Enable code to locate
  627. floating point regs in user struct.
  628. Wed Nov 1 15:32:57 1995 Fred Fish <fnf@cygnus.com>
  629. * breakpoint.c (breakpoint_re_set): Fix typo in comment.
  630. * symtab.c (in_prologue): Document func_start and when it is zero
  631. don't call SKIP_PROLOGUE (which typically leads unconditionally to
  632. an error when we try to access a prologue at address 0).
  633. Tue Oct 31 13:01:15 1995 Fred Fish <fnf@cygnus.com>
  634. * elfread.c: Include elf-bfd.h rather than libelf.h.
  635. Tue Oct 31 10:42:42 1995 steve chamberlain <sac@slash.cygnus.com>
  636. * win32-nat.c (xlate_exception): Treat a stack overflow like a SEGV.
  637. Sun Oct 29 11:22:05 1995 Fred Fish <fnf@cygnus.com>
  638. * monitor.c: Include gnu-regex.h rather than system regex.h.
  639. Sat Oct 28 23:51:48 1995 steve chamberlain <sac@slash.cygnus.com>
  640. * defs.h: Test on name __WIN32__ rather than WIN32.
  641. * inflow.c (new_tty): Likewise
  642. * terminal.h: Likewise.
  643. * utils.c (initialize_utils): Likewise.
  644. * win32-nat.c (child_create_inferiror): Print error code when failing.
  645. * config/i386/win32.mh (XM_CLIBS): Need -lkernel32.
  646. Sat Oct 28 04:52:36 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  647. * symtab.h (enum address_class): Add LOC_UNRESOLVED for
  648. a location whose address has to be resolved via the minimal
  649. symbol table.
  650. * buildsym.c (finish_block), findvar.c (symbol_read_needs_frame,
  651. read_var_value), printcmd.c (address_info),
  652. symmisc.c (print_symbol, print_partial_symbol): Handle
  653. LOC_UNRESOLVED.
  654. * stabsread.c (scan_file_globals): Change unresolved LOC_STATIC
  655. symbols to LOC_UNRESOLVED. Remove rt_common_objfile lookup
  656. kludge, global common symbols are now handled by LOC_UNRESOLVED.
  657. (scan_file_globals_1): Move code back to scan_file_globals,
  658. delete.
  659. Fri Oct 27 09:54:07 1995 Stu Grossman (grossman@cygnus.com)
  660. * breakpoint.c (breakpoint_re_set): #ifdef GET_LONGJMP_TARGET
  661. around calls to create_longjmp_breakpoint. Why install the
  662. breakpoints if we can't find the longjmp target?
  663. * infrun.c (wait_for_inferior): Cleanup comments near call test.
  664. * remote-mips.c: Fixed a bunch of prototypes to avoid char/int
  665. complaint from picky compilers. Add comment to mips_expect.
  666. Replace all instances of sr_get_debug with remote_debug.
  667. * (mips_readchar): Don't jam init string to monitor.
  668. mips_initialize() handles that.
  669. * (mips_receive_header): Print better message when we get too
  670. much garbage.
  671. * (mips_request): Allow caller to pass in buff to allow them to
  672. analyze the returned message.
  673. * (mips_initialize): Re-do initialization to try sending a BREAK,
  674. a ^C, and then a download escape sequence. Cleanup protocol
  675. startup. Eliminate sleeps. Clear breakpoints (if using monitor
  676. breakpoints). Re-init frame.
  677. * (mips_detach): Close down target.
  678. * (mips_wait): Handle return status with registers, or breakpoint
  679. * stuff.
  680. * (mips_kill): Add ^C handling.
  681. * (mips_insert_breakpoint mips_remove_breakpoint): Call new
  682. breakpoint stuff if enabled.
  683. * (calculate_mask remote_mips_set_watchpoint
  684. remote_mips_remove_watchpoint remote_mips_stopped_by_watchpoint):
  685. Hardware watchpoint/breakpoint stuff.
  686. * (common_breakpoint): Common code for new monitor breakpoint commands.
  687. * (mips_load): Don't use `prompt'. It's a global variable.
  688. * top.c (dont_repeat_command): New command for use in
  689. user-defined commands to suppress auto-repeat (by hittin return key).
  690. * valops.c: Add start of auto function-call abandonment capability.
  691. Thu Oct 26 22:02:27 1995 Stan Shebs <shebs@andros.cygnus.com>
  692. * mpw-config.in: Add support for PowerMac host, add beginnings
  693. of native support.
  694. * mpw-make.sed: Disable subdir recursion, edit out useless rule.
  695. * mac-xdep.c (Values.h): Don't include.
  696. (GestaltEqu.h): Include Gestalt.h instead.
  697. (do_mouse_down): Comment out control tracking, needs to be
  698. updated to use UPP before will work on PowerMac.
  699. * config/xm-mpw.h: New file, all-Mac host support.
  700. * config/m68k/xm-mpw.h: Move most definitions into generic Mac
  701. support.
  702. * config/powerpc/xm-mpw.h: New file, PowerMac host support.
  703. Thu Oct 26 15:21:32 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
  704. * regex.h: Renamed to gnu-regex.h.
  705. * regex.c: Renamed to gnu-regex.c.
  706. * Makefile.in (POSSLIBS): Refer to gnu-regex.h and gnu-regex.c.
  707. (REGEX, REGEX1): Change to gnu-regex.o instead of regex.o.
  708. (regex.o): Renamed to gnu-regex.o; refer to gnu-regex.c.
  709. (irix5-nat.o, osfsolib.o, gnu-regex.o, solib.o, source.o, symtab.o):
  710. Likewise.
  711. * irix5-nat.c, osfsolib.c, gnu-regex.c, solib.c, source.c, symtab.c):
  712. Include "gnu-regex.h" instead of "regex.h".
  713. * alpha-tdep.c (in_prologue): Rename to alpha_in_prologue, to
  714. avoid conflicts with symtab.h.
  715. Tue Oct 24 18:30:18 1995 Jason Molenda (crash@phydeaux.cygnus.com)
  716. * config/pa/hppahpux.mh: Remove hardcoding of X locations.
  717. * Makefile.in: Use X11_CFLAGS, X11_LDFLAGS and X11_LIBS.
  718. * configure.in: Link X statically on Solaris, SunOS and HPUX.
  719. Tue Oct 24 12:26:14 1995 Stu Grossman (grossman@cygnus.com)
  720. * monitor.c (monitor_expect_regexp): Same as monitor_expect, but
  721. with the obvious extension.
  722. (monitor_read_memory_single): Use regexp for getmem.resp_delim
  723. because of parsing ambiguities caused by certain monitors.
  724. (monitor_read_memory): Use new regexp stuff to parse
  725. getmem.resp_delim.
  726. * monitor.h (struct memrw_cmd->resp_delim): Document this as a
  727. regexp.
  728. * sh3-rom.c: Finish off table. Use new regexp capability for
  729. getmem commands.
  730. * infrun.c (wait_for_inferior): Disable questionable code near
  731. the step range test. Replace call detection test with much
  732. simpler (and more efficient) test that doesn't require prologue
  733. examination (as often).
  734. * symtab.c symtab.h (in_prologue): New function that indicates
  735. whether or not we are in a function prologue. This uses the
  736. symbol table, and then falls back to prologue examination if that
  737. fails. It's much more efficient for remote debugging because it
  738. avoids examining memory, which is very slow. This is used in
  739. wait_for_inferior to determine if we've made a function call that
  740. needs to be skipped over (for next/nexti).
  741. * mips-tdep.c (after_prologue): New function, returns the PC
  742. after the prologue. Uses PDRs and the symbol table.
  743. (mips_find_saved_regs): Use in_prologue() to avoid costly
  744. prologue examination if possible.
  745. (mips_skip_prologue): Use after_prologue() if possible to avoid
  746. costly prologue examination.
  747. Mon Oct 23 16:03:33 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
  748. * configure.in (configdirs): Added support for the VR4300 default
  749. builds (mips64*vr4300*el-*-elf*, mips64*vr4300*-*-elf*).
  750. * configure: Regenerated.
  751. * remote-mips.c (mips_load): Updated the prompt spotting code to
  752. make use of the TARGET_MONITOR_PROMPT manifest.
  753. Sat Oct 21 06:11:49 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  754. * alpha-tdep.c, mips-tdep.c (init_extra_frame_info):
  755. Do not set saved registers from heuristics for a sigtramp frame.
  756. * dwarfread.c (enum_type): Determine signedness of enum type
  757. from enumerators.
  758. * mips-tdep.c: Include gdb_string.h, gcc -Wall lint.
  759. * rs6000-nat.c (xcoff_relocate_core): Fix typo.
  760. * valops.c (value_repeat): Fix length of memory transfer to
  761. match recent allocate_repeat_value change.
  762. Thu Oct 19 19:04:35 1995 Per Bothner <bothner@kalessin.cygnus.com>
  763. * gdbtypes.c (get_discrete_bounds): Fix typo.
  764. Thu Oct 19 12:15:37 1995 Stan Shebs <shebs@andros.cygnus.com>
  765. * defs.h (SEEK_SET, SEEK_CUR): Add default definitions.
  766. * dbxread.c, mdebugread.c, os9kread.c (SEEK_SET, SEEK_CUR):
  767. Remove default definitions.
  768. * Makefile.in (CC-LD): Rename to CC_LD, so MPW xform works.
  769. (MMALLOC_SRC): Define.
  770. (MMALLOC_CFLAGS): Use.
  771. (ser-mac.o): Add rule.
  772. * dwarfread.c, somread.c, ultra3-nat.c, xcoffread.c: Replace L_SET
  773. with SEEK_SET in all calls to bfd_seek.
  774. * scm-tags.h (scm_tags): Remove excess comma.
  775. * mpw-config.in: Adapt to work with autoconf'ed configury;
  776. build config.h, add empty definitions to mk.tmp.
  777. (powerpc-apple-macos): Make it work.
  778. * mpw-make.sed: New file, sed commands to translate Unix makefile
  779. into MPW syntax.
  780. * mpw-make.in: Remove.
  781. * mac-gdb.r: New file, was macgdb.r, renamed for consistency
  782. with other tools, now includes cfrg resource.
  783. * macgdb.r: Remove.
  784. * config/m68k/xm-mpw.h: Remove most of contents, replace with
  785. include of include/mpw/mpw.h.
  786. Tue Oct 17 10:38:53 1995 Jeffrey A Law (law@cygnus.com)
  787. * hppa-tdep.c (frame_chain): Fix more obscure problems caused
  788. by system calls that core dump processes without saving all
  789. the register state.
  790. * config/pa/hppahpux.mt (XDEPFILES): Remove bogus definition.
  791. * config/pa/hppapro.mt (XDEPFILES): Likewise.
  792. Tue Oct 17 08:04:26 1995 Fred Fish <fnf@rtl.cygnus.com>
  793. * NEWS: Fix typo.
  794. Mon Oct 16 18:24:03 1995 Jim Wilson <wilson@chestnut.cygnus.com>
  795. * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Return builtin_type_float
  796. for FP registers.
  797. (REGISTER_NAMES): Add FP register names. Remove ticks, stalls, cycles,
  798. insts, plr, and tlr.
  799. (NUM_REGS, NUM_REALREGS): Increase from 23 to 41.
  800. (FPUL_REGNUM, FP0_REGNUM): New macros.
  801. Mon Oct 16 11:27:06 1995 Stu Grossman (grossman@cygnus.com)
  802. * remote-mips.c: Add support for speedy (about 10x faster)
  803. downloads.
  804. * remote-array.c: Move baud_rate initialization from
  805. _initialize_array to array_open. It was forcing the baud rate of
  806. all targets to be 4800 baud! Seems like I've fixed this before...
  807. * config/mips/idt.mt (TDEPFILES): Remove remote-array.o. This
  808. has *nothing* to do with IDT!!!
  809. * Makefile.in sh3-rom.c config/sh/sh.mt config/sh/tm-sh.h: Add
  810. sh3 monitor support.
  811. * monitor.c: Cleanup regexp compilation stuff to make it easier
  812. to use several regexps.
  813. * monitor.h: Get rid of struct rom_cmd_data. It's no longer used.
  814. * config/m68k/tm-monitor.h: Don't redefine NUM_REGS here. It just
  815. causes GDB to crash.
  816. * sparcl-tdep.c: Cleanup serial error handling.
  817. Sun Oct 15 16:19:27 1995 Stan Shebs <shebs@andros.cygnus.com>
  818. * rs6000-tdep.c: Don't include a.out.h, improve some formatting.
  819. Fri Oct 13 15:27:49 1995 Stu Grossman (grossman@cygnus.com)
  820. * dcache.c: Change default value of remotecache to off. It just
  821. screws up too many targets.
  822. * sparcl-stub.c: Add prototypes to many forward decls.
  823. * Create private copies of strlen, strcpy, and memcpy to prevent
  824. chaos when user steps into them.
  825. * (trap_low handle_exception): Clean up DSU support code
  826. (hardware breakpoints). Move lots of stuff from asm-land to
  827. C-land (make it much easier to #ifdef if necessary). Also, use
  828. trap 255 to get into break mode instead of doing a DSU register
  829. write, which may trash the register.
  830. * (putpacket): Don't check return value of putDebugChar. It
  831. returns void...
  832. Fri Oct 13 14:16:17 1995 steve chamberlain <sac@slash.cygnus.com>
  833. * remote-sim.h: Always include callback.h.
  834. (sim_set_callbacks): New declaration.
  835. Fri Oct 13 10:57:40 1995 Jeffrey A Law (law@cygnus.com)
  836. * somsolib.c (som_solib_add): Just give a warning if a file
  837. mentioned in the dld_list can't be found.
  838. * config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP): Dig out
  839. the PC from the PC queues rather than %r31.
  840. Thu Oct 12 13:36:15 1995 Jeffrey A Law (law@cygnus.com)
  841. * corelow.c (core_open): Don't update the to_sections and
  842. to_sections_end fields in core_ops here. It's too late.
  843. * irix5-nat.c (solib_add): Update the to_sections and
  844. to_sections_end fields in core_ops here if needed.
  845. * osfsolib.c (solib_add): Likewise.
  846. * rs6000-nat.c (xcoff_relocate_core): Likewise.
  847. * solib.c (solib_add): Likewise.
  848. * somsolib.c (solib_add): Likewise.
  849. Wed Oct 11 17:25:59 1995 Fred Fish <fnf@rtl.cygnus.com>
  850. * Makefile.in (VERSION): Bump version to 4.15.1
  851. Tue Oct 10 15:26:39 1995 Fred Fish <fnf@cygnus.com>
  852. * Makefile.in (VERSION): Version 4.15 released.
  853. * README: Updated for version 4.15.
  854. * NEWS: Updated for 4.15 release.
  855. Tue Oct 10 13:18:50 1995 Fred Fish <fnf@cygnus.com>
  856. * configure.in: Add AC_PROG_YACC
  857. * configure: Regenerate
  858. * Makefile.in (BISON): Remove macro definition.
  859. (YACC): Set from autoconfig.
  860. (FLAGS_TO_PASS): Remove BISON.
  861. (TARGET_FLAGS_TO_PASS): Remove BISON.
  862. Tue Oct 10 12:25:11 1995 steve chamberlain <sac@slash.cygnus.com>
  863. * win32-nat.c (child_create_inferior): Pass argv correctly.
  864. * Makefile.in (win32-nat.o): Add dependencies.
  865. Mon Oct 9 14:36:29 1995 steve chamberlain <sac@slash.cygnus.com>
  866. * NEWS: Add information about win32 and arm code.
  867. * win32-nat.c: Renamed from win32.c.
  868. * config/i386/win32.mh: Renamed from config/i386/i386win32.mh.
  869. * config/i386/win32.mt: Renamed from config/i386/i386win32.mt.
  870. * config/i386/tm-win32.h: Renamed from config/i386/tm-i386win32.h.
  871. * config/i386/xm-win32.h: Renamed from config/i386/xm-i386win32.h.
  872. * configure.in (i[345]86-*-win32): Updated to cope with filename
  873. changes.
  874. * configure: Regenerated.
  875. Sun Oct 8 18:01:04 1995 Per Bothner <bothner@kalessin.cygnus.com>
  876. * ch-exp.y (yylex): Also look for '$' following '$'.
  877. Sat Oct 7 22:52:42 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  878. * ch-exp.y (yylex): Fix typo.
  879. Fri Oct 6 11:56:49 1995 Jim Wilson <wilson@chestnut.cygnus.com>
  880. * remote-sim.c (gdbsim_open): Put callback initializations here.
  881. (_initalize_remote_sim): Not here.
  882. Fri Oct 6 17:08:49 1995 Stan Shebs <shebs@andros.cygnus.com>
  883. * top.c (execute_control_command): Use 0/1 instead of BFD's
  884. true/false.
  885. Fri Oct 6 14:43:19 1995 Stu Grossman (grossman@cygnus.com)
  886. * sparcl-stub.c: Include sparclite.h to get access to register
  887. fondling macros.
  888. * (trap_low): Save and restore FP regs if necessary. Also, clean
  889. up save and restore of debug unit regs.
  890. * (hard_trap_info): Add more architecturally defined traps.
  891. * (set_debug_traps): Only set FP disabled trap if FP is disabled.
  892. * (get_in_break_mode): Clean up. Get rid of calls to
  893. set_hw_breakpoint_trap(). Also, use write_asi macro.
  894. * (handle_exception): Clean up `g' and `G' commands. Add `P'
  895. command.
  896. * (hw_breakpoint): Why was this here!? It's gone now...
  897. Fri Oct 6 11:56:49 1995 Jim Wilson <wilson@chestnut.cygnus.com>
  898. * callback.c (fdbad): Fix typo in comment.
  899. (os_close, os_isatty, os_lseek, os_read, os_write): Use if
  900. statements rather than || to get correct return value.
  901. (os_write_stdout): Pass missing first argument to os_write.
  902. * remote-sim.c: Include callback.h.
  903. (_initialize_remote_sim): Call sim_set_callbacks and then
  904. initialize the callbacks.
  905. Thu Oct 5 17:28:09 1995 Per Bothner <bothner@kalessin.cygnus.com>
  906. * values.c (allocate_repeat_value): Allocate an array type, and
  907. a value of that type; use that instead of setting VALUE_REPEATED.
  908. * value.h (struct value): Remove fields repetitions and repeated.
  909. (VALUE_REPEATED, VALUE_REPETITIONS): Removed, no longer used.
  910. * c-valprint.c, ch-valprint.c, eval.c, printcmd.c, valops.c,
  911. value.h, values.c: Simplify, since now VALUE_REPEATED is never
  912. used.
  913. * valprint.c (value_print_array_elemen): Removed never-used
  914. function.
  915. Thu Oct 5 15:14:36 1995 Per Bothner <bothner@kalessin.cygnus.com>
  916. * parse.c (write_dollar_variable): New function.
  917. * c-exp.y (yylex): Replace code for recognizing '$'
  918. pseudo-variables with a call to write_dollar_variable.
  919. Simplify grammar correspondingly.
  920. * f-exp.y: Likewise.
  921. * m2-exp.y: Likewise.
  922. * ch-exp.y: Likewise. (Remove function match_dollar_tokens.)
  923. * scm-exp.c (scm_lreadr): Call write_dollar_variable to handle '$'.
  924. Thu Oct 5 13:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
  925. * win32.c: New file; support for debugging on windows NT.
  926. * configure.in: (i[345]86-*-win32): New target.
  927. * configure: Regnerated.
  928. * eval.c (evaluate_subexp_standard): Remove unused name.
  929. * serial.c (gdb_string.h): Include.
  930. * source.c (value.h): Include.
  931. * config/i386/i386win32.mh (XDEPFILES): Add win32.o
  932. * config/i386/i386win32.mt: New.
  933. * config/i386/tm-i386win32.h: New.
  934. Wed Oct 4 18:41:34 1995 Per Bothner <bothner@kalessin.cygnus.com>
  935. * expression.h (enum exp_code): Added OP_NAME.
  936. * expprint.c (print_subexp): Add OP_NAME support.
  937. * parse.c (length_of_subexp, prefixify_subexp): Likewise.
  938. * scm-lang.c (scm_unpack, in_eval_c, scm_lookup_name): new function.
  939. * scm-lang.h: Declare builtin_type_scm; other minor tweaks.
  940. * values.c (unpack_long): If type is SCM, call scm_unpack.
  941. * scm-valprint.c (scm_val_print): Use extract_signed_integer,
  942. instead unpack_long
  943. * scm-lang.c: More Scheme expression parsing from here ...
  944. * scm-exp.c: ... to here. New file.
  945. Also, provide for gdb to evaluate simple constants and names..
  946. * Makefile.in: Note new scm-exp.{c,o}.
  947. Wed Oct 4 17:23:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
  948. * gdbtypes.c (get_discrete_bounds): New function.
  949. (force_to_range_type): Use get_discrete_bounds.
  950. * gdbtypes.h (get_discrete_bounds): Add declaration.
  951. * valarith.c (value_bit_index): Generalize to use get_discrete_bounds.
  952. * ch-valprint.c (chill_val_print): Make (power)sets and bitstring
  953. support use get_discrete_bounds and generally be more robust.
  954. Tue Oct 3 16:54:56 1995 Stan Shebs <shebs@andros.cygnus.com>
  955. * remote-nrom.c (nrom_ops): Add value for to_thread_alive,
  956. add comments naming slots.
  957. Mon Oct 2 21:45:44 1995 Jeff Law (law@hurl)
  958. * top.c (build_command_line): Demand arguments for if/while
  959. commands.
  960. Mon Oct 2 13:08:01 1995 Jason Molenda (crash@phydeaux.cygnus.com)
  961. * Makefile.in (X11_CFLAGS): Set only to @X_INCDIR@.
  962. Sat Sep 30 16:13:36 1995 Per Bothner <bothner@kalessin.cygnus.com>
  963. * scm-lang.c: Moved Scheme value printing code to ...
  964. * scm-valprint.c: ... this new file.
  965. Also major improvements in support for printing SCM values.
  966. * scm-lang.h: New file.
  967. * scm-tags.h: New file.
  968. * Makefile.in: Note new scm-valprint.{c,o}.
  969. Sat Sep 30 09:35:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
  970. * configure.in: X_INCDIR and X_LIBDIR added.
  971. * Makefile.in: @X_INCDIR@ and @X_LIBDIR@ added.
  972. * configure: Regnerated.
  973. Fri Sep 29 02:10:05 1995 steve chamberlain <sac@slash.cygnus.com>
  974. * config/arm/tm-arm.h (FRAME_CHAIN, FRAME_CHAIN_VALID):
  975. Any pc > LOWESTPC is ok.
  976. * remote-rdp.c (rdp_init): Take out variable baud rate stuff.
  977. (remote_rdp_detatch): Delete.
  978. * breakpoint.c (ctype.h): Don't include twice.
  979. * Makefile.in (remote-rdp.o): Doesn't need remote-rdp.h
  980. * callback.c (os_printf_filtered): fix protos.
  981. * defs.h (puts_filtered, puts_unfiltered
  982. [v|f|]printf_[un]filtered): Make format arg const.
  983. * remote-rdp.c (rdp_init): Attept to sync at different
  984. baudrates.
  985. * utils.c (puts_filtered, puts_unfiltered
  986. [v|f|]printf_[un]filtered): Define prototypes with
  987. const in the right place.
  988. Thu Sep 28 17:43:39 1995 Per Bothner <bothner@kalessin.cygnus.com>
  989. * defs.h (enum language): Add language_scm.
  990. * expression.h (enum exp_code): Added OP_EXPRSTRING.
  991. * scm-lang.c: Preliminary support for Guile /SCM dialect of Scheme.
  992. * expprint.c (print_subexp): Add OP_EXPRSTRING support.
  993. * parse.c (length_of_subexp, prefixify_subexp): Likewise.
  994. * valops.c (find_function_in_inferior): New function.
  995. (value_allocate_space_in_inferior): New function.
  996. (allocate_space_in_inferior): Redefine using previous function.
  997. * Makefile.in (SFILES): Add scm-lang.c.
  998. (COMMON_OBS): Add scm-lang.o
  999. Thu Sep 28 14:32:11 1995 steve chamberlain <sac@slash.cygnus.com>
  1000. * callback.[ch]: New files.
  1001. * remote-rdp.c: Support for the ARM RDP monitor.
  1002. * Makefile: Update.
  1003. * arm-tdep.c (arm_othernames): New.
  1004. (_initialize_arm_tdep): install 'othernames' command.
  1005. (arm_nullified_insn, shifted_reg_val, arm_get_next_pc): New.
  1006. * configure.in: Check for termios.h, termio.h and sgtty.h.
  1007. (i[345]86-*-win32*): New host.
  1008. * configure: Regenerated.
  1009. * inflow.c: Clean up inclusions.
  1010. * main.c (main): Check for WINGDB, not WIN32.
  1011. * printcmd.c (do_examine): Put QUIT test in loop.
  1012. * remote-hms.c (e7000_load): Delete.
  1013. (hms_ops): Point to generic_load instead.
  1014. * remote-hms.c (hms_ops): Point to generic_load.
  1015. * remote-sim.c (sim_callback_write_stdout): Becomes
  1016. gdbsim_write_stdout.
  1017. (gdbsim_load): Call generic_load.
  1018. * remote-utils.c (gr_load_image): Delete.
  1019. * ser-unix.c (terminal.h): Include instead of havig
  1020. own #if tree.
  1021. (hardwire_flush_input): Reset input buffer too.
  1022. * source.c (openp): If WIN32 then open file in binary mode.
  1023. * terminal.h: Configure IO mechanism using autoconf defines if
  1024. available and not overriden.
  1025. * utils.c (quit, pollquit, notice_quit): WIN32 check becomes
  1026. WINGDB check.
  1027. * config/arm/arm.mt (TDEPFILES): Add remote-rdp.o.
  1028. * config/arm/tm-arm.h (TARGET_BYTE_ORDER): becomes
  1029. TARGET_BYTE_ORDER_SELECTABLE.
  1030. (ADDR_BITS_REMOVE): New.
  1031. (ORIGINAL_REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): New.
  1032. (INST_xx): New.
  1033. (FRAME_FIND_SAVED_REGS): Pass the right argument.
  1034. (arm_get_next_pc): Declare.
  1035. Wed Sep 27 10:14:36 1995 Per Bothner <bothner@kalessin.cygnus.com>
  1036. * valops.c (search_struct_field): Also allow "else" as a variant
  1037. name.
  1038. * eval.c (evaluate_struct_tuple): New function. Used to evaluate
  1039. structure tuples. Now also handles Chill variant records.
  1040. (get_label): New function, used by evaluate_struct_tuple.
  1041. (evaluate_subexp_standard case OP_ARRAY): Use evaluate_struct_tuple.
  1042. (evaluate_labeled_field_init): Removed.
  1043. * valops.c (search_struct_field): Generalize to work with Chill
  1044. variant records.
  1045. Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1046. * mdebugread.c (parse_partial_symbols): Reset includes_used
  1047. and dependencies_used after finishing the partial symbol table.
  1048. * rs6000-tdep.c (push_dummy_frame): Handle lr_offset of zero
  1049. correctly.
  1050. * rs6000-nat.c (xcoff_relocate_core): Don't relocate data
  1051. addresses for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE
  1052. is defined.
  1053. * xcoffread.c: gcc -Wall lint. Remove traceback table reading
  1054. code. The existing code tried to add parameter information for
  1055. functions compiled without -g, which cannot be done properly
  1056. for optimized code and produced misleading parameter displays.
  1057. (ef_complaint, eb_complaint): Make a local static copy to avoid
  1058. dependency on coffread.c.
  1059. (read_xcoff_symtab, process_xcoff_symbol, scan_xcoff_symtab):
  1060. Enter C_EXT/C_HIDEXT symbols into the minimal symbol table only.
  1061. (read_xcoff_symtab): Ignore C_STAT section auxiliary entry
  1062. symbols. Complain about unmatched .ef and .eb symbols instead of
  1063. segfaulting.
  1064. (process_xcoff_symbol): Determine value of C_GSYM symbols via
  1065. the global_sym_chain mechanism in stabsread.c.
  1066. (xcoff_new_init): Call stabsread_new_init and buildsym_new_init.
  1067. (init_string_tab): Initialize length field bytes in the strtbl.
  1068. (scan_xcoff_symtab): Skip symbols that start with `$' or `.$'.
  1069. Set first_fun_line_offset for symbols with two auxents only.
  1070. Wed Sep 20 21:06:35 1995 Jeff Law (law@snake.cs.utah.edu)
  1071. * op50-rom.c (op50n_cmds): Send ".\r" after the interrupt
  1072. character.
  1073. Wed Sep 20 13:12:56 1995 Ian Lance Taylor <ian@cygnus.com>
  1074. * Makefile.in (maintainer-clean): New target, synonym for
  1075. realclean. Add GNU standard maintainer-clean echos.
  1076. * gdbserver/Makefile.in (maintainer-clean): New target, synonym
  1077. for realclean.
  1078. * nlm/Makefile.in (maintainer-clean): Likewise.
  1079. Wed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>
  1080. * defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h.
  1081. (GETENV_PROVIDED, FCLOSE_PROVIDED): New.
  1082. * remote-sim.[ch] (sim_callback_write_stdout): New.
  1083. Tue Sep 19 15:28:58 1995 Per Bothner <bothner@kalessin.cygnus.com>
  1084. * gdbtypes.c (create_set_type): Set TYPE_LENGTH in bytes, not bits.
  1085. * valops.c (value_bitstring): TYPE_LENGTH is bytes, not bits.
  1086. * gdbtypes.c (force_to_range_type): Calculate upper limit of
  1087. TYPE_CODE_CHAR depending on TYPE_LENGTH (instead of just using 255).
  1088. Mon Sep 18 01:43:42 1995 Jeff Law (law@snake.cs.utah.edu)
  1089. * somsolib.c (auto_solib_add_at_startup): Delete definition. No
  1090. longer needed.
  1091. Sat Sep 16 13:23:36 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1092. * config/mips/tm-mips.h (UNUSED_REGNUM): Define.
  1093. * mipsv4-nat.c (supply_gregset): Fill UNUSED_REGNUM register
  1094. with zero.
  1095. Thu Sep 14 17:35:24 1995 Stu Grossman (grossman@cygnus.com)
  1096. * remote-sim.c (gdbsim_create_inferior): Back out change that
  1097. broke all simulator configurations except the rs6000.
  1098. Thu Sep 14 14:44:59 1995 Jeffrey A. Law <law@rtl.cygnus.com>
  1099. * monitor.c (monitor_expect): Discard NULL characters.
  1100. Thu Sep 14 14:12:30 1995 Kung Hsu <kung@mexican.cygnus.com>
  1101. * infcmd.c: Add extern declaration for auto_solib_add_at_startup.
  1102. Wed Sep 13 13:33:58 1995 Kung Hsu <kung@mexican.cygnus.com>
  1103. * symfile.c: Move global variable auto_solib_add_at_startup from
  1104. solib.c to symfile.c.
  1105. * solib.c: ditto.
  1106. * symfile.h: Add extern declaration of the above mentioned variable.
  1107. * infcmd.c: Take out extern declaration, since it's in symfile.h.
  1108. Thu Sep 14 12:39:35 1995 Stu Grossman (grossman@cygnus.com)
  1109. * coffread.c (coff_symtab_read): Complain about unmatched .ef and
  1110. .eb symbols instead of segfaulting.
  1111. Wed Sep 13 13:33:58 1995 Kung Hsu <kung@mexican.cygnus.com>
  1112. * stabsread.c (read_one_struct_field): Use subfile language instead of
  1113. global language. Improve efficiency.
  1114. Wed Sep 13 08:45:02 1995 Jeff Law (law@fast.cs.utah.edu)
  1115. * somsolib.c (auto_solib_add_at_startup): Define new global variable.
  1116. (som_solib_create_inferior_hook): Don't add libraries if
  1117. auto_solib_add_at_startup is zero.
  1118. (_initialize_som_solib): Add command to toggle
  1119. auto_solib_add_at_startup.
  1120. Tue Sep 12 19:37:24 1995 Jeff Law (law@snake.cs.utah.edu)
  1121. * monitor.c (monitor_make_srec): Fix thinkos in computation
  1122. of addr_size.
  1123. Tue Sep 12 15:46:18 1995 Kung Hsu <kung@mexican.cygnus.com>
  1124. * stabsread.c (read_one_struct_field): Add a patch to handle cfront
  1125. generated stabs that each field is in full mangled name.
  1126. * stabsread.c: To include language.h and expression.h for the reason
  1127. above.
  1128. * infcmd.c (attach_command): Add solibs only when
  1129. auto_solib_add_at_startup is set.
  1130. Mon Sep 11 17:22:35 1995 Fred Fish <fnf@cygnus.com>
  1131. * NEWS: Add information about remote target caching.
  1132. Sun Sep 10 15:36:21 1995 Fred Fish <fnf@cygnus.com>
  1133. * defs.h: Only include mmalloc.h if NO_MMALLOC is not
  1134. defined.
  1135. Sun Sep 10 10:24:48 1995 Michael Tiemann <tiemann@axon.cygnus.com>
  1136. * tm-ppc-eabi.h (PC_IN_CALL_DUMMY): Redefine this to work with the
  1137. simulator. FIXME.
  1138. * rs6000-tdep.c (push_dummy_frame): Calculate the correct link
  1139. register offset from the current frame (don't assume it is always 8).
  1140. (push_dummy_frame): Add comment about having only 4096 bytes of
  1141. stack space in the simulator (by default).
  1142. * remote-sim.c (gdbsim_create_inferior): Call
  1143. `add_text_to_loadinfo' so that gdb can find TOC entries when
  1144. calling functions in the inferior.
  1145. Sun Sep 10 09:00:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1146. * sparc-tdep.c (fill_fpregset): Fix incorrect FP_MAX_REGNUM
  1147. substitution.
  1148. (supply_fpregset): Use FP_MAX_REGNUM.
  1149. Sat Sep 9 08:21:52 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1150. * stabsread.c (read_enum_type): Exit loop for putting pending
  1151. enum symbols into the enum type correctly if we had no pending
  1152. symbols on entry to read_enum_type.
  1153. Fri Sep 8 12:57:41 1995 Kung Hsu <kung@mexican.cygnus.com>
  1154. * inferior.h: Add extern declaration of inferior_environ.
  1155. * solib.c (solib_map_sections): To get inferior's env instead of
  1156. gdb's for LD_LIBRARY_PATH, same for PATH.
  1157. * solib.c (solib_map_sections): Copy full path name into so_list
  1158. structure so that symbol_file_add can find it.
  1159. Tue Sep 5 17:47:53 1995 Doug Evans <dje@canuck.cygnus.com>
  1160. * config/sparc/tm-sp64.h (REGISTER_RAW_SIZE): Lower 32 fp regs
  1161. have size 4.
  1162. (REGISTER_VIRTUAL_SIZE): Likewise.
  1163. (REGISTER_VIRTUAL_TYPE): Lower 32 fp regs have type float.
  1164. Upper 32 fp regs have type double.
  1165. * sparc-tdep.c (NUM_SPARC_FPREGS): Replace with
  1166. (FP_REGISTER_BYTES): this, and update all uses.
  1167. (FP_MAX_REGNUM): Define if not already.
  1168. (get_saved_register): Handle new sparc64 fp regs.
  1169. (sparc_frame_find_saved_regs): Likewise.
  1170. (sparc_print_register_hook): Only print fp regs < 32 as doubles.
  1171. Add code to handle long doubles when gdb does.
  1172. (_initialize_sparc_tdep): Use print_insn_sparc64 if sparc64.
  1173. Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1174. * configure.in: Explicitly `exit 0' for broken shells.
  1175. * configure: Rebuilt.
  1176. * symtab.c (list_symbols): Add missing blank after
  1177. `<function, no debug info>' output.
  1178. * valops.c (value_assign): Handle truncation when assigning
  1179. to bitfields. Use value_copy to construct the return value
  1180. from toval.
  1181. * values.c (value_copy): Copy VALUE_FRAME and VALUE_OPTIMIZED_OUT.
  1182. Fri Sep 1 08:25:50 1995 James G. Smith <jsmith@beauty.cygnus.com>
  1183. * configure (mips64*vr4300*-*-elf): Support added.
  1184. * remote-mips.c (mips_readchar): Change to allow build-time prompt
  1185. string.
  1186. * config/mips/tm-mips.h: Added TARGET_MONITOR_PROMPT.
  1187. * config/mips/{vr4300.mt, vr4300el.mt, tm-vr4300.h,
  1188. tm-vr4300el.h}: Added.
  1189. Thu Aug 31 12:48:04 1995 Jim Wilson <wilson@chestnut.cygnus.com>
  1190. * config/sh/sh.mt (SIM): Add -lm.
  1191. Wed Aug 30 18:10:57 1995 Kung Hsu <kung@mexican.cygnus.com>
  1192. * rmote-nindy.c (non_dle, nidy_resume, nindy_wait): Changes to
  1193. conform to GNU coding standards.
  1194. * solib.c (match_main): Modify to follow GNU coding conventions.
  1195. Mon Aug 28 17:07:26 1995 Kung Hsu <kung@lisa.cygnus.com>
  1196. * remote.c (remote_wait): Revert 19 July my change which should be
  1197. customer specific.
  1198. Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1199. * mdebugread.c (parse_symbol): Handle sh.value of zero for enums.
  1200. Determine signedness of enum type from enumerators.
  1201. (parse_type): Handle btIndirect types, handle fBitfield for
  1202. some non-member types.
  1203. (upgrade_type): Use TYPE_FLAG_TARGET_STUB for arrays with
  1204. unknown length.
  1205. (cross_ref): Handle stIndirect forward reference to btTypedef.
  1206. * stabsread.c (read_enum_type): Determine signedness of enum
  1207. type from enumerators.
  1208. * top.c (execute_command): Remove trailing whitespace from
  1209. command arguments, except for `set' and `complete' commands.
  1210. (validate_comname): Allow underscores in user defined command
  1211. names.
  1212. * values.c (modify_field): Change `Value does not fit in %d bits'
  1213. error to a warning. Exclude sign extension bits of negative field
  1214. values from fit check.
  1215. Fri Aug 25 11:31:29 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  1216. * configure.in (powerpc*-*-eabisim*): Only link in the simulator
  1217. if the target is powerpc{,le}-*-eabisim*, since the simulator
  1218. needs GCC to build.
  1219. * config/powerpc/ppc{,le}-sim.mt: Cloned from ppc{,le}-eabi.mt.
  1220. * config/powerpc/ppc{,le}-eabi.mt: Remove simulator support.
  1221. * config/powerpc/tm-ppc{,le}-sim.mt: Include tm-ppc{,le}-sim.h.
  1222. Wed Aug 23 16:55:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  1223. * config/powerpc/ppc{,le}-eabi.mt (SIM_OBJS, SIM): Link in the
  1224. PowerPC simulator.
  1225. Tue Aug 22 02:00:47 1995 Jeff Law (law@snake.cs.utah.edu)
  1226. * tm-hppa.h (EXTRACT_RETURN_VALUE): Fix for FP values.
  1227. * tm-hppa.h (STORE_RETURN_VALUE): Fix to work with -msoft-float
  1228. calling conventions too. Use the TYPE of the return value, not
  1229. its length to determine if it should also be copied into the
  1230. floating point registers.
  1231. * tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete. Causes more
  1232. problems than it fixes.
  1233. * hppa-tdep.c (skip_prologue): If we exit the main loop without
  1234. finding all the register saves, retry again without looking for
  1235. the registers we could not find the first time.
  1236. Mon Aug 21 23:39:56 1995 Jeff Law (law@snake.cs.utah.edu)
  1237. * hppa-tdep.c (frame_chain_valid): Handle systems where "$START$"
  1238. calls "main" directly.
  1239. (skip_prologue): Always assume arguments were saved into the stack
  1240. since GCC will do so without setting the magic Args_Saved bit in
  1241. the unwind descriptor.
  1242. Mon Aug 21 11:49:17 1995 Kung Hsu <kung@mexican.cygnus.com>
  1243. * remote-udi.c (udi_wait): Mask off high bits of stop reason.
  1244. * remote-udi.c (fetch_register): For unfetchable regs, pretend it's
  1245. done. Fix a bug.
  1246. Mon Aug 21 00:45:17 1995 Jeff Law (law@snake.cs.utah.edu)
  1247. * Makefile.in (install): Remove "brokensed" hack, unnecessary now
  1248. that we're using autoconf.
  1249. (uninstall): Likewise.
  1250. Sat Aug 19 01:19:34 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1251. * gdbtypes.c (recursive_dump_type): Add dont_print_type_obstack
  1252. to inhibit infinite recursion when printing aggregate types.
  1253. Fri Aug 18 17:48:55 1995 steve chamberlain <sac@slash.cygnus.com>
  1254. * dcache.c (dcache_write_line): Write dirty lines right.
  1255. Fri Aug 18 06:26:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1256. * sparc-tdep.c (isbranch): Fix typo which caused wrong
  1257. target addresses for annulled branches.
  1258. Wed Aug 16 21:54:39 1995 Jeff Law (law@snake.cs.utah.edu)
  1259. * config/pa/tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Define.
  1260. Tue Aug 15 07:51:21 1995 steve chamberlain <sac@slash.cygnus.com>
  1261. * remote.c (remote_write_bytes): Chop up large transfers.
  1262. Mon Aug 14 17:56:36 1995 Stan Shebs <shebs@andros.cygnus.com>
  1263. * gcc.patch: Remove, relevant only to long-ago versions of GCC.
  1264. Mon Aug 14 13:43:01 1995 Kung Hsu <kung@mexican.cygnus.com>
  1265. * config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE.
  1266. * blockframe.c (inside_main_func): If main func addr range not set,
  1267. try to set it now.
  1268. Sat Aug 12 15:34:54 1995 Jeffrey A. Law <law@rtl.cygnus.com>
  1269. * config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define.
  1270. * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise.
  1271. * configure.in: Recognize aix4 specially as some aspects
  1272. of aix4 need different handling than aix3.
  1273. * configure: Updated.
  1274. * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: New files
  1275. specific to aix4 support on the power pc.
  1276. * config/powerpc/tm-ppc-aix.h (DONT_RELOCATE_SYMFILE_OBJFILE): Do
  1277. not defined. The aix4 specific target files will do that.
  1278. * config/rs6000/{aix4,mh,aix4,mt,tm-rs6000-aix4.h}: New files
  1279. specific to aix4 support on the rs6000.
  1280. * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Don't
  1281. do the conversion if the pointer is not a magic aix function
  1282. pointer.
  1283. * rs6000-tdep.c: Include objfiles.h and symtab.h.
  1284. (is_magic_function_pointer): New function.
  1285. * rs6000-tdep.c (skip_prologue): Refine check for frameless
  1286. functions. Handle b .+4 emitted by aix4 compilers. Only
  1287. allow one load of a minimal toc pointer. Handle aix4 compiler's
  1288. code for alloca.
  1289. * rs6000-tdep.c (find_toc_address): Report an error if no toc was
  1290. found rather than possibly core dumping.
  1291. * partial-stab.h: Handle extra field generated by the aix4 compiler
  1292. for enumerations.
  1293. * stabsread.c (read_enum_type): Likewise.
  1294. Sat Aug 12 03:18:04 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1295. * rs6000-tdep.c (extract_return_value): Fix returning of values
  1296. whose length is less than the register size for big endian targets.
  1297. Fri Aug 11 13:04:32 1995 Kung Hsu <kung@mexican.cygnus.com>
  1298. * symtab.c (list_symbols): if break command set breakpoint on
  1299. matched symbol.
  1300. Wed Aug 9 18:59:05 1995 Fred Fish <fnf@cygnus.com>
  1301. * defs.h (strchr, strrchr, strstr, strtok, strerror): Enclose in
  1302. #ifndefs to protect against previous definitions as macros.
  1303. Wed Aug 9 14:51:36 1995 Kung Hsu <kung@mexican.cygnus.com>
  1304. * xcoffread.c (xcoff_symfile_offset): Revert an unwanted change
  1305. that got in accidentally with Aug 1 change.
  1306. Sat Aug 5 09:07:28 1995 steve chamberlain <sac@slash.cygnus.com>
  1307. * remote-hms.c (hms_cmds): Get reg term right.
  1308. * monitor.c (monitor_fetch_register): If we see
  1309. a non-hex digit, just stop reading.
  1310. * remote.c (remote_wait): Change way $O is handled.
  1311. Wed Aug 9 11:42:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
  1312. * configure.in (powerpc-*-aix*): Recognize as a new gdb host
  1313. and target.
  1314. (powerpc-*-eabi*): Don't set configdirs.
  1315. (powerpcle-*-eabi*): Likewise.
  1316. * configure: Updated.
  1317. * rs6000-nat.c (vmap_ldinfo): Don't relocate data addresses
  1318. for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is
  1319. defined.
  1320. * config/powerpc/{aix.mh,aix.mh}: Host and target makefile fragments
  1321. for powerpc running aix4.
  1322. * config/powerpc/{nm-aix.h, tm-ppc-aix.h, xm-aix.h}: Native, target
  1323. and host include files for powerpc running aix4.
  1324. Wed Aug 9 08:11:45 1995 Stan Shebs <shebs@cygnus.com>
  1325. * top.c (target_output_hook): Really make it match defs.h (char *
  1326. is not the same as unsigned char *).
  1327. Tue Aug 8 15:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1328. * Makefile.in (CXX_FOR_TARGET): Don't use ${rootme}/../gcc/xgcc
  1329. unless it is present.
  1330. Tue Aug 8 10:50:15 1995 Jeffrey A. Law <law@rtl.cygnus.com>
  1331. * top.c (target_output_hook): Make declaration match the one
  1332. in defs.h.
  1333. * symfile.c (add_psymbol_to_list): Initialize SYMBOL_SECTION.
  1334. (add_psymbol_addr_to_list): Likewise.
  1335. * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Likewise.
  1336. Mon Aug 7 15:34:29 1995 steve chamberlain <sac@slash.cygnus.com>
  1337. * top.c (target_output_hook): New definition.
  1338. * stack.c (gdb_string.h): Include after defs.h
  1339. * defs.h (target_output_hook): New declaration.
  1340. * source.c (mod_path): Fix Win32 \ handling.
  1341. Sun Aug 6 22:14:25 1995 Jeff Law (law@snake.cs.utah.edu)
  1342. * hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer
  1343. out of a long branch stub.
  1344. Fri Aug 4 13:37:31 1995 Jeffrey A. Law <law@rtl.cygnus.com>
  1345. * xcoffread.c (process_linenos): Fix typo in last change.
  1346. Thu Aug 3 22:01:26 1995 Fred Fish <fnf@rtl.cygnus.com>
  1347. * ch-exp.y (write_lower_upper_value): Add prototype so bison
  1348. generated parser will insert prototype before first func usage.
  1349. Bison and byacc order the output sections differently. Also
  1350. make function static.
  1351. Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
  1352. * Update all FSF addresses except those in COPYING* files.
  1353. Thu Aug 3 01:38:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1354. * config/alpha/tm-alpha.h (EXTRA_FRAME_INFO): Add pc_reg field.
  1355. (SKIP_TRAMPOLINE_CODE): Define.
  1356. * alpha-tdep.c (alpha_frame_saved_pc): Use pc_reg field from
  1357. frame to find the saved pc register.
  1358. (alpha_saved_pc_after_call): Skip over shared library trampoline
  1359. before trying to find the saved pc register.
  1360. (find_proc_desc): Copy PROC_PC_REG from found proc_desc
  1361. to heuristic proc_desc.
  1362. (init_extra_frame_info): Initialize pc_reg field in frame.
  1363. Wed Aug 2 18:00:36 1995 Stan Shebs <shebs@andros.cygnus.com>
  1364. * configure.in (m68*-est-*): Use monitor target config.
  1365. * configure: Update.
  1366. * config/m68k/est.mt, config/m68k/tm-est.h: Delete.
  1367. * config/m68k/monitor.mt, config/m68k/tm-monitor.h: Fix comments.
  1368. Tue Aug 1 22:52:53 1995 Fred Fish <fnf@cygnus.com>
  1369. * Makefile.in (VERSION): Bump to 4.14.2
  1370. Tue Aug 1 16:04:36 1995 Kung Hsu <kung@mexican.cygnus.com>
  1371. * xcoffread.c (process_linenos): The value in include file symbol
  1372. should point to line number table. Currently this value is not
  1373. set correctly by AIX ld. A fix to get around this bug.
  1374. Tue Aug 1 11:44:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1375. * configure.in: Check for working mmap, ansi headers, string.h,
  1376. strings.h, and memory.h.
  1377. * configure: Regenerated.
  1378. * gdb_stat.h: New file, "portable" <sys/stat.h>.
  1379. * gdb_string.h: New file, "portable" <string.h>.
  1380. * altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c,
  1381. convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c,
  1382. gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c,
  1383. i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c,
  1384. mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c,
  1385. rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c,
  1386. symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c,
  1387. ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h"
  1388. instead of <sys/stat.h>.
  1389. * alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c,
  1390. ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c,
  1391. core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c,
  1392. dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c,
  1393. exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c,
  1394. fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c,
  1395. inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c,
  1396. m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c,
  1397. monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c,
  1398. printcmd.c, procfs.c, regex.c, remote-adapt.c,
  1399. remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c,
  1400. remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c,
  1401. remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c,
  1402. remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c,
  1403. remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c,
  1404. solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c,
  1405. symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c,
  1406. valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include
  1407. "gdb_string.h" instead of <string.h>.
  1408. * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
  1409. sparc/xm-sun4os4.h (HAVE_MMAP): Removed.
  1410. * config/xm-lynx.h, config/i386/xm-ptx.h,
  1411. config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h,
  1412. config/mips/xm-irix3.h, config/mips/xm-mips.h,
  1413. config/mips/xm-news-mips.h, config/mips/xm-riscos.h,
  1414. config/pa/hppah.h, config/rs6000/xm-rs6000.h,
  1415. config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
  1416. config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h,
  1417. config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed.
  1418. * config/mips/xm-irix3.h, config/mips/xm-mips.h,
  1419. config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
  1420. Tue Aug 1 02:08:30 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1421. * mips-tdep.c (mips_extract_return_value): Fix returning of
  1422. values whose length is less than the register size for big endian
  1423. targets.
  1424. * alpha-tdep.c (alpha_extract_return_value,
  1425. alpha_store_return_value): Use alpha_convert_register_to_*
  1426. to handle functions returning "float" correctly.
  1427. Mon Jul 31 19:12:48 1995 Stan Shebs <shebs@andros.cygnus.com>
  1428. * h8500-tdep.c: General linting and cleanup.
  1429. (opcodes/h8500-opc.h): Don't include.
  1430. (code_size, data_size): Make static.
  1431. (frame_locals_address, frame_args_address): Remove.
  1432. (h8300_pop_frame): Rename to h8500_pop_frame.
  1433. (big_command, medium_command, compact_command, small_command):
  1434. Define as regular functions rather than with macro trickery.
  1435. (tm_print_insn): Set to correct disassembler function.
  1436. * config/h8500/tm-h8500.h: Minor cleanup, add prototypes.
  1437. (ABOUT_TO_RETURN): #if 0 out.
  1438. (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Use usual define.
  1439. (GDB_TARGET_IS_H8500): Remove duplicate definition.
  1440. (regoff): Remove, never used.
  1441. * config/h8500/h8500.mt (TDEPFILES): Add monitor.o.
  1442. Mon Jul 31 14:32:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1443. * configure.in: Check for unistd.h.
  1444. * configure: Regenerated.
  1445. * command.c, cp-valprint.c, fork-child.c, i386-tdep.c,
  1446. i386b-nat.c, inflow.c, main.c, maint.c, objfiles.c, solib.c,
  1447. source.c, stack.c, symfile.c, top.c, utils.c: Include strings.h
  1448. and/or unistd.h to bring prototypes into scope.
  1449. Sun Jul 30 01:40:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1450. * rs6000-tdep.c (frame_saved_pc): Check for signal handler caller
  1451. before trying to determine the start of the function.
  1452. (skip_prologue): Skip subroutine call which might save the
  1453. floating point registers only if it is within the first three
  1454. instructions.
  1455. Reinstate setting of alloca_reg if setup of a gcc frame pointer
  1456. is found.
  1457. (frame_get_cache_fsr): Use new fields in rs6000_framedata.
  1458. Sat Jul 29 14:43:35 1995 Stan Shebs <shebs@andros.cygnus.com>
  1459. * sparclite: Removed subdirectory. aload and eload are now in
  1460. utils/sparclite, low-level library is in libgloss.
  1461. * configure.in (sparclite*): Don't configure sparclite subdir.
  1462. * configure: Update.
  1463. * Makefile.in (TARDIRS): Remove, no longer used.
  1464. Sat Jul 29 01:45:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1465. * procfs.c (unconditionally_kill_inferior): Clear current signal
  1466. if PROCFS_NEED_CLEAR_CURSIG_FOR_KILL is defined.
  1467. * config/alpha/nm-osf3.h (PROCFS_NEED_CLEAR_CURSIG_FOR_KILL): Define.
  1468. * alpha-tdep.c: Move sigtramp handling of saved registers from
  1469. read_next_frame_reg to alpha_find_saved_regs, handle saved
  1470. floating point registers.
  1471. * mips-tdep.c: Move sigtramp handling of saved registers from
  1472. read_next_frame_reg to mips_find_saved_regs, handle saved
  1473. floating point registers.
  1474. * config/mips/tm-irix3.h, config/mips/tm-irix5.h,
  1475. config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define.
  1476. * sparc-tdep.c (sparc_pc_adjust): Fix check for `unimp'
  1477. instruction to handle functions returning structures with
  1478. large sizes properly.
  1479. Fri Jul 28 11:50:17 1995 steve chamberlain <sac@slash.cygnus.com>
  1480. * configure, configure.in (z8k-*-sim): deleted.
  1481. Thu Jul 27 12:49:28 1995 Jeffrey A. Law <law@rtl.cygnus.com>
  1482. * lynx-nat.c (child_wait): Handle threads exiting.
  1483. Thu Jul 27 07:47:50 1995 Michael Meissner <meissner@cygnus.com>
  1484. * rs6000-tdep.c (skip_prologue): Don't assume the update stack
  1485. instruction is the last in the prologue, since xlc stores the lr
  1486. after the stack update. Make sure offset is correct sign for
  1487. large frames.
  1488. (frame_saved_pc): Move test for signal before frameless.
  1489. * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Define.
  1490. * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Redefine.
  1491. Thu Jul 27 01:22:08 1995 Jeffrey A. Law <law@rtl.cygnus.com>
  1492. * hppa-tdep.c (hppa_fix_call_dummy): Rewrite code for calling
  1493. into shared libraries.
  1494. Wed Jul 26 23:33:34 1995 Michael Meissner <meissner@cygnus.com>
  1495. * config/rs6000/tm-rs6000.h (rs6000_framedata): Add offsets the
  1496. gprs, fprs, lr, and cr is stored at.
  1497. (FRAME_FIND_SAVED_REGS): Use new fields in rs6000_framedata.
  1498. (function_frame_info): Delete declaration.
  1499. (SKIP_PROLOGUE): Skip_prologue is now passed a rs6000_framedata
  1500. structure to fill in.
  1501. (FRAMELESS_FUNCTION_INVOCATION): Function now longer takes a
  1502. second argument.
  1503. (FRAME_SAVED_PC): Call frame_saved_pc.
  1504. * rs6000-tdep.c (skip_prologue): Recognize V.4 prologues as well
  1505. as AIX style. Fill in rs6000_framedata structure. Remember where
  1506. the gprs, fprs, cr, and lr are saved.
  1507. (pop_frame): Use skip_prologue, not function_frame_info, and use
  1508. new rs6000_framedata fields.
  1509. (function_frame_info): Function deleted.
  1510. (frameless_function_invocation): Separate frame_saved_pc support
  1511. to new function. Recognize V.4 frames.
  1512. (frame_saved_pc): New function.
  1513. (frame_get_cache_fsr): Use skip_prologue, not function_frame_info.
  1514. (frame_initial_stack_address): Ditto.
  1515. Wed Jul 26 01:00:37 1995 Jeff Law (law@snake.cs.utah.edu)
  1516. * remote.c: Add documentation for extended protocol operations
  1517. and for thread_alive change from a couple weeks ago.
  1518. (extended_remote_ops): Declare and define a new target vector
  1519. for the extended remote protocol.
  1520. (extended_remote_restart): New function to restart the remote
  1521. server & process.
  1522. (remote_open): Just a stub routine.
  1523. (extended_remote_open): New function to start a remote session
  1524. using the extended gdb remote protocol.
  1525. (remote_open_1): New function containing code common to both
  1526. remote_open and extended_remote_open.
  1527. (remote_mourn, extended_remote_mourn, remote_mourn_1): Similarly.
  1528. (extended_remote_create_inferior): New function for the extended
  1529. remote target.
  1530. (initialize_remote): Add the extended_remote_ops target vector.
  1531. * gdbserver/server.c (main, case '!'): Set extended_protocol.
  1532. (main, case 'k'): If the extended protocol is in use, kill the
  1533. inferior then start a new one.
  1534. (main, case 'R'): New command to restart the remote server and
  1535. inferior process. Only supported when using the extended
  1536. protocol.
  1537. (main, server loop): If the inferior terminates while using the
  1538. extended protocol then start a new one. If getpkt fails when
  1539. using the extended protocol then exit.
  1540. Tue Jul 25 11:43:44 1995 Stan Shebs <shebs@andros.cygnus.com>
  1541. * mdebugread.c (psymtab_to_symtab_1): Relocate encoded stab
  1542. line numbers using the psymtab's section offsets.
  1543. Tue Jul 25 10:43:27 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  1544. * config/rs6000/tm-rs6000.h (rs6000_framedata): Rename from
  1545. aix_framedata. Change all uses.
  1546. * rs6000-tdep.c: Change all aix_framedata -> rs6000_framedata.
  1547. Sat Jul 22 23:44:18 1995 Jeff Law (law@snake.cs.utah.edu)
  1548. * defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined.
  1549. Fri Jul 21 16:50:28 1995 Jeffrey A. Law <law@rtl.cygnus.com>
  1550. * lynx-nat.c (child_thread_alive): New function. Somehow I
  1551. forgot to check this in with all the other thread_alive changes.
  1552. Thu Jul 20 22:22:34 1995 Jeff Law (law@snake.cs.utah.edu)
  1553. * somread.c (som_symtab_read): Add unsatisfied common symbols to
  1554. the minimal symbol table. All common symbols are "unsatisfied"
  1555. when -E is passed to the linker.
  1556. Thu Jul 20 15:04:57 1995 Fred Fish <fnf@cygnus.com>
  1557. * top.c (show_endian): Cast first arg of printf_unfiltered to
  1558. correct type of "char *".
  1559. Thu Jul 20 14:18:51 1995 Jeffrey A. Law <law@rtl.cygnus.com>
  1560. * lynx-nat.c (child_wait): A thread_id of zero from wait apparently
  1561. means the process is single threaded, so there's no need to add
  1562. it to the thread list. Handle case where multi-threaded process
  1563. reverts back to a single-threaded process.
  1564. * gdbserver/low-hppabsd.c: Remove error declaration.
  1565. * gdbserver/low-sparc.c: Likewise.
  1566. * gdbserver/low-sun3.c: Likewise.
  1567. * gdbserver/server.h: Remove error and fatal declaration.
  1568. * gdbserver/utils.c (error): Update to be compatable with recent
  1569. changes in defs.h.
  1570. (fatal): Likewise.
  1571. Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1572. * config/m68k/tm-m68kv4.h (DWARF_REG_TO_REGNUM): Define to
  1573. correctly map floating point registers numbers.
  1574. * dwarfread.c (locval, new_symbol): Handle variables that are
  1575. optimized out.
  1576. * mdebugread.c: Replace all uses of builtin_type_* with
  1577. mdebug_type_*. Define and initialize mdebug_type_*.
  1578. * serial.h (serial_close): Add additional argument `really_close'.
  1579. (SERIAL_CLOSE): Update serial_close call accordingly.
  1580. (SERIAL_UN_FDOPEN): Use serial_close to handle refcnt properly.
  1581. * serial.c (serial_close): Handle `really_close'.
  1582. * serial.h (scb_base): Moved to serial.c, made static.
  1583. * valops.c (value_addr): Don't coerce arrays.
  1584. (typecmp): Coerce arrays instead of calling value_addr if necessary.
  1585. Wed Jul 19 18:19:28 1995 Stan Shebs <shebs@andros.cygnus.com>
  1586. From Richard Earnshaw (rearnsha@armltd.co.uk):
  1587. * infrun.c (wait_for_inferior): Set the convenience variable
  1588. $_exitcode to the termination code of the inferior.
  1589. * top.c (quit_command): Accept optional expression to use
  1590. as parameter to exit().
  1591. Wed Jul 19 13:15:32 1995 Kung Hsu <kung@mexican.cygnus.com>
  1592. * remote.c (remote_wait): When getting registers, check endianess and
  1593. do conversion if necessary.
  1594. Tue Jul 18 00:41:31 1995 Jeff Law (law@snake.cs.utah.edu)
  1595. * gdbserver/low-hppabsd.c: New file.
  1596. * gdbserver/Makefile.in (SFILES): Add low-hppabsd.c.
  1597. * config/pa/hppabsd.mh (XDEPFILES): Add ser-tcp.o.
  1598. (GDBSERVER_DEPFILES): Add low-hppabsd.o.
  1599. * config/pa/hppaosf.mh: Likewise.
  1600. Mon Jul 17 21:35:18 1995 Fred Fish <fnf@cygnus.com>
  1601. * dache.c (struct dcache_block): Change data member from unsigned
  1602. char to char, since everything passed in and out of dcache is char
  1603. or casted to appropriate type anyway.
  1604. (dcache_alloc): Move assignment of db out of test and combine
  1605. separate tests into if-else.
  1606. (dcache_peek_byte): Change ptr from unsigned char* to char*.
  1607. (dcache_peek_byte): Remove now unnecessary cast in read_memory call.
  1608. (dcache_peek): Change cast of incoming data arg.
  1609. (dcache_poke): Change cast of addr of incoming data arg.
  1610. (dcache_info): Mask data passed to printf_filtered to lsbyte only.
  1611. (dcache_info): Change printf_filtered arg from "% 2x" to " %2x".
  1612. * target.c (debug_to_thread_alive): Change return type to int and
  1613. return zero, for type compatibility with other *_thread_alive
  1614. funcs.
  1615. (cleanup_target): Change cast of ignore function to match type of the
  1616. to_thread_alive member.
  1617. * defs.h (error_hook): Add ATTR_NORETURN.
  1618. * defs.h (NORETURN, ATTR_NORETURN): Switch from volatile to
  1619. __attribute__ method with gcc 2.7, to avoid gcc 2.6.3 bug.
  1620. * remote.c (remote_wait): Cast first arg to strtol, strchr, and
  1621. strncmp to "const char *" from "unsigned char *".
  1622. (remote_wait): Cast arg to putpkt and strcpy from "unsigned char *"
  1623. to "char *".
  1624. (remote_wait): Change printf format for long arg from "%d" to "%ld".
  1625. (getpkt): Remove unused variable "bp".
  1626. (remote_fetch_word, remote_store_word): Ifdef out apparently unused
  1627. functions.
  1628. * breakpoint.c (watchpoint_check): Removed unused variables
  1629. "saved_level" and "saved_frame".
  1630. * valops.c (value_arg_coerce): Add other enum TYPE_CODE_* and
  1631. default cases to switch for completeness.
  1632. * infrun.c (wait_for_inferior): Enclose "have_waited" label
  1633. in #ifdef that matches the one in which it is referenced.
  1634. * ser-unix.c (hardwire_noflush_set_tty_state): Enclose otherwise
  1635. unused variable "state" in #ifdef that matches one in which it is
  1636. referenced.
  1637. * eval.c (evaluate_subexp_standard): Remove unused variable "var".
  1638. * eval.c (evaluate_subexp_standard): Remove unused variable
  1639. "tmp_symbol".
  1640. * valarith.c (value_subscript): Remove unused variable
  1641. "lowerbound", which is redeclared in a nested scope prior to use.
  1642. * printcmd.c (print_frame_nameless_args): Use "%ld" to print long
  1643. arg, not "%d".
  1644. * {mem-break.c, remote-pa.c, remote.c, saber.suppress}:
  1645. Remove unused static var "check_break_insn_size".
  1646. * buildsym.c (finish_block): Add other enum LOC_* and default
  1647. cases to switch for completeness.
  1648. ch-lang.c (type_lower_upper): Removed unused label "retry".
  1649. Add other enum TYPE_* and default cases to switch for completeness.
  1650. * f-typeprint.c (f_type_print_args): Ifdef out unused function
  1651. that may be used someday when Fortran support is complete.
  1652. * ch-valprint.c (chill_print_type_scalar): Add other enum
  1653. TYPE_* and default cases to switch for completeness.
  1654. (chill_val_print): Remove unused local var "high_bound" that
  1655. is redeclared in a nested scope prior to use.
  1656. (chill_var_print): Use "%ld" to print long arg, not "%d".
  1657. * regex.c (re_compile_fastmap, re_match_2): Add remaining enum
  1658. types and default to switches for completeness.
  1659. * minsyms.c (lookup_minimal_symbol_text): Delete unused variable
  1660. "trampoline_symbol".
  1661. (prim_record_minimal_symbol_and_info): Return NULL rather than
  1662. trash.
  1663. * elfread.c (elf_symtab_read): Don't dereference NULL returns from
  1664. record_minimal_symbol_and_info.
  1665. * f-lang.c (saved_function_list_end): Ifdef out unused variable
  1666. that may be used someday.
  1667. * f-valprint.c (f_val_print): Remove unused local "straddr".
  1668. Mon Jul 17 13:08:00 1995 Ian Lance Taylor <ian@cygnus.com>
  1669. * stabsread.h (struct stab_section_list): Define.
  1670. (coffstab_build_psymtabs): Remove staboff and stabsize parameters.
  1671. Add textaddr, textsize, and stabs parameters.
  1672. * gdb-stabs.h (struct dbx_symfile_info): Remove text_sect field.
  1673. Add text_addr and text_size fields.
  1674. (DBX_TEXT_SECT): Don't define.
  1675. (DBX_TEXT_ADDR, DBX_TEXT_SIZE): Define.
  1676. * coffread.c: Include <ctype.h>.
  1677. (struct coff_symfile_info): Remove stabsect and stabindexsect
  1678. fields. Add textaddr, textsize, and stabsects fields.
  1679. (coff_locate_sections): Record the address of the .text section,
  1680. and total the sizes of all sections with names beginning with
  1681. ".text". Don't bother to record a .stab.index section (COFF
  1682. doesn't use them). Make a linked list of all sections with names
  1683. beginning with ".stab".
  1684. (coff_symfile_read): Adjust call to coffstab_build_psymtabs for
  1685. new parameters.
  1686. * dbxread.c (dbx_symfile_read): Use DBX_TEXT_ADDR and
  1687. DBX_TEXT_SIZE, rather than getting both from DBX_TEXT_SECT.
  1688. (dbx_symfile_init): Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not
  1689. DBX_TEXT_SECT.
  1690. (elfstab_build_psymtabs): Likewise.
  1691. (stabsect_build_psymtabs): Likewise.
  1692. (symbuf_sections, symbuf_left, symbuf_read): New static variables.
  1693. (fill_symbuf): If symbuf_sections is not NULL, read symbols from
  1694. multiple sections.
  1695. (coffstab_build_psymtabs): Remove staboffset and stabsize
  1696. parameters. Add textaddr, textsize, and stabsects parameters.
  1697. Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not DBX_TEXT_SECT. Handle
  1698. multiple stabs sections.
  1699. * os9kread.c (os9k_symfile_read): Use DBX_TEXT_ADDR and
  1700. DBX_TEXT_SIZE, rather than getting both from DBX_TEXT_SECT.
  1701. (os9k_symfile_init): Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not
  1702. DBX_TEXT_SECT.
  1703. * remote-vx.c (vx_ops, vx_run_ops): Initialize new to_thread_alive
  1704. field.
  1705. Sat Jul 15 01:02:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1706. * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: New files
  1707. for OSF/1-3.x procfs support.
  1708. * configure.in (alpha-dec-osf): Use them when configuring
  1709. for OSF/1-3.x.
  1710. * configure: Updated.
  1711. * target.c: Include <string.h>.
  1712. Fri Jul 14 16:16:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1713. * Makefile.in, configure.in: Use one variable, frags, to hold
  1714. pathnames of makefile fragments.
  1715. * configure: regenerated.
  1716. Fri Jul 14 09:49:47 1995 Jeff Law (law@snake.cs.utah.edu)
  1717. * procfs.c (procfs_ops): Fix typo in last change.
  1718. Thu Jul 13 13:42:38 1995 Jeffrey A. Law <law@rtl.cygnus.com>
  1719. * inftarg.c (child_thread_alive): New function to see if a
  1720. particular thread is still running.
  1721. (child_ops): Add child_thread_alive entry.
  1722. * remote.c (remote_thread_alive): New function to see if a
  1723. particular thread is still alive.
  1724. (remote_ops): Add remote_thread_alive.
  1725. * target.c (dummy_target): Add dummy entry for thread_alive.
  1726. (cleanup_target): de_fault thread_alive too.
  1727. (update_current_target): INHERIT thread_alive too.
  1728. (debug_to_thread_alive): New function.
  1729. (setup_target_debug): Add debug_to_thread_alive.
  1730. * target.h (struct target_ops): Add to_thread_alive.
  1731. (target_thread_alive): Define.
  1732. * thread.c (info_threads_command): Don't call kill; use
  1733. target_thread_alive instead.
  1734. * config/nm-lynx.h (CHILD_THREAD_ALIVE): Define.
  1735. * gdbserver/low-lynx.c (mythread_alive): New function.
  1736. (mywait): Don't restart any threads after a new thread notification,
  1737. let the generic code handle it.
  1738. * gdbserver/low-sparc.c (mythread_alive): Dummy version.
  1739. * gdbserver/low-sun3.c (mythread_alive): Likewise.
  1740. * gdbserver/server.c (main): Handle thread_alive requests.
  1741. * gdbserver/server.h (mythread_alive): Declare.
  1742. * corelow.c (core_ops): Add dummy entry for thread_alive.
  1743. * exec.c (exec_ops): Likewise.
  1744. * m3-nat.c (m3_ops): Likewise.
  1745. * monitor.c (monitor_ops): Likewise.
  1746. * procfs.c (procfs_ops): Likewise.
  1747. * remote-array.c (array_ops): Likewise.
  1748. * remote-e7000.c (e7000_ops): Likewise.
  1749. * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
  1750. * remote-mips.c (mips_ops): Likewise.
  1751. * remote-pa.c (remote_hppro_ops): Likewise.
  1752. * remote-sim.c (gdbsim_ops): Likewise.
  1753. * sparcl-tdep.c (sparclite_ops): Likewise.
  1754. Tue Jul 11 11:15:55 1995 Kung Hsu <kung@rtl.cygnus.com>
  1755. * solib.c: Add _DYNAMIC__MGC base symbol for Mentor Graphics Inc.
  1756. * solib.c (match_main): New function for checking name of main.
  1757. * solib.c (solib_add): Not to add if solib match main.
  1758. Fri Jul 7 14:41:56 1995 Kung Hsu <kung@rtl.cygnus.com>
  1759. * elfread.c (elf_symtab_read): Fix a bug ignoring compiler
  1760. generated internal labels ($LM...).
  1761. Wed Jul 5 11:38:36 1995 Kung Hsu <kung@rtl.cygnus.com>
  1762. * defs.h: if __GO32__ or WIN32 the directory separating symbol should
  1763. be '\' not '/'.
  1764. * remote-nindy (nindy_wait): Use infinite timeout reading after
  1765. esacpe character.
  1766. Tue Jul 4 10:30:22 1995 Jeffrey A. Law <law@rtl.cygnus.com>
  1767. * infrun.c (wait_for_inferior): When switching from one thread to
  1768. another, save infrun's state for the old thread and load infrun's
  1769. previous state for the new thread.
  1770. * thread.c (struct thread_info): Add new fields for thread specific
  1771. state saved/restored in infrun.c.
  1772. (add_thread): Initialize new fields.
  1773. (load_infrun_state): New function.
  1774. (save_infrun_state): New function.
  1775. * thread.h (load_infrun_state): Provide external decl.
  1776. (save_infrun_state): Likewise.
  1777. * infrun.c (wait_for_inferior): When we hit a breakpoint for the
  1778. wrong thread, make sure to write the fixed PC value into the thread
  1779. that stopped. Restart all threads after single stepping over a
  1780. breakpoint for a different thread.
  1781. * breakpoint.c (set_momentary_breakpoint): Make momentary
  1782. breakpoints thread specific in a multi-threaded program.
  1783. * lynx-nat.c (child_resume): Add some comments. Correctly
  1784. choose between the single and multi-threaded step and continue
  1785. ptrace calls.
  1786. Fri Jun 30 16:15:36 1995 Stan Shebs <shebs@andros.cygnus.com>
  1787. * config/h8300/h8300.mt: Renamed from h8300hms.mt.
  1788. * config/h8500/h8500.mt: Renamed from h8500hms.mt.
  1789. * config/z8k/z8k.mt: Renamed from z8ksim.mt.
  1790. * configure, configure.in: Update to reflect renamings.
  1791. * remote-sim.c (sim): New command, passes commands to simulator.
  1792. (simulator_command): New function.
  1793. (gdbsim_ops): Clean up.
  1794. * remote-sim.h (sim_do_command): Declare.
  1795. * sh-tdep.c (memory_size): Remove command.
  1796. * Makefile.in (SIM, SIM_OBS): New variables.
  1797. (CLIBS, CDEPS): Add value of SIM.
  1798. (DEPFILES): Add value of SIM_OBS
  1799. * config/arm/arm.mt, config/h8300/h8300.mt, config/h8500/h8500.mt,
  1800. config/sh/sh.mt, config/sparc/sp64sim.mt, config/w65/w65.mt,
  1801. config/z8k/z8k.mt: Remove simulator files from TDEPFILES,
  1802. define in SIM_OBS and SIM.
  1803. config/sparc/sp64sim.mt (SIMFILES): Remove.
  1804. * remote-z8k.c: Remove, was superseded by remote-sim.c
  1805. * Makefile.in, mpw-make.in: Remove references to remote-z8k.c.
  1806. Sun Jun 25 15:30:43 1995 Stan Shebs <shebs@cygnus.com>
  1807. * remote.c (remote_read_bytes, remote_write_bytes): Second arg
  1808. should be char *, not unsigned char *.
  1809. * dcache.h (memxferfunc): Ditto.
  1810. * monitor.c (monitor_write_memory, monitor_read_memory_single):
  1811. Ditto.
  1812. (monitor_make_srec): Let compiler figure size of hextab.
  1813. Sat Jun 24 19:27:37 1995 Jeffrey A. Law <law@rtl.cygnus.com>
  1814. * lynx-nat.c (child_wait): Don't restart new threads and loop
  1815. to the top of child_wait; let the machine independent code in
  1816. wait_for_inferior deal with new thread notifications.
  1817. Fri Jun 23 11:51:58 1995 Kung Hsu <kung@mexican.cygnus.com>
  1818. * remote-nindy (nindy_load): Put in target specific load, it's
  1819. 20 times faster.
  1820. Thu Jun 22 20:21:59 1995 Stan Shebs <shebs@andros.cygnus.com>
  1821. * utils.c (error): Move local `args' outside conditional,
  1822. move local `string1' inside, declare function as void if
  1823. non-ANSI compiler, dereference error_hook when calling.
  1824. * mac-xdep.c (stdarg.h): Don't include.
  1825. Thu Jun 22 13:12:33 1995 Kung Hsu <kung@mexican.cygnus.com>
  1826. * remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
  1827. Wed Jun 21 13:24:41 1995 Jeff Law (law@snake.cs.utah.edu)
  1828. * hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
  1829. HP800_THREAD_STATE_COUNT to TRACE_FLAVOR_SIZE.
  1830. Wed Jun 21 05:57:56 1995 Steve Chamberlain <sac@slash.cygnus.com>
  1831. * monitor.c: Turn on caching.
  1832. (monitor_printf): If a ^C was sent, don't expect to see its
  1833. echo.
  1834. (monitor_open): Enable caching.
  1835. (monitor_resume, monitor_load): Flush cache.
  1836. (monitor_xfer_memory): Call cache routine.
  1837. (monitor_dump_regs): New.
  1838. (monitor_fetch_registers): If monitor_dump_regs available
  1839. then use it.
  1840. (monitor_load): Don't ref exec_bfd if it's NULL.
  1841. (monitor_load_srec): Use new monitor_make_srec calling convention.
  1842. (monitor_make_srec): Rewrite to cope with two, three and four byte
  1843. addresses.
  1844. * remote-hms.c (hms_cmds): Initialze end-of-command delim.
  1845. * dcache.h, dcache.h: Rewritten.
  1846. * remote.c: Reenable caching.
  1847. (getpkt): Reduce MAX_TRIES to 3.
  1848. (remote_xfer_memory): Use dcache_xfer_memory.
  1849. * defs.h (error_hook): New.
  1850. * top.c (error_hook): New definition.
  1851. * utils.c (error): Use error_hook if initialized.
  1852. * sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use
  1853. HAVE_SOCKETS in place of #ifndef GO32.
  1854. Tue Jun 20 22:17:44 1995 Jeff Law (law@snake.cs.utah.edu)
  1855. * config/pa/tm-hppa.h (PSW_*): Define processor status word masks.
  1856. (INSTRUCTION_NULLIFIED): Allow specific targets to override.
  1857. * config/pa/tm-hppao.h (INSTRUCTION_NULLIFIED): Define to work
  1858. around losing mach kernel behavior.
  1859. Tue Jun 20 12:03:36 1995 Stan Shebs <shebs@andros.cygnus.com>
  1860. * monitor.c (monitor_wait): Don't use the watchdog timeout
  1861. if its value is 0.
  1862. * w89k-rom.c (w89k_open): Define to be static.
  1863. Sat Jun 17 10:17:16 1995 Jeff Law (law@snake.cs.utah.edu)
  1864. * somsolib.c (som_solib_add): Validate regexp argument.
  1865. Don't assume the first entry on dld's library list is the main
  1866. program. Don't load the same library more than once and don't
  1867. consider the main program a shared library.
  1868. (som_solib_sharedlibrary_command): New function
  1869. (_initialize_som_solib): Add "sharedlibrary" command.
  1870. Thu Jun 15 14:54:58 1995 Stan Shebs <shebs@andros.cygnus.com>
  1871. * array-rom.c: Remove, no longer used.
  1872. * remote-hms.c (hms_open): Make static.
  1873. * mpw-config.in (MacSerial.h): Copy from version in {CIncludes},
  1874. not {MPW}Interfaces:CIncludes.
  1875. * ser-mac.c (mac_baud_rate_table): Fix value for 38400 baud.
  1876. Wed Jun 14 14:27:07 1995 Per Bothner <bothner@kalessin.cygnus.com>
  1877. * ch-exp.y: Remove lots of unsupported productions and names.
  1878. Add support for IF-expressions, ORIF, ANDIF, NUM, and ADDR.
  1879. Tue Jun 13 21:40:11 1995 Per Bothner <bothner@kalessin.cygnus.com>
  1880. * parser-defs.h (enum precedence): Added PREC_BUILTIN_FUNCTION.
  1881. * expression.h (enum exp_opcode): Added UNOP_LOWER, UNOP_UPPER,
  1882. UNUP_LENGTH.
  1883. * expprint.c (dump_expression): Handle the new exp_opcodes.
  1884. (print_subexp): Handle PREC_BUILTIN_FUNCTION.
  1885. (print_simple_m2_func): Removed.
  1886. (print_subexp): Remove support for Modula2 builtin functions.
  1887. * m2-lang.c (m2_op_print_tab): Add support for builtin functions.
  1888. * ch-exp.y: Parse LOWER, UPPER, and LENGTH builtins.
  1889. (write_lower_upper_value): Convenience function for LOWER and UPPER.
  1890. (upper_lower_argument, length_argument): Removed non-terminals.
  1891. * ch-lang.c (chill_op_print_tab): Entries for UPPER, LOWER, LENGTH.
  1892. (type_lower_upper): New function. Calculate LOWER/UPPER of type.
  1893. (value_chill_length): New function. Calcalate LENGTH of ARRAY/STRING.
  1894. (evaluate_subexp_chill): Handle UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH.
  1895. Mon Jun 12 12:48:13 1995 Stan Shebs <shebs@andros.cygnus.com>
  1896. Windows support bits from Steve Chamberlain <sac@slash.cygnus.com>.
  1897. * defs.h: Don't declare strchr and friends if WIN32.
  1898. (DIRNAME_SEPARATOR): Move here from source.c.
  1899. (SLASH_P, SLASH_CHAR, SLASH_STRING, ROOTED_P): New macros,
  1900. symbolic definitions for filename bits.
  1901. * top.c (cd_command): Use these.
  1902. * source.c (mod_path, openp): Ditto.
  1903. * terminal.h: Disable termio/sgtty definitions if WIN32.
  1904. * findvar.c (registers_changed): Call registers_changed_hook
  1905. if it is defined.
  1906. Mon Jun 12 12:22:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1907. * Makefile.in (distclean, realclean): Remove config.cache and
  1908. config.log.
  1909. Mon Jun 12 00:21:59 1995 Jeff Law (law@snake.cs.utah.edu)
  1910. * somsolib.c: Include gdb-stabs.h.
  1911. (som_solib_section_offsets): Use SECT_OFF_XXX rather than 0, 1,
  1912. etc. Initialize offsets for RODATA & BSS too.
  1913. Sat Jun 10 17:59:11 1995 Jeff Law (law@snake.cs.utah.edu)
  1914. * hppa-tdep.c (frame_chain): Try to compensate for incomplete
  1915. register information in core files when backtracing.
  1916. Fri Jun 9 14:51:38 1995 Stu Grossman (grossman@cygnus.com)
  1917. * remote-nrom.c: Remove everything but download code. More
  1918. cleanups.
  1919. Thu Jun 8 15:06:00 1995 Stu Grossman (grossman@cygnus.com)
  1920. * defs.h maint.c monitor.c remote-mips.c remote.c: Add support
  1921. for `watchdog' variable. This allows the user to put an upper
  1922. limit on the amount of time that GDB will wait for the target to
  1923. return from a step or continue operation. This will primarily be
  1924. used for the testsuite, where it is difficult to come up with a
  1925. reasonable timeout for things like function calls, which can take
  1926. as long as three minutes under some circumstances. If the
  1927. watchdog timer expires, GDB will generate an error that looks like
  1928. `Watchdog has expired.', and will detach from the target.
  1929. * remote-mips.c (mips_open): Setup initial frame from target.
  1930. Print it out so that user is told where the program is stopped
  1931. when they attach.
  1932. * remote-nrom.c: Loads of cleanups. Use serial code to open
  1933. network connections. Use expect() to wait for response to
  1934. download command.
  1935. * ser-tcp.c (tcp_open): Retry connection if we get ECONNREFUSED.
  1936. * serial.c serial.h (serial_open serial_fdopen serial_close):
  1937. Allow users to open the same device multiple times. They all get
  1938. to share the same serial_t. This is about the only way to have
  1939. multiple active targets use the same device (for download and
  1940. debug).
  1941. * sparcl-tdep.c: Keep #include <unistd.h> away from GO32.
  1942. * target.c: Add `targetdebug' variable. If this is non-zero,
  1943. then a special target is put at the top of the target stack which
  1944. will cause all calls through the target vector to have their args
  1945. and results printed out.
  1946. Wed Jun 7 17:40:37 1995 Per Bothner <bothner@kalessin.cygnus.com>
  1947. * ch-exp.y: Handle <primitive_value> "->" <modename>.
  1948. Wed Jun 7 17:46:33 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  1949. * mem-break.c (LITTLE_BREAKPOINT): If BREAKPOINT and
  1950. {LITTLE,BIG}_BREAKPOINT are all defined, don't redefine.
  1951. (BIG_BREAKPOINT): Ditto.
  1952. * config/rs6000/tm-rs6000.h (BREAKPOINT): Define as either
  1953. BIG_BREAKPOINT or LITTLE_BREAKPOINT depending on the target byte
  1954. order.
  1955. Wed Jun 7 12:41:42 1995 Jeff Law (law@snake.cs.utah.edu)
  1956. * somsolib.c (som_solib_section_offsets): Handle relative pathnames.
  1957. * hppa-tdep.c (frame_saved_pc): Handle backtracing through signal
  1958. handler in dynamically linked executables.
  1959. Tue Jun 6 10:44:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  1960. From Andrew Cagney <cagney@highland.com.au>
  1961. * rs6000-tdep.c (single_step): Handle both little and big endian
  1962. breakpoints.
  1963. (gdb_print_insn_powerpc): Deal with disassembling both little and
  1964. big endian PowerPC systems.
  1965. (_initialize_rs6000_tdep): Use gdb_print_insn_powerpc to handle
  1966. disassembly, rather that assuming big endian order.
  1967. * config/rs6000/tm-rs6000.h (BREAKPOINT): Delete.
  1968. (BIG_BREAKPOINT): Define, big endian breakpoint instruction.
  1969. (LITTLE_BREAKPOINT): Define, little endian breakpoint instruction.
  1970. Sat Jun 3 01:54:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  1971. * README: Add note about Unixware 2.x.
  1972. * dbxread.c (process_one_symbol): Check for exact symbol name
  1973. match when fixing up N_GSYM and N_STSYM symbols from Sun acc.
  1974. * valprint.c (value_print_array_elements): Use
  1975. fprintf_filtered to put out `<repeats %u times>',
  1976. from schwab@issan.informatik.uni-dortmund.de (Andreas Schwab).
  1977. * value.h (struct value): Change `repetitions' field from
  1978. `short' to `int' type.
  1979. Fri Jun 2 11:17:23 1995 Doug Evans <dje@canuck.cygnus.com>
  1980. * arc-tdep.c (arc_bfd_mach_type): New static global.
  1981. (codestream_fill): Handle byte order differences.
  1982. (setup_prologue_scan): Don't read stdarg function's "sub sp,sp,N".
  1983. (arc_get_frame_setup): Read it here.
  1984. (arc_frame_saved_pc): And here.
  1985. (arc_print_insn): New function.
  1986. (arc_set_cpu_type): Set arc_bfd_mach_type. Don't set tm_print_insn.
  1987. (_initialize_arc_tdep): Set tm_print_insn to arc_print_insn.
  1988. Wed May 31 12:04:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  1989. * nlm/{configure.in, Makefile.in}: Converted to use autoconf.
  1990. * nlm/configure: New file, generated with autoconf 2.3.
  1991. * nlm/configure.in: Use sed instead of awk to get the value of
  1992. cpufile. Awk is not a utility required by the GNU coding
  1993. standards. This change also fixes the rigid whitespace
  1994. requirements that were required for awk.
  1995. * sparclite/aload.c: Use a file descriptor instead of a stdio
  1996. stream for i/o with target board.
  1997. Use #error if HAVE_TERMIOS is not defined.
  1998. * sparclite/{Makefile.in, configure.in}: Converted to use
  1999. autoconf.
  2000. * sparclite/configure: New file, generated with autoconf 2.3.
  2001. Sun May 28 23:10:07 1995 Jeff Law (law@snake.cs.utah.edu)
  2002. * defs.h: Include either varargs.h or stdarg.h (for va_list).
  2003. Fix stupid thinko in last change ("..." -> "va_list").
  2004. * defs.h (vprintf_filtered declaration): Add PARAMS prototype;
  2005. gcc-2.5 chokes on format attributes for unprototyped functions.
  2006. (vfprintf_filtered declaration): Likewise.
  2007. (vprintf_unfiltered declaration): Likewise.
  2008. (vfprintf_unfiltered). Likewise.
  2009. Sat May 27 23:54:17 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  2010. * configure.in: Use sed instead of awk to get the values of
  2011. hostfile, targetfile and nativefile. Awk is not a utility
  2012. required by the GNU coding standards. This change also
  2013. fixes the rigid whitespace requirements that were required
  2014. for awk.
  2015. * configure: regenerated.
  2016. Sat May 27 16:24:04 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
  2017. * sparclite/{Makefile,configure}.in: Add hooks for building with
  2018. -lsocket & -lnsl for solaris2. Don't build aload/eload for DOS.
  2019. Thu May 25 12:46:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2020. * gdbserver/remote-utils.c (prepare_resume_reply): Add FIXME
  2021. comment regarding signal numbering.
  2022. Wed May 24 15:49:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
  2023. * arm-tdep.c (_initialize_arm_tdep): Use print_insn_little_arm
  2024. now.
  2025. * arm-tdep.c (convert_from_extended, convert_to_extended):
  2026. New.
  2027. * coffread.c (enter_linenos): Return if linetab 0.
  2028. * config/arm/arm.mt (TDEPFILES): Add simulator support.
  2029. * config/arm/tm-arm.h (FRAME_FIND_SAVED_REGS): Fix prototypes.
  2030. Mon May 22 19:37:21 1995 Rob Savoye <rob@darkstar.cygnus.com>
  2031. * config/idt.mt: replace monitor and array-rom with the new
  2032. remote-array.
  2033. Mon May 22 15:38:25 1995 Stu Grossman (grossman@cygnus.com)
  2034. * remote-nindy.c: Install Kung patch for PR 6820. I have no idea
  2035. what this does...
  2036. * breakpoint.c: Move defaults of watchpoint related macros into
  2037. target.h.
  2038. * target.h: Macros from breakpoint.c. Conditionalize based on
  2039. TARGET_HAS_HARDWARE_WATCHPOINTS.
  2040. * i386v-nat.c procfs.c: Use TARGET_HAS_HARDWARE_WATCHPOINTS
  2041. instead of TARGET_CAN_USE_HARDWARE_WATCHPOINT to enable watchpoint
  2042. code.
  2043. * config/i386/nm-linux.h, config/mips/nm-irix4.h,
  2044. config/pa/nm-hppab.h, config/sparc/tm-sparclite.h: #define
  2045. TARGET_HAS_HARDWARE_WATCHPOINTS to enable watchpoint code.
  2046. Mon May 22 06:47:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2047. * breakpoint.c, target.h: Move defaults of watchpoint related
  2048. macros back to breakpoint.c. Required to get GDB compiling
  2049. on Solaris again.
  2050. Fri May 19 14:49:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  2051. * defs.h (ATTR_FORMAT): New macro, expands to gcc's format
  2052. attribute when compiled by gcc.
  2053. * defs.h, language.h, monitor.h: Changed many function
  2054. declarations to use ATTR_FORMAT.
  2055. * breakpoint.c (delete_command); source.c (directory_command);
  2056. top.c (define_command): Changed call to query() that had too
  2057. many arguments.
  2058. * printcmd.c (address_info): Changed call to printf_filtered()
  2059. that had too many arguments.
  2060. Fri May 19 09:52:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2061. * infrun.c (wait_for_inferior): Move assignments to stop_signal
  2062. and stop_pc, and STOPPED_BY_WATCHPOINT code, back where they
  2063. were--after the switch statement on w.kind. You can't read the
  2064. registers of an inferior which has exited. Use a goto in the
  2065. STOPPED_BY_WATCHPOINT code.
  2066. * infrun.c (wait_for_inferior): Reinstate
  2067. HAVE_STEPPABLE_WATCHPOINT and HAVE_CONTINUABLE_WATCHPOINT code.
  2068. Fri May 19 06:15:40 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
  2069. * utils.c, complaints.c, language.c, monitor.c, remote-array.c,
  2070. remote-mips.c, remote-os9k.c, remote-st.c: Conditionalize use of
  2071. stdarg rather than varargs on ANSI_PROTOTYPES not __STDC__; it
  2072. must match the definition of PARAMS.
  2073. Thu May 18 15:58:46 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  2074. * utils.c (fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,
  2075. printf_filtered, printf_unfiltered, printfi_filtered, query, warning,
  2076. error, fatal, fatal_dump_core): Use stdarg.h macros when compiling
  2077. with an ANSI compiler.
  2078. * complaints.c (complain): Likewise.
  2079. * language.c (type_error, range_error): Likewise.
  2080. * monitor.c (monitor_printf, monitor_printf_noecho): Likewise.
  2081. * remote-array.c (printf_monitor, debuglogs): Likewise.
  2082. * remote-mips.c (mips_error): Likewise.
  2083. * remote-os9k.c (printf_monitor): Likewise.
  2084. * remote-st.c (printf_stdebug): Likewise.
  2085. * defs.h, complaints.h, language.h, monitor.h: Add prototypes to
  2086. match above changes.
  2087. * printcmd.c: Remove uneeded #include <varargs.h>.
  2088. * remote-e7000.c: Likewise.
  2089. * f-typeprint.c (f_type_print_base): Fix typo found by above
  2090. changes.
  2091. Wed May 17 11:21:32 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
  2092. * Makefile.in (xcoffread.o): Depend on partial-stab.h.
  2093. * xcoffsolib.c (sharedlibrary_command): New command.
  2094. * xcoffsolib.c (solib_info): Call xcoff_relocate_symtab.
  2095. * xcoffsolib.c: Miscellaneous cleanups.
  2096. * partial-stab.h: Ignore symbol descriptor '-' (for local
  2097. variables with negative type numbers) without complaint.
  2098. * rs6000-nat.c (vmap_ldinfo): Use bfd_stat rather than our own
  2099. local emulation thereof. Remove unused variable ostart.
  2100. Wed May 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  2101. * Makefile.in (config.status): changed target so that
  2102. config.status --recheck is executed if configure script changes.
  2103. * monitor.c (monitor_printf): Changed format specification in
  2104. error message to work with pre-ansi compilers.
  2105. (monitor_load_srec): reduced length of s-records from 128 to 32
  2106. bytes so download is more reliable with the rom68k monitor.
  2107. * rom68k-rom.c: Added trailing space to prompt string.
  2108. * config/i386/xm-i386sco.h (HAVE_STRSTR): Removed.
  2109. * config/i386/xm-go32.h, mswin/xm.h (SYS_SIGLIST_MISSING):
  2110. Removed.
  2111. * defs.h, config/{xm-lynx.h, xm-nbsd.h},
  2112. config/i386/{xm-i386bsd.h, xm-linux.h},
  2113. config/m68k/xm-hp300bsd.h, config/mips/xm-irix4.h,
  2114. config/ns32k/xm-ns32km3.h, doc/gdbint.texinfo
  2115. (PSIGNAL_IN_SIGNAL_H): Removed.
  2116. Tue May 16 13:16:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  2117. * Makefile.in (Makefile): Added config.status to dependency list.
  2118. * configure.in: Added INIT-CMDS argument to AC_OUTPUT which sets
  2119. gdb_host_cpu, gdb_target_cpu and nativefile.
  2120. * configure: regenerated.
  2121. Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2122. * mdebugread.c (parse_symbol): Do not relocate stBlock/scText
  2123. symbols, their value is the displacement from the procedure address.
  2124. * top.c (init_main): Add missing newlines to help strings for
  2125. `if' and `while' commands, fix help string for `show commands'.
  2126. Mon May 15 18:37:56 1995 Stu Grossman (grossman@cygnus.com)
  2127. * breakpoint.c: Move defaults of watchpoint related macros into
  2128. target.h. Use BP_TEMPFLAG and BP_HARDWAREFLAG instead of
  2129. constants.
  2130. * infrun.c (wait_for_inferior): Enhance comment near
  2131. STOPPED_BY_WATCHPOINT.
  2132. * target.h: Macros from breakpoint.c.
  2133. Mon May 15 17:11:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  2134. * config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
  2135. config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
  2136. mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
  2137. out by autoconf.
  2138. * config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
  2139. * Makefile.in, configure.in: Converted to use autoconf
  2140. * aclocal.m4: New file, local autoconf macro definitions.
  2141. * configure: New file, generated with autoconf 2.3.
  2142. Mon May 15 14:46:41 1995 Stan Shebs <shebs@andros.cygnus.com>
  2143. * remote.c (remote_kill): Add prototype.
  2144. * cpu32bug-rom.c (cpu32bug_open): Properly define as static.
  2145. * config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.
  2146. Mon May 15 12:12:34 1995 Stu Grossman (grossman@cygnus.com)
  2147. * sparclite/salib.c (win_ovf win_unf): Make window size constant
  2148. into a variable (__WINSIZE) so that it can be controlled via the
  2149. .h file.
  2150. * sparclite/sparclite.h: Add SL933 #ifdef to set __WINSIZE to 6
  2151. for the 933 board.
  2152. * infrun.c: Add #ifdef HP_OS_BUG to all references to
  2153. trap_expected_after_continue.
  2154. * (wait_for_inferior): Fix for remote watchpoints. Don't try to
  2155. insert breakpoints while target is running (this only works on
  2156. *some* native targets). This may also speed up native watchpoints
  2157. considerably.
  2158. Sat May 13 13:55:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2159. * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
  2160. mdebugread.c (struct symloc), hpread.c (struct symloc),
  2161. xcoffread.c (struct symloc): Fix inaccurate comment introduced
  2162. 20 Apr 1995.
  2163. Sat May 13 13:34:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
  2164. * rs6000-tdep.c (find_toc_address): Revise comment.
  2165. * symfile.c, symfile.h (init_psymbol_list): New function;
  2166. consolidate duplicated copies from os9kread.c, dbxread.c
  2167. and dwarfread.c.
  2168. * defs.h: Declare info_verbose.
  2169. * xcoffread.c: Extensive changes to support psymtabs.
  2170. Fri May 12 13:48:41 1995 Stu Grossman (grossman@andros.cygnus.com)
  2171. * cpu32bug-rom.c remote-est.c rom68k-rom.c: Update line_term element.
  2172. Fri May 12 06:39:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2173. * partial-stab.h: Expand comments.
  2174. Thu May 11 19:01:37 1995 Jeff Law (law@snake.cs.utah.edu)
  2175. * Support debugging using native MACH primitives on hppa*-*-osf*.
  2176. * configure.in: hppa*-*-osf* != hppa*-*-bsd* anymore.
  2177. * config/pa/hppaosf.mh: New file.
  2178. * config/pa/nm-hppao.h: Likewise.
  2179. * hppam3-nat.c: Likewise.
  2180. * config/pa/tm-hppao.h (PSW_SS): Define for single-stepping.
  2181. (MACHINE_CPROC_*_OFFSET): Define.
  2182. (TRACE_*): Define.
  2183. (START_INFERIOR_TRAPS_EXPECTED): Delete definition.
  2184. Wed May 10 18:59:26 1995 Stu Grossman (grossman@andros.cygnus.com)
  2185. * hppa-tdep.c (read_unwind_info): Cosmetic cleanup.
  2186. * (unwind_command): Clean it up and make it print things out
  2187. nicer.
  2188. * monitor.c: Add ^C handling capability (mostly ripped off from
  2189. remote.c).
  2190. * (monitor_printf): Make it check the command echo.
  2191. * (monitor_printf_noecho): Similar to above, but doesn't check
  2192. for echo.
  2193. * (monitor_stop): No longer waits for prompt. That is the job of
  2194. the caller. This makes things work much better for monitor_wait,
  2195. which waits for the prompt itself.
  2196. * (monitor_open): Deal with new monitor_stop semantics. Also,
  2197. flush input after sending init strings to get rid of junk that may
  2198. be output. Also, don't always send \r to remote. Use
  2199. monitor_ops->line_term cuz proper character isn't always \r.
  2200. * (monitor_fetch_register): Switch to completely different
  2201. algorithm to deal with lame-ass monitors which put spaces in the
  2202. middle of numbers, and prompt with a space!!!!!
  2203. * (monitor_read_memory_single): New routine to be used with
  2204. monitors that can only return one byte/short/long at a time. This
  2205. is selected via MO_GETMEM_READ_SINGLE.
  2206. * (monitor_load_srec): Use monitor_printf_noecho for sending S
  2207. records. Most targets don't echo them.
  2208. * (monitor.h): Get rid of cmd_delim. Add line_delim.
  2209. * op50n-rom.c (op50n_cmds): Fill it up. Make it work.
  2210. * w89k-rom.c: Change all eols from \r to \n. Change load_resp to
  2211. ^Q to prevent error message.
  2212. * config/pa/tm-hppa.h (CALL_DUMMY (for hppro)): Add special
  2213. instruction sequence at end to make restore_pc_queue happy.
  2214. Wed May 10 15:59:00 1995 Torbjorn Granlund <tege@adder.cygnus.com>
  2215. * remote-est.c (est_open): Make static to match prototype.
  2216. Tue May 9 16:58:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  2217. * configure.in: Add little endian PowerPC support.
  2218. * config/powerpc/ppcle-eabi.mt: New file for little endian PowerPC
  2219. support.
  2220. * config/powerpc/tm-ppcle-eabi.h: ditto.
  2221. Mon May 8 12:11:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  2222. * nlm/configure.in (gdb_host, gdb_host_cpu, gdb_target): Removed.
  2223. These variables not used.
  2224. * config/m68k/monitor.mt (TDEPFILES): Added cpu32bug-rom.o.
  2225. Wed May 3 17:54:47 1995 Stan Shebs <shebs@andros.cygnus.com>
  2226. * monitor.c (monitor_command): Don't use PROMPT until monitor
  2227. target is known to be open.
  2228. (monitor_make_srec): Don't define size of hextab.
  2229. Tue May 2 18:32:24 1995 Stan Shebs <shebs@andros.cygnus.com>
  2230. * configure.in (--enable-netrom): New configuration option.
  2231. * Makefile.in (REMOTE_OBS): Rename from REMOTE_O, append
  2232. value of NETROM_OBS.
  2233. (NETROM_OBS): New variable.
  2234. * remote-nrom.c: New file, NetROM target support.
  2235. * config/a29k/a29k-udi.mt, config/i960/vxworks960.mt: Use
  2236. REMOTE_OBS instead of REMOTE_O.
  2237. * config/arc/arc.mt: Ditto.
  2238. Fri Apr 28 23:30:00 1995 Stu Grossman (grossman@cygnus.com)
  2239. * array-rom.c (_initialize_array array_open): Move baud_rate
  2240. initialization from _initxxx to array_open to fix bug with
  2241. overriding -b command line option.
  2242. Thu Apr 27 20:29:34 1995 Doug Evans <dje@canuck.cygnus.com>
  2243. * Makefile.in (RUNTEST): Fix reference of `srcdir'.
  2244. Wed Apr 26 19:01:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
  2245. * remote-hms.c: Rewrite to use new monitor conventions.
  2246. Tue Apr 25 11:27:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2247. * dbxread.c: Add comment explaining lowest_text_address.
  2248. Add comment regarding stringtab_global and psymtabs.
  2249. Sat Apr 22 01:26:29 1995 Jeff Law (law@snake.cs.utah.edu)
  2250. * config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix.
  2251. * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
  2252. handle "short", "int" and small structures returned in registers.
  2253. Fri Apr 21 12:57:53 1995 Kung Hsu <kung@mexican.cygnus.com>
  2254. * minsyms.c: add new function lookup_minimal_symbol_text, to look
  2255. for text symbol only.
  2256. * breakpoint.c (create_longjmp_breakpoint): call
  2257. lookup_minimal_symbol_text instead of lookup_minimal_symbol.
  2258. * symtab.h: add lookup_minimal_symbol_text prototype.
  2259. Fri Apr 21 12:03:44 1995 Stan Shebs <shebs@andros.cygnus.com>
  2260. * sh-tdep.c (sh-opc.h): Don't include.
  2261. (gdbcore.h): Include.
  2262. (frame_find_saved_regs): Remove unused local.
  2263. Thu Apr 20 10:12:21 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2264. * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
  2265. mdebugread.c (struct symloc), hpread.c (struct symloc): Clean
  2266. up comments.
  2267. Wed Apr 19 16:58:11 1995 Stu Grossman (grossman@andros.cygnus.com)
  2268. * hppa-tdep.c (deposit_17): New routine to deposit 17 bit
  2269. constants into PA instructions.
  2270. * Put #ifdefs around all signal handling code. Not generally
  2271. needed for embedded boards.
  2272. * (hppa_fix_call_dummy): Parameterize offsets into call dummy to
  2273. allow different dummys to be used by this code. Use
  2274. INSTRUCTION_SIZE instead of REGISTER_SIZE for things.
  2275. Conditionalize setup of _sr4export fixup. Improve comments.
  2276. * config/pa/tm-hppa.h: Define INSTRUCTION_SIZE. Use a different
  2277. call dummy if PA_LEVEL_0 is defined. Better comments for call
  2278. dummys. Define offsets for LDIL/LDO instructions which load
  2279. function addresses.
  2280. * config/pa/tm-pro.h: Get rid of signal handling stuff. Define
  2281. PA_LEVEL_0 to disable mucking with space regs and such.
  2282. Mon Apr 17 15:37:08 1995 Stu Grossman (grossman@andros.cygnus.com)
  2283. * cpu32bug-rom.c monitor.h op50-rom.c remote-est.c rom68k-rom.c
  2284. w89k-rom.c: Remove loadtypes, loadprotos and baudrates.
  2285. * op50-rom.c: Fix copyrights and add load routine to op50n_cmds.
  2286. * rom68k-rom.c (_initialize_rom68k): Don't set baud rate.
  2287. * w89k-rom.c: Fix copyrights.
  2288. Sun Apr 16 14:00:55 1995 Stu Grossman (grossman@andros.cygnus.com)
  2289. * monitor.c: Move all xmodem stuff into xmodem.[ch]. Remove
  2290. unnecessary remoteloadprotocol and remoteloadtype support.
  2291. * (expect expect_prompt): Change names to monitor_expect and
  2292. monitor_expect_prompt. Make them global.
  2293. * (printf_monitor): Change name to monitor_printf. Make global.
  2294. * (monitor_read_memory): Flush command echo to avoid parsing
  2295. ambiguity with CPU32Bug monitor.
  2296. * (monitor_load): Remove remoteloadprotocol and remoteloadtype
  2297. support. Call target_ops->load_routine, default to
  2298. monitor_load_srec.
  2299. * (monitor_load_srec): Remove everything but S-record support.
  2300. * monitor.h (monitor_ops): Add load_routine to provide monitor
  2301. specific download capability.
  2302. * remote-est.c: Clean up copyrights and comments.
  2303. * w89k-rom.c: Use new xmodem support.
  2304. * xmodem.c xmodem.h: New files to support xmodem downloads.
  2305. * rom68k-rom.c remote-est.c: Fix copyrights, add load_routine
  2306. entry to monitor_ops.
  2307. * cpu32bug-rom.c: New file to support Moto BCC debuggers.
  2308. * config/m68k/est.mt (TDEPFILES): Add cpu32bug.o.
  2309. * config/pa/hppapro.mt (TDEPFILES): Add xmodem.o.
  2310. Sat Apr 15 18:00:15 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2311. * rem-multi.shar: Removed; superceded by gdbserver.
  2312. Fri Apr 14 12:10:24 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
  2313. * xcoffread.c (xcoff_sym_fns): Revise comment about merging this
  2314. with coffread.c.
  2315. * breakpoint.c (fixup_breakpoints): Removed.
  2316. * rs6000-nat.c (vmap_symtab): Don't call fixup_breakpoints.
  2317. (vmap_ldinfo, xcoff_relocate_core): Call breakpoint_re_set.
  2318. * coffread.c (coff_symfile_offsets): Allocate SECT_OFF_MAX
  2319. sections, not just SECT_OFF_MAX-1.
  2320. * rs6000-nat.c (vmap_symtab), xcoffread.c: Re-do section offsets
  2321. to be indexed by SECT_OFF_* instead of xcoff section numbers.
  2322. * objfiles.c, remote.c: Remove comments regarding SECT_OFF_*.
  2323. * symtab.h: Revise comment about block_line_section.
  2324. * rs6000-nat.c (vmap_symtab): Don't relocate objfile->sections.
  2325. Sat Apr 15 14:15:14 1995 Stan Shebs <shebs@andros.cygnus.com>
  2326. * mpw-make.in (init.c): Don't try to do symbolic {o} in sed
  2327. command, not allowed by some version of MPW Make.
  2328. * ser-mac.c (mac-setbaudrate): Make it actually set baud rates.
  2329. Sat Apr 15 14:05:09 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2330. * alpha-tdep.c (alpha_push_arguments): Fix typo (TYPE_VALUE ->
  2331. VALUE_TYPE). Do the cast for TYPE_CODE_BOOL, TYPE_CODE_CHAR,
  2332. TYPE_CODE_ENUM, and TYPE_CODE_RANGE as well as TYPE_CODE_INT.
  2333. Sat Apr 15 14:04:32 1995 Per Bothner <bothner@cygnus.com>
  2334. * alpha-tdep.c (alpha_push_arguments): Only cast to long for
  2335. TYPE_CODE_INT.
  2336. Thu Apr 13 16:17:04 1995 Rob Savoye <rob@darkstar.cygnus.com>
  2337. * remote-array.c: New file for Array Tech LSI33k based controller
  2338. board.
  2339. Thu Apr 13 12:23:31 1995 Kung Hsu <kung@rtl.cygnus.com>
  2340. * a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with
  2341. extract_address.
  2342. * remote-vxsparc.c: New file, preliminary check in, this configuration
  2343. not supported yet.
  2344. * remote-vxmips.c: ditto.
  2345. Thu Apr 13 12:10:14 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  2346. * rs6000-tdep.c (xcoff_add_toc_to_loadinfo): Don't use a prototype
  2347. to declare the function.
  2348. Wed Apr 12 16:40:20 1995 Stan Shebs <shebs@andros.cygnus.com>
  2349. * monitor.h (init_monitor_ops): Declare.
  2350. * rom68k-rom.c: Clarify some comments.
  2351. (rom68k_open): Define as static, to match decl.
  2352. Wed Apr 12 16:36:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2353. * gdb.gdb: New file.
  2354. * .gdbinit: Move list-objfiles to gdb.gdb.
  2355. * values.c (set_internalvar): Set modifiable flag of newval.
  2356. Wed Apr 12 14:34:31 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
  2357. * xcoffread.c: Call complain() rather than error() or printing a
  2358. warning.
  2359. Wed Apr 12 08:15:27 1995 Doug Evans <dje@canuck.cygnus.com>
  2360. * arc-tdep.c: #include "gdbcmd.h".
  2361. (codestream_seek): Pass CORE_ADDR.
  2362. (arc_cpu_type, tmp_arc_cpu_type, arc_cpu_type_table): New globals.
  2363. (debug_pipeline_p): Likewise.
  2364. (X_...): Instruction field access macros.
  2365. (BUILD_INSN): Define.
  2366. (codestream_tell): Allow for stream elements > 1 byte.
  2367. (codestream_fill): Likewise.
  2368. (setup_prologue_scan): New function.
  2369. (arc_get_frame_setup): Call it. Update to current spec
  2370. regarding prologues. Use BUILD_INSN.
  2371. (skip_prologue): New argument `frameless_p'. Use BUILD_INSN.
  2372. (arc_frame_saved_pc): New function.
  2373. (frame_find_saved_regs): Use BUILD_INSN.
  2374. (get_insn_type, single_step): New functions.
  2375. (one_stepped): New global.
  2376. (arc_set_cpu_type_command, arc_show_cpu_type_command): New functions.
  2377. (arc_set_cpu_type): New function.
  2378. (_initialize_arc_tdep): Define new `set' commands `cpu',
  2379. `displaypipeline', and `debugpipeline'.
  2380. * arc/tm-arc.h (TARGET_BYTE_ORDER): Delete.
  2381. (TARGET_BYTE_ORDER_SELECTABLE): Define.
  2382. (DEFAULT_ARC_CPU_TYPE): Define.
  2383. (SKIP_PROLOGUE_FRAMELESS_P): Define.
  2384. (BREAKPOINT): Delete.
  2385. (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Define.
  2386. (DECR_PC_AFTER_BREAK): Change to 8.
  2387. (NO_SINGLE_STEP): Define.
  2388. (ARC_PC_TO_REAL_ADDRESS): Define.
  2389. (SAVED_PC_AFTER_CALL): Use it.
  2390. (NUM_REGS, REGISTER_BYTES): Fix.
  2391. (FRAME_SAVED_PC): Call arc_frame_saved_pc.
  2392. (FRAME_LOCALS_ADDRESS): Fix.
  2393. Tue Apr 11 16:42:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2394. * top.c, utils.c, defs.h: Remove error_hook. It is currently
  2395. unused and would need to hook into error_begin()/return_to_top_level(),
  2396. instead of error(), if it were to be used.
  2397. Tue Apr 11 13:46:25 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
  2398. * utils.c, defs.h (warning_begin): Renamed from warning_setup, for
  2399. consistency with error_begin. Also print warning_pre_print.
  2400. Document it better.
  2401. * utils.c (warning): Use it.
  2402. * utils.c (error_begin): Doc fix.
  2403. * rs6000-nat.c (vmap_ldinfo): If we don't find ldinfo for the
  2404. symfile_objfile, nuke it.
  2405. Tue Apr 11 09:35:20 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2406. * printcmd.c (print_address_numeric): Pass use_local to
  2407. print_longest, rather than always passing 1.
  2408. * nlm/Makefile.in: Remove comments discussing munch.
  2409. Mon Apr 10 18:31:57 1995 Stan Shebs <shebs@andros.cygnus.com>
  2410. Merge in support for Mac MPW as a host.
  2411. (Old change descriptions retained for informational value.)
  2412. * mpw-config.in (i386-unknown-go32): Change from aout.
  2413. (sh-hitachi-hms): New target.
  2414. * mpw-make.in (BISON): Use byacc instead of bison.
  2415. (VERSION): Bump to 4.14.1.
  2416. (*-pinsn.*): Remove mentions everywhere.
  2417. (all): Don't build MacGDB.
  2418. (gdb, SiowGDB): Depend on Version.r.
  2419. (Version.r): Generate from version info.
  2420. * main.c (main): Pass program name to START_PROGRESS, END_PROGRESS.
  2421. (main) [MPW]: Remove debugging hook.
  2422. * mac-xdep.c (debug_openp): New flag.
  2423. (mac_init): Set flag if env variable defined.
  2424. * ser-mac.c (mac_open): Clarify error message.
  2425. (mac_readchar): Call PROGRESS while looping.
  2426. (mac_write): Call sleep instead of sec_sleep.
  2427. (sec_sleep): Remove.
  2428. * source.c (openp) [MPW]: Only print debugging info if debugging.
  2429. * utils.c (query) [MPW]: Clarify that behavior is a bug.
  2430. * mpw-make.in (init.c): Use open-brace instead of mpw-open-brace.
  2431. * main.c, source.c: Remove hacks that replace long strings
  2432. with shorter ones, now solved portably.
  2433. * config/m68k/xm-mpw.h (spin.h): Include.
  2434. (ALMOST_STDC): Only define if MPW_C.
  2435. * config/m68k/tm-mac.h: New file, Mac target definitions.
  2436. * mpw-config.in (m68k-apple-macos, ppc-apple-macos,
  2437. i386-unknown-aout): New targets.
  2438. (mk.tmp): Add *DEPFILES definitions.
  2439. * mpw-make.in: Remove gC rules, clean up definitions for other
  2440. include files, bump version, fix bogus \ that should be \Option-d.
  2441. (init.c): Build correctly.
  2442. * mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h
  2443. (ALLDEPFILES): Add somsolib.c.
  2444. (somsolib.o): Add some dependencies.
  2445. * mpw-config.in: Use nm-empty.h if host is not target.
  2446. (xdepfiles): Add mac-xdep.c.o.
  2447. (xm_file): Remove.
  2448. * mpw-make.in: Add Fortran files.
  2449. (XDEPFILES): Remove.
  2450. * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.
  2451. * ser-mac.c (MacSerial.h): Include instead of Serial.h.
  2452. * mpw-make.in: Use {s} instead of {srcdir} everywhere.
  2453. (bindir, libdir): Remove extra colon.
  2454. (source.c): Compile with C instead of gC.
  2455. (c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}.
  2456. (install-only): Don't install MacGDB.
  2457. * source.c (openp) [MPW]: Add a debugging display.
  2458. (open_source_file) [MPW]: Use MPW basename finders.
  2459. [MPW_C]: Briefer versions of help for line and list commands.
  2460. * mpw-make.in: Change references from paread.c to somread.c
  2461. * mpw-make.in (VERSION): Update to 4.12.3.
  2462. (SiowGDB): New target, GDB using SIOW library.
  2463. (init-new.c): New target, attempt to generate init.c from sources.
  2464. (main.c.o, top.c.o): Put each in its own segment.
  2465. * main.c (main) [MPW]: Always call mac_init.
  2466. * utils.c (query) [MPW]: Always return "yes" if in MacGDB, output
  2467. an extra newline otherwise.
  2468. * mac-xdep.c: More comments in various places, remove junk.
  2469. (mac_init): Add tests for MPW and SIOW.
  2470. (use_wne, has_color_qd): Renamed.
  2471. (use_color_qd): New variable.
  2472. (grow_window): Only do console resizing to console window,
  2473. call resize_console_window.
  2474. (zoom_window): Call resize_console_window.
  2475. (resize_console_window, scroll_text): New functions.
  2476. (adjust_console_sizes): Always align viewrect to even multiples of
  2477. text lines.
  2478. (adjust_console_text): Always scroll by whole lines.
  2479. (hacked_vfprintf, hacked_puts, hacked_fputc, hacked_putc): Force a
  2480. recalculation of scroll positions if a newline was output.
  2481. (hacked_fflush): Similarly, for flushing.
  2482. (hacked_fgetc): New function, aborts if called in MacGDB.
  2483. * ser-mac.c (mac_readchar): Rename starttime to start_time,
  2484. remove debugging printf.
  2485. (mac_write): Sleep on first 4 writes.
  2486. (sec_sleep): New function, works like standard sleep.
  2487. * macgdb.r: Adjust positioning and contents of About box.
  2488. Set minimum size to 2000K, preferred size to 5000K.
  2489. * config/m68k/xm-mpw.h (fgetc): Define as a macro.
  2490. * mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_.
  2491. (top.c.o, annotate.c.o): Add build rules.
  2492. * macgdb.r (SysTypes.r): Include.
  2493. ('vers'): New resource, version info.
  2494. (mFile, mEdit, mDebug): Enable all menu items.
  2495. (mDebug): Add key equivalents for continue, step, next.
  2496. (wConsole): Add zoom and close boxes to window.
  2497. * mac-xdep.c (new_console_window): New function, code taken from
  2498. mac_init.
  2499. (mac_command_loop): Use GetCaretTime for wait interval, call
  2500. do_idle on null events.
  2501. (do_idle): New function.
  2502. (zoom_window): Implement zooming.
  2503. (v_scroll_proc): New function, handles vertical scrolling.
  2504. (activate_window): Do activation of console window.
  2505. (do_menu_command): Implement items of file, edit, and debug menus.
  2506. (do_keyboard_command): Fix command extraction.
  2507. (adjust_console_sizes, adjust_console_text): New functions.
  2508. (hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc,
  2509. hacked_putc): Don't call draw_console.
  2510. * ser-mac.c (mac_open): Add an error message for invalid ports.
  2511. (first_mac_write): New global.
  2512. (mac_write): Use first_mac_write to sleep on first several writes.
  2513. * mpw-make.in (INCLUDE_CFLAGS): Add readline source dir.
  2514. (READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment.
  2515. (TSOBS): Don't compile inflow.c.
  2516. (all, install): Add MacGDB.
  2517. * main.c (main): Do Mac-specific init and command loop if a
  2518. standalone app, skip full option help message if compiling
  2519. with MPW C.
  2520. (gdb_readline): If MPW, add a newline after the (gdb) prompt.
  2521. * utils.c (_initialize_utils): If MPW, don't try to use termcap to
  2522. compute the window size.
  2523. * config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc,
  2524. fflush): Define as macros that expand into hacked_... versions.
  2525. (StandAlone, mac_app): Declare.
  2526. * macgdb.r (SIZE): Set the default partition to 4000K.
  2527. * mac-xdep.c (readline.h, history.h): Include.
  2528. (terminal.h): Don't include.
  2529. (mac_app): Define.
  2530. (gdb_has_a_terminal): Define Mac-specific version.
  2531. (do_keyboard_command): Simplify search for command string.
  2532. (readline): Define as gdb_readline.
  2533. Add other history/readline stubs to make main gdb link.
  2534. (hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs,
  2535. hacked_fputc, hacked_fflush): New functions, intercept output to
  2536. stdout and stderr, send to console window.
  2537. * mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb.
  2538. (XDEPFILES): Define.
  2539. (main.c.o): Compile with gC instead of C.
  2540. * mac-defs.h: New file, menu etc definitions shared between
  2541. C and Rez files.
  2542. * macgdb.r: New file, Rez (resource compiler) resource
  2543. definitions.
  2544. * mac-xdep.c: New file, Mac host interface code.
  2545. * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to
  2546. DIRNAME_SEPARATOR.
  2547. (PATHNAME_SEPARATOR_STRING): Remove.
  2548. (SIGQUIT, SIGHUP): Define.
  2549. (fileno, R_OK): Define.
  2550. * mpw-config.in: New file, MPW configuration fragment.
  2551. * mpw-make.in: New file, MPW makefile fragment.
  2552. * config/m68k/xm-mpw.h: New file, MPW host definitions.
  2553. * ser-mac.c: New file, Mac serial interface.
  2554. Mon Apr 10 16:47:57 1995 Kung Hsu <kung@mexican.cygnus.com>
  2555. * valprint.c (print_longest): Fix a syntax error in #ifdef
  2556. PRINTF_HAS_LONG_LONG.
  2557. * config/mips/xm-irix5.h: turn on CC_HAS_LONG_LONG and
  2558. PRINTF_HAS_LONG_LONG.
  2559. * config/mips/tm-irix5.h: turn on FORCE_LONG_LONG.
  2560. Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2561. * mdebugread.c (parse_symbol): Use new variable
  2562. nodebug_var_symbol_type as type of variables which don't have any
  2563. ecoff debug info associated with them.
  2564. (parse_symbol, parse_procedure): Use heuristics to determine if
  2565. functions were compiled without debugging info and change their
  2566. type to nodebug_function_symbol_type.
  2567. (_initialize_mdebugread): Initialize nodebug_*_symbol_type.
  2568. * source.c (line_info): Clear sal.pc for `info line' without
  2569. arguments.
  2570. Fri Apr 7 17:43:01 1995 Stu Grossman (grossman@andros.cygnus.com)
  2571. * monitor.c: make_xmodem_packet and print_xmodem_packet go away.
  2572. send_xmodem_packet shows up to do the obvious. Lots of fixes to
  2573. xmodem downloads including resetting of block number at start of
  2574. new transfers, fix for buffer overrun problem, addition of CRC
  2575. generation code.
  2576. * (monitor_open): loadtype_str and loadproto_str now default to
  2577. first entry in monitor_ops->loadtypes.
  2578. * (monitor_wait): Lengthen register dump buf, because of verbose
  2579. Winbond monitor.
  2580. * (monitor_fetch_register): Report unimplemented registers as 0.
  2581. * (monitor_read_memory): Only do 16 byte aligned transfers
  2582. because of formatting weirdness with the Winbond monitor. Also,
  2583. ignore non-hex, non-whitespace formatting between bytes (same
  2584. monitor).
  2585. * (monitor_load): Clean up logic.
  2586. * (monitor_load_srec): Re-do xmodem support. Move lots of it
  2587. into send_xmodem_packet.
  2588. * (getacknak): Get rid of polls and timeouts. Handle CRC
  2589. requests from receiver.
  2590. * (monitor_make_srec): Efficiency improvements. Don't call
  2591. sprintf to output two digit hex numbers.
  2592. * (crcinit, docrc): New, CRC-16 support routines.
  2593. * (send_xmodem_packet): New routine to generate either CRC-16 or
  2594. checksummed xmodem packets.
  2595. * remote-est.c (est_loadtypes), rom68k-rom.c (rom68k_loadtypes):
  2596. Reduce tables down to only the load types supported by each
  2597. monitor.
  2598. * w89k-rom.c (w89k_supply_register): Parses output of Winbond
  2599. register dumps.
  2600. * (w89k_loadtypes, w89k_loadprotos): Reduce to just srec/xmodem.
  2601. * (w89k_cmds): Add clear all breakpoints, memory fill, and dump
  2602. registers commands.
  2603. * config/pa/tm-hppa.h: Define lots register offsets needed by
  2604. w89k-rom.c.
  2605. Thu Apr 6 17:00:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  2606. * Makefile.in (X11_INCLUDES): Define as empty.
  2607. (X11_CFLAGS): Define as including $(X11_INCLUDES).
  2608. (X11_LIB_SWITCHES): Define as empty.
  2609. (X11_LIBS): Define as -lX11.
  2610. Wed Apr 5 19:57:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2611. * mips-tdep.c (mips_print_register): Remove unused variable
  2612. our_type and call to init_type. Fixes memory leak. Reindent function.
  2613. * mips-tdep.c (mips_print_register), findvar.c
  2614. (write_register_bytes): Make buffer char[] instead of unsigned
  2615. char[].
  2616. Mon Apr 3 19:28:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2617. * top.c, utils.c, main.c, defs.h: Replace error_pre_print with two
  2618. variables: error_pre_print (for RETURN_ERROR) and quit_pre_print
  2619. (for RETURN_QUIT). Fixes a bug whereby typing ^C (e.g. in "maint
  2620. print sym") could output extraneous stuff.
  2621. * objfiles.c: Don't declare error_pre_print; defs.h does it.
  2622. Mon Apr 3 13:48:28 1995 Stu Grossman (grossman@andros.cygnus.com)
  2623. * monitor.h: Add MO_GETMEM_NEEDS_RANGE flag.
  2624. * monitor.c (monitor_read_memory): Use previously mentioned flag
  2625. to send proper format memory examine commands to the w89k monitor.
  2626. Also, try to handle bizarre format of memory dump...
  2627. * op50-rom.c w89k-rom.c: Update to new monitor.[ch] conventions.
  2628. Sat Apr 1 03:22:20 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2629. * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
  2630. Handle relocated symbol address.
  2631. * partial-stab.h, case N_SO, SOFUN_ADDRESS_MAYBE_MISSING:
  2632. Do not relocate a zero address.
  2633. Thu Mar 30 19:46:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2634. * config/a29k/tm-a29k.h: Nuke obsolete define CONTROL_END_ADDR; it
  2635. is nowhere used.
  2636. * stabsread.c (read_range_type): Remove FIXME comment about
  2637. type-id (I presume this meant a number followed by = followed by a
  2638. type) versus type number; Per fixed it.
  2639. Wed Mar 29 09:56:04 1995 Jason Molenda (crash@phydeaux.cygnus.com)
  2640. * configure.in: sparc-*-sunos5* is same as sparc-*-solaris2*.
  2641. Wed Mar 29 18:30:03 1995 Stan Shebs <shebs@andros.cygnus.com>
  2642. * remote-e7000.c (why_stop): Add new kinds of strings to expect
  2643. from the emulator.
  2644. (e7000_wait): Add interpretations for more stop reasons,
  2645. including warnings for write protect and cycle address errors.
  2646. Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
  2647. * monitor.c monitor.h remote-est.c rom68k-rom.c: Add start of
  2648. support for interrupting target.
  2649. * monitor.c (monitor_open): Send stop command before doing
  2650. anything else.
  2651. * (monitor_load_srec): Fix record size calculation to prevent end
  2652. of segment from getting trashed.
  2653. * rom68k-rom.c: Update to latest version of struct monitor_ops.
  2654. * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Fix byte-order
  2655. problems. Makes DOS hosted function calling work.
  2656. * sparclite/crt0.s: Define _start to make COFF happy.
  2657. Wed Mar 29 09:11:51 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  2658. * defs.h (atof): Don't provide an external declaration if atof is
  2659. a macro.
  2660. Wed Mar 29 00:01:07 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2661. * rs6000-tdep.c (skip_prologue): Skip saving of LR and CR in
  2662. the stack frame, fix typos in `st rx,NUM(r1)' and `stu r1,NUM(r1)'
  2663. tests.
  2664. Tue Mar 28 17:04:04 1995 Per Bothner <bothner@kalessin.cygnus.com>
  2665. * gdbtypes.c (create_range_type): If indextype has TYPE_FLAG_STUB
  2666. set, set TYPE_FLAG_TARGET_STUB.
  2667. (check_stub_type): Recalculate TYPE_LENGTH for range type.
  2668. * stabsread.c (read_range_type): If index type number is followed
  2669. by '=', back up, call read_type. and assume we have a true range.
  2670. * gdbtypes.h (TYPE_FLAG_TARGET_STUB): Update comment.
  2671. Mon Mar 27 22:51:54 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2672. * alpha-nat.c, irix4-nat.c, irix5-nat.c, mipsv4-nat.c,
  2673. sparc-tdep.c (supply_gregset, supply_fpregset): Fill inaccessible
  2674. registers with zero to handle recent read_register_bytes change.
  2675. * irix4-nat.c, irix5-nat.c, mipsv4-nat.c (supply_gregset,
  2676. fill_gregset): Fix handling of CAUSE_REGNUM.
  2677. * mips-nat.c (store_inferior_registers): Handle unwritable
  2678. registers when storing a single register.
  2679. * config/mips/tm-irix3.h (CAUSE_REGNUM, BADVADDR_REGNUM):
  2680. Fix definitions.
  2681. * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Clear
  2682. allocated mips_extra_func_info, if the debug info is corrupt,
  2683. the PDR to fill it in might be missing.
  2684. Mon Mar 27 14:43:00 1995 Kung Hsu <kung@mexican.cygnus.com>
  2685. * vx-share/regPacket.h: a new file interfacing with vxworks.
  2686. Sun Mar 26 13:22:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2687. * breakpoint.c (bpstat_do_actions): Once we've executed the
  2688. commands, set bs->commands to NULL.
  2689. Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2690. * buildsym.c (patch_subfile_name): Update last_source_file
  2691. with the real source file name.
  2692. * dbxread.c (end_psymtab): Handle static functions in the
  2693. SOFUN_ADDRESS_MAYBE_MISSING case by passing pst->filename
  2694. to lookup_minimal_symbol.
  2695. (process_one_symbol): Ignore extra outermost context from
  2696. SunPRO cc and acc.
  2697. * stabsread.c (define_symbol): Do not complain for SunPRO
  2698. static variable encoding if STATIC_TRANSFORM_NAME is defined.
  2699. * sparc-tdep.c, config/sparc/tm-sun4sol2.h
  2700. (sunpro_static_transform_name): Renamed from
  2701. solaris_static_transform_name.
  2702. * config/sparc/tm-sun4os4.h (STATIC_TRANSFORM_NAME):
  2703. Define to sunpro_static_transform_name for acc 3.0 compiled
  2704. executables.
  2705. * procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS):
  2706. Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults
  2707. if defined.
  2708. * procfs.c (info_proc_siginfo): Cast sip->si_addr to
  2709. `unsigned long' and use `lx' format for printing it.
  2710. Fri Mar 24 15:45:42 1995 Stu Grossman (grossman@cygnus.com)
  2711. * configure.in: Move test for m68*-est-* before m68*-*-coff*.
  2712. * findvar.c: Move default def of CANNOT_STORE_REGISTER closer to
  2713. the beginning of the code.
  2714. * (write_register_gen): New routine. Analogous to
  2715. read_register_gen.
  2716. * (write_register_bytes): Another rewrite! Make it smarter about
  2717. not updating regs with the same value.
  2718. * monitor.c (printf_monitor readchar): Use stderr instead of
  2719. stdout to output debug info. Also cleanup readchar a little.
  2720. * (expect): Make sure that excessive responses are null
  2721. terminated.
  2722. * (monitor_open): Check for magic number in monitor_ops struct.
  2723. Allow multiple commands as init strings. Also, clear all
  2724. breakpoints.
  2725. * (monitor_resume monitor_wait): Send a command to dump all the
  2726. regs for those targets which don't do so when waking up after a
  2727. continue command.
  2728. * (monitor_wait): Handle excessive response output better.
  2729. * (monitor_write_memory): Use block fill, word, and long word
  2730. commands (if they exist) to write memory more efficiently.
  2731. * General cleanups to use flag bits instead of individual flag
  2732. words in monitor_ops struct.
  2733. * (monitor_command): Return output from command.
  2734. * (monitor_load_srec): Allocate buffer only once. Use alloca.
  2735. Wait for load response string instead of using a timeout to start
  2736. sending S-records. Fix bug where value of srec_frame shrinks. If
  2737. hashmark is set, print `-' for retransmissions. General cleanups.
  2738. * (monitor_make_srec): Get rid of S-record default type kludge.
  2739. * monitor.h: Use seperate struct for memory and register
  2740. read/write commands. Memory commands can come in byte, word,
  2741. long, and longlong forms.
  2742. * (monitor_ops): Change lots of fields. Generalize some stuff.
  2743. Put all flags into flags word. Allow init to be a list of commands.
  2744. Add command for clearing all breakpoints, block fill, dumping all
  2745. registers.
  2746. * remote-est.c: Rewrite to use new monitor conventions.
  2747. * config/m68k/est.mt (TDEPFILES): Add monitor.o.
  2748. * config/m68k/tm-est.h: Set NUM_REGS to 18.
  2749. Thu Mar 23 23:20:00 1995 Jeff Law (law@snake.cs.utah.edu)
  2750. * somsolib.c (som_solib_add): Handle case where a shared library
  2751. referenced by a core file has sections without the SEC_ALLOC bit
  2752. set (eg stabs sections).
  2753. Thu Mar 23 15:07:08 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2754. * breakpoint.c (bpstat_do_actions): For each element in the bpstat
  2755. chain, do all the commands regardless of whether they run the
  2756. inferior.
  2757. Wed Mar 22 19:17:06 1995 Doug Evans <dje@cygnus.com>
  2758. * mem-break.c (LITTLE_BREAKPOINT, BIG_BREAKPOINT): Define as
  2759. BREAKPOINT if mono-endian.
  2760. (break_insn): Deleted.
  2761. (big_break_insn, little_break_insn): Define.
  2762. (memory_insert_breakpoint): Handle bi-endian cpus.
  2763. (BREAKPOINT_LEN): Define.
  2764. (memory_remove_breakpoint): Use it.
  2765. (memory_breakpoint_size): Likewise.
  2766. Tue Mar 21 17:03:17 1995 Kung Hsu <kung@mexican.cygnus.com>
  2767. * sparc-stub.c: add nop after 'bg good_wim'.
  2768. * sparcl-stub.c: ditto.
  2769. Tue Mar 21 13:34:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2770. * infrun.c (handle_command): Don't print TARGET_SIGNAL_0,
  2771. TARGET_SIGNAL_UNKNOWN, or TARGET_SIGNAL_DEFAULT.
  2772. Mon Mar 20 10:09:59 1995 Jeff Law (law@snake.cs.utah.edu)
  2773. * hppab-nat.c (store_inferior_registers): Sync with HPUX version.
  2774. Mon Mar 20 07:34:48 1995 Stu Grossman (grossman@cygnus.com)
  2775. * hppah-nat.c (store_inferior_registers): Move check for
  2776. CANNOT_STORE_REGISTER to a better place. Fixes ptrace I/O errors
  2777. found by test suite during function calls, which attempts to write
  2778. unwritable registers.
  2779. Sat Mar 18 02:02:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2780. * mdebugread.c (parse_symbol): If finishing a function without
  2781. known parameter type info, set that from parameter symbols.
  2782. Remove commented-out add_param_to_type support.
  2783. Thu Mar 16 16:38:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2784. * xcoffread.c (process_linenos): Make sure filename we pass to
  2785. start_subfile will cause deduce_language_from_filename to return
  2786. the correct thing. Reindent function to GNU standards.
  2787. Thu Mar 16 15:54:00 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  2788. * nlm/gdbserve.c (handle_exception): #if out call to StopBell,
  2789. as it is not available on NetWare 3 or PIN.
  2790. * nlm/ppc.c (StopBell): Removed.
  2791. Thu Mar 16 12:14:41 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2792. * xcoffread.c (read_xcoff_symtab): When creating a dummy parameter
  2793. inferred from the traceback tags, give its type the name
  2794. "<non-float parameter>".
  2795. * stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
  2796. Wed Mar 15 15:09:29 1995 Stu Grossman (grossman@cygnus.com)
  2797. * findvar.c (read_register_bytes write_register_bytes): Make
  2798. these routines much smarter about updating registers from the
  2799. target, only doing so when absolutely necessary. This really
  2800. speeds up register modification on some remote targets.
  2801. * monitor.c: More cleanups. Get rid of monitor_load_ascii_srec.
  2802. BFD makes this unnecessary. Lots of debugging speedups.
  2803. * (expect): NULL terminate return string.
  2804. * (monitor_open monitor_supply_register parse_register_dump
  2805. monitor_wait monitor_fetch_register): Switch to using GNU regexp
  2806. library to parse multi-register displays.
  2807. * (monitor_read_memory): Read multiple bytes (up to 16) at once.
  2808. * (monitor_create_inferior): Call clear_proceed_status to make run
  2809. command notice first breakpoint.
  2810. * (monitor_load): Clean up. Reset inferior_pid, set pc to start
  2811. address and reset symbol table stuff to make loads put things into
  2812. a fresh state.
  2813. * (monitor_load_srec): Lower sleep time to 1 second.
  2814. * monitor.h (struct monitor_ops): Add register_pattern and
  2815. supply_register to monitor_ops.
  2816. * rom68k-rom.c: Add new support for handling register dumps.
  2817. * config/m68k/tm-m68k.h: Define D0_REGNUM and A0_REGNUM for register
  2818. dump handling.
  2819. Wed Mar 15 15:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2820. * utils.c, defs.h (putchar_unfiltered, fputc_unfiltered): Make
  2821. argument be an int, not a char. Using a prototype followed by an
  2822. old-style function definition in a case where an argument is
  2823. widened is a GCC-ism not supported by the native AIX compiler.
  2824. Wed Mar 15 12:22:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  2825. * nlmstub.def: Removed, this was moved to nlm/gdbserve.def
  2826. long ago.
  2827. * configure.in (alpha-*-netware*): Removed configuration.
  2828. * config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed.
  2829. * nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h,
  2830. alpha.c, alpha.h, altdebug.h}: Removed.
  2831. * nlm/gdbserve.c (main): Add support for processing BOARD=
  2832. argument, deprecate NODE=.
  2833. Wed Mar 15 10:58:26 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2834. * c-exp.y (yylex): Make an empty character constant an error.
  2835. Tue Mar 14 15:00:54 1995 Per Bothner <bothner@kalessin.cygnus.com>
  2836. * valops.c (value_arg_coerce): Do possible value_coerce_array
  2837. before determining type argument to value_cast.
  2838. Tue Mar 14 10:41:41 1995 Kung Hsu <kung@mexican.cygnus.com>
  2839. * remote-es.c: Replace ignore with 0.
  2840. Tue Mar 14 05:52:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2841. * valops.c (value_repeat), eval.c (evaluate_subexp_standard):
  2842. If VALUE_REPEATED is already set, just error out.
  2843. * valops.c (value_cast, value_slice), parse.c (follow_types): Add
  2844. FIXME-type-allocation comments.
  2845. * gdbtypes.h (struct type): Fix comment about what units the
  2846. TYPE_LENGTH is in.
  2847. Mon Mar 13 18:27:25 1995 Stan Shebs <shebs@andros.cygnus.com>
  2848. * ch-valprint.c (annotate.h): Include.
  2849. * eval.c (evaluate_subexp_standard): Remove unused variable.
  2850. (calc_f77_array_dims): Add parens to expression.
  2851. * f-exp.y (yylex): Add parens to expression, remove unused label.
  2852. * f-lang.h (calc_f77_array_dims): Declare.
  2853. * f-valprint.c (f_val_print): Remove unused variables.
  2854. Mon Mar 13 15:25:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
  2855. * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
  2856. use the PDR, just examine prologues instead.
  2857. Fri Mar 10 16:13:18 1995 Kung Hsu <kung@mexican.cygnus.com>
  2858. * config/arc/tm-arc.h: Change arc register names.
  2859. Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  2860. Fix problems with infinite recursion when printing a class
  2861. that contains a static instance of the class.
  2862. * cp-valprint.c (dont_print_vb_obstack): Renamed from
  2863. dont_print_obstack, made static.
  2864. (dont_print_statmem_obstack): New obstack, controls printing
  2865. of static member classes.
  2866. (_initialize_cp_valprint): Initialize it.
  2867. (cp_print_static_field): New function, handles printing of
  2868. static members.
  2869. (cp_print_value_fields): New parameter dont_print_statmem to
  2870. handle recursive printing of static member classes, use
  2871. cp_print_static_field to handle printing of static members.
  2872. * c-valprint.c (cp_print_value_fields): Update prototype and
  2873. call to include additional dont_print_statmem parameter.
  2874. * c-valprint.c, f-valprint.c (dont_print_obstack): Remove unused
  2875. extern declaration.
  2876. * alpha-tdep.c, findvar.c, infptrace.c: Include <string.h>.
  2877. * config/alpha/tm-alpha.h (FRAME_FIND_SAVED_REGS): Call
  2878. alpha_find_saved_regs if fi->saved_regs is still NULL.
  2879. * elfread.c (elf_symtab_read): Ensure that the filename field
  2880. of a minsym is nonempty. Ignore solib trampoline symbols from
  2881. the main symbol table, they might have a bogus value.
  2882. * procfs.c (set_proc_siginfo), config/alpha/alpha-osf2.mh:
  2883. Fix typos in comments.
  2884. Thu Mar 9 17:19:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
  2885. * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize
  2886. pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1. That way
  2887. we know whether the PDR ever got set.
  2888. * mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
  2889. use the PDR, just examine prologues instead.
  2890. Wed Mar 8 23:35:10 1995 Jeff Law (law@snake.cs.utah.edu)
  2891. * somsolib.c (som_solib_section_offsets): Get offset of text
  2892. section right.
  2893. Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com)
  2894. * source.c (forward_search_command reverse_search_command): Set
  2895. convenience variable $_ to be the line # of the match.
  2896. * symtab.c (decode_line_1): Allow convenience variables to be
  2897. used in line specs (for breakpoints and such).
  2898. Wed Mar 8 12:51:00 1995 Stan Shebs <shebs@andros.cygnus.com>
  2899. * Makefile.in (VERSION): Bump to 4.14.1.
  2900. * NEWS, README: Update for 4.14.
  2901. * i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration.
  2902. (i386_insert_nonaligned_watchpoint): Call aligned instead of
  2903. generic watchpoint insertion.
  2904. Tue Mar 7 19:26:10 1995 Per Bothner <bothner@kalessin.cygnus.com>
  2905. * valops.c (value_slice): Do COERCE_VARYING_ARRAY.
  2906. Tue Mar 7 00:23:47 1995 Stu Grossman (grossman@cygnus.com)
  2907. * monitor.c, array-rom.c, monitor.h, rom68k-rom.c: Move target_ops
  2908. into monitor.c.
  2909. * monitor.c (monitor_create_inferior): Allow run command to start
  2910. program.
  2911. * monitor.c (monitor_load): Set PC to start address when done
  2912. loading.
  2913. * array-rom.c, monitor.h, rom68k-rom.c: Clean up target_ops.
  2914. Remove ref to monitor_create_inferior.
  2915. * monitor.c: More general cleanups. Add prototypes, remove
  2916. unused routines. Fix bug with wrong number of args to error().
  2917. * main.c (main): Don't start up GUI when running under gdb mode
  2918. in emacs.
  2919. * Makefile.in: Add rules for monitor.o and rom68k-rom.o to make
  2920. Sun make (with VPATH) work...
  2921. * monitor.c, monitor.h, rom68k-rom.c: Serious cleanup to make IDP
  2922. (rom68k) target work right.
  2923. * array-rom.c, op50-rom.c, w89k-rom.c: Partial updates to new
  2924. monitor.c interface. More work needs to be done here.
  2925. * config/m68k/tm-monitor.h: Change DECR_PC_AFTER_BREAK to 0 to
  2926. match the IDP monitor. Also, set NUM_REGS to 18 cuz there's no
  2927. floating-point for this card.
  2928. * serial.h, ser-go32.c, ser-mac.c, ser-tcp.c, ser-unix.c: Add
  2929. SERIAL_SETSTOPBITS to set the number of stopbits (needed for IDP
  2930. board?!?!?).
  2931. * defs.h, utils.c, remote-hms.c, remote-pa.c, remote.c: Fix defs
  2932. and usage of fputc_unfiltered and putchar_unfiltered. Eliminate
  2933. putc_unfiltered (it's superfluous).
  2934. * command.h, command.c, top.c: Add var_enum command type. It's
  2935. like var_string but allows only only one of the specified strings.
  2936. Mon Mar 6 15:03:59 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2937. * valops.c (value_cast): Don't use backslash newline--pre-ANSI
  2938. compilers (such as SunOS4 /bin/cc) don't generally support it
  2939. except in some contexts.
  2940. Fri Mar 3 17:42:48 1995 Per Bothner <bothner@kalessin.cygnus.com>
  2941. * valops.c (value_cast): Check for cast to array type *before*
  2942. we coerce array to pointer (in case arg2 is already array).
  2943. * valops.c (call_function_by_hand): Set using_gcc to 2 if using
  2944. gcc2. Needed for REG_STRUCT_HAS_ADDR to work on sparc.
  2945. Also check REG_STRUCT_HAS_ADDR for union, array and string types.
  2946. * valops.c (call_function_by_hand): Re-arrange code for pushing
  2947. paramaters on the stack so we can do better STACK_ALIGN.
  2948. * valops.c (call_function_by_hand): Call error if the number
  2949. of arguments is fewer than parameter types in function type.
  2950. Fri Mar 3 17:13:05 1995 Doug Evans <dje@canuck.cygnus.com>
  2951. * sparc-tdep.c (sparc_extract_struct_value_address): Move
  2952. sparc64 support to here.
  2953. (sparc64_extract_struct_value_address): Deleted.
  2954. (dump_ccreg): Add a prototype so long long arg -> int.
  2955. * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.
  2956. (EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
  2957. Fri Mar 3 15:12:12 1995 Jeff Law (law@snake.cs.utah.edu)
  2958. * hpread.c (hpread_record_lines): New argument "offset". All
  2959. callers changed. Use it to handle dynamic address relocation.
  2960. (hpread_build_psymtabs): Adjust texthigh as we read each function
  2961. debug symbol. Fix computation of texthigh.
  2962. (hpread_read_subrange_type): Work around macro bugs in HP's
  2963. compilers.
  2964. (hpread_process_one_debug_symbol): Correctly map source lines.
  2965. * somread.c (check_strange_names): Filter names emitted by the HP
  2966. compiler when generating PIC code.
  2967. * valops.c (value_struct_elt_for_reference): Work around macro
  2968. bugs in HP's compilers.
  2969. * c-exp.y (block): Likewise.
  2970. Fri Mar 3 12:27:28 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
  2971. * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
  2972. store_address.
  2973. * utils.c [_AIX]: Include stddef.h instead of #defining size_t.
  2974. Fri Mar 3 12:33:24 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  2975. * rs6000-tdep.c (skip_prologue): Skip multiple stores of the saved
  2976. registers that GCC emits on the PowerPC by default in addition to
  2977. the store multiple instruction used on the Power series.
  2978. Fri Mar 3 00:54:58 1995 Doug Evans <dje@canuck.cygnus.com>
  2979. * sparc-tdep.c (decode_asi): New function.
  2980. (sparc_print_register_hook): Pretty print more v9 registers.
  2981. * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.
  2982. Thu Mar 2 22:20:22 1995 Doug Evans <dje@canuck.cygnus.com>
  2983. * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
  2984. (target_to_host): Change result type to CORE_ADDR.
  2985. Thu Mar 2 15:13:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  2986. * rs6000-tdep.c: Fix byte-swapping sins.
  2987. Thu Mar 2 16:48:45 1995 Michael Meissner <meissner@cygnus.com>
  2988. * rs6000-tdep.c (branch_dest): Minor code cleanup, don't share
  2989. code between branch unconditional and branch conditional cases.
  2990. Wed Mar 1 09:41:26 1995 Doug Evans <dje@canuck.cygnus.com>
  2991. Various changes for sparc64.
  2992. * sparc-tdep.c (NUM_SPARC_FPREGS): Define.
  2993. (SPARC_INTREG_SIZE): Define.
  2994. (*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
  2995. where appropriate.
  2996. (enum branch_type): New value `done_retry'.
  2997. (isbranch): Renamed from isannulled. All callers changed.
  2998. Support new sparc64 branch insns.
  2999. (single_step): Handle done_retry.
  3000. (sparc_extract_struct_value_address): Don't assume 4 byte regs.
  3001. (get_saved_register): Likewise.
  3002. (sparc_push_dummy_frame): Likewise.
  3003. (sparc_frame_find_saved_regs): Likewise.
  3004. (sparc_pop_frame): Likewise. Don't refer to FPS_REGNUM, CPS_REGNUM,
  3005. or PS_REGNUM if not sparc64. sparc64 has 64 fp regs.
  3006. (sparc64_extract_struct_value_address): New function.
  3007. (dump_ccreg, sparc_print_register_hook): Likewise.
  3008. * sp64-tdep.c: Deleted.
  3009. * sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
  3010. (NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
  3011. (CC_HAS_LONG_LONG): Define.
  3012. (REGISTER_NAMES): Delete cle/tle and reorganize.
  3013. (PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
  3014. sparc-tdep.c now.
  3015. (REGISTER_BYTES): Update.
  3016. (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
  3017. (EXTRACT_RETURN_VALUE): Delete. Use definition in tm-sparc.h.
  3018. (NO_SINGLE_STEP): Likewise.
  3019. * sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
  3020. * sparc/sp64.mt: Move simulator support ...
  3021. * sparc/sp64sim.mt: ... to here.
  3022. Wed Mar 1 13:14:42 1995 Kung Hsu <kung@mexican.cygnus.com>
  3023. * remote-vx960.c: new file for target specific register packaging.
  3024. * remote-vx68.c: ditto.
  3025. * config/i960/vxworks960.mt: add remote-vx960.o.
  3026. * config/m68k/vxworks68.mt: add remote-vx68.o.
  3027. Wed Mar 1 13:42:49 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  3028. * remote.c (remote_wait): Make calls to strtol be type correct by
  3029. passing the address of a char * pointer instead of an unsigned
  3030. char *.
  3031. * rs6000-tdep.c (push_dummy_frame): Cast sp to char * when calling
  3032. write_memory to make things type correct.
  3033. Wed Mar 1 12:17:31 1995 Michael Meissner <meissner@cygnus.com>
  3034. * ch-exp.y, c-exp.y, f-exp.y, m2-exp.y (yy defines): Support the
  3035. standard Linux yacc by adding more names to be redefined with a
  3036. prefix.
  3037. Tue Feb 28 22:55:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3038. * hppa-tdep.c (pa_print_registers), monitor.c: Use
  3039. extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
  3040. * defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
  3041. Rename it to SWAP_FLOATING to make it clear it is no longer for
  3042. integers.
  3043. Tue Feb 28 14:38:39 1995 Kung Hsu <kung@mexican.cygnus.com>
  3044. * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
  3045. compile time.
  3046. * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
  3047. processor.
  3048. * vx-share/ptrace.h: merge in WRS new ptrace requests.
  3049. * defs.h: fix a syntax error.
  3050. * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
  3051. * remote-vx.c: move read_register and write_register out to
  3052. target specific files.
  3053. * remote-vx29k.c (get_fp_contnets): add this function, from WRS.
  3054. * defs.h: define SWAP_TARGET_AND_HOST macro.
  3055. * findvar.c, monitor.c, hppa-tdep.c: remove definition of
  3056. SWAP_TARGET_AND_HOST.
  3057. Tue Feb 28 08:31:40 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3058. * alpha-tdep.c (find_proc_desc): Only attempt to set
  3059. PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
  3060. Mon Feb 27 11:56:32 1995 Stan Shebs <shebs@andros.cygnus.com>
  3061. * monitor.c: General gcc -Wall lint cleanup and reformat.
  3062. (monitor_command): If no args, send an empty command.
  3063. Thu Feb 23 21:07:25 1995 Stu Grossman (grossman@cygnus.com)
  3064. * monitor.c (monitor_load_ascii_srec): Add a one second sleep
  3065. after send LOAD_CMD to prevent loss of first S-record.
  3066. Tue Feb 21 20:48:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
  3067. * valops.c (call_function_by_hand): Set using_gcc to 2 if gcc-2.
  3068. Call error if too few arguments.
  3069. If REG_STRUCT_HAS_ADDR (structs passed by invisible reference),
  3070. copy and convert to reference *before* we calculate alignment.
  3071. Also, make sure structs allocated for return values and invisible
  3072. reference don't violate STACK_ALIGN.
  3073. Tue Feb 21 23:29:59 1995 Per Bothner <bothner@rtl.cygnus.com>
  3074. * ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)'
  3075. (same as C's '(TYPE[])EXPR')
  3076. Tue Feb 21 11:47:26 1995 Stan Shebs <shebs@andros.cygnus.com>
  3077. * top.c (print_gdb_version): Update the year.
  3078. Sun Feb 19 14:31:57 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
  3079. * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in
  3080. `..' not in `../..'.
  3081. Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3082. * procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL
  3083. in addition to a PIOCSSIG to kill the inferior.
  3084. Thu Feb 16 15:06:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
  3085. * parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
  3086. create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
  3087. * valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array
  3088. of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
  3089. * c-typeprint.c (c_type_print_varspec_suffix): If array length
  3090. is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
  3091. Thu Feb 16 16:06:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  3092. * dcache.c (insque, remque): Rewrite Linux support.
  3093. Wed Feb 15 12:33:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  3094. * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1.
  3095. * dcache.c (insque, remque): If compiling in standard C on Linux,
  3096. protect insque and remque with macros to cast the pointer
  3097. arguments to the proper type.
  3098. Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com)
  3099. * annotate.c, breakpoint.c, defs.h, top.c: Replace
  3100. enable/disable_breakpoint_hook with modify_breakpoint_hook.
  3101. Tue Feb 14 16:58:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3102. * expression.h: Move declaration of evaluate_subexp_with_coercion
  3103. from here...
  3104. * value.h: ...to here.
  3105. * expression.h: Don't include value.h
  3106. Tue Feb 14 11:46:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3107. * expression.h: Move include of value.h until after declaration of
  3108. enum exp_opcode.
  3109. Sun Feb 12 13:47:30 1995 Stan Shebs <shebs@andros.cygnus.com>
  3110. * remote-e7000.c: Comprehensive cleanup; removal of dead code,
  3111. simplify code, declare things, format to standards.
  3112. (inferior.h, value.h, command.h, remote-utils.h): Include.
  3113. (e7000_login): Rename to e7000_login_command.
  3114. (e7000_ftp): Rename to e7000_ftp_command.
  3115. (e7000_drain): Rename to e7000_drain_command.
  3116. * irix5-nat.c (string.h): Include near beginning of file.
  3117. Sun Feb 12 12:36:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3118. * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
  3119. arg, it is a value not a symbol.
  3120. gcc -Wall lint:
  3121. * eval.c: Move declaration of evaluate_subexp_with_coercion from here..
  3122. * expression.h: ..to here.
  3123. * expression.h: Include value.h.
  3124. * ch-lang.c (evaluate_subexp_chill): Add default case in switch.
  3125. Sun Feb 12 11:03:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
  3126. * language.h (struct language_defn): New field evaluate_exp.
  3127. * c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
  3128. f-lang.c (f_language_defn), language.c (unknown_language_defn,
  3129. auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
  3130. Set evaluate_exp to evaluate_subexp_standard.
  3131. * ch-lang.c (evaluate_subexp_chill): New function. Chill-specific
  3132. support for MULTI_SUBSCRIPT.
  3133. (chill_language_defn): Set evaluate_exp to evaluate_subexp_chill.
  3134. * eval.c (enum noside): Move from here ....
  3135. * expression.h (enum noside): ... to here.
  3136. (evaluate_subexp_standard): New prototype.
  3137. * eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard.
  3138. Removed lo-longer-needed test for chill_varying_type.
  3139. (evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
  3140. * ch-exp.y (maybe_expression_list): New non-terminal.
  3141. (primitive_value): Allow empty parameter list.
  3142. Sun Feb 12 10:02:16 1995 Per Bothner <bothner@cygnus.com>
  3143. * buildsym.c (finish_block): If finishing a function without known
  3144. parameter type info, set that from parameter symbols.
  3145. * c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC,
  3146. print parameter types, if available.
  3147. * ch-typeprint.c (chill_type_print_base): Likewise.
  3148. * gdbtypes.h (struct type): Remove function type field.
  3149. (TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use
  3150. function types now that we're also storing parameter types.
  3151. And the payoff is much less.
  3152. * gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE.
  3153. (recursive_dump_type): Don't print TYPE_FUNCTION_TYPE.
  3154. * dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
  3155. * valops.c (value_arg_coerce): Now takes param_type argument.
  3156. (call_function_by_hand): Convert arguments with value_arg_coerce
  3157. early, and overwrite original args with converted args.
  3158. No longer need multiple calls to value_arg_coerce.
  3159. (value_arg_push): Removed.
  3160. * hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce.
  3161. * mips-tdep.c (mips_push_arguments): Likewise.
  3162. * alpha-tdep.c (alpha_push_arguments): Likewise.
  3163. * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments):
  3164. Likewise.
  3165. * value.h (value_arg_coerce): Remove declaration. (It's now static.)
  3166. * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
  3167. * symtab.c (add_param_to_type): Remove (commented-out) function,
  3168. since that functionality has been re-written.
  3169. * coffread.c: Remove commented-out add_param_to_type support.
  3170. * mdebugread.c (parse_symbol): Likewise.
  3171. * stabsread.c (define_symbol): Likewise.
  3172. Sun Feb 12 09:03:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3173. * buildsym.c (start_subfile): Set language for f2c like for cfront.
  3174. Thu Feb 9 20:20:11 1995 Rob Savoye <rob@darkstar.cygnus.com>
  3175. * op50n-rom.c: Add the control registers.
  3176. Thu Feb 9 15:46:39 1995 Stan Shebs <shebs@andros.cygnus.com>
  3177. * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
  3178. after, any host/target/native libraries.
  3179. * dcache.c (insque, remque): Remove declarations.
  3180. * gdbtypes.h (type_code): Remove trailing comma.
  3181. From Peter Schauer:
  3182. * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
  3183. STATIC_NODEBUG_VARS inside case.
  3184. Thu Feb 9 07:43:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
  3185. * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
  3186. * partial-stab.h: Call it.
  3187. * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
  3188. STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
  3189. get the address.
  3190. * sparc-tdep.c (solaris_static_transform_name): New function.
  3191. Thu Feb 9 12:09:09 1995 Jeff Law (law@snake.cs.utah.edu)
  3192. * somread.c (som_symtab_read): Handle dynamic relocation for both
  3193. text and data symbols.
  3194. (som_symfile_offsets): If objfile is a shared library, then get
  3195. text and data offsets from the shared library structures.
  3196. * somsolib.c (som_solib_add): Copy the bfd pointer from the
  3197. objfile rather than reopening the file again.
  3198. (som_solib_section_offsets): New function.
  3199. * somsolib.h (som_solib_section_offsets): Declare.
  3200. Wed Feb 8 20:32:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
  3201. * config/sparc/tm-sun4sol2.h, dbxread.c: Rename
  3202. N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
  3203. * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
  3204. filename field.
  3205. * elfread.c (record_minimal_symbol_and_info),
  3206. minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
  3207. newly created symbol.
  3208. * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
  3209. Set filename field of minimal symbol.
  3210. * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
  3211. Print filename field.
  3212. * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
  3213. * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
  3214. m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
  3215. os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
  3216. printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
  3217. * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
  3218. Find address of function from minimal symbols.
  3219. * partial-stab.h, case 'f', 'F': Call find_stab_function_addr
  3220. instead of getting pst->textlow from the stab.
  3221. * minsyms.c (find_stab_function_addr): New function.
  3222. Wed Feb 8 19:19:56 1995 Rob Savoye <rob@darkstar.cygnus.com>
  3223. * monitor.c: Fix so all the output shows up in the GUI command
  3224. window.
  3225. Mon Feb 6 18:50:59 1995 Stan Shebs <shebs@andros.cygnus.com>
  3226. * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
  3227. line, so init.c generation works correctly.
  3228. * arc-tdep.c (_initialize_arc_tdep): Ditto.
  3229. Mon Feb 6 14:44:36 1995 Rob Savoye <rob@darkstar.cygnus.com>
  3230. * config/mips/idt.mt: Add support for the lsi33k target.
  3231. * config/sparc/sun4sol2.mh: Add support for ser-tcp.
  3232. * array-rom.c: Finish the rest of the support commands needed by
  3233. GDB.
  3234. * mips-tdep.c: Add LSI33k register names and processor type.
  3235. Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com>
  3236. * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
  3237. Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com)
  3238. * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of
  3239. dis_asm_read_memory_hook. We can now call the disassemblers
  3240. directly and have no need for this hook anymore.
  3241. * defs.h, printcmd.c: Make print_insn be static.
  3242. * ser-go32.c (dos_comisr): Make this 8 bit clean.
  3243. * (dos_open dos_close): Allow multiple opens to the same device.
  3244. Use a ref count to prevent unwanted deallocations.
  3245. * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32
  3246. happy.
  3247. * (sparclite_ops): Switch to download_stratum.
  3248. * target.h (enum strata): Move download_stratum before
  3249. process_stratum so that executable targets get pushed on top of
  3250. download targets.
  3251. Thu Feb 2 19:02:45 1995 Rob Savoye <rob@darkstar.cygnus.com>
  3252. * array-rom.c: Remove the non GDB remote protocol config stuff.
  3253. * monitor.c: All reading/writing functions for memory and
  3254. registers work.
  3255. Thu Feb 2 16:11:04 1995 Kung Hsu <kung@mexican.cygnus.com>
  3256. * config/arc/arc.mt: new target makefile for arc processor.
  3257. * config/arc/tm-arc.h: new target header for arc processor.
  3258. * config/arc/go32.mh: new go32 host makefile for arc processor.
  3259. * config/arc/xm-go32.h: new go32 host header for arc processor.
  3260. * arc-tdep.c: new target dependent codes for arc processor.
  3261. Thu Feb 2 13:58:40 1995 Stan Shebs <shebs@andros.cygnus.com>
  3262. * Makefile.in (VERSION): Bump to 4.13.2.
  3263. Thu Feb 2 07:27:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3264. Fix compiler warnings:
  3265. * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug
  3266. and have the caller do the sprintf. Saves us from varargs hell.
  3267. (normal): Define before use.
  3268. * remote-e7000.c: Reindent a few things.
  3269. Wed Feb 1 21:16:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
  3270. * f-typeprint.c (f_type_print_varspec_suffix): Print array index
  3271. ranges in reverse order.
  3272. * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation.
  3273. * eval.c (evaluate_subscript): Don't call value_subscript, since
  3274. it adjusts for lower bound and enforces ranges.
  3275. * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
  3276. * eval.c, parse.c: Removed uses of removed opcodes.
  3277. * eval.c (evaluate_subexp): Clean up handling of
  3278. OP_UNDETERMINED_ARGLIST (no backtracking, more general).
  3279. * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using
  3280. LA_PRINT_STRING, and not val_print_string (which reads from inferior).
  3281. * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function
  3282. duplicate function made redundant by chill_varying_type.
  3283. Re-write of f77 string and complex number support:
  3284. * language.h (struct language_defn): New fields string_lower_bound
  3285. and string_char_type.
  3286. * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn),
  3287. language.c (unknown_language_defn, auto_language_defn,
  3288. local_language_defn), m2-lang.c (m2_language_defn), f-lang.c
  3289. (f_language_defn), ch-lang.c (chill_language_defn): Set new fields.
  3290. * gdbtypes.c (create_string_type): Use new string_char_type field.
  3291. * valops.c (value_string): Use new string_lower_bound field.
  3292. * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed.
  3293. * f-lang.c (f_create_fundamental_type, _initialize_f_language),
  3294. m2-lang.c (m2_create_fundamental_type),
  3295. gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex
  3296. types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX.
  3297. * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex):
  3298. Removed. Use builtin_type_complex and builtin_type_double_complex.
  3299. * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING
  3300. and TYPE_CODE_LITERAL_COMPLEX.
  3301. * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of
  3302. TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX.
  3303. * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type,
  3304. f77_create_literal_string_type): Removed.
  3305. * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR,
  3306. VALUE_SUBSTRING_MYADDR): Removed.
  3307. * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to
  3308. OP_COMPLEX.
  3309. * parse.c: Update accordingly.
  3310. * f-valprint.c (f77_print_cmplx): Removed.
  3311. (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating.
  3312. * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY.
  3313. * eval.c (evaluate_subexp): For case OP_ARRAY, don't call
  3314. f77_value_literal_string.
  3315. * valops.c, value.h (f77_value_literal_string, f77_value_substring,
  3316. f77_assign_from_literal_string, f77_assign_from_literal_complex):
  3317. Removed.
  3318. (value_assign): No longer need to handle literal types.
  3319. * valops.c (f77_value_literal_complex), value.h: Re-written and
  3320. renamed to value_literal_complex. Last arg is now a (complex) type.
  3321. * valops.c (f77_cast_into_complex): Re-written and renamed to
  3322. cast_into_complex.
  3323. * eval.c (evaluate_subexp): Update accordingly.
  3324. * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't
  3325. print address for non-'s'-formats.
  3326. * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead
  3327. of chill_is_varying_struct.
  3328. Wed Feb 1 13:27:33 1995 Stan Shebs <shebs@andros.cygnus.com>
  3329. gcc -Wall lint.
  3330. * alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
  3331. (after_prologue): Remove unused local b.
  3332. * procfs.c (thread.h): Include.
  3333. (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
  3334. nested braces in initializer.
  3335. * top.c (initialize_targets, initialize_utils): Declare.
  3336. (locate_arg, insert_args): Add parens around tested assignments.
  3337. * remote-utils.c (sr_scan_args): Remove decl of strtol.
  3338. * remote.c (thread.h): Include.
  3339. (remote_wait): Remove unused local p2.
  3340. * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
  3341. registers array.
  3342. defs.h (stdlib.h): Include.
  3343. (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
  3344. (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
  3345. strtok, strerror): Don't specify parameter types in declaration.
  3346. Wed Feb 1 12:23:57 1995 Per Bothner <bothner@kalessin.cygnus.com>
  3347. * ch-exp.y (value_string_element, string_primitive_value,
  3348. start_element, left_element, right_element, slice_size,
  3349. lower_element, upper_element, first_element): Removed.
  3350. (value_string_slice, value_array_slice): Replaced by ...
  3351. (slice): New non-terminal, with working slice support.
  3352. (primitive_value_lparen, rparen): New non-terminals.
  3353. (maybe_tuple_elements): New non-terminal, to allow empty tuples.
  3354. (idtokentab): Added "up".
  3355. * value.h (COERCE_VARYING_ARRAY): New macro.
  3356. * valarith.c (value_subscript): Use it.
  3357. * valops.c (value_cast): Likewise. Also, do nothing if already
  3358. correct type, and allow converting from/to range to/from scalar.
  3359. * valops.c, value.h (varying_to_slice, value_slice): New functions.
  3360. * eval.c (OP_ARRAY): Add cast for array element.
  3361. * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes.
  3362. * valops.c (chill_varying_type): Moved function frp, here ...
  3363. * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here.
  3364. * parse.c (length_of_subexp, prefixify_subexp): Add support
  3365. for TERNOP_SLICE, TERNOP_SLICE_COUNT.
  3366. * expprint.c (print_subexp, dump_expression): Likewise.
  3367. * eval.c (evaluate_subexp): Likewise.
  3368. * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call
  3369. value_x_binop on a Chill varying string.
  3370. Tue Jan 31 13:51:53 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3371. * config/m68k/monitor.mt,
  3372. config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
  3373. depfiles in TDEPFILES not REMOTE_O.
  3374. Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat>
  3375. From nigel@algor.co.uk.
  3376. * ser-go32.c (dos_close): Don't crash if scb null.
  3377. (dos_sendbreak): New function.
  3378. (dos_ops): Point to dos_sendbreak.
  3379. (dos_info): Calculate COM number correctly.
  3380. Tue Jan 31 09:40:11 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3381. * xcoffread.c (process_xcoff_symbol): Use new variables
  3382. func_symbol_type and var_symbol_type as type of functions and
  3383. variables which don't have any stabs associated with them.
  3384. Reindent most of function.
  3385. (_initialize_xcoffread): Initialize *_symbol_type.
  3386. * xcoffread.c (read_xcoff_symtab): Reindent most of function.
  3387. Put C_HIDEXT symbols in the minimal symbols, rather than ignoring
  3388. them (this part commented out as I didn't quite get it to work).
  3389. (cs_to_section, find_targ_sec): New functions, to support above code.
  3390. * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is
  3391. actually present.
  3392. Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com)
  3393. * sparcl-tdep.c: Add `sparclite' target for doing serial and udp
  3394. downloads to SPARClite demo boards.
  3395. Sun Jan 29 09:43:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3396. * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had
  3397. no hope of working as is for a long time (in particular, shebs' 27
  3398. Jan 95 change confuses the issue further--target_read_memory and
  3399. xfer_core_file do *not* do the same thing in this context).
  3400. Revise comment.
  3401. Sat Jan 28 13:40:46 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3402. * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for
  3403. procedure linkage table symbols, it is no longer set due to the
  3404. Jan 6 BFD change in bfd/elfcode.h.
  3405. Fri Jan 27 17:08:06 1995 Stan Shebs <shebs@andros.cygnus.com>
  3406. * top.c (use_windows): Clarify comments.
  3407. * convex-tdep.c (xfer_core_file): Comment out.
  3408. * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
  3409. * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
  3410. references to target_read_memory.
  3411. * gdbcore.h (xfer_core_file, core_open, core_detach): Remove
  3412. declarations.
  3413. * corelow.c (core_open, core_detach): Make static.
  3414. * arm-tdep.c: Make it compile.
  3415. (exec_file_command, xfer_core_file): Comment out.
  3416. (arm_print_insn): Remove, now in libopcodes.
  3417. (skip_prologue): Comment out most of body.
  3418. (arm_frame_find_saved_regs): Move here from tm-arm.h.
  3419. (_initialize_arm_tdep): Set tm_print_insn.
  3420. * config/arm/tm-arm.h: Remove old refs to first_object_file_end.
  3421. (XFER_CORE_FILE): Remove.
  3422. (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.
  3423. Fri Jan 27 08:48:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3424. * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
  3425. Thu Jan 26 18:24:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
  3426. * symtab.c (find_pc_line): When subtracting one to get a line
  3427. number, make sure not to end up with zero.
  3428. * remote-vx.c: Revert all of Kung's changes of 16 Jan. The
  3429. problems with those changes were (a) the file didn't compile, (b)
  3430. they changed memset to bzero--memset is correct, (c) they took out
  3431. code to deal with boards lacking floating point, (d) who knows
  3432. what I didn't discover in a quick read.
  3433. Thu Jan 26 17:32:54 1995 Stu Grossman (grossman@cygnus.com)
  3434. * sparcl-tdep.c: Clean up formatting and indentation.
  3435. Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat>
  3436. * remote-hms.c (hms_ops): Change ref of hr_load_image
  3437. to gr_load_image.
  3438. (dcache_flush, dcache_hit, dcache_value, dcache_fetch,
  3439. dcache_poke, dcache_init): Deleted.
  3440. (hms_open, hms_resume, hms_fetch_word, hms_store_word):
  3441. Use dcache routines provided by remote-util.h
  3442. Thu Jan 26 12:08:31 1995 Michael Meissner <meissner@cygnus.com>
  3443. * configure.in: Add support for powerpc-*-eabi.
  3444. * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
  3445. PowerPC support.
  3446. Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
  3447. * language.h (struct language_defn): New field c_style_arrays.
  3448. * language.c (unknown_language_defn, auto_language_defn,
  3449. local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
  3450. asm_language_defn): Set c_style_arrays to true.
  3451. * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
  3452. f-lang.c (f_language_defn): Set c_style_arrays to false.
  3453. * valops.c (value_string): If c_style_array is not set,
  3454. allocate string in gdb (not inferior) using allocate_value.
  3455. * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
  3456. Only call value_coerce_array if current_language->c_style_arrays.
  3457. * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.)
  3458. * valops.c (chill_varying_type): New predicate.
  3459. * valops.c (value_cast): Support assigning a fixed string or array
  3460. to a variable string/array structure.
  3461. * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound.
  3462. Check index>=lowerbound, and then add lowerbound to index here,
  3463. instead of in caller. Generalize to arbitrary lval_types.
  3464. (value_subscript): Use enhanced value_subscripted_rvalue if
  3465. c_style_arrays is false (and index is in range).
  3466. Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
  3467. * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
  3468. TYPE_LENGTH is length in bytes, not bits.
  3469. Wed Jan 25 08:19:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3470. * infrun.c (proceed): Flush stdout before resuming inferior.
  3471. * infcmd.c (step_1), annotate.c (annotate_starting):
  3472. Don't bother to flush here.
  3473. Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu)
  3474. * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
  3475. by an ill-advised global search and replace.
  3476. Mon Jan 23 13:11:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
  3477. Add support for Chill bitstring literals (e.h. H'FF00').
  3478. * ch-exp.y (match_bitstring_literal): Fix for proper endianness.
  3479. * expprint.c (print_subexp): Don't call error on OP_BITSTRING,
  3480. just print B'<unimlemented>'.
  3481. * gdbtypes.c (create_set_type): Fix bug in length calculation.
  3482. * valops.c, value.h (value_bitstring): New function.
  3483. * eval.c (evaluate_subexp): Implement support for OP_BITSTRING.
  3484. * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
  3485. check that return type is non-void, and print in proper Chill syntax.
  3486. Mon Jan 23 12:20:34 1995 Rob Savoye <rob@darkstar.cygnus.com>
  3487. * Makefile.in: Remove references to remote-mon.c.
  3488. * remote-mon.c: remove. Replaced by rom68k-rom.c.
  3489. * rom68k-rom.c: Support for Rom68k monitor.
  3490. Mon Jan 23 10:50:57 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3491. * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
  3492. gcc/ch/runtime not chillrt, since that is where the chill runtime
  3493. lives now.
  3494. Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
  3495. * remote-hms.c (hms_load): Delete.
  3496. (target_ops): Use hr_load_image.
  3497. * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
  3498. Define memory_insert/remove_breakpoint.
  3499. * xm-go32.h: Remove redundant SIGs.
  3500. Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
  3501. * ser-go32.c: Rewritten by nigel@algor.co.uk.
  3502. Fri Jan 20 15:23:55 1995 Per Bothner <bothner@kalessin.cygnus.com>
  3503. * expression.h (OP_LABELED): New operator, for Chill
  3504. labeled structre tuples.
  3505. * ch-exp.y (tuple_element, named_record_element, tuple_elements):
  3506. New non-terminals, to handle labeled structure tuples.
  3507. (tuple): Re-define using tuple_elements.
  3508. * eval.c (evaluate_labeled_field_init): New function, to handle
  3509. initialization of structure fields, possibly using OP_LABELED.
  3510. (evaluate_subexp): Use it.
  3511. * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax
  3512. for Chill. Handled OP_LABELED.
  3513. * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED.
  3514. * eval.c (evaluate_subexp): Handle Chill Powerset tuples.
  3515. * valarith.c (value_bit_index): Just treat bitstring as represented
  3516. by an array of bytes. Alignment is handled by compiler.
  3517. Wed Jan 18 19:00:29 1995 Stan Shebs <shebs@andros.cygnus.com>
  3518. * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
  3519. * sh-tdep.c (gdb_print_insn_sh): Ditto.
  3520. Wed Jan 18 11:25:43 1995 Kung Hsu <kung@mexican.cygnus.com>
  3521. * remote-os9k.c (rombug_open): Fix a bug in exception handling
  3522. command.
  3523. * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
  3524. write.
  3525. Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
  3526. * parse.c (_initialize_parse): Improve wording of names of
  3527. msym_*_symbol_type.
  3528. Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
  3529. * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
  3530. (mips_fpu): Change type to enum mips_fpu_type.
  3531. (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
  3532. * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
  3533. Don't initialize.
  3534. (mips_fpu_string): New static variable.
  3535. (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
  3536. (mips_pop_frame): Likewise.
  3537. (mips_extract_return_value): Likewise.
  3538. (mips_store_return_value): Likewise.
  3539. (mips_set_fpu_command): New static function.
  3540. (mips_show_fpu_command): New static function.
  3541. (_initialize_mips_tdep): Change handling of set/show mipsfpu.
  3542. Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
  3543. * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
  3544. * parse.c (write_exp_msymbol): Use new variables
  3545. msym_*_symbol_type as type of msymbol expression.
  3546. (_initialize_parse): Initialize them.
  3547. Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
  3548. General cleanup and simplication of disassembler interface.
  3549. * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
  3550. hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
  3551. m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
  3552. rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
  3553. * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
  3554. had been -pinsn.c files.
  3555. * Makefile.in (ALLDEPFILES): Remove removed files.
  3556. (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
  3557. hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
  3558. m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
  3559. rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
  3560. Remove compile actions.
  3561. * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
  3562. vax-tdep.o: Add compile actions.
  3563. * defs.h (tm_print_insn): New global.
  3564. * a29k-tdep.c (gdb_print_insn_a29k): New function.
  3565. (_initialize_a29k_tdep): Rename from _initialize_29k,
  3566. set tm_print_insn.
  3567. * alpha-tdep.c (print_insn): Remove.
  3568. (_initialize_alpha_tdep): Set tm_print_insn.
  3569. * arm-tdep.c (arm_print_insn): New function, was print_insn
  3570. in arm-pinsn.c.
  3571. * convex-tdep.c (convex_print_insn): New function, was print_insn
  3572. in convex-pinsn.c.
  3573. * h8300-tdep.c (print_insn): Remove.
  3574. (gdb_print_insn_h8300): New function.
  3575. (_initialize_h8300_tdep): New function.
  3576. * h8500-tdep.c (print_insn): Remove.
  3577. (_initialize_h8500_tdep): New function.
  3578. * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
  3579. * i386-tdep.c (_initialize_i386_tdep): New function.
  3580. * i960-tdep.c (mem, next_insn): New functions, were in
  3581. i960-pinsn.c.
  3582. (_initialize_i960_tdep): Set tm_print_insn.
  3583. * m68k-tdep.c (_initialize_m68k_tdep): New function.
  3584. * m88k-tdep.c (_initialize_m88k_tdep): New function.
  3585. * mips-tdep.c (gdb_print_insn_mips): New function.
  3586. (_initialize_mips_tdep): Set tm_print_insn.
  3587. * pyr-tdep.c (pyr_print_insn): New function, was print_insn
  3588. in pyr-pinsn.c.
  3589. * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
  3590. * sh-tdep.c (print_insn): Remove.
  3591. (gdb_print_insn_sh): New function.
  3592. (_initialize_sh_tdep): Set tm_print_insn.
  3593. * sparc-tdep.c (_initialize_sparc_tdep): New function.
  3594. * w65-tdep.c (print_insn): Remove.
  3595. (_initialize_w65_tdep): New function.
  3596. * z8k-tdep.c (print_insn): Remove.
  3597. (gdb_print_insn_z8k): New function.
  3598. (_initialize_z8k_tdep): Set tm_print_insn.
  3599. * printcmd.c (print_insn): New function, generic disassembler.
  3600. * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
  3601. Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
  3602. * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
  3603. and config/a29k/vx29k.mt.
  3604. * configure.in: add new configuration a29k-*-vxworks.
  3605. * remote-vx29k.c: new file merged from WRS.
  3606. * remote-vx.c: merge changes from WRS.
  3607. * config/a29k/vx29k.mt: new file for new configuration.
  3608. * config/a29k/tm-vx29k.h: new header file for newconfiguration.
  3609. Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
  3610. * breakpoint.h (disable_breakpoint, enable_breakpoint):
  3611. New declarations.
  3612. (enum bpdisp): Change name of 'delete' member to 'del'.
  3613. (struct bpstat): Changed name to 'bpstats'.
  3614. * breakpoint.c (disable_breakpoint, enable_breakpoint,
  3615. breakpoint_chain): Made globally visible.
  3616. (bpstat_stop_status): Use new name for bpstat.
  3617. (break_command_1, watch_command_1, catch_command_1,
  3618. breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
  3619. instead of 'delete'.
  3620. (set_breakpoint_sal): New function.
  3621. * defs.h (registers_changed_hook): New declaration.
  3622. * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
  3623. * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
  3624. * main.c (main): Don't scan options when in WIN32 and exit
  3625. without entering main loop.
  3626. * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
  3627. * symtab.h (struct symbol, struct partial_symbol): Changed name of
  3628. member 'class' to 'aclass'.
  3629. (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
  3630. * top.c (registers_changed_hook): New definition.
  3631. * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
  3632. in same way as __GO32__.
  3633. * value.h (c_typedef_print): Rename 'new' argument.
  3634. * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
  3635. * configure.in: Suppprt for w65,
  3636. Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
  3637. * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
  3638. not stop_pc, to proceed.
  3639. * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
  3640. Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
  3641. * infcmd.c (signal_command): Accept "signal 0"; the change to not
  3642. accept it was accidental. "handle 0" and "info signal 0" remain
  3643. illegal, though.
  3644. Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
  3645. * Makefile.in (all): Don't make libgdb-files.
  3646. (libgdb): New action, makes libgdb-files.
  3647. Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
  3648. * stabsread.c (read_enum_type): When pending enum symbols are
  3649. put into the enum type, they must be inserted in "backwards
  3650. order, in case we've overflowed a struct pending buffer.
  3651. Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3652. * README: Add note about SPARCworks cc release 3.0 and higher.
  3653. Add procfs support for Alpha OSF/1-2.x.
  3654. * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
  3655. OSF/1 native support.
  3656. * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
  3657. (MUNCH_DEFINE): Removed.
  3658. * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
  3659. for procfs support.
  3660. * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
  3661. release 2.x and higher, else alpha-osf1.mh, as the procfs support
  3662. in release 1.x is incomplete.
  3663. * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
  3664. * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
  3665. fill_fpgregset): New routines for procfs support.
  3666. * inftarg.c (_initialize_inftarg): Don't add ptrace support
  3667. if we have an optional procfs and /proc is accessible.
  3668. * procfs.c: Include sys/fault.h and sys/syscall.h before
  3669. including sys/procfs.h.
  3670. (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
  3671. is defined, additionally perform a PIOCSSIG to really terminate
  3672. the inferior.
  3673. (create_procinfo): Always return a result.
  3674. (create_procinfo, do_attach): Don't trace T_IFAULT faults if
  3675. PROCFS_DONT_TRACE_IFAULT is defined.
  3676. (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
  3677. argument to startup_inferior if it is defined.
  3678. (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
  3679. of tracing exits from exec system calls. Needed for the user level
  3680. loader under Alpha OSF/1.
  3681. (do_detach): Clear any pending signal if we want to detach from
  3682. a process without a signal.
  3683. (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
  3684. don't issue a PIOCSSIG if pr_cursig already contains the signal we
  3685. intend to set.
  3686. (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
  3687. pending signals are numbered from 1 instead of 0.
  3688. (info_proc_mappings): Increase size of output format for addresses
  3689. if BFD_HOST_64_BIT is defined.
  3690. (procfs_stop): Renamed from child_stop.
  3691. (_initialize_procfs): Don't add procfs support if we have an
  3692. optional procfs and /proc is not accessible.
  3693. Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
  3694. * array-rom.c: Add support for most commands.
  3695. * monitor.c: Add GDB remote protocol for the hybrid environment on
  3696. the Array board.
  3697. Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
  3698. * command.c (show_user_1): Use print_command_line to show a user
  3699. defined command (including control structures).
  3700. * top.c (init_main): Change documentation for user defined
  3701. commands to indicate they may accept up to ten arguments.
  3702. Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
  3703. * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
  3704. `move $s8, $sp' instruction.
  3705. Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
  3706. * target.c, target.h (target_signal_from_command): New function.
  3707. * infrun.c (handle_command, signals_info), infcmd.c
  3708. (signal_command): Use it.
  3709. * infrun.c, infcmd.c: Update docstrings for these commands.
  3710. * target.h (enum target_signal), target.c (signals), target.c
  3711. (target_signal_from_host, target_signal_to_host): Add
  3712. TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
  3713. * config/tm-lynx.h: Define signal numbers for realtime events.
  3714. Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  3715. * dbxread.c (process_one_symbol): Handle N_FUN symbols
  3716. for Sun acc 3.0 under SunOS4.
  3717. Changes to improve handling of runtime common symbols
  3718. under SunOS4.
  3719. * minsyms.c (get_symbol_leading_char): New routine to determine
  3720. the leading symbol character for an objfile.
  3721. (prim_record_minimal_symbol_and_info, install_minimal_symbols):
  3722. Use it.
  3723. * objfiles.h (rt_common_objfile): New global, points to objfile
  3724. containing the runtime common minimal symbols.
  3725. * objfiles.c (free_objfile): Mark rt_common_objfile as
  3726. unallocated before freeing it.
  3727. * solib.c (allocate_rt_common_objfile): New routine to allocate
  3728. an objfile for the runtime common minimal symbols.
  3729. (solib_add_common_symbols): Allocate an objfile for the runtime
  3730. common symbols if necessary and put common symbols into it.
  3731. Clean up code and comments.
  3732. (solib_add, special_symbol_handling): Cleanup comments regarding
  3733. runtime common symbols.
  3734. * stabsread.c (scan_file_globals_1): New routine, contains
  3735. old scan_file_globals code. Checks if there are any unresolved
  3736. global symbols before starting the expensive minimal symbol table
  3737. search.
  3738. (scan_file_globals): Now calls scan_file_globals_1 for the passed
  3739. objfile and eventually for the runtime common objfile. Complains
  3740. about any unresolved global symbols and removes them from the
  3741. global symbol chain to avoid dangling pointers into the symbol
  3742. table if the symbol table is reread.
  3743. Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
  3744. * Makefile.in (install_only uninstall): Indent for clarity.
  3745. * core.c (dis_asm_read_memory): Add call to
  3746. dis_asm_read_memory_hook to provide alternate way for disassembler
  3747. to read memory.
  3748. * defs.h: Protect from multiple inclusion. Add decl for
  3749. dis_asm_read_memory_hook.
  3750. * top.c: Make window startup be the default.
  3751. * Add dis_asm_read_memory_hook.
  3752. Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
  3753. * stabsread.c (define_symbol): Handle `a' symbol type used for
  3754. reference parameter passed in a register.
  3755. Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
  3756. * defs.h: move include tm.h up, so that the type LONGEST can
  3757. also based on the target requirement to determine. In this case
  3758. target mips64.
  3759. * remote-os9k.c (rombug_open): catch exception e in rombug.
  3760. * remote-os9k.c (rombug_wait): print message before register display
  3761. from rombug.
  3762. Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  3763. * top.c (locate_arg): Call strchr not index.
  3764. Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
  3765. * ch-exp.y (literal): Recognize NULL.
  3766. (tuple): Parse simple unlabelled tuples.
  3767. * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
  3768. evaluate brace-initializer-expressions depending on context.
  3769. (evaluate_subexp case UNOP_CAST): Pass the target type as
  3770. expected type when evaluating the expression.
  3771. * ch-typeprint.c (chill_type_print_base): Get names of PTR and
  3772. BOOL from TYPE_NAME.
  3773. * ch-valprint.c (chill_print_type_scalar): New function, to handle
  3774. TYPE_CODE_RANGE better than print_type_scalar does.
  3775. (chill_val_print_array_elements): Use above new function.
  3776. Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
  3777. * remote-udi.c (udi_load): Tell symbol_file_add that the
  3778. program being loaded is the main program.
  3779. For older changes see ChangeLog-1994
  3780. Local Variables:
  3781. mode: indented-text
  3782. left-margin: 8
  3783. fill-column: 74
  3784. version-control: never
  3785. End: