aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-03-21merge from gccDJ Delorie4-147/+181
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-212001-03-20 Michael Chastain <chastain@redhat.com>Michael Chastain2-1/+5
* Makefile.in: all-m4 depends on all-texinfo.
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-21Prevent NULL pointer dereference.Alan Modra2-1/+6
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-20 Add support for cgen machine determination.Patrick Macdonald9-19/+43
* cgen-dis.in (print_insn_@arch@): Add support for target machine determination via CGEN_COMPUTE_MACH. * fr30-desc.c: Regenerate. * fr30-dis.c: Regenerate. * fr30-opc.h: Regenerate. * m32r-desc.c: Regenerate. * m32r-dis.c: Regenerate. * m32r-opc.h: Regenerate. * m32r-opinst.c: Regenerate.
2001-03-20 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAMEUlrich Drepper2-0/+8
is an absolute path look only for this file and not along the path.
2001-03-202001-03-20 H.J. Lu <hjl@gnu.org>H.J. Lu6-499/+446
* configure.in: Remove the redundent AC_ARG_PROGRAM. * configure: Rebuild.
2001-03-20* libiberty/cp-demangle.c (struct demangling_def): New fields:Jim Blandy4-6/+156
is_constructor and is_destructor. (demangling_new): Initialize them. (demangle_ctor_dtor_name): Set them, if we detect a constructor or destructor. (demangle_v3_with_details, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): New functions. * include/demangle.h (enum gnu_v3_constructor_kinds, is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds, is_gnu_v3_mangled_dtor): New declarations.
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-20Do not enable alignment checking when loading unaligned thumb instructions.Nick Clifton2-2/+7
2001-03-20Zap -Wuninitialized warnings.Andrew Cagney2-7/+13
2001-03-20* mmap support for common simulatorsFrank Ch. Eigler6-12/+205
2001-03-16 Frank Ch. Eigler <fche@redhat.com> Add support for mmap-based memory regions. * sim-memopt.c (mmap_next_fd): New global. (sim_memory_init): Reinitialize it. (OPTION_MEMORY_MAPFILE, memory_option_handler): Support new "--memory-mapfile FILE" option. Check for some errors. (do_memopt_add): Conditionally do mmap instead of malloc for backing store of simulated memory. Check for more errors. (do_simopt_delete, sim_memory_uninstall): Corresponding cleanup. * sim-memopt.h (munmap_length): New member of _sim_memopt. * configure.in: Look for mmap/fstat related functions and headers. * config.in, configure: Regenerated.
2001-03-20merge from gccDJ Delorie2-1/+5
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 * elf32-m68k.c (elf_m68k_relocate_section): Don't need theAndreas Schwab2-1/+14
relocation value when resolving a reference from a debugging section.
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-20Use `relax_marker' instead of fragile address test code to determineAlan Modra3-39/+30
whether a frag's fr_address has been updated.
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
2001-03-20Fix 2 bugs with parsing the resource dependency tables.Jim Wilson3-396/+437
* ia64-gen.c (fetch_insn_class): If xsect, then ignore comment and notestr if larger than xsect. (in_class): Handle format M5. * ia64-asmtab.c: Regnerate.
2001-03-20malloc() -> xmalloc.Andrew Cagney10-36/+34
Move malloc() decl to utils.c
2001-03-20Move realoc() decl to utils.c. s/realloc()/xrealloc()/.Andrew Cagney7-12/+19
2001-03-20Move free() decl to utils.c.Andrew Cagney4-7/+14
2001-03-20Add proc-service.o to NATDEPFILES.Kevin Buettner2-1/+7
2001-03-19Zap __STDC__ references.Andrew Cagney6-14/+11
2001-03-19* TODO: List known problems with TUI.Andrew Cagney2-1/+104
2001-03-19Jimmy Guo stepping down.Andrew Cagney2-3/+14
2001-03-19* remote.c (remote_cisco_section_offsets): Do not cast result fromAndrew Cagney2-4/+11
bfd_get_section_name. (compare_sections_command): Ditto. (remote_cisco_section_offsets): Make ``p'' a const pointer. (compare_sections_command): Ditto for ``sectname''.
2001-03-19* valops.c (hand_function_call): Simplify computation of theAndrew Cagney2-12/+11
address of the pushed argument.
2001-03-19* p-exp.y (parse_number): Avoid shift overflow when ``long''.Andrew Cagney2-7/+11
Code copied from c-exp.y.
2001-03-19Document a native system printing output outside of the MI as a knownAndrew Cagney2-1/+16
bug.
2001-03-19Don't try to read past end of info buffer, and correct test results.Alan Modra4-3/+23
2001-03-19Fix register name printed in warning message.Alan Modra4-3/+18
2001-03-19 * gas/m68k/pcrel.s: Force alignment to 8 byte boundary to getAndreas Schwab3-2/+9
consistent output across targets. * gas/m68k/pcrel.d: Adjusted.
2001-03-19Fix solib support so that non-svr4-solib-host x svr4-solib-target will work.Kevin Buettner1-0/+23
2001-03-19Fix solib support so that non-svr4-solib-host x svr4-solib-target will work.Kevin Buettner5-154/+351
2001-03-19Fix NetBSD 1.4 build problem.Kevin Buettner2-2/+14
2001-03-182001-03-17 Michael Chastain <chastain@redhat.com>Michael Chastain3-2/+9
* win32-nat.c (child_attach): check args for NULL before passing to strtoul. This fixes PR gdb/43.
2001-03-182001-03-18 H.J. Lu <hjl@gnu.org>H.J. Lu6-41/+81
* gas/i386/intel.s: Move PIC code to ... * gas/i386/intelpic.s: New. Here. * gas/i386/intel.d: Updated. * gas/i386/intelpic.d: New. * gas/i386/i386.exp: Check PIC code in Intel syntax for ELF targets only.
2001-03-18 * gas/mri/mri.exp: Fix test of m6811/m6812 targets.Stephane Carrez2-1/+5