aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-01-13* gdb.texinfo (Print Settings): Document `set printJohn Gilmore2-5/+49
fast-symbolic-addr' and improve the doc for some other `set print's.
1994-01-13* printcmd.c (print_address_symbolic): Make it search theJohn Gilmore2-32/+103
symtabs for variables as well as functions. Add `set print fast-symbolic-addr' and default it to fast (the old way). Print line numbers for data items as well as functions. * symtab.c (find_addr_symbol): Return the symtab and the symbol address, if a symbol is found (take two more args pointing to where to store these results). * symtab.h (find_addr_symbol): Add prototype.
1994-01-13 * objfiles.h: Fix comments to reflect the fact that the phraseJim Kingdon2-3/+8
"top of stack" always refers to where the pushing and popping takes place, regardless of whether it is at the highest or lowest address.
1994-01-12 * mdebugread.c (parse_symbol): Do not set TYPE_TAG_NAME forPeter Schauer2-3/+24
compiler generated tag names. * mdebugread.c (parse_type): Handle cross references to qualified aggregate types. * valops.c (value_struct_elt): Improve error message if the address of a method is requested from an object instance. * valops.c (search_struct_method): Make name_matched non-static to get it initialized correctly.
1994-01-12 * go32-xdep.c: Remove unused function uerror.Jim Kingdon2-8/+11
(sigsetmask): Declare return type. Declare argument (to match the way it is called). Explicitly return 0.
1994-01-12* symtab.h (struct symbol, general_symbol_info, minimal_symbol,John Gilmore2-25/+44
partial_symbol): Shrink the storage sizes of symbols, by making enums into 1-byte bitfields when compiled __GNUC__, moving all the enums and small ints to the end of each struct to improve alignment, and switching the section number from int to unsigned short.
1994-01-12* symtab.c (find_addr_symbol): New routine that will find the nearestJohn Gilmore2-0/+71
symbol associated with an address. It does so by exhaustive search of the symtabs, so it's slow but complete.
1994-01-12* coffread.c (read_coff_symtab): Set PC bounds of _globals_ symtabJohn Gilmore1-0/+8
to [0,0] rather than [0, end of first source file]. This avoids problems with other parts of GDB looking for linetables in the _globals_ symtab. Eliminate variables num_object_files and first_object_file_end. Fixes PR gdb/4072.
1994-01-12* a29k-tdep.c (init_frame_info): Cast null arg to examine_tag.John Gilmore3-26/+98
(pop_frame): Restore PC2 and LR0 from dummy frames. (push_dummy_frame): Save PC2 and LR0 into dummy frames. (setup_arbitrary_frame): Handle 3 args and set up real frames. * config/a29k/tm-a29k.h (FRAME_NUM_ARGS): Update comments. (DUMMY_FRAME_RSIZE): Add 2 longwords for PC2 and LR0. (SETUP_ARBITRARY_FRAME): Define.
1994-01-11 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existingJim Kingdon1-0/+5
xfails; I'm not sure why they are failing, but not because of PR 1806.
1994-01-11* infrun.c, config/mips/tm-irix5.h: Remove #if 0'd AT_FUNCTION_START.Jim Kingdon2-4/+4
1994-01-11 * remote-udi.c (udi_resume): Correct prototype.Ian Lance Taylor2-2/+5
1994-01-11 * config/pa/tm-hppa.h (FRAME_FIND_SAVED_REGS): CallJeff Law2-67/+381
hppa_frame_find_saved_regs. * hppa-tdep.c (dig_fp_from_stack): Delete function. (prologue_inst_adjust_sp): New function. (is_branch, inst_saves_gr, inst_saves_fr): New functions. (skip_prologue): Completely rewrite to use unwind information. (hppa_frame_find_saved_regs): Likewise.
1994-01-11 * remote-mips.c (mips_wait): Use new function mips_signal_from_protocolJim Kingdon2-10/+25
to convert a signal number with appropriate bounds checking.
1994-01-11* remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377).Jim Kingdon2-3/+7
1994-01-11* stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined,John Gilmore1-0/+3
print a newline to end the display anyway.
1994-01-11[Revise prev change -- this is how it's been running at Adobe, and it worksJohn Gilmore2-13/+7
there.] * sparc-tdep.c (sparc_pop_frame): Pop the fsr and csr (float and coprocessor status regs) when popping a frame. This fixes float exceptions that occur after calling inferior functions. * sparc-nat.c (fetch_inferior_registers, store_inferior_registers): Read and write the fsr (float status register) to/from the child process along with the float regs. Remove Peter Schauer's change of May 24 '93, which has higher overhead and doesn't solve the real problem (which was that FSR wasn't being set).
1994-01-11* sparc-nat.c (fetch_inferior_registers, store_inferior_registers):John Gilmore2-5/+15
Read and write the fsr (float status register) to/from the child process. This avoids random float exceptions when running under GDB, and probably obsoletes Peter Schauer's change of May 24 '93 (which remains for safety).
1994-01-11* a29k-tdep.c (examine_prologue): Don't worry if the ASGEQJohn Gilmore2-6/+28
stack overflow check isn't right after the register stack adjustment instruction. Metaware R2.3u compiler moves other things in front of it. This fix isn't perfect but is what's running.
1994-01-11 * config/unix-gdb.exp: Remove gdb_unload cause it's alreadyRob Savoye1-0/+5
defined in lib/gdb.exp
1994-01-11Tweaked to work with either version of expect. removed gdb_unload procRob Savoye1-27/+0
cause it's already in lib/gdb.exp.
1994-01-11Tweaked to work with either version of expect.Rob Savoye1-26/+39
1994-01-11* c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT.Jim Kingdon2-5/+12
1994-01-11Add alpha-nw.mt to things to keepJim Kingdon1-0/+1
1994-01-11Add udi2go32.c to things to keepJim Kingdon1-0/+1
1994-01-11Add TODO to things to keepJim Kingdon1-0/+1
1994-01-11 * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14Jim Kingdon3-1/+7
character filenames. * configure.in: Change accordingly.
1994-01-10 * m68k-stub.c, sparc-stub.c: removed spurious introduction ofThomas Lord1-0/+5
_filtered io routines from these two files.
1994-01-07 * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,Peter Schauer4-0/+7
config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define.
1994-01-07 * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,Peter Schauer2-0/+21
config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define. * mdebugread.c (parse_symbol): Handle enum sh.type produced by DEC c89. * mdebugread.c (add_line): Handle zero linenos produced by DEC c89.
1994-01-07 * gdb.t07/watchpoint.exp: Clear xfail for calling function withPeter Schauer1-0/+11
watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined. * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions have to be typeless.
1994-01-07 * utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) beforeJim Kingdon2-6/+20
printing to gdb_stderr. * remote-udi.c (udi_kill): Don't close the connection, just set inferior_pid to zero. (udi_mourn): Call remove_breakpoints. * remote-udi.c: Remove obsolete need_artificial_traps comment.
1994-01-07* i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc.Jim Kingdon2-0/+18
1994-01-06* symtab.c (lookup_symbol): Don't try adding .c to the name.Jim Kingdon2-0/+22
1994-01-06 * remote-bug.c: At the start of each section, reset srec_frameJim Kingdon2-1/+10
back to 160.
1994-01-06 * target.h: Add TARGET_WAITKIND_LOADED and TARGET_WAITKIND_SPURIOUS.Jim Kingdon3-30/+80
* target.c (store_waitstatus): Add CHILD_SPECIAL_WAITSTATUS hook. * infrun.c (wait_for_inferior): Replace SIGTRAP_STOP_AFTER_LOAD with code which looks for those two waitkinds. Use switch statement. * config/rs6000/tm-rs6000.h: Replace SIGTRAP_STOP_AFTER_LOAD with CHILD_SPECIAL_WAITSTATUS.
1994-01-06 * procfs.c (procfs_wait): Fix argument name to match 4 Jan changes.Jim Kingdon14-53/+43
* Move target_signal_from_host, target_signal_to_host, and store_waitstatus from inftarg.c to target.c. procfs needs them. * target.c: Include "wait.h" and <signal.h>. * target.h, infrun.c (proceed), proceed callers: Pass new code TARGET_SIGNAL_DEFAULT instead of -1. This avoids problems with enums being treated as unsigned and is cleaner. * infrun.c (signals_info): Don't print TARGET_SIGNAL_DEFAULT or TARGET_SIGNAL_0. * infcmd.c (signal_command), infrun.c (signals_info): Don't allow user to specify numeric equivalent of TARGET_SIGNAL_DEFAULT.
1994-01-06Tweaked to work with either version of expect.Rob Savoye1-12/+6
1994-01-04 * config/alpha/alpha-netware.mt: New target support for AlphaStu Grossman3-0/+15
running Netware. * configure.in: Add alpha-*-netware* target.
1994-01-04Tue Jan 4 14:51:35 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-2/+6
* remote-mips.c (mips_wait): Fix ref to TARGET_WAITKIND_STOPPED.
1994-01-04 * target.h: Add enum target_waitkind, enum target_signal, andJim Kingdon32-7959/+1166
struct target_waitstatus. Change status argument to target_wait to be struct target_waitstatus * instead of int *. * target.h, infrun.c, all targets: Change type of signal arguments to resume(), proceed(), and target_resume() from int to enum target_signal. * All targets (*_wait, *_resume): Change accordingly. * infcmd.c (program_info, signal_command), throughout infrun.c, * fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff. * convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex signal code stuff right with the new signals would be non-trivial). * inferior.h (stop_signal): Make it enum target_signal not int. * target.c, target.h (target_signal_to_string, target_signal_to_name, target_signal_from_name): New functions. * inftarg.c, target.h (target_signal_to_host, target_signal_from_host, store_waitstatus): New functions. * procfs.c (procfs_notice_signals): Use them. * i960-tdep.c (i960_fault_to_signal): New function, to replace print_fault. * config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL.
1994-01-04 * objfiles.c (build_objfile_section_table): Don't abort() ifJim Kingdon1-4/+6
objfile->sections is already set. * objfiles.c (add_to_objfile_sections): Check SEC_ALLOC not SEC_LOAD to match recent change to exec.c.
1994-01-04 * target.h: Add enum target_waitkind, enum target_signal, andJim Kingdon1-6/+0
struct target_waitstatus. Change status argument to target_wait to be struct target_waitstatus * instead of int *. * target.h, infrun.c, all targets: Change type of signal arguments to resume(), proceed(), and target_resume() from int to enum target_signal. * All targets (*_wait, *_resume): Change accordingly. * infcmd.c (program_info, signal_command), throughout infrun.c, * fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff. * convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex signal code stuff right with the new signals would be non-trivial). * inferior.h (stop_signal): Make it enum target_signal not int. * target.c, target.h (target_signal_to_string, target_signal_to_name, target_signal_from_name): New functions. * inftarg.c, target.h (target_signal_to_host, target_signal_from_host, store_waitstatus): New functions. * procfs.c (procfs_notice_signals): Use them. * i960-tdep.c (i960_fault_to_signal): New function, to replace print_fault. * config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL.
1994-01-04 * Version 4.11.3.Jim Kingdon2-0/+7491
* main.c (print_gdb_version): Change year to 1994. * ChangeLog, ChangeLog-93: Split ChangeLog at 1994. * Makefile.in (NONSRC): Add ChangeLog-93.
1994-01-04New for ChangeLog splitJim Kingdon1-0/+0
1994-01-03 * stabsread.c (read_type): Allow defining several type numbersJim Kingdon2-32/+43
at once (e.g. "(1,2)=(3,4)="...).
1994-01-03 * stabs.texinfo (String Field): Talk about defining several typeJim Kingdon2-3/+12
numbers at once. Fix lint regarding changing node ELF Transformations to ELF and SOM Transformations.
1994-01-03* stabsread.c (read_enum_type): Use TARGET_INT_BIT not sizeof (int).Jim Kingdon2-1/+3
1994-01-03Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-0/+8
* configure.in (*-*-lynxos*): Add stabs tests.
1994-01-03* breakpoint.c (frame_in_dummy): Check PC as well as frame.Jim Kingdon1-0/+4