Age | Commit message (Collapse) | Author | Files | Lines |
|
takes care of it.
|
|
|
|
argument.
|
|
section vma. Do not read dynamic relocs for sun3 executables to
avoid BFD assertion message.
|
|
(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.
|
|
|
|
(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.
|
|
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.
|
|
* 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.
|
|
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.
|
|
|
|
|
|
#ifdefs.
(procfs_set_watchpoint, procfs_stopped_by_watchpoint): Likewise.
|
|
#ifdefs.
|
|
|
|
convention.
|
|
(STOPPED_BY_WATCHPOINT, HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
(target_{insert,remove}_watchpoint): Likewise.
|
|
on local variables in recursive functions.
* gdb.t07/Makefile.in: Build the new test.
|
|
(HAVE_STEPPABLE_WATCHPOINT): Define.
(TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.
(target_{insert,delete}_watchpoint): Define.
|
|
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.
|
|
|
|
directly. Instead compare the return values from actual calls.
|
|
* 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().
|
|
|
|
* 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.
|
|
with scope SS_EXTERNAL. ST_ENTRY symbols in dynamic executables
are type mst_solib_trampoline.
|
|
* 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.
|
|
* 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.
|
|
for core files.
|
|
switch statement.
|
|
|
|
config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c:
New files for MIPS SVR4 support.
|
|
OSF/1 has shared libraries.
|
|
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.
|
|
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.
|
|
to BFD handling of dynamic symbols.
|
|
to avoid expect lossage.
(fmem_LRbug_tests): Likewise.
* gdb.disasm/hppa.s: Corresponding changes.
|
|
conditions to work with latest dejagnu/expect.
|
|
|
|
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.
|
|
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).
|
|
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.
|
|
* xm-hppah.h: Always define USG.
|
|
"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.
|
|
"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.
|
|
losing with the old OSF1 sed.
|
|
valarith.c (value_binop): Allow TYPE_CODE_RANGE.
|
|
|
|
the new generic definition from tm-sysv4.h works for Solaris.
|
|
|