aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
1992-08-29* gdbtypes.h (TYPE_ALLOC): Parenthesize result to avoid problemsJohn Gilmore1-2/+2
for callers.
1992-08-29RS/6000 portability changes (for hosting cross-debuggers).John Gilmore1-23/+327
* 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. * gdbtypes.h (TYPE_ALLOC): Parenthesize result to avoid problems for callers.
1992-08-28* vx-share/README, nindy-share/README: New files describingJohn Gilmore2-0/+14
how these directories' code is shared, and with whom. (also 29k-share)
1992-08-28* vx-share/README, nindy-share/README: New files describingJohn Gilmore1-0/+7
how these directories' code is shared, and with whom.
1992-08-28* tm-altosgas.h, tm-i386v-g.h: Remove ancient coff encap configs.John Gilmore2-2/+1
* config/{altosgas.mt, i386v-g.mt, i386v32-g.mt}: Ditto. * config/{i386sco.mt,i386v32.mt}: Remove; identical to i386v.mt. * config/{go32.mt,i960.mt}: Remove; they only printed error msgs. * config/nindy960.mt: Remove useless MT_CFLAGS setting. * config/i386aout.mt: Use tm-i386v.h, not tm-i386v-g.h.
1992-08-28* configure.in (target configurations): Reformat into table.John Gilmore3-219/+181
Remove unsupp. Amigados host and target. Ditto Mach 386 target. * tm-altosgas.h, tm-i386v-g.h: Remove ancient coff encap configs. * config/{altosgas.mt, i386v-g.mt, i386v32-g.mt}: Ditto. * config/{i386sco.mt,i386v32.mt}: Remove; identical to i386v.mt. * config/{go32.mt,i960.mt}: Remove; they only printed error msgs. * config/nindy960.mt: Remove useless MT_CFLAGS setting. * config/i386aout.mt: Use tm-i386v.h, not tm-i386v-g.h. * Makefile.in (config-check): Add command to check whether configure.in is consistent with config/*.
1992-08-28Remove -gas variants; GDB doesn't care. Cross-check with config/*.mhJohn Gilmore2-8/+5
to make sure all .mh files are represented and vice verse.
1992-08-27* configure.in (host configurations): Reformat nested cases intoJohn Gilmore2-141/+72
easy-to-maintain table. (altos-*-gas): Use -gas flag instead of OS "gas".
1992-08-26 * cplus-dem.c: Reorder args to most local functions to make themFred Fish2-201/+259
follow the consistent pattern of struct work_stuff pointer first, followed by pointer into string being demangled, followed by pointer to the string where the result is being stored, followed by other args. Also generally replace most variables of name "type" with "mangled" for consistency. They all pointed to the same string but half were one name and half the other. * cplus-dem.c (LONGERNAMES): Remove #ifndef's. * cplus-dem.c (demangle_qualified): Rewrite to clean up and allow use whenever a qualified name is being demangled. * cplus-dem.c (do_type): Qualified names are treated similarly to fundamental types, not as modifiers of fundamental types.
1992-08-25Markup changes to run through TeX without errors.Roland Pesch1-13/+32
WARNING: (1) this has not yet been proofread as a printout---just eliminated problems that TeX complained about. (2) extraneous line breaks introduced in some examples, sometimes in ridiculously long strings; this may falsify examples. Places where I did this are marked by FIXME comments.
1992-08-25Some improvements in Texinfo markup:Roland Pesch1-214/+407
1) use makeinfo node defaulting 2) correct bad xref 3) use @display, @exdent, etc. as first approximation to Julia's clever typewriter markup; **THIS WILL NEED STUDY AND REVISION** 4) introduce many nodes rather than ---- in "detailed reference" appendix
1992-08-25Add sparc-stub.c to .SanitizeStu Grossman1-0/+1
1992-08-25Update to make patches relative to current devo sources.Fred Fish1-180/+105
1992-08-25* configure.in: Add sparclite as a target.Stu Grossman1-2/+2
1992-08-25* sparc-stub.c (handle_exception): Flush instruction cache justStu Grossman2-1/+12
before returning to the user. (hexToInt): Fix overzealous cleanup.
1992-08-24 * infrun.c (handle_command): Rewrite to allow multiple signalFred Fish1-0/+8
numbers, signal number ranges, and to recognize "all" to mean all signals except those used by the debugger. * infrun.c (SET_SIGS, UNSET_SIGS): Macros used in handle_command to set or reset actions for specific signals.
1992-08-24FIXME. Half-done documentation for the macros used to configure GDB'sJohn Gilmore1-0/+6
sources. What's there now is a list of all macros, and at least one source file in which they are referenced.
1992-08-24 * coffread.c (decode_type): Call alloc_type to alloc newFred Fish5-43/+63
types. * stabsread.c (read_array_type, read_range_type, define_symbol): Call alloc_type to alloc new types. * stabsread.c (define_symbol): Move dbl_valu symbol field data from type_obstack to symbol_obstack. * stabsread.c (define_symbol): Move typedef_sym from type_obstack to symbol_obstack. * gdbtypes.h (TYPE_ALLOC): New macro to allocate space for data associated with a type, using the same mechanism as was used to allocate space for the type structure itself. * coffread.c (patch_type, coff_read_struct_type, coff_read_enum_type): Use TYPE_ALLOC. * dwarfread.c (struct_type): Use TYPE_ALLOC. * gdbtypes.c (create_array_type, check_stub_method, allocate_cplus_struct_type): Use TYPE_ALLOC. * mipsread.c (parse_symbol, parse_type): Use TYPE_ALLOC. * stabsread.c (read_struct_type, read_array_type, read_enum_type, read_range_type): Use TYPE_ALLOC.
1992-08-23 * breakpoint.c (breakpoint_re_set): Select a default sourceFred Fish3-2/+18
symtab if one is not currently selected. * utils.c (query): Call wrap_here before building the output query string, to turn off wrapping and flush any buffered output. Otherwise our query may end up in the wrap buffer and never be seen by the user. * eval.c (evaluate_subexp): Report error when attempting to evaluate subscript for types without a target type, rather than dumping core by using the NULL pointer. * symfile.c (symbol_file_command): Forget current_source_symtab and current_source_line when discarding symbol table.
1992-08-23Bug fixes from Andrew Heybey <ath@lcs.mit.edu>.John Gilmore2-1/+11
* tm-mips.h (REGISTER_VIRTUAL_TYPE): Float regs are float type. * mips-tdep.c (mips_print_register): Alloc enough space for two regs.
1992-08-21* remote.c (remote_open): Fix baud rate setting to make -b flagStu Grossman2-386/+294
work. (remote_wait): Change 'T' message parser to deal with new improved format which allows stub to send an arbitrary bunch of registers. * sparc-stub.c: General cleanups. (trap_low, handle_exception): make all this re-entrant by storing all state on the stack. Clean up memory error trapping. (computeSignal, set_debug_traps): make it all table driven. Make a start at a baud rate setting command.
1992-08-19This is for PR 628.Ian Lance Taylor2-0/+6
Wed Aug 19 10:23:27 1992 Ian Lance Taylor (ian@cygnus.com) * m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
1992-08-19Wed Aug 19 10:23:27 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor3-0/+11
* remote-vx.c: redefine malloc to avoid buggy declaration on RS/6000 <rpc/types.h>. xm-rs6000.h: include <sys/select.h> to define fd_set for <rpc/svc.h> on RS/6000.
1992-08-18Tue Aug 18 15:59:13 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)Roland Pesch3-8/+13
* gdbinv-s.m4.in: refrain from using @cartouche for just a few examples (not consistent w others). gdb.texinfo: issue disclaimer paragraph on cmdline options only for generic vn of doc
1992-08-18Moved in from p3:Ian Lance Taylor2-0/+7
Tue Aug 18 14:53:27 1992 Ian Lance Taylor (ian@cygnus.com) * Makefile.in: always create installation directories.
1992-08-18Moved in from p3:Ian Lance Taylor1-0/+6
Tue Aug 18 14:48:24 1992 Ian Lance Taylor (ian@cygnus.com) * Makefile.in: added FLAGS_TO_PASS variable, and passed it to recursive invocations of make. Always create installation directories.
1992-08-18Tue Aug 18 14:11:50 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)Roland Pesch2-0/+8
* gdb.texinfo: in h8 config, do not describe searching commands.
1992-08-18Support netx configuration (which permits long-only alignment on m68k).Michael Tiemann1-0/+1