Andrew Cagney [Thu, 22 Mar 2001 23:58:37 +0000 (23:58 +0000)]
-Wuninitialized fixes.
Alexandre Oliva [Thu, 22 Mar 2001 18:17:54 +0000 (18:17 +0000)]
Re-installed:
2001-01-02 Laurynas Biveinis <lauras@softhome.net>
* ltcf-c.sh: Clear ac_cv_prog_cc_pic for DJGPP. Do not add
'-DPIC' to ac_cv_prog_cc_pic for DJGPP.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.
Hans-Peter Nilsson [Thu, 22 Mar 2001 16:09:20 +0000 (16:09 +0000)]
* cris.h (ADD_PC_INCR_OPCODE): New macro.
Jim Blandy [Thu, 22 Mar 2001 15:16:04 +0000 (15:16 +0000)]
* cp-demangle.c (string_list_delete): Don't forget to free the
actual contents of the string.
Andrew Cagney [Thu, 22 Mar 2001 14:59:09 +0000 (14:59 +0000)]
Cleanup remote protocol section. Add notes on ``!'', ``q'' and the
non-use of the continue address.
Hans-Peter Nilsson [Thu, 22 Mar 2001 14:56:06 +0000 (14:56 +0000)]
* elf32-cris.c: Shlib and PIC support. PCREL tweaks.
Hans-Peter Nilsson [Thu, 22 Mar 2001 13:03:58 +0000 (13:03 +0000)]
* cris.h: Add leading comment about PC-relative location.
(R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE,
R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT,
R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL):
New relocs.
Hans-Peter Nilsson [Thu, 22 Mar 2001 11:17:16 +0000 (11:17 +0000)]
* reloc.c: (BFD_RELOC_CRIS_COPY, BFD_RELOC_CRIS_GLOB_DAT,
BFD_RELOC_CRIS_JUMP_SLOT, BFD_RELOC_CRIS_RELATIVE,
BFD_RELOC_CRIS_32_GOT, BFD_RELOC_CRIS_16_GOT,
BFD_RELOC_CRIS_32_GOTPLT, BFD_RELOC_CRIS_16_GOTPLT,
BFD_RELOC_CRIS_32_GOTREL, BFD_RELOC_CRIS_32_PLT_GOTREL,
BFD_RELOC_CRIS_32_PLT_PCREL): New relocs.
* bfd-in2.h, libbfd.h: Regenerate.
Phil Blundell [Thu, 22 Mar 2001 11:09:20 +0000 (11:09 +0000)]
2001-03-22 Philip Blundell <philb@gnu.org>
* config.sub, config.guess: Import latest from subversions.
Eli Zaretskii [Thu, 22 Mar 2001 09:35:19 +0000 (09:35 +0000)]
* config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
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.
Alexandre Oliva [Thu, 22 Mar 2001 05:22:04 +0000 (05:22 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.198.
Ben Elliston [Thu, 22 Mar 2001 04:05:03 +0000 (04:05 +0000)]
2001-03-22 Ben Elliston <bje@redhat.com>
* cgen-asm.in (@arch@_cgen_assemble_insn): Move tmp_errmsg
declaration inside CGEN_VERBOSE_ASSEMBLER_ERRORS conditional.
* cgen-ibld.in (put_insn_int_value): Mark cd parameter as unused
to allay a compiler warning.
Kazu Hirata [Thu, 22 Mar 2001 02:51:19 +0000 (02:51 +0000)]
2001-03-21 Kazu Hirata <kazu@hxi.com>
* h8300.h: Fix formatting.
Alan Modra [Thu, 22 Mar 2001 02:27:54 +0000 (02:27 +0000)]
paddq and psubq support.
Kevin Buettner [Thu, 22 Mar 2001 02:11:11 +0000 (02:11 +0000)]
* ia64-tdep.c (fetch_instruction): Warn about slot numbers greater
than two instead of generating an error.
Jim Blandy [Thu, 22 Mar 2001 01:01:05 +0000 (01:01 +0000)]
*** empty log message ***
Jim Blandy [Thu, 22 Mar 2001 00:58:00 +0000 (00:58 +0000)]
* cp-valprint.c: Bring formatting into line with GNU coding standards.
Diego Novillo [Thu, 22 Mar 2001 00:29:15 +0000 (00:29 +0000)]
2001-03-21 Diego Novillo <dnovillo@redhat.com>
(_bfd_mips_elf_relocate_section): Give a better error message when
a relocation is not recognized.
Mark Kettenis [Wed, 21 Mar 2001 21:22:49 +0000 (21:22 +0000)]
Make Linux use the new unified support for hardware breakpoints
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.
Jim Blandy [Wed, 21 Mar 2001 20:51:16 +0000 (20:51 +0000)]
* gdb/linespec.c (find_methods): Whitespace differences aren't
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.
DJ Delorie [Wed, 21 Mar 2001 20:12:30 +0000 (20:12 +0000)]
merge from gcc
Andrew Cagney [Wed, 21 Mar 2001 19:47:44 +0000 (19:47 +0000)]
* gdbarch.sh: Allow a non- multi-arch target to override a
predicate.
* gdbarch.h: Regenerate.
Andrew Cagney [Wed, 21 Mar 2001 19:25:03 +0000 (19:25 +0000)]
Avoid use of ``if ! program''.
Andrew Cagney [Wed, 21 Mar 2001 18:31:48 +0000 (18:31 +0000)]
* target.h (enum target_signal): Move definition from here.
* 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.
Michael Chastain [Wed, 21 Mar 2001 17:53:42 +0000 (17:53 +0000)]
2001-03-20 Michael Chastain <chastain@redhat.com>
* Makefile.in: all-m4 depends on all-texinfo.
Andrew Cagney [Wed, 21 Mar 2001 16:42:39 +0000 (16:42 +0000)]
* frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
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.
Eli Zaretskii [Wed, 21 Mar 2001 11:39:23 +0000 (11:39 +0000)]
* gdbint.texinfo (Algorithms): New section "Watchpoints" and new
subsection "x86 Watchpoints".
(Target Architecture Definition): Document
I386_USE_GENERIC_WATCHPOINTS and TARGET_HAS_HARDWARE_WATCHPOINTS.
(Native Debugging): Document I386_USE_GENERIC_WATCHPOINTS.
Eli Zaretskii [Wed, 21 Mar 2001 11:36:58 +0000 (11:36 +0000)]
Unified support for hardware breakpoints and watchpoints on
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.
Mark Kettenis [Wed, 21 Mar 2001 11:22:24 +0000 (11:22 +0000)]
* i386-tdep.c: Add back _initialize_i386_tdep prototype with
appropriate comment.
Alan Modra [Wed, 21 Mar 2001 08:09:25 +0000 (08:09 +0000)]
Prevent NULL pointer dereference.
Kevin Buettner [Tue, 20 Mar 2001 21:40:47 +0000 (21:40 +0000)]
Update Linux/Alpha port to use new Linux threads support.
Jim Blandy [Tue, 20 Mar 2001 21:23:38 +0000 (21:23 +0000)]
* Makefile.in: Clean up dependencies on ../include/demangle.h.
(demangle_h): New variable.
(jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
Patrick Macdonald [Tue, 20 Mar 2001 20:56:34 +0000 (20:56 +0000)]
Add support for cgen machine determination.
* 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.
Ulrich Drepper [Tue, 20 Mar 2001 18:39:21 +0000 (18:39 +0000)]
* emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
is an absolute path look only for this file and not along the path.
H.J. Lu [Tue, 20 Mar 2001 18:24:30 +0000 (18:24 +0000)]
2001-03-20 H.J. Lu <hjl@gnu.org>
* configure.in: Remove the redundent AC_ARG_PROGRAM.
* configure: Rebuild.
Jim Blandy [Tue, 20 Mar 2001 18:22:38 +0000 (18:22 +0000)]
* libiberty/cp-demangle.c (struct demangling_def): New fields:
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.
Andrew Cagney [Tue, 20 Mar 2001 18:16:28 +0000 (18:16 +0000)]
Change SOFTWARE_SINGLE_STEP_P into SOFTWARE_SINGLE_STEP_P().
Andrew Cagney [Tue, 20 Mar 2001 17:48:17 +0000 (17:48 +0000)]
Replace abort() with internal_error().
Nick Clifton [Tue, 20 Mar 2001 17:48:02 +0000 (17:48 +0000)]
Do not enable alignment checking when loading unaligned thumb instructions.
Andrew Cagney [Tue, 20 Mar 2001 17:19:04 +0000 (17:19 +0000)]
Zap -Wuninitialized warnings.
Frank Ch. Eigler [Tue, 20 Mar 2001 17:13:39 +0000 (17:13 +0000)]
* mmap support for common simulators
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.
DJ Delorie [Tue, 20 Mar 2001 17:09:17 +0000 (17:09 +0000)]
merge from gcc
Jim Blandy [Tue, 20 Mar 2001 16:17:22 +0000 (16:17 +0000)]
* linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
than asking for sym_class's type; that's circuitous. Remove
sym_class, since the last use of it is gone.
Jim Blandy [Tue, 20 Mar 2001 15:54:34 +0000 (15:54 +0000)]
* gdb.threads/linux-dp.exp: Recognize an additional message
generated by GDB when it doesn't understand how to debug threads
on the target system.
Andreas Schwab [Tue, 20 Mar 2001 10:11:07 +0000 (10:11 +0000)]
* elf32-m68k.c (elf_m68k_relocate_section): Don't need the
relocation value when resolving a reference from a debugging
section.
Eli Zaretskii [Tue, 20 Mar 2001 09:46:00 +0000 (09:46 +0000)]
* breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
Correct the order of calls to ui_out_field_string and
ui_out_list_begin when bs->old_val is NULL.
Alan Modra [Tue, 20 Mar 2001 03:12:01 +0000 (03:12 +0000)]
Use `relax_marker' instead of fragile address test code to determine
whether a frag's fr_address has been updated.
Kevin Buettner [Tue, 20 Mar 2001 02:57:42 +0000 (02:57 +0000)]
Conditionally include nlist.h in solib-legacy.c for older *BSD systems.
Kevin Buettner [Tue, 20 Mar 2001 02:37:55 +0000 (02:37 +0000)]
Fix ``make'' problems when building cross debugger.
Jim Wilson [Tue, 20 Mar 2001 02:32:27 +0000 (02:32 +0000)]
Fix 2 bugs with parsing the resource dependency tables.
* 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.
Andrew Cagney [Tue, 20 Mar 2001 01:37:10 +0000 (01:37 +0000)]
malloc() -> xmalloc.
Move malloc() decl to utils.c
Andrew Cagney [Tue, 20 Mar 2001 00:54:43 +0000 (00:54 +0000)]
Move realoc() decl to utils.c. s/realloc()/xrealloc()/.
Andrew Cagney [Tue, 20 Mar 2001 00:28:23 +0000 (00:28 +0000)]
Move free() decl to utils.c.
Kevin Buettner [Tue, 20 Mar 2001 00:05:04 +0000 (00:05 +0000)]
Add proc-service.o to NATDEPFILES.
Andrew Cagney [Mon, 19 Mar 2001 23:31:41 +0000 (23:31 +0000)]
Zap __STDC__ references.
Andrew Cagney [Mon, 19 Mar 2001 23:19:23 +0000 (23:19 +0000)]
* TODO: List known problems with TUI.
Andrew Cagney [Mon, 19 Mar 2001 21:16:01 +0000 (21:16 +0000)]
Jimmy Guo stepping down.
Andrew Cagney [Mon, 19 Mar 2001 21:01:06 +0000 (21:01 +0000)]
* remote.c (remote_cisco_section_offsets): Do not cast result from
bfd_get_section_name.
(compare_sections_command): Ditto.
(remote_cisco_section_offsets): Make ``p'' a const pointer.
(compare_sections_command): Ditto for ``sectname''.
Andrew Cagney [Mon, 19 Mar 2001 20:08:16 +0000 (20:08 +0000)]
* valops.c (hand_function_call): Simplify computation of the
address of the pushed argument.
Andrew Cagney [Mon, 19 Mar 2001 19:05:21 +0000 (19:05 +0000)]
* p-exp.y (parse_number): Avoid shift overflow when ``long''.
Code copied from c-exp.y.
Andrew Cagney [Mon, 19 Mar 2001 18:20:04 +0000 (18:20 +0000)]
Document a native system printing output outside of the MI as a known
bug.
Alan Modra [Mon, 19 Mar 2001 12:20:10 +0000 (12:20 +0000)]
Don't try to read past end of info buffer, and correct test results.
Alan Modra [Mon, 19 Mar 2001 11:28:20 +0000 (11:28 +0000)]
Fix register name printed in warning message.
Andreas Schwab [Mon, 19 Mar 2001 10:02:07 +0000 (10:02 +0000)]
* gas/m68k/pcrel.s: Force alignment to 8 byte boundary to get
consistent output across targets.
* gas/m68k/pcrel.d: Adjusted.
Kevin Buettner [Mon, 19 Mar 2001 07:01:03 +0000 (07:01 +0000)]
Fix solib support so that non-svr4-solib-host x svr4-solib-target will work.
Kevin Buettner [Mon, 19 Mar 2001 05:46:27 +0000 (05:46 +0000)]
Fix solib support so that non-svr4-solib-host x svr4-solib-target will work.
Kevin Buettner [Mon, 19 Mar 2001 05:15:32 +0000 (05:15 +0000)]
Fix NetBSD 1.4 build problem.
Michael Chastain [Sun, 18 Mar 2001 21:35:58 +0000 (21:35 +0000)]
2001-03-17 Michael Chastain <chastain@redhat.com>
* win32-nat.c (child_attach): check args for NULL before passing
to strtoul. This fixes PR gdb/43.
H.J. Lu [Sun, 18 Mar 2001 21:28:56 +0000 (21:28 +0000)]
2001-03-18 H.J. Lu <hjl@gnu.org>
* 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.
Stephane Carrez [Sun, 18 Mar 2001 10:18:24 +0000 (10:18 +0000)]
* gas/mri/mri.exp: Fix test of m6811/m6812 targets.
Stephane Carrez [Sun, 18 Mar 2001 10:14:13 +0000 (10:14 +0000)]
* config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
with 'Motorola specification for assembly language input standard'.
H.J. Lu [Sun, 18 Mar 2001 02:56:20 +0000 (02:56 +0000)]
Fix a typo.
Mark Kettenis [Sat, 17 Mar 2001 23:02:10 +0000 (23:02 +0000)]
* i387-nat.h: Doc Fix.
Mark Kettenis [Sat, 17 Mar 2001 22:28:33 +0000 (22:28 +0000)]
* i386-tdep.c: Fix formatting.
(i386_get_frame_setup, i386_follow_jump, codestream_read,
codestream_seek, codestream_fill, skip_trampoline_code,
gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
prototypoes.
Mark Kettenis [Sat, 17 Mar 2001 22:24:00 +0000 (22:24 +0000)]
* config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
no longer used. Also remove associated FIXME.
Ulrich Drepper [Sat, 17 Mar 2001 21:24:26 +0000 (21:24 +0000)]
* emultempl/elf32.em (OPTION_GROUP): New macro.
Add new option Bgroup to longopts.
(gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
(gld*_list_options): Add -Bgroup and -z defs.
* ld.1: Document -Bgroup and -z defs.
* ld.texinfo: Likewise.
Richard Henderson [Sat, 17 Mar 2001 18:23:41 +0000 (18:23 +0000)]
* dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
(dwarf2_directive_loc): Don't use them.
(dwarf2_directive_file): Reject duplicate file definitions.
(get_filenum): Zero allocated memory.
(out_file_list): Complain about missing file definitions.
Alan Modra [Sat, 17 Mar 2001 03:02:06 +0000 (03:02 +0000)]
Teach .org to handle complex expressions
Andrew Cagney [Sat, 17 Mar 2001 00:31:22 +0000 (00:31 +0000)]
Add support for m/M methods - pure multi-arch. These do not have
macros and take a gdbarch parameter.
J.T. Conklin [Fri, 16 Mar 2001 22:34:46 +0000 (22:34 +0000)]
* config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
h8300_frame_args_address from frame_args_address.
(FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
from frame_locals_address.
(PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
from print_register_hook.
(h8300_frame_args_address): Declare.
(h8300_frame_find_saved_regs): Declare.
(h8300_frame_locals_address): Declare.
(h8300_frame_saved_pc): Declare.
(h8300_pop_frame): Declare.
(h8300_print_register_hook): Declare.
* h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
(h8300_frame_args_address): Renamed from frame_args_address.
(h8300_frame_locals_address): Renamed from frame_locals_address.
(h8300_pop_frame): Renamed from pop_frame.
(h8300_print_register_hook): Renamed from print_register_hook.
-------------------------------------------------------------------
Michael Chastain [Fri, 16 Mar 2001 20:04:02 +0000 (20:04 +0000)]
2001-03-12 Michael Chastain <chastain@redhat.com>
* gdb.c++/derivation.exp: Use the 'runto' library function.
Michael Chastain [Fri, 16 Mar 2001 20:00:04 +0000 (20:00 +0000)]
2001-03-12 Michael Chastain <chastain@redhat.com>
* gdb.c++/annota2.exp: Fix regular expression for "post-query".
Nick Clifton [Fri, 16 Mar 2001 18:49:32 +0000 (18:49 +0000)]
Fix syntax errors.
Nick Clifton [Fri, 16 Mar 2001 18:42:26 +0000 (18:42 +0000)]
Add new opcodes
Kevin Buettner [Fri, 16 Mar 2001 18:06:44 +0000 (18:06 +0000)]
Change type of ``storage_needed'' from unsigned int to long.
Michael Chastain [Fri, 16 Mar 2001 17:59:58 +0000 (17:59 +0000)]
2001-02-24 Michael Chastain <chastain@redhat.com>
* gdb.c++/ref-types.exp: Change handwritten code to library
function 'runto'.
Nick Clifton [Fri, 16 Mar 2001 17:34:31 +0000 (17:34 +0000)]
Fix warning message
Orjan Friberg [Fri, 16 Mar 2001 09:05:16 +0000 (09:05 +0000)]
2001-03-16 Orjan Friberg <orjanf@axis.com>
* gdb.base/signals.exp: Set count to 0 explicitly.
Orjan Friberg [Fri, 16 Mar 2001 08:57:44 +0000 (08:57 +0000)]
2001-03-16 Orjan Friberg <orjanf@axis.com>
* gdb.base/signals.exp: Set count to 0 explicitly.
Jim Wilson [Fri, 16 Mar 2001 04:56:31 +0000 (04:56 +0000)]
Add local tag support. Don't flush instructions for .xdata directives.
* config/tc-ia64.c (md): New member keep_pending_output.
(ia64_flush_pending_output): Flush only if md.keep_pending_output
is not set.
(dot_xdata): Turn on md.keep_pending_output for the duration of
this function.
(dot_xfloat_cons): Ditto.
(dot_xstringer): Ditto.
(dot_xdata_ua): Ditto.
(dot_xfloat_cons_ua): Ditto.
* config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local
label support.
Kevin Buettner [Fri, 16 Mar 2001 03:52:12 +0000 (03:52 +0000)]
Misc. cleanups.
Frank Ch. Eigler [Fri, 16 Mar 2001 03:20:26 +0000 (03:20 +0000)]
* tweak
2001-03-15 Frank Ch. Eigler <fche@redhat.com>
* sim-core.c (sim_core_map_attach): Correct overlap-related
error messages.
Hans-Peter Nilsson [Fri, 16 Mar 2001 03:00:24 +0000 (03:00 +0000)]
Fix accidental loss of bit 7 in peoples names
Alexandre Oliva [Fri, 16 Mar 2001 02:11:05 +0000 (02:11 +0000)]
* config/tc-sh.c (parse_reg): Match capital MACH and MACL.
DJ Delorie [Thu, 15 Mar 2001 22:02:06 +0000 (22:02 +0000)]
merge from gcc
Mark Salter [Thu, 15 Mar 2001 21:47:38 +0000 (21:47 +0000)]
*** empty log message ***
Mark Salter [Thu, 15 Mar 2001 21:46:57 +0000 (21:46 +0000)]
(gdb_load): Add support for additional target_info: gdb_download_size
and gdb_load_timeout.
DJ Delorie [Thu, 15 Mar 2001 21:07:01 +0000 (21:07 +0000)]
merge from gcc
DJ Delorie [Thu, 15 Mar 2001 19:30:32 +0000 (19:30 +0000)]
* stabs.c (s_stab_generic): Don't corrupt the notes obstack by
blindly freeing string if it isn't at the top of the obstack.
Mark Salter [Thu, 15 Mar 2001 18:51:56 +0000 (18:51 +0000)]
*** empty log message ***