aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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
1992-08-18Sigh; rectify error from jumping the gun on editing file while CVSRoland Pesch1-3/+2
checkin proceeding. Check in with most generic markup for page layout.
1992-08-18 * m68k-pinsn.c: Minor fix in style of output (don't usePer Bothner2-1/+6
range to indicate floating point control registers).
1992-08-18Check in with @smallbook commented out!Roland Pesch1-1/+2
1992-08-18Mon Aug 17 18:07:59 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)Roland Pesch5-457/+456
* gdb.texinfo, none.m4, h8.m4, gdbinv-s.m4.in: improve H8/300 conditionals; introduce a few generic switches that may be useful for other cross-dev or dos-hosted configs. * gdb.texinfo: fix typo in "info reg" description
1992-08-16* stabs.texinfo: Minor updates from running TeX over it.John Gilmore3-46/+88
* Makefile.in (stabs.dvi, stabs.ps): Add.
1992-08-16First pass at converting Julia's stabs document into texinfo.Per Bothner4-0/+2736
1992-08-15Surround extended support with #ifdef HAVE_68881.John Gilmore2-0/+4
1992-08-15* gdb.texinfo, refcard.tex: Document mult args on `info reg'.John Gilmore3-5/+10
* Makefile.in (refcard.ps, lrefcard.ps): Add missing $(srdir).
1992-08-15* infcmd.c (registers_info): Handle multiple register names.John Gilmore1-1/+6
Changes inspired by Roland McGrath.
1992-08-15* sparc-stub.c: New file. Mix it with your SPARCliteStu Grossman3-8/+918
application, and it will speak GDB remote protocol! * remote.c (remote_wait): Change 'T' (expedited reply) message to deal with arbitrary registers. Needed for sparc-stub,
1992-08-15Add section on partial symbol tables.John Gilmore1-0/+4
1992-08-14 * cplus-dem.c (cplus_markers): Add table for gnu style andFred Fish4-57/+276
use throughout, in place of compile time constant CPLUS_MARKER. * cplus-dem.c (ARM_VTABLE_STRING, ARM_VTABLE_STRLEN): Add. * cplus-dem.c (cfront_special): New function, as suggested by pfieland@stratus.com. * cplus-dem.c (forget_types): New function. * cplus-dem.c (cplus_demangle): Call gnu_special, moved from demangle_prefix(). * cplus-dem.c (mop_up): Call forget_types(). * cplus-dem.c (AUTO_DEMANGLING, GNU_DEMANGLING, LUCID_DEMANGLING): Use throughout, instead of checking current_demangling_style. * cplus-dem.c (demangle_signature): When finding an explicit start of function args, forget all remembered types for lucid/cfront style demangling. * cplus-dem.c (demangle_prefix): In a sequence of two or more underbar characters, use last pair as the delimiter. Hoist gnu_special() call up to cplus_demangle(). Call cfront_special() when appropriate. * cplus-dem.c (cplus_special): Fix virtual table name demangling for inherited classes. * cplus-dem.c (demangle_args): Document quirks of numbered references to previously seen types. * dbxread.c (read_ofile_symtab, process_one_symbol): Use AUTO_DEMANGLING rather than explicitly checking current_demangling_style. * demangle.h: Add some comments. * demangle.h (AUTO_DEMANGLING, GNU_DEMANGLING, LUCID_DEMANGLING, CFRONT_DEMANGLING): New macros. * dwarfread.c (LCC_PRODUCER): Remove trailing space, which is not found in the actual producer string produced by lcc. * dwarfread.c (handle_producer): Use AUTO_DEMANGLING rather than explicitly checking current_demangling_style.
1992-08-13* breakpoint.c (enable_longjmp_breakpoint,John Gilmore1-0/+7
disable_longjmp_breakpoint, set_longjmp_resume_breakpoint): Check for duplicate breakpoints at the same address. Bug report and preliminary fix from Dave Morrison, <drmorris@us.oracle.com>.
1992-08-12 * buildsym.c (end_symtab): Document that end_symtab can returnFred Fish3-13/+30
NULL under non-error conditions. * dwarfread.c (read_file_scope): Guard against dereferencing NULL returned from end_symtab for empty compilation units.
1992-08-11Changes to make MIPS x 29K compile.John Gilmore4-44/+56
* am29k-tdep.c: Lint from DECstation compiler. * mem-break.c: Restore test of BREAKPOINT size that Fred removed. As the man page says, "Sometimes you just can't get lint to shut up". That doesn't mean you should blow away the code it won't shut up about. * mips-xdep.c: Revise stubbing-out of code until Rich cleans it up over the next few weeks. Make mips x 29k build. * tm-29k.h (CALL_DUMMY): Make it work on cross-endian hosts. (FIX_CALL_DUMMY): Comment in the patching of the breakpoint, but leave it as a comment because the breakpoint instruction is not easily accessible at this moment (it's static, and if we define one here, it goes into every file compiled).
1992-08-11 * Makefile.in (VERSION): Bump to 4.6.3.Fred Fish4-11/+88
* dwarfread.c (scan_partial_symbols): Skip over DIE's within function scopes when building partial symbol tables. * objfiles.c (open_existing_mapped_file): Make it clear in warning message that out of date mapped files are ignored. * symtab.c (lookup_symtab_1, lookup_symbol): Print compilation unit source file name in error message.
1992-08-09 * dwarfread.c (struct dieinfo): Add has_at_byte_size.Fred Fish4-7/+44
* dwarfread.c (struct_type): In absence of AT_byte_size for bitfield, use size of object of member's type for the size of the anonymous object containing the bit field. * dwarfread.c (completedieinfo): Set has_at_byte_size when an AT_byte_size attribute is seen. * mipsread.c (psymtab_to_symtab_1): Fix misspelled cast to union aux_ext (was aux_ent). * i386-pinsn.c (print_insn): Cast 2'nd arg to read_memory from unsigned char* to char*, for Lucid compiler. * i386-tdep.c (codestream_fill): Fix cast of 2'nd arg to read_memory to be correct type (from unsigned char* to char*). * valprint.c (type_print_derivation_info): Minor tweak to placement of commas in derived class printing. * xcoffread.c (builtin_type): Fix misspelling in fatal message.
1992-08-07 * xm-go32.h: Define LSEEK_NOT_LINEARSteve Chamberlain2-0/+13
* serial.c (find_source_lines): if LSEEK_NOT_LINEAR is defined then work out the lseek positions of newlines by running through the file and `tell'ing. This makes source file listing work on OS's where the relationship between physical position in file and canonical position is indeterminate, eg VMS and DOS.
1992-08-06 * stabsread.c: Ensure that all members of all allocated structuresFred Fish2-32/+35
are initialized to known state to avoid hard to find bugs with gdb using fields containing random data.
1992-08-06 * buildsym.c (start_subfile): Compact dirname initialization.Fred Fish4-31/+96
* buildsym.c (patch_subfile_names): New function. * buildsym.c (end_symtab): Make copy of dirname on symbol obstack. * buildsym.c (end_symtab): Free all malloc'd subfile fields. * buildsym.h (patch_subfile_names): Add prototype. * dbxread.c (process_one_symbol): Call patch_subfile_names.
1992-08-06 * buildsym.c (end_symtab): Make copy of dirname on symbol obstack.Fred Fish2-1/+16
1992-08-05Update comments. It doesn't do MiniMON, it does UDI!John Gilmore2-6/+12
1992-08-05* remote.c (getpkt): Only force retransmission ten times;John Gilmore2-2/+18
after that, assume bug in target code, and handle pkt anyway.
1992-08-04* configure.in: Add support for apollo 68k under BSD environment.Stu Grossman3-0/+30
* xm-apollo68b.h: New file to support above.
1992-08-03 * configure.in: Recognize i486 host cpu.Fred Fish3-68/+126
* valprint.c (type_print_derivation_info): Print derivation info in same form as class declarations in source. * valprint.c (type_print_varspec_suffix): Split arg printing code out to type_print_args function.
1992-08-01 * dwarfread.c (struct dieinfo): Remove obsolete at_visibility,Fred Fish8-51/+103
at_import, at_frame_base. * dwarfread.c (completedieinfo): Remove cases for obsolete AT_visibility, AT_import, and AT_frame_base attributes. * breakpoint.h (BREAKPOINT_MAX): Increase from 10 to 16 for i860, which can keep up to 4 shadow breakpoints. * tm-stratus.h (USG): Define. * tm-stratus.h (TARGET_BYTE_ORDER): Define to BIG_ENDIAN. * xm-stratus.h (HOST_BYTE_ORDER): Define to BIG_ENDIAN. * xm-stratus.h (xm-sysv4.h): Include, name changed from xm-svr4.h. * xm-stratus.h (NO_JOB_CONTROL): Remove define. * config/stratus.mt (TDEPFILES): Include files available from stratus that are not yet in release pending receipt of paperwork at FSF. * buildsym.c (finish_block): Minor code format change. * gdbtypes.h (struct field): Add to comments. * gdbtypes.h (virtual_field_bits): Add to comments. * objfiles.c (allocate_objfile): Change obstack interface to match FSF merging efforts.
1992-07-31Update cygnus copies of currently undistributed i860 files maintained byFred Fish6-172/+1213
Peggy Fieland at stratus.com.
1992-07-28Pull RCS ID.John Gilmore1-2/+0
1992-07-28 * Makefile.in (VERSION): Bump to 4.6.2.Fred Fish9-3200/+3544
* Makefile.in (SFILES_MAINDIR): Add stabsread.c * Makefile.in (OBS): Add stabsread.o * Makefile.in (stabsread.o): Add build rule. * stabsread.c, stabsread.h: New files. * buildsym.c: Split out stabs specific support to stabsread.c. * buildsym.h: Split out stabs specific support to stabsread.h. * dbxread.c (stabsread.h): Include * dbxread.c (dbx_new_init): Call stabsread_new_init. * dbxread.c (dbx_psymtab_to_symtab_1): Call stabsread_init. * dbxread.c (read_ofile_symtab): Call end_stabs. * dbxread.c (process_one_symbol): Call end_stabs and start_stabs. * dbxread.c (elfstab_build_psymtabs): Call stabsread_new_init. * dwarfread.c (psymtab_to_symtab_1): Call buildsym_init, add really_free_pendings to cleanups. * elfread.c (elf_new_init): Call stabsread_new_init. * gdbtypes.c: Small changes to maintenance commands. * mipsread.c (stabsread.h): Include. * mipsread.c (psymtab_to_symtab_1): Call end_stabs. * xcoffread.c (stabsread.h): Include. * xcoffread.c (global_stabs): Remove redundant def. * xcoffread.c (read_xcoff_symtab): Call start_stabs and end_stabs.
1992-07-23Support OSE.David Henkel-Wallace8-11/+38
1992-07-23 * lmode_inferior_valid, lmode_ours_valid: New static vars.Fred Fish1-0/+7
* inflow.c (terminal_init_inferior, terminal_inferior, terminal_ours_1, initialize_inflow): Record and use state of lmode_inferior_valid and lmode_ours_valid.
1992-07-21 * buildsym.c (read_struct_type): Initialize structs allocatedFred Fish5-94/+211
with alloca, to avoid using random values from stack later on. * defs.h (fprintf_filtered): Add prototype. * gdbtypes.c (check_stub_method): Fix misleading comments. * gdbtypes.c (print_arg_types, dump_fn_fieldlists): New maint support functions. * gdbtypes.c (print_cplus_stuff, recursive_dump_type): Many small changes to maint support functions. * gdbtypes.h (cplus_struct_type): Reorganize member ordering for some fields and expand comments. * objfiles.c (allocate_objfile): Use new obstack_alloc_arg macro and track change to obstack_full_begin macro. * utils.c (fprintfi_filtered): New function. * valprint.c (type_print_base): Fixup field printing to not print extraneous lines and not print bogus "no data fields" messages for C++ classes with no data members. Also use new fprintfi_filtered function.
1992-07-20configure error messages to stderr, recognize hppa* instead of hppaDavid D. Zuhn1-2/+2
1992-07-18Fixup patch for ncr3000.mh, delete patch for amix.mh, add patch forFred Fish1-28/+25
demangle.c.
1992-07-18Correct pathnames for files in config/Stu Grossman1-4/+4