Commit Graph

36352 Commits

Author SHA1 Message Date
Thiemo Seufer cb9512fc2f * elf64-mips.c (define elf_backend_ignore_discarded_relocs): Remove
duplicate define.
2002-09-17 07:48:30 +00:00
Thiemo Seufer 7ed4a06a3d * config/tc-mips.c (pdr_seg): Define only for ELF.
(s_change_section): Remove unused variable. Don't use for nonELF.
2002-09-17 07:43:25 +00:00
Thiemo Seufer e8cf2216ef * config/obj-elf.c (obj_elf_change_section): Move prototype to
obj-elf.h
	* config/obj-elf.h (obj_elf_change_section): Likewise.
2002-09-17 07:38:14 +00:00
Zack Weinberg bb279dc026 binutils:
* Makefile.am (CFILES): Add cxxfilt.c.
	(cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
	(cxxfilt_LDADD): Delete.
	Remove all references to underscore.c.
	Regen dependencies.
	* configure.in: Define TARGET_PREPENDS_UNDERSCORE in
	config.h from $UNDERSCORE, rather than AC_SUBSTing it.
	* binutils/cxxfilt.c: Moved here from gcc/cp, minor
	adjustments to fit into binutils framework.
	* configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.

gcc/cp:
	* Make-lang.in: Remove all references to the demangler.
	* cxxfilt.c: Moved to binutils.
2002-09-17 07:09:47 +00:00
Joel Brobecker d9025a1885 * osfsolib.c: Remove file, replaced by solib-osf.c.
* Makefile.in: Remove compilation rules for osfsolib.c.
2002-09-17 04:45:50 +00:00
Richard Henderson 48b9193866 * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.
(out_debug_info): Likewise.
2002-09-17 02:55:57 +00:00
David O'Brien 4ada7262d0 2002-09-16 Bruno Haible <bruno@clisp.org>
* elf32-i386.c: Don't defined ELF_ARCH etc. if this file is included
	by a target variant implementation.
	* elf64-alpha.c: Likewise.
	* elf32-i386-fbsd.c: New file.
	* elf64-alpha-fbsd.c: New file.
	* targets.c: Support bfd_elf32_i386_freebsd_vec and
	bfd_elf64_alpha_freebsd_vec.
	* configure.in: Accept the vectors bfd_elf32_i386_freebsd_vec,
	bfd_elf64_alpha_freebsd_vec.
	* Makefile.am (BFD32_BACKENDS): Add elf32-i386-fbsd.lo.
	(BFD32_BACKENDS_CFILES): Add elf32-i386-fbsd.c.
	(BFD64_BACKENDS): Add elf64-alpha-fbsd.lo.
	(BFD64_BACKENDS_CFILES): Add elf64-alpha-fbsd.c.
	(elf32-i386-fbsd.lo, elf64-alpha-fbsd.lo): Add dependencies.
	* config.bfd: For FreeBSD targets, set targ_defvec to a FreeBSD
	specific targets. Define OLD_FREEBSD_ABI_LABEL if appropriate.

	* config/tc-i386.h (ELF_TARGET_FORMAT): New macro.
	(TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386".
	* config/tc-i386.c (i386_target_format): Likewise.
	* config/tc-alpha.h (ELF_TARGET_FORMAT): New macro.
	(TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha".

	* emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
	elf32-i386-freebsd.
	* emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
	elf64-alpha-freebsd.

Approved by:  Alan Modra <amodra@bigpond.net.au>
              Message-ID: <20020715021113.GJ30362@bubble.sa.bigpond.net.au>
2002-09-17 02:24:40 +00:00
Alan Modra f184d8167c daily update 2002-09-17 00:00:05 +00:00
gdbadmin 135f18ffb3 *** empty log message *** 2002-09-17 00:00:02 +00:00
David Carlton 1b2ef1b64f 2002-09-16 David Carlton <carlton@math.stanford.edu>
* cp-valprint.c (cp_print_class_method): Correct args to
	check_stub_method_group.
2002-09-16 22:02:46 +00:00
Keith Seitz 8038ed9723 * gdb701.exp: New file for testing varobj target type bug.
* gdb701.c: New file.
2002-09-16 19:01:43 +00:00
Corinna Vinschen 928e48af4f * h8300-tdep.c: Multiarch. Drop `set machine' command in favor of
`set architecture'.  Unify naming convention of functions.
	(h8300_skip_prologue): Improve prologue analysis.
	(h8300_push_arguments): Rewritten to more closely match GCC's
	bizarre argument-passing behavior, along with the comment describing
	said behavior.
	* remote-hms.c (hms_regnames): Don't use NUM_REGS in definition.
	* config/h8300/tm-h8300.h: Multiarch.  Just keep stuff needed by
	sim, remote-e7000.c, remote-hms.c and remote.c
2002-09-16 15:03:17 +00:00
gdbadmin 4d1310b4a5 *** empty log message *** 2002-09-16 00:00:32 +00:00
Alan Modra e213f11339 daily update 2002-09-16 00:00:05 +00:00
Mark Kettenis 5e3397bbf7 * i386-tdep.c (gdb_print_insn_i386): Removed.
(i386_print_insn): New function.
(i386_gdbarch_init): Set print_insn to i386_print_insns.
(_initialize_i386_tdep): Don't initialize tm_print_insn and
tm_print_insn_info.
2002-09-15 13:53:36 +00:00
gdbadmin f9a38f5388 *** empty log message *** 2002-09-15 00:00:32 +00:00
Alan Modra af6efa2927 daily update 2002-09-15 00:00:04 +00:00
Mark Kettenis f710f4fc2c * gdbtypes.c (check_stub_method_group): Initialize found_stub to
zero.
2002-09-14 15:39:52 +00:00
Corinna Vinschen db54fef427 * arch-utils.c (legacy_pc_in_sigtramp): Move preprocessor expression
for IN_SIGTRAMP to here.  Use IN_SIGTRAMP only if it's defined.
	Guard usage of SIGTRAMP_START() by using SIGTRAMP_START_P.
2002-09-14 09:40:36 +00:00
Corinna Vinschen b2b4a1b5e6 * gdb.base/command.exp: Don't expect a "Program exited normally"
string after running the commands execution on breakpoint tests.
2002-09-14 09:31:36 +00:00
Christopher Faylor 2becadeece * win32-nat.c (child_create_inferior): Honor 'tty' command. 2002-09-14 03:28:23 +00:00
Daniel Jacobowitz de17c821b3 * gdbtypes.c (check_stub_method): Make static.
(check_stub_method_group): New function.
        * gdbtypes.h: Update prototypes.
        * cp-support.c: New file.
        * cp-support.h: New file.

        * stabsread.c: Include "cp-abi.h" and "cp-support.h".
        (update_method_name_from_physname): New function.
        (read_member_functions): Correct method names for operators
        and v3 constructors/destructors.  Separate v2 constructors and
        destructors.
        * Makefile.in (stabsread.o): Update dependencies.
        (SFILES): Add cp-support.c.
        (COMMON_OBS): Add cp-support.o.
        (cp_support_h, cp-support.o): Add.

        * cp-valprint.c (cp_print_class_method): Call
        check_stub_method_group instead of check_stub_method.  Remove
        extraneous QUITs.
        * p-valprint.c (pascal_object_print_class_method): Likewise.
        * valops.c (search_struct_method): Likewise.
        (find_method_list, value_struct_elt_for_reference): Likewise.
2002-09-14 02:09:39 +00:00
Alan Modra 94202ba54e daily update 2002-09-14 00:00:04 +00:00
gdbadmin 1e0cda2325 *** empty log message *** 2002-09-14 00:00:03 +00:00
Andrew Cagney e76cff22f1 2002-09-13 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (SIGTRAMP_END): Change to a predicate function.
	* gdbarch.h, gdbarch.c: Regenerate.
2002-09-13 23:21:45 +00:00
Andrew Cagney 905abb3f14 2002-09-13 Andrew Cagney <ac131313@redhat.com>
* frame.c (find_saved_register): Delete function.
	* frame.h (find_saved_register): Delete declaration.
	Fix PR gdb/631.
2002-09-13 22:53:36 +00:00
Andrew Cagney 6415945597 Fri Sep 13 14:59:55 2002 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (read_next_frame_reg): Re-hack using
 	frame_register_unwind.
2002-09-13 22:15:33 +00:00
Keith Seitz 78d0849c9d Fix line numbers. 2002-09-13 21:29:42 +00:00
Keith Seitz 602f3bfac4 * mi-var-child.exp: Use mi_step_to and mi_execute_to instead
of a bunch of repeated send_gdb/gdb_expect statements.
2002-09-13 21:03:33 +00:00
Stephane Carrez e3da6fc58a * tui.c (tui_rl_switch_mode): Remove unecessary TUI switch printfs.
(tui_initialize_readline): Allow to use space to leave SingleKey
	to enter one gdb command.
	(tui_enable): Restore the TUI keymap when we are back to TUI.
	(tui_disable): Restore normal keymap when leaving TUI.
	* tuiIO.c (tui_redisplay_readline): Restore the SingleKey mode
	when the buffer becomes empty and we are in tui_one_command_mode.
2002-09-13 20:06:56 +00:00
Stephane Carrez bd9b0abf4e * tuiIO.c (tui_setup_io): rl_already_prompted must be cleared
when leaving TUI mode so that gdb prompt is displayed.
2002-09-13 19:47:21 +00:00
Stephane Carrez a42a37b725 * tuiStack.c (tui_make_status_line): Make sure the local buffer
is large enough to hold the complete line.
2002-09-13 19:37:47 +00:00
Andrew Cagney 795e1e1128 Fri Sep 13 07:42:09 2002 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_get_saved_register): Re-hack using
 	frame_register_unwind.
2002-09-13 17:58:22 +00:00
Corinna Vinschen 1c56143ab1 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string. 2002-09-13 17:20:11 +00:00
Nick Clifton 7fe9cf6bf6 Do not count FAKE operands when deciding if any operands have been skipped. 2002-09-13 09:16:02 +00:00
Nick Clifton dde1b13223 Fix Book-E opcodes 2002-09-13 09:07:49 +00:00
Joel Brobecker 37f8da45ab * gdb.base/call-strs.exp: Fix a small typo in one of the comments. 2002-09-13 00:43:10 +00:00
Joel Brobecker 5720643ce8 * gdbarch.sh (NAME_OF_MALLOC): New variable in the architecture
vector. Will be useful for Interix.
       * gdbarch.h, gdbarch.c: Regenerate.

       * valops.c (value_allocate_space_in_inferior): Replace hard-coded
       name of the malloc function by NAME_OF_MALLOC.
2002-09-13 00:38:48 +00:00
Joel Brobecker 3bada2a2df * value.h (find_function_in_inferior): Add const keyword to
one of the parameters. Allows us to invoke this function with
       a const char *.
       * valops.c (find_function_in_inferior): Likewise.
2002-09-13 00:18:33 +00:00
Alan Modra 4cfa75e2b2 daily update 2002-09-13 00:00:05 +00:00
gdbadmin 20a4787a38 *** empty log message *** 2002-09-13 00:00:02 +00:00
Joel Brobecker 3db26b01ff * exec.c (xfer_memory): Fix compilation warning with old versions
of GCC.
        * tracepoint.c (trace_find_tracepoint_command): Likewise.
2002-09-12 19:49:56 +00:00
David Carlton 17c5ed2cf3 2002-09-12 David Carlton <carlton@math.stanford.edu>
* symtab.h: Run through gdb_indent.h.
	Add 2002 to Copyright year list.
2002-09-12 19:19:37 +00:00
Nick Clifton 707960fed5 Import chnages from master config repository. 2002-09-12 15:59:37 +00:00
Jakub Jelinek 6a30718d0e * elf32-i386.c (dtpoff_base, tpoff): Don't crash if tls_segment is
NULL.
	(elf_i386_relocate_section): Return false after printing error about
	unresolvable relocation.
2002-09-12 14:01:20 +00:00
Nick Clifton 6cf9e9fe1d Fix handling of R_ARM_THM_PC11 2002-09-12 13:18:57 +00:00
Nick Clifton 065c959b71 Handle DW_OP_GNU_push_tls_address.
Synch up with the gcc's dwarf2.h
2002-09-12 10:35:54 +00:00
Alan Modra ecd1107e81 * x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded
mach constants.
	* MAINTAINERS: Add myself to write after approval list.
2002-09-12 08:39:26 +00:00
Alan Modra 9ec878e367 * ppc-dis.c (powerpc_dialect): Add missing PPC_OPCODE_CLASSIC. 2002-09-12 03:58:37 +00:00
DJ Delorie a54ba43fe9 merge from gcc 2002-09-12 01:11:29 +00:00