aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1992-09-14Fix typos and thinkos reported by Sun Ming (and one reported by John).Roland Pesch1-14/+18
1992-09-12...plus c'est la meme chose.Roland Pesch1-0/+8
1992-09-12 * doc/gdb.texinfo, doc/gdbinv-m.m4.in, doc/gdbinv-s.m4.in: firstRoland Pesch5-5/+91
pass at doc for two new remote targets---29K using UDI, and Tandem ST2000 using STDBUG. * doc/all.m4, doc/none.m4: new m4 switch, _ST2000__ * doc/all.m4: turn on H8/300 stuff for generic manual
1992-09-12*** empty log message ***Roland Pesch1-0/+5
1992-09-12doc/gdbinv-s.m4.in: remove text on special procedures to continue afterRoland Pesch1-27/+0
explicit call to breakpoint() in serial stubs.
1992-09-11* mipsread.c: Clean up some white space.John Gilmore1-0/+4
(parse_symbol): Handle stEnd of stFile. (parse_partial_symbols): Remove old #if 0'd code. Handle stLocal.
1992-09-11Improve doc of GDB config macros.John Gilmore2-9/+1327
1992-09-11* xm-mips.h (KERNEL_U_ADDR): Get from <machine/param.h>.John Gilmore5-14/+44
(REGISTER_U_ADDR): Fix up for Ultrix 4.2. * tm-tahoe.h, xm-tahoe.h (KERNEL_U_ADDR): Move macro to xm-tahoe.h. * stack.c (_initialize_stack): "dow" should be a valid abbreviation for "down". Suggested by Richard Stallman.
1992-09-11* mips-xdep.c (REGISTER_PTRACE_ADDR, fetch_inferior_registers,John Gilmore1-11/+16
store_inferior_registers): Replace unexplained numbers with manifest constants from a DECstation header file. * xm-mips.h (KERNEL_U_ADDR): Get from <machine/param.h>. (REGISTER_U_ADDR): Fix up for Ultrix 4.2. * tm-tahoe.h, xm-tahoe.h (KERNEL_U_ADDR): Move macro to xm-tahoe.h. * stack.c (_initialize_stack): "dow" should be a valid abbreviation for "down". Suggested by Richard Stallman.
1992-09-10from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.hKen Raeburn1-0/+2
1992-09-10from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.hKen Raeburn1-0/+5
1992-09-10* i386-stub.c, sparc-stub.c (getpacket): Actually check checksums.John Gilmore5-7/+15
* m68k-stub.c: Remove a few extraneous ANSI-isms. * remote-nindy.c (nindy_prepare_to_store): Only fetch regs if they aren't already there. * remote-vx.c (vx_prepare_to_store): Ditto. * xcoffread.c: Surround forward struct defns with #ifdef __STDC__.
1992-09-10Removed a large number of changes inserted by Per BothnerJohn Gilmore2-72/+14
for C++ support. These will go back in when they've been examined.
1992-09-10Removed a large number of changes inserted by Per BothnerJohn Gilmore10-351/+103
for C++ support. These will go back in when they've been examined.
1992-09-09* serial.h: Fix prototye for serial_raw().Stu Grossman5-29/+36
* ser-bsd.c, ser-termios.c: Fix args for serial_open() & serial_write() to match prototypes. * remote-st2000.c (get_reg_name): Make *p be const.
1992-09-08Switch to ser-bsd.c.Stu Grossman1-1/+1
1992-09-08nindy bug fixes (function types) and opcode library inclusionKen Raeburn2-4/+12
1992-09-08* a68v-xdep.c (store_inferior_registers): declare as void.Stu Grossman1-0/+12
* infptrace.c: HP/Apollos have ptrace.h in the wrong place. * remote-st2000.c: Massive changes to use new serial package. Also added 'connect' command to transparantly connect to serial port. * ser-termios.c: Big cleanup, use nicer coding conventions. * ser-bsd.c: New module, serial stuff for BSD systems. * serial.h: Define struct ttystate properly using HAVE_TERMIO. * xm-apollo68b.h: #define PTRACE_IN_WRONG_PLACE...
1992-09-08* a68v-xdep.c (store_inferior_registers): declare as void.Stu Grossman7-390/+643
* infptrace.c: HP/Apollos have ptrace.h in the wrong place. * remote-st2000.c: Massive changes to use new serial package. Also added 'connect' command to transparantly connect to serial port. * ser-termios.c: Big cleanup, use nicer coding conventions. * ser-bsd.c: New module, serial stuff for BSD systems. * serial.h: Define struct ttystate properly using HAVE_TERMIO. * xm-apollo68b.h: #define PTRACE_IN_WRONG_PLACE...
1992-09-08nindy bug fixes (function types) and opcode library inclusionKen Raeburn1-2/+7
1992-09-05changes, what else?Roland Pesch1-0/+9
1992-09-05Fri Sep 4 18:53:57 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)Roland Pesch3-49/+364
* doc/gdb.texinfo: fix shameful error of agreement reported by jimb@occs.cs.oberlin.edu (Jim Blandy) * doc/gdb.texinfo: remove old partial discussion of remote serial protocol (via serial debug stubs) * doc/gdbinv-m.m4.in, doc/gdbinv-s.m4.in: new section discussing use of serial debug stubs
1992-09-04tab completion optimizationK. Richard Pixley2-17/+39
1992-09-04 * stabs.texinfo: Document the format for C++ nested types.Per Bothner2-18/+12
1992-09-04A ton of changes to improve C++ debugging. See ChangeLog.Per Bothner1-11/+80
Note new nested type changes.
1992-09-04A ton of changes to improve C++ debugging. See ChangeLog.Per Bothner16-180/+617
1992-09-03Add apollo68b.mh.Stu Grossman2-0/+6
1992-09-03* a68v-xdep.c (store_inferior_registers): Define as type void.Stu Grossman5-1/+15
* configure.in: Add host m68k-apollo*-bsd*. * demangle.c (struct demanglers): Use enum instead of constant value to keep braindamaged HP/Apollo compiler happy.
1992-09-03 * utils.c (strcmp_iw): Add a hack to allow "FOO(ARGS)" toPer Bothner2-3/+61
match "FOO". This allows 'break Foo' to work when Foo is a mangled C++ function. (See comment before function.)
1992-09-03* config/rs6000.mh (MH_CFLAGS): Circumvent IBM <rpc/rpc.h> bug,John Gilmore3-2/+30
for files in vx-share/*.c. * xm-rs6000.h (fd_set): Circumvent the rs6000.mh circumvention, for normal GDB source files.
1992-09-02Roll VERSION to 4.6.6.John Gilmore2-1/+3
1992-09-02* tm-vx68.h, tm-es1800.h: Use tm-68k.h rather than tm-sun3.h.John Gilmore6-32/+81
* tm-sun3.h: Remove STACK_END_ADDR, no longer used. * tm-sun3os4.h: Update comments. * xm-delta88.h: Remove STACK_END_ADDR.
1992-09-02Tiny bugfix for makeinfo.John Gilmore1-1/+1
1992-09-02Update .sanitize filesJohn Gilmore2-34/+7
1992-09-02Update sanity files.John Gilmore1-5/+4
1992-09-02Roll VERSION to 4.6.5 for the P3 release.John Gilmore1-0/+2
1992-09-02* config/sun4os4.mh: Include ser-termios.o. FIXME, all .mh filesJohn Gilmore1-1/+1
should include a ser-XXX.o module. * configure.in: Map unrecognized sun 68k's, sun sparcs, into known suns in configure.in, rather than mapping them to unique config files that happen to duplicate other config files. * config/sun3.{mh,mt}: Remove (use identical sun3os4.*). * config/sun4.{mh,mt}: Remove (use identical sun4os4.*).
1992-09-02* ser-termios.c, ser-go32.c: Remove DEFUN crap, clean up.John Gilmore7-98/+121
* serial.h (EXFUN): Remove all uses, convert to PARAMS. * config/sun4os4.mh: Include ser-termios.o. FIXME, all .mh files should include a ser-XXX.o module. * dbxread.c (elfstab_build_psymtabs): Remove DEFUN crap. * defs.h, i960-pinsn.c, remote-hms.c: Replace CONST with simple const. * configure.in: Map unrecognized sun 68k's, sun sparcs, into known suns in configure.in, rather than mapping them to unique config files that happen to duplicate other config files. * config/sun3.{mh,mt}: Remove (use identical sun3os4.*). * config/sun4.{mh,mt}: Remove (use identical sun4os4.*).
1992-09-02* config/m68k-un.mt, config/m68k-noun.mt, config/sparc-un.mt,John Gilmore4-0/+16
config/sparc-noun.mt: New target configs for embedded. * config/sun4os3.{mh,mt}: Remove, never existed in production.
1992-09-02* configure.in (*-*-sunos*): Use trailing * to match allJohn Gilmore12-35/+241
sub-variants of SunOS, e.g. sunos4* to match sunos4.1.1. (sparc-*-sunos3): Remove host & target. Sunos3 never shipped in production on Sun-4. ({a29k,i[34]86,i960}-*-elf): Add targets, equivalent to coff. (m68k-*-{aout,coff,elf}): Add targets, w/new config and tm files. (sparc-*-{aout,coff,elf}): Add targets, w/new config and tm files. * tm-68k-un.h, tm-68k-noun.h, tm-spc-un.h, tm-spc-noun.h: New target definitions for embedded with and without underlines on identifiers. FIXME -- this ought to be known by BFD instead. * tm-sparc.h, tm-sun2.h, tm-sun3.h: Delete NAMES_HAVE_UNDERSCORE: not a parameter of the CPU, but of the development environment. * tm-es1800.h, tm-sunos.h, tm-vx68.h: Add NAMES_HAVE_UNDERSCORE.
1992-09-02Formatting improvements and other minor edits.Roland Pesch1-651/+829
1992-09-02* breakpoint.c (breakpoint_re_set): Avoid setting source symtabJohn Gilmore2-2/+13
(which involves reading in main's symtab) if we have no breakpoints.
1992-09-01This seems to have been overlooked in my last check-in.Per Bothner1-5/+1
1992-09-01Brought forward from p3:Ian Lance Taylor2-3/+9
Sun Aug 30 21:32:17 1992 Ian Lance Taylor (ian@cygnus.com) * Makefile.in: map "gdb" through program_transform_name when installing.
1992-08-31 * dwarfread.c (cu_language): New local variable to recordFred Fish3-25/+186
language for current compilation unit being processed. * dwarfread.c (set_cu_language): New local function to decode and record language for current compilation unit being processed. * dwarfread.c (synthesize_typedef): Add local function to synthesize a typedef for C++ classes, structs, unions, and enumerations. * dwarfread.c (read_structure_scope): Synthesize typedefs for C++ classes, structs and unions. * dwarfread.c (read_enumeration): Synthesize typedefs for C++ enumerations. * dwarfread.c (read_file_scope): Call set_cu_language to record language for current compilation unit. After symtab is built, save this recorded language. * dwarfread.c (process_dies, add_partial_symbol, struct_type, scan_partial_symbols, new_symbol): Recognize TAG_class_type. * dwarfread.c (add_partial_symbol): Synthesize partial symbol typedefs for C++ classes, structs, unions, and enumerations. * dwarfread.c (scan_compilation_units): Call set_cu_language to record language for current compilation unit. * dwarfread.c (scan_partial_symbols): Call add_enum_psymbol here for TAG_enumeration_types, rather than in add_partial_symbol. * dwarfread.c (add_partial_symbol): Combine TAG_enumeration_type case with class, struct, and union type cases, now that they are the same. Remove tests for non-NULL name attributes, now done by callers. * gdbtypes.h (TYPE_CODE_CLASS): Add type for C++ classes, but treat as alias for TYPE_CODE_STRUCT for now.
1992-08-31 * {i386-tdep.c, m68k-tdep.c, mips-tdep.c, sparc-tdep.c}Fred Fish1-0/+10
(supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Use "regi" for local indexing through register numbers, reserving "regno" for the name of a specific register passed as an input parameter. Fix bug propagated through all versions that sometimes used regno as an index when it should have been regi, thus using -1 as an index in some cases.
1992-08-31 * cplus-dem.c, demangle.h: Moved to ../libiberty and ../include,Per Bothner4-353/+394
respectively, so same demangler can be used by other programs. * Makefile.in: Remove demangler stuff. * Makefile.in (depend): Pass -I../readline (needed for main.c). * demangle.c (_initialize_demangler): Tell demangler which CPLUS_MARKER to assume.
1992-08-29Minor bug fixes from last big checkin.John Gilmore2-40/+45
1992-08-29RS/6000 portability changes (for hosting cross-debuggers).John Gilmore2-5/+8
* config/rs6000.mh (XDEPFILES): Move xcoffexec.o to target side. (XM_CLIBS): Add -lm to circumvent AIX 3.2 libc ldexp bug. * config/rs6000.mt (TDEPFILES): Adopt xcoffexec.o.
1992-08-29RS/6000 portability changes (for hosting cross-debuggers).John Gilmore9-426/+143
* breakpoint.c (fixup_breakpoints): Re-kludge to IBM6000_TARGET. * buildsym.c, rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h, xcoffexec.c, xcoffread.c: Rename aixcoff to xcoff everywhere. * printcmd.c (print_frame_args): Remove an RS/6000 dependency. * stabsread.c (define_symbol): Remove RS/6000 dependencies. * tm-rs6000.h (ATTACH_DETACH): Remove: host-dependent. (PTRACE_ATTACH, PTRACE_DETACH): Remove: host-dep. (NO_SINGLE_STEP): Add, target-dependent. (loadinfotextindex): Lowercase, remove "aix_". * xm-rs6000.h: Add <sys/ptrace.h> for infptrace.c. (NO_SINGLE_STEP): Remove, target-dependent. * xcoffexec.c (vmap_symtab): Cleanup #if 0'd code. * xcoffread.c: Only build file if RS/6000 native GDB. (build_function_symbol): Remove #if 0'd code. * rs6000-tdep.c: Cleanup. Add static fn protos. Use CORE_ADDR for addresses throughout. Make void fns void. (pop_dummy_frame): Add FIXME about bogosity of design here. (rs6000_struct_return_address): Ditto. (frameless_function_invocation, frame_get_cache_fsr, frame_initial_stack_address, xcoff_relocate_symtab, xcoff_init_loadinfo, free_loadinfo, xcoff_add_toc_to_loadinfo, add_text_to_loadinfo, find_toc_address): Move from xdep file. Use CORE_ADDRs. Change identifiers to lowercase. * rs6000-xdep.c: Make whole file conditional on native RS/6000, supplying dummy routines if non-native. Add prototype for static exec_one_dummy_insn. Move a mess of functions to rs6000-tdep.c (as above). Remove #if 0'd code. * config/rs6000.mh (XDEPFILES): Move xcoffexec.o to target side. (XM_CLIBS): Add -lm to circumvent AIX 3.2 libc ldexp bug. * config/rs6000.mt (TDEPFILES): Adopt xcoffexec.o.