aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-04-20 * dstread.c, coffread.c: Don't define pending_blocks; buildsym.cJim Kingdon2-2/+5
takes care of it.
1994-04-20Add missing #endif.Jeff Law1-0/+1
1994-04-19 * hppa-tdep.c (internalize_unwind_info): Delete unused indexpJeff Law2-3/+7
argument.
1994-04-18 * dbxread.c (read_dbx_dynamic_symtab): Relocate BFD symbols byPeter Schauer2-1/+19
section vma. Do not read dynamic relocs for sun3 executables to avoid BFD assertion message.
1994-04-18 * nm-hppab.h (KERNEL_U_ADDR): Define.Jeff Law4-20/+46
(FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. * nm-hppah.h (KERNEL_U_ADDR): Define. (FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. (NEED_TEXT_START_END): Likewise. * tm-hppah.h (NEED_TEXT_START_END): Delete definition. * xm-hppah.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * xm-hppab.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * hppa-tdep.c (read_unwind_info): Make static. (restore_pc_queue): Indirect through the target vector to reload the register state.
1994-04-18Fix typo.Jeff Law1-1/+1
1994-04-18 * nm-hppab.h (KERNEL_U_ADDR): Define.Jeff Law2-2/+22
(FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. nm-hppah.h (KERNEL_U_ADDR): Define. (FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. (NEED_TEXT_START_END): Likewise. * tm-hppah.h (NEED_TEXT_START_END): Delete definition. * xm-hppah.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * xm-hppab.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * hppa-tdep.c (read_unwind_info): Make static. (restore_pc_queue): Indirect through the target vector to reload the register state.
1994-04-17 * paread.c (compare_unwind_entries): Delete function. It's beenJeff Law3-177/+217
moved into hppa-tdep.c. (read_unwind_info): Likewise. (pa_symfile_read): No longer call read_unwind_info. The unwind tables will be read in as they are needed. * hppa-tdep.c (compare_unwind_entries): New function. (read_unwind_info, internalize_unwinds): Likewise. (find_unwind_entry): Read in unwind information on demand.
1994-04-15Fri Apr 15 11:53:46 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs7-45/+69
* source.c (DIRNAME_SEPARATOR): New macro, replaces all references to : in search path processing. * defs.h (qsort): Rename argument in prototype. * symtab.h (SAYMBOL_VALUE): Rename value field, avoids bugs in some compilers. * breakpoint.c, exec.c, mdebugread.c, mipsread.c, xcoffexec.c (false): Eliminate usages.
1994-04-15 * h8500-tdep.c (initialize_h8500_tdep, large_command):Steve Chamberlain4-7/+22
All references to value changed to value_ptrlage_command is now called big_command. All references to value changed to value_ptr. * remote-z8k.c (e7000_wait): Use target_waitstatus and SETSTOP * remote-hms.c (hms_wait): Timeout after five seconds. * ser-go32.c (dosasync_read): Poll if timeout < 0. * config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted. * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.
1994-04-15 * config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted.Steve Chamberlain1-5/+0
1994-04-15 * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.Steve Chamberlain1-2/+3
1994-04-14 * procfs.c (procfs_wait): Protect watchpoint code with appropriateJeff Law2-1/+13
#ifdefs. (procfs_set_watchpoint, procfs_stopped_by_watchpoint): Likewise.
1994-04-14 * procfs.c (procfs_wait): Protect watchpoint code with appropriateJeff Law2-0/+11
#ifdefs.
1994-04-14(Arguments): Fix typo.Jim Kingdon2-2/+3
1994-04-14 * gdb.texinfo: Refer to file names, not path names, per rmsJim Kingdon2-7/+12
convention.
1994-04-14 * config/mips/nm-irix4.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.Jeff Law2-0/+20
(STOPPED_BY_WATCHPOINT, HAVE_NONSTEPPABLE_WATCHPOINT): Likewise. (target_{insert,remove}_watchpoint): Likewise.
1994-04-13 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpointsJeff Law1-0/+7
on local variables in recursive functions. * gdb.t07/Makefile.in: Build the new test.
1994-04-13 * config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define.Jeff Law1-0/+68
(HAVE_STEPPABLE_WATCHPOINT): Define. (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define. (target_{insert,delete}_watchpoint): Define.
1994-04-13 * breakpoint.h (enum bptype): Add bp_hardware_watchpoint andJeff Law8-153/+584
bp_watchpoint_scope breakpoints. (struct breakpoint): Add val_chain and related_breakpoint fields for use by watchpoints. * breakpoint.c (within_scope): Delete. No longer used. (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Provide default definition. (target_{remove,insert}_watchpoint): Likewise. (can_use_hardware_watchpoint): New function. (remove_breakpoint): New function to remove a single breakpoint or hardware watchpoint. (insert_breakpoints): Handle insertion of hardware watchpoints. Store a copy of the value chain derived from the watchpoint expression. (remove_breakpoints): Simplify by using remove_breakpoint. (delete_breakpoint): Likewise. (watchpoint_check): Delete the watchpoint and watchpoint scope breakpoints when the watchpoint goes out of scope. Save & restore the current frame after checking watchpoints. (breakpoint_init_inferior): Likewise (restarting the program makes all local watchpoints go out of scope). (bpstat_stop_status): Handle hardware watchpoints much like normal watchpoints. Delete the watchpoint and watchpoint scope breakpoint when the watchpoint goes out of scope. Remove and reinsert all breakpoints before returning if we stopped when a hardware watchpoint fired. (watch_command): Use a hardware watchpoint when possible. If watching a local expression, build a scope breakpoint too. (map_breakpoint_numbers): Also call given function for any related breakpoints. (disable_breakpoint): Never disable a scope breakpoint. (enable_breakpoint): Handle hardware breakpoints much like normal breakpoints, but recompute the watchpoint_scope breakpoint's frame and address (if we have an associated scope breakpoint). (read_memory_nobpt): Handle hardware watchpoints like normal watchpoints. When necessary handle watchpoint_scope breakpoints. (print_it_normal, bpstat_what, breakpoint_1, mention): Likewise. (clear_command, breakpoint_re_set_one, enable_command): Likewise. (disable_command): Likewise. * blockframe.c (find_frame_addr_in_frame_chain): New function. Extern prototype added to frame.h * infrun.c (wait_for_inferior): Set current_frame and select a frame before checking if we stopped due to a hardare watchpoint firing. Handle stepping over hardware watchpoints. (normal_stop): Remove unnecessary call to select_frame. * value.h (value_release_to_mark): Declare. * values.c (value_release_to_mark): New function. * procfs.c (procfs_wait): Add cases for hardware watchpoints. (procfs_set_watchpoint, procfs_stopped_by_watchpoint): New functions. * hppab-nat.c (hppa_set_watchpoint): New function. * config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define. (HAVE_STEPPABLE_WATCHPOINT): Define. (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define. (target_{insert,delete}_watchpoint): Define.
1994-04-13Fix typo.Jeff Law1-1/+1
1994-04-13 * gdb.t15/gdbme.c (t_func_values): Do not compare function pointersJeff Law1-0/+5
directly. Instead compare the return values from actual calls.
1994-04-12Mon Apr 11 19:21:27 1994 Stu Grossman (grossman at cygnus.com)Stu Grossman2-1/+8
* xcoffread.c (read_xcoff_symtab): Ignore symbols of class C_EXT, smtyp XTY_LD, sclass XMC_DS (external data segment label). They often have the same names as debug symbols for functions, and confuse lookup_symbol().
1994-04-11 * Makefile.in (check): Set TCL_LIBRARY for runtest.Bill Cox2-37/+107
1994-04-11 * remote.c: Around redefinition of PBUFSIZE, adjust whitespace.Jim Kingdon2-1/+12
* config/pa/tm-hppa.h (REGISTER_BYTES): Use 4 rather than REGISTER_RAW_SIZE (1). Together these changes work around a bug in HP's compiler. Both seem to be necessary.
1994-04-11 * paread.c (pa_symtab_read): Handle ST_STUB symbols and symbolsJeff Law2-3/+67
with scope SS_EXTERNAL. ST_ENTRY symbols in dynamic executables are type mst_solib_trampoline.
1994-04-11 * From Peter Schauer with minor modifications.Jeff Law1-0/+7
* gdb.t15/return.exp (return_tests): Handle targets where "return" stops in mid-line in the caller. Add xfail for returning a float value on X86 targets.
1994-04-09Fri Apr 8 17:14:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)Jim Kingdon2-5/+15
* config/m68k/es1800.mt: Change comments. Fri Apr 8 17:14:37 1994 Rob Savoye (rob@darkstar.cygnus.com) * config/m68k/monitor.mt (TDEPFILES): Don't include remote-es.o.
1994-04-08 * lynx-nat.c: Restore regmap structure for SPARC. It's neededStu Grossman2-2/+80
for core files.
1994-04-08 * values.c (unpack_long): Remove obsolete comment about using aJim Kingdon2-3/+3
switch statement.
1994-04-08* symfile.c (symbol_file_command): Add comments about command syntax.Jim Kingdon1-0/+4
1994-04-08 * config/mips/mipsv4.mh, config/mips/mipsv4.mt,Peter Schauer5-0/+76
config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c: New files for MIPS SVR4 support.
1994-04-08 * config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define,Peter Schauer1-0/+4
OSF/1 has shared libraries.
1994-04-08 * config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE):Peter Schauer2-3/+20
Define to handle stepping into -g compiled shared libraries. * config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle stepping into -g compiled shared libraries.
1994-04-08 * infrun.c (IN_SOLIB_TRAMPOLINE): Correct comment, trampolinesPeter Schauer14-226/+773
are in the .plt section. * minsyms.c (lookup_solib_trampoline_symbol_by_pc, find_solib_trampoline_target): New functions for handling stepping into -g compiled shared libraries. * symtab.h (lookup_solib_trampoline_symbol_by_pc, find_solib_trampoline_target): Add prototypes. * config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): Define to handle stepping into -g compiled shared libraries. * config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle stepping into -g compiled shared libraries. * configure.in: Add mips-*-sysv4* support. * config/mips/mipsv4.mh, config/mips/mipsv4.mt, config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c: New files for MIPS SVR4 support. * Makefile.in: Update for new mipsv4 files. * alpha-tdep.c (heuristic_proc_desc, find_proc_desc): Use read_next_frame_reg to obtain the frame relative stack pointer. * mips-tdep.c (heuristic_proc_desc): Use read_next_frame_reg to obtain the frame relative stack pointer. * mdebugread.c (parse_partial_symbols, psymtab_to_symtab1): Handle stStatic and stStaticProc symbols in stabs-in-ecoff output by entering them into the minimal symbol table. * printcmd.c (print_scalar_formatted): Do not try to unpack to a long for float formats. * solib.c: Include "elf/mips.h" only if DT_MIPS_RLD_MAP does not get defined in <link.h>. * solib.c (solib_add): Add shared library sections to the section table of the target before adding the symbols. * partial-stab.h: Relocate static and global functions. * dbxread.c (read_dbx_symtab): Remove unused variable end_of_text_address. Relocate text_addr when passing it to end_psymtab. For Alpha OSF/1 targets, enable gdb to set breakpoints in shared library functions before the executable is run. Retrieve dynamic symbols from stripped executables. * mipsread.c (read_alphacoff_dynamic_symtab): New function. * mipsread.c (mipscoff_symfile_read): Use it. Issue warning message if no debugging symbols were found. * alpha-tdep.c (alpha_skip_prologue): Silently return the unaltered pc if memory at the pc is not accessible and GDB_TARGET_HAS_SHARED_LIBS is defined. * config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define, OSF/1 has shared libraries.
1994-04-07 * dbxread.c (read_dbx_dynamic_symtab): Adjust for recent changesIan Lance Taylor2-109/+79
to BFD handling of dynamic symbols.
1994-04-06 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halvesJeff Law1-0/+5
to avoid expect lossage. (fmem_LRbug_tests): Likewise. * gdb.disasm/hppa.s: Corresponding changes.
1994-04-06 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-lineJeff Law2-598/+634
conditions to work with latest dejagnu/expect.
1994-04-06Fix typo in last change.Jeff Law1-2/+2
1994-04-06 * hppa-tdep.c (hppa_fix_call_dummy): If FUN is a procedure label,Jeff Law3-3/+22
then gets its real address into FUN and its GOT/DP value into %r19. * tm-hppa.h (CALL_DUMMY): Use %r20, not %r19 as a temporary.
1994-04-06 * gdb.t15/funcargs.exp (finish from indirect call): No longerJeff Law1-0/+5
expected to fail on the PA. (backtrace in call with trampolines): Explicitly require main to be frame #1 (no trampolines should show up in backtrace).
1994-04-06 * hppa-tdep.c (frameless_function_invocation): If no unwindJeff Law2-8/+24
descriptor was found, then assume this was not a frameless function invocation. (frame_saved_pc): If the saved PC is in a linker stub, then return the return address which the linker stub will return to.
1994-04-05 * xm-hppab.h: Never define USG.Jeff Law3-6/+5
* xm-hppah.h: Always define USG.
1994-04-05 * gdb.t00/default.exp: Use "exp_continue" rather than obsoleteJeff Law1-0/+9
"continue -expect". * gdb.t06/break.exp: Likewise. * gdb.t07/watchpoint.exp: Likewise. * gdb.t13/bitfields.exp: Likewise. * gdb.t15/{funcargs,return}.exp: Likewise. * gdb.stabs/weird.exp: Likewise. * config/{mips,udi}-gdb.exp: Likewise.
1994-04-05 * gdb.t00/default.exp: Use "exp_continue" rather than obsoleteJeff Law2-3/+3
"continue -expect". * gdb.t06/break.exp: Likewise. * gdb.t07/watchpoint.exp: Likewise. * gdb.t13/bitfields.exp: Likewise. * gdb.t15/{funcargs,return}.exp: Likewise. * gdb.stabs/weird.exp: Likewise. * config/{mips,udi}-gdb.exp: Likewise.
1994-04-05 * hppa.sed: Enclose comments within a sed command to avoidJeff Law1-0/+5
losing with the old OSF1 sed.
1994-04-05 * values.c (unpack_long, value_from_longest),Per Bothner2-0/+7
valarith.c (value_binop): Allow TYPE_CODE_RANGE.
1994-04-02* symfile.c (deduce_language_from_filename): .cpp is a C++ extension.Jim Kingdon2-5/+10
1994-04-01 * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): Removed,Peter Schauer1-3/+0
the new generic definition from tm-sysv4.h works for Solaris.
1994-04-01 * config/tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Use new in_plt_section.Peter Schauer1-9/+3