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 ***
Mark Salter [Thu, 15 Mar 2001 18:51:25 +0000 (18:51 +0000)]
(gdb_target_cmd): Add explicit error return.
(gdb_target_monitor): Add check of gdb_target_cmd return value.
Martin Hunt [Thu, 15 Mar 2001 18:02:14 +0000 (18:02 +0000)]
2001-03-15 Martin Hunt <hunt@redhat.com>
* linespec.c (decode_line_1): Remove trailing quote
when parsing double quotes.
Kevin Buettner [Thu, 15 Mar 2001 17:42:00 +0000 (17:42 +0000)]
Pass NULL for the mem_attrib argument in the to_xfer_memory calls.
Andrew Cagney [Thu, 15 Mar 2001 17:06:00 +0000 (17:06 +0000)]
Add list of targets being obsoleted.
Andrew Cagney [Thu, 15 Mar 2001 16:55:15 +0000 (16:55 +0000)]
Add ``attrib'' parameter to *xfer_memory() functions.
Alan Modra [Thu, 15 Mar 2001 13:47:56 +0000 (13:47 +0000)]
Don't assume non-PIC to PIC call stubs are unneeded just because
the function happens to have a plabel.
Andrew Cagney [Thu, 15 Mar 2001 01:07:51 +0000 (01:07 +0000)]
Note Harris 88k is obsolete in news file.
Andrew Cagney [Wed, 14 Mar 2001 23:23:16 +0000 (23:23 +0000)]
Include regcache.h
Andrew Cagney [Wed, 14 Mar 2001 22:05:34 +0000 (22:05 +0000)]
Update target list.
Andrew Cagney [Wed, 14 Mar 2001 21:51:31 +0000 (21:51 +0000)]
Link with libintl, needed by libopcodes.
DJ Delorie [Wed, 14 Mar 2001 21:30:22 +0000 (21:30 +0000)]
merge from gcc
DJ Delorie [Wed, 14 Mar 2001 20:46:12 +0000 (20:46 +0000)]
Fix minor formatting bugs.
DJ Delorie [Wed, 14 Mar 2001 20:17:36 +0000 (20:17 +0000)]
Fix minor formatting bugs.
Nick Clifton [Wed, 14 Mar 2001 19:45:29 +0000 (19:45 +0000)]
Synchronise with copyright dates on FSF GCC versions of these files
Keith Seitz [Wed, 14 Mar 2001 18:36:45 +0000 (18:36 +0000)]
* linespec.c (decode_line_1): Skip argptr over a leading
double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
Kevin Buettner [Wed, 14 Mar 2001 18:21:04 +0000 (18:21 +0000)]
Add entry of ia64-aix-nat.c.
Andrew Cagney [Wed, 14 Mar 2001 16:42:30 +0000 (16:42 +0000)]
Eliminate some uses of __STDC__.
Alan Modra [Wed, 14 Mar 2001 03:14:56 +0000 (03:14 +0000)]
David Mosberger's fixes for cross compiling gprof.
Christopher Faylor [Wed, 14 Mar 2001 02:56:45 +0000 (02:56 +0000)]
* defparse.y (opt_equal_name): allow "." in name.
* dlltool.c (def_exports): Added ability to generate forwarded exports.
(gen_exp_file): Likewise.
Nick Clifton [Wed, 14 Mar 2001 02:33:30 +0000 (02:33 +0000)]
formatting fix
Nick Clifton [Wed, 14 Mar 2001 02:27:44 +0000 (02:27 +0000)]
Fix typos in ChangeLogs; add coff/external.h; fix copyright dates
Andrew Cagney [Tue, 13 Mar 2001 23:31:14 +0000 (23:31 +0000)]
Eliminate ARCH_NUM_REGS.
Nick Clifton [Tue, 13 Mar 2001 22:58:38 +0000 (22:58 +0000)]
Fix typos in ChangeLogs; fix dates in copyright notices
Fernando Nasser [Tue, 13 Mar 2001 22:29:14 +0000 (22:29 +0000)]
2001-03-13 Fernando Nasser <fnasser@redhat.com>
From Steven Johnson <sjohnson@neurizon.net>
* cli/cli-script.c (define_command): Fix setting of post hooks.
Nick Clifton [Tue, 13 Mar 2001 21:07:30 +0000 (21:07 +0000)]
Fix typos in ChangeLog; fix dates in copyright notices
Mark Kettenis [Tue, 13 Mar 2001 12:42:08 +0000 (12:42 +0000)]
* i386-linux-tdep.c: Fix formatting and clarify comments.
(i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
where appropriate.
Nick Clifton [Tue, 13 Mar 2001 06:43:59 +0000 (06:43 +0000)]
Fix typos in ChangeLogs and update copyright notices
Nick Clifton [Tue, 13 Mar 2001 06:14:29 +0000 (06:14 +0000)]
Fixtypos in ChangeLogs, fix copyright dates in files
Nick Clifton [Tue, 13 Mar 2001 06:14:01 +0000 (06:14 +0000)]
fix typos
DJ Delorie [Tue, 13 Mar 2001 04:43:40 +0000 (04:43 +0000)]
* elf32-sh.c (sh_elf_relocate_section): Only relocation
R_SH_DIR8WP* relocs if they're against external symbols, else
they're just for relaxing. Validate the reloc values.
Alan Modra [Tue, 13 Mar 2001 04:42:16 +0000 (04:42 +0000)]
Fix typos.
Alan Modra [Tue, 13 Mar 2001 04:37:13 +0000 (04:37 +0000)]
Support for @GOTOFF in .long expressions.
Andrew Cagney [Tue, 13 Mar 2001 00:51:40 +0000 (00:51 +0000)]
* gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
(proc_update_sc): Use gdb_assert instead of assert.
(proc_abort): Ditto.
(inf_set_step_thread): Ditto.
(gnu_wait): Ditto.
(S_exception_raise_request): Ditto.
(gnu_terminal_init_inferior): Ditto.
Nick Clifton [Tue, 13 Mar 2001 00:08:35 +0000 (00:08 +0000)]
Add --binary-architecture switch to objcopy to allow the output architecture
to be set when the input file type is binary.