aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2001-03-26Mark m88k as known to be broken.Andrew Cagney3-3/+13
2001-03-26* fork-child.c (clone_and_follow_inferior): Delete #ifdefAndrew Cagney2-4/+5
HAVE_VFORK.
2001-03-26* config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.Mark Kettenis2-0/+3
2001-03-26* i386-tdep.c (i386_push_arguments, i386_store_struct_return): NewMark Kettenis4-14/+47
functions. * config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro. (STORE_STRUCT_RETURN): Redefine in terms of i386_store_struct_return. (i386_push_arguments, i386_store_struct_return): New prototypes. * config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's definition was identical to the definition in "i386/tm-i386.h" so the new definition should suffice too.
2001-03-26 * gdbint.texinfo: Change Permissions to GFDL. Update Copyright.Eli Zaretskii7-253/+245
* gdbgui.texinfo: Change Permissions to GFDL. Update Copyright. Replace "GDB" with "@value{GDBN}". Fix markup. * annotate.texi: Change Permissions to GFDL. Update Copyright. * gdb.texinfo: Change Permissions to GFDL. Update Copyright. * gdbmi.texinfo: Update copyright. Change Permissions to GFDL.
2001-03-26 * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unusedEli Zaretskii2-46/+3
definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
2001-03-26 * gdb.texinfo (Output Formats): Mention "info symbol" and provideEli Zaretskii2-0/+26
a cross-reference to its description. (Symbols): Document "info symbol".
2001-03-26Fix the date of the last entry.Eli Zaretskii1-1/+1
2001-03-26 * config/djgpp/djconfig.sh: Add copyright notice.Eli Zaretskii4-50/+99
* ser-go32.c (rawclock): Remove prototype; include time.h instead. (ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C. (top level) <string.h>: Include gdb_string.h instead. (dos_noop, dos_raw, dos_noflush_set_tty_state) (dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED. * go32-nat.c (go32_create_inferior): Move the declaration of `environ' to here from the top level. (top level) <_initialize_go32_nat>: Remove redundant prototype. <gdb_string.h>: Include it instead of string.h. (store_register): Call register_buffer instead of accessing registers[] directly. (redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger) (redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put the function names at the start of the line. (go32_set_dr): Throw internal_error if the argument is not a valid debug register number. (go32_open, go32_close, go32_attach, go32_detach, go32_resume) (go32_wait, go32_xfer_memory, go32_files_info) (go32_terminal_info): Remove ATTRIBUTE_UNUSED.
2001-03-26*** empty log message ***Jim Blandy1-0/+4
2001-03-26* mips-tdep.c (mips_gdbarch_init): Tweak indentation.Jim Blandy1-1/+1
2001-03-262001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-2/+17
From Andrew Cagney <ac131313@redhat.com> * coffread.c: Include "gdb_assert.h". (coff_symtab_read): Cast the integer s_sclass to a long before casting it to a pointer.
2001-03-262001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni3-2/+14
From Andrew Cagney <ac131313@redhat.com> * coffread.c (coff_symtab_read): Initialize ``fcn_first_line_addr''. Check that the ``.bf'' always preceeds the ``.ef'' info. * dbxread.c (find_text_range): Initialize ``start'' and ``end''.
2001-03-24Revert previous change, committed to trunk accidentally.Jim Blandy1-5/+5
2001-03-24A single-file branch to help me keep things straight while adaptingJim Blandy1-5/+5
GDB to the GNU V3 C++ ABI. * c-typeprint.c: Commit Dan Berlin's changes.
2001-03-24* config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade toAndrew Cagney6-7/+103
GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not multi-arch. * gdbarch.sh (SOFTWARE_SINGLE_STEP): Add. * gdbarch.h, gdbarch.c: Re-generate. * target.h (SOFTWARE_SINGLE_STEP_P) (SOFTWARE_SINGLE_STEP): Delete macro definitions.
2001-03-24Re-vamp the register code so that a lot more is routed throughAndrew Cagney7-86/+263
{read,write}_register_gen. Hook that function with multi-arch.
2001-03-24* stabsread.c (read_cpp_abbrev): Properly construct the names ofJim Blandy2-1/+11
virtual function table pointer fields.
2001-03-23* defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,Andrew Cagney3-72/+102
xmrealloc): Move existing declarations to the one place and re-order to be consistent. (xmcalloc, xmfree): Declare. (xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in declaration. * utils.c (size_t): Delete #ifdef defining size_t. (mmalloc, mrealloc, mcalloc, mfree): Re-order. (mmalloc, mrealloc, mcalloc): Document as only calls in GDB corresponding malloc, realloc, calloc. (mfree): Call free directly. (xmmalloc, xmrealloc): Clean up. Assume ISO-C. (xmcalloc, xmfree): New functions. Copy old xcalloc and xfree function bodies to here. (xcalloc, xfree): Call xmcalloc and xmfree respectfully.
2001-03-23Fix -Werror -Wuninitialized warnings.Andrew Cagney4-5/+25
2001-03-23* config/i386/nm-i386.h: Fix formatting and change reference toMark Kettenis2-24/+27
i386-tdep.c to i386-nat.c.
2001-03-232001-03-23 David Smith <dsmith@redhat.com>David Smith3-390/+384
* configure.in: Corrected spelling errors. * configure: Regenerated.
2001-03-23Update list of obsolete targets.Andrew Cagney2-1/+12
2001-03-23Obsolete stuff.c and kdb-start.c.Andrew Cagney5-221/+224
2001-03-23* config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB onlyAndrew Cagney3-34/+8
compiles using an ISO-C compiler. (MALLOC_INCOMPATIBLE): Ditto. * linespec.c (decode_line_1): Delete hack to work around HPPA_COMPILER_BUG.
2001-03-22-Wuninitialized fixes.Andrew Cagney3-1/+7
2001-03-22Cleanup remote protocol section. Add notes on ``!'', ``q'' and theAndrew Cagney2-27/+58
non-use of the continue address.
2001-03-22 * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,Eli Zaretskii4-446/+67
include nm-i386.h instead. (TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT) (TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT) (TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK) (target_stopped_data_address, target_insert_watchpoint) (target_remove_watchpoint, target_insert_hw_breakpoint) (target_remove_hw_breakpoint): Don't define. (I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL) (I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR) (I386_DR_LOW_GET_STATUS): Define to call appropriate go32_* functions from go32-nat.c. * config/i386/go32.mh (NATDEPFILES): Add i386-nat.o. * go32-nat.c <top level>: Remove prototypes for watchpoint- related functions. Remove definitions of watchpoint-related macros. (go32_mourn_inferior): Call i386_cleanup_dregs instead of the private cleanup_dregs function. (cleanup_dregs, go32_insert_watchpoint) (go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint) (go32_remove_watchpoint, go32_remove_aligned_watchpoint) (go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint) (go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove. (go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
2001-03-22 * ia64-tdep.c (fetch_instruction): Warn about slot numbers greaterKevin Buettner2-1/+23
than two instead of generating an error.
2001-03-22*** empty log message ***Jim Blandy1-0/+5
2001-03-22* cp-valprint.c: Bring formatting into line with GNU coding standards.Jim Blandy1-46/+79
2001-03-21Make Linux use the new unified support for hardware breakpointsMark Kettenis4-31/+168
and watchpoints on x86 targets. * i386-linux-nat.c: Doc fixes. Include "gdb_assert.h". [HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>. (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to appropriate value if not already defined. (register_u_addr): New function. (kernel_u_size): New function. (i386_linux_dr_get, i386_linux_dr_set): New functions. (i386_linux_dr_set_control, i386_linux_dr_set_addr, i386_linux_reset_addr, i386_linux_dr_get_status): New functions. * config/i386/nm-linux.h: Don't include "nm-i386v.h". (I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h". (TARGET_HAS_HARDWARE_WATCHPOINTS, TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, target_insert_watchpoint, target_remove_watchpoint): Remove macros. (i386_stopped_by_watchpoint, i386_insert_watchpoint, i386_remove_watchpoint): Remove prototypes. (register_u_addr): New prototype. (REGISTER_U_ADDR): Define in terms of register_u_addr. (i386_linux_dr_set_control, i386_linux_dr_set_addr, i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes. (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros. * config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with i386-nat.o.
2001-03-21* gdb/linespec.c (find_methods): Whitespace differences aren'tJim Blandy4-1/+16
significant in *un*mangled method names. Use strcmp_iw to compare them, not STREQ. (Fix from Daniel Berlin.) * gdb/testsuite/gdb.c++/userdef.exp: Check that GDB tolerates whitespace in unmangled operator names.
2001-03-21* gdbarch.sh: Allow a non- multi-arch target to override aAndrew Cagney3-0/+16
predicate. * gdbarch.h: Regenerate.
2001-03-21Avoid use of ``if ! program''.Andrew Cagney2-25/+34
2001-03-21* target.h (enum target_signal): Move definition from here.Andrew Cagney8-150/+165
* defs.h (enum target_signal): To here. * config/arc/tm-arc.h (arc_software_single_step): Change type of first parameter to enum target_signal. * config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto. * config/sparc/tm-sparc.h (sparc_software_single_step): Ditto. * rs6000-tdep.c (rs6000_software_single_step): Update.
2001-03-21* frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macroAndrew Cagney5-13/+36
already defined. From 2000-08-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>: * stabsread.c (define_symbol): A parameter ('R'), a local ('r'), or a reference ('a') can be in a pseudo register. * infcmd.c (do_registers_info): Must take into account the pseudo registers to print their value. (registers_info): Likewise. * stack.c (frame_info): Likewise. * frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
2001-03-21 * gdbint.texinfo (Algorithms): New section "Watchpoints" and newEli Zaretskii2-8/+384
subsection "x86 Watchpoints". (Target Architecture Definition): Document I386_USE_GENERIC_WATCHPOINTS and TARGET_HAS_HARDWARE_WATCHPOINTS. (Native Debugging): Document I386_USE_GENERIC_WATCHPOINTS.
2001-03-21 Unified support for hardware breakpoints and watchpoints onEli Zaretskii4-1/+786
x86 targets: * config/i386/nm-i386.h: New file. * config/i386/nm-i386.h: (i386_cleanup_dregs) (i386_insert_watchpoint, i386_remove_watchpoint) (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp) (i386_stopped_data_address, i386_insert_hw_breakpoint) (i386_remove_hw_breakpoint): Declare prototypes. [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define if not already defined. (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT) (STOPPED_BY_WATCHPOINT, target_stopped_data_address) (target_insert_watchpoint, target_remove_watchpoint) (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define to call the appropriate i386_* functions. * i386-nat.c: New file. * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE) (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN) (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros. (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count) (maint_show_dr): New variables. (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits) (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint) (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint) (i386_remove_watchpoint, i386_region_ok_for_watchpoint) (i386_stopped_data_address, i386_stopped_by_hwbp) (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New functions. (_initialize_i386_nat): New function. [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command `show-debug-regs', sets maint_show_dr to non-zero value and activates debugging print-outs in functions which insert, remove, and test watchpoints and hardware breakpoints. * Makefile.in (i386-nat.o): New target. (ALLDEPFILES): Add i386-nat.o.
2001-03-21* i386-tdep.c: Add back _initialize_i386_tdep prototype withMark Kettenis2-0/+8
appropriate comment.
2001-03-20Update Linux/Alpha port to use new Linux threads support.Kevin Buettner3-1/+27
2001-03-20* Makefile.in: Clean up dependencies on ../include/demangle.h.Jim Blandy2-3/+10
(demangle_h): New variable. (jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
2001-03-20Change SOFTWARE_SINGLE_STEP_P into SOFTWARE_SINGLE_STEP_P().Andrew Cagney16-22/+41
2001-03-20Replace abort() with internal_error().Andrew Cagney2-1/+6
2001-03-20Zap -Wuninitialized warnings.Andrew Cagney2-7/+13
2001-03-20* linespec.c (find_methods): Just call CHECK_TYPEDEF on t, ratherJim Blandy2-9/+11
than asking for sym_class's type; that's circuitous. Remove sym_class, since the last use of it is gone.
2001-03-20* gdb.threads/linux-dp.exp: Recognize an additional messageJim Blandy2-1/+7
generated by GDB when it doesn't understand how to debug threads on the target system.
2001-03-20 * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:Eli Zaretskii2-2/+8
Correct the order of calls to ui_out_field_string and ui_out_list_begin when bs->old_val is NULL.
2001-03-20Conditionally include nlist.h in solib-legacy.c for older *BSD systems.Kevin Buettner5-2/+18
2001-03-20Fix ``make'' problems when building cross debugger.Kevin Buettner2-3/+14