Commit Graph

29288 Commits

Author SHA1 Message Date
Michael Chastain
02aa71d5de 2001-02-19 John Moore <jmoore@redhat.com>
* gdb.base/commands.exp (infrun_breakpoint_command_test):
	Converted HPUX fix for non-expected items following multiple
	step commands into general solution for all platforms.
2001-02-19 20:44:27 +00:00
Elena Zannoni
8d1de4b7ab 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From: innadadadavida@yahoo.com:
	* partial-stab.h (switch): Check that pst is not null
 	before dereferencing it.
2001-02-19 20:15:42 +00:00
Elena Zannoni
3017564ad2 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Andrew Cagney  <cagney@b1.cygnus.com>:
	* symfile.c (add_symbol_file_command): Always initialize
 	my_cleanup using a NULL cleanup.
2001-02-19 18:56:11 +00:00
Eli Zaretskii
fa58ee1196 * demangle.c (demangling_style_names): New variable.
(_initialize_demangler): Fill demangling_style_names with the
	names of known demangling styles from libiberty_demanglers[].  Use
	add_set_enum_cmd instead of add_set_cmd, to get completion on
	demangling style names.

	* proc-api.c (_initialize_proc_api): Make `procfs-file' use
	file-name completion.

	* remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.

	* solib.c (_initialize_solib): Ditto for `solib-search-path' and
	`solib-absolute-prefix'.

	* tracepoint.c (_initialize_tracepoint): Ditto for
	`save-tracepoints'.

	* win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.

	* cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
	file-name completion.

	* infcmd.c (_initialize_infcmd): Make the following commands use
	the file-name completer: `tty', `args', `path', `paths', and
	`run'.
2001-02-19 11:47:16 +00:00
David O'Brien
fb33b90691 001-02-18 David O'Brien <obrien@FreeBSD.org>
* configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
	FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.

Approved by:  Philip Blundell <philb@gnu.org>
              Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>
2001-02-19 06:51:51 +00:00
David O'Brien
cac5b87b93 001-02-18 David O'Brien <obrien@FreeBSD.org>
* configure.in (cpu_type, arch): Add a generic FreeBSD specification as
	all FreeBSD platforms should look the same at this level.
	* configure: Rebuilt.
	* config/tc-i386.c: Add support for old FreeBSD a.out hosts.

Approved by:  Philip Blundell <philb@gnu.org>
              Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>
2001-02-19 06:40:29 +00:00
David O'Brien
d4af977521 2001-02-18 David O'Brien <obrien@FreeBSD>
* configure.in: Recognize FreeBSD/arm, FreeBSD/PowerPC, and treat
	FreeBSD/i386-CURRENT differently until I can figure out the needed
	corefile changes.
	* configure: Regenerate.
	* config.bfd: Recognize FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/arm,
	FreeBSD/PowerPC, and FreeBSD/sparc64.

Approved by:  Philip Blundell <philb@gnu.org>
              Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>
2001-02-19 06:33:41 +00:00
Nick Clifton
e135f41bc2 Add PDP-11 support 2001-02-18 23:33:11 +00:00
Nick Clifton
dc3febfa6e Set the architecture (GDB multiarch needs it). 2001-02-18 22:29:52 +00:00
H.J. Lu
ea412e04e5 2001-02-18 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_input_bfd): Ignore invalid section symbol
	index.
2001-02-18 22:04:08 +00:00
Kazu Hirata
47eee8a91c 2001-02-18 Kazu Hirata <kazu@hxi.com>
* vms-misc.c: Fix formatting.
2001-02-18 21:35:55 +00:00
Michael Chastain
1fa449a475 2001-02-18 Michael Chastain <chastain@redhat.com>
* gdb.c++/classes.exp (do_tests): Change runto statements
	from "runto 'foo(void)'" to "runto 'foo'".  This makes the
	statements demangler agnostic.
	* gdb.c++/virtfunc.exp (do_tests): Likewise.
	(gdb_virtfunc_restart): Likewise.
2001-02-18 19:59:57 +00:00
Eli Zaretskii
89dea5aa55 * go32-nat.c: Include i387-nat.h.
(fetch_register): New function, uses some of the guts of
	go32_fetch_registers and i387_supply_register.
	(go32_fetch_registers): Most of the code moved into
	fetch_register.  Use i387_supply_fsave.
	(store_register): Use i387_fill_fsave instead of custom code.
	(go32_store_registers): Use i387_fill_fsave.

	* Makefile.in (go32-nat.o): Depend on i387-nat.h.

	* config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
2001-02-18 07:22:17 +00:00
Michael Chastain
b2f9ec70af 2001-02-14 Michael Chastain <chastain@redhat.com>
* gdb.c++/inherit.exp (do_tests): Change runto statements
	from "runto 'foo(void)'" to "runto 'foo'".  This makes the
	statements demangler agnostic.
2001-02-18 07:10:32 +00:00
Eli Zaretskii
7830cf6fb9 * completer.c (gdb_completer_file_name_break_characters): Remove
slash from file-name break characters.
	[__MSDOS__]: Special definition for DOS/Windows file names.
	(line_completion_function): When completing on file names, bump
	`p' to the first file-name constituent character of `word', before
	invoking the completer.
2001-02-18 07:04:11 +00:00
David O'Brien
a842aceb48 2001-02-17 David O'Brien <obrien@FreeBSD.org>
* configure.host: Add a generic FreeBSD configuration entry such that
	all [modern] FreeBSD systems on all platforms will look the same.

Approved by:  Alan Modra <alan@linuxcare.com.au>
              <Pine.LNX.4.21.0102172155140.30011-100000@front.linuxcare.com.au>
2001-02-18 02:17:24 +00:00
Chris Demetriou
f14c687886 2001-02-17 Chris Demetriou <cgd@broadcom.com>
* gas/mips/mips32.d: Remove ELF dependencies.  This test
        wasn't meant to be ELF specific, and doesn't have to be.
        * gas/mips/mips64.d: Likewise.
2001-02-18 01:57:20 +00:00
Chris Demetriou
2cd5676f03 2001-02-17 Chris Demetriou <cgd@broadcom.com>
* gas/mips/mips.exp: Don't attempt the elf_e_flags family of
        tests if not ELF; they test ELF-specific features.
2001-02-18 01:52:11 +00:00
Mark Kettenis
f31e928cd4 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
consistently for parameter names.  Fix comments accordingly.
(i387_supply_register): New function.
(i387_supply_fsave): Implement using i387_supply_register.
* i387-nat.h: Use regnum instead of regno consistently for
parameter names.  Fix comments accordingly.
(i387_supply_register): New prototype.
2001-02-17 09:01:14 +00:00
Nick Clifton
8d6dd99d61 Allow configuration of texinfo for Cygwin hosts. 2001-02-17 00:53:44 +00:00
DJ Delorie
a9db032a7a merge from gcc 2001-02-17 00:11:29 +00:00
Michael Snyder
d696208fa8 2001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
	instead of TARGET_PTR_BIT (to support Harvard architectures).
2001-02-16 23:40:39 +00:00
Andrew Cagney
971429b4a4 From Paul Hilfinger. Add attribs param to hpux_thread_xfer_memory. 2001-02-16 23:09:05 +00:00
Andrew Cagney
0a9c3cb62a Move hardware stuff to not 5.1 - changelog already committed. 2001-02-16 22:59:48 +00:00
Nick Clifton
2ef048fc9f Remove Prefetch abort for breakpoints. Instead set the state to RESUME. 2001-02-16 22:04:22 +00:00
Kazu Hirata
8a0c27cda9 2001-02-16 Kazu Hirata <kazu@hxi.com>
* vms.c: Fix formatting.
2001-02-16 19:22:12 +00:00
Michael Chastain
da7dd56fe4 Obvious fix.
I wrote "gdb/somsolib.c" in ChangeLog.  Should be "somsolib.c".
2001-02-16 18:25:56 +00:00
Michael Chastain
9ca0e47c00 2001-02-12 Michael Chastain <chastain@redhat.com>
* gdb/somsolib.c (som_solib_add_solib_objfile): Do not use
	section relocation feature of syms_from_objfile.  Do my own
	section relocation, offsetting each section of the som by
	either text_addr - text_link_addr or data_start.
2001-02-16 18:03:22 +00:00
Andrew Cagney
7d65bd2d7c Move hardware bug out of 5.1 2001-02-16 17:44:09 +00:00
Andrew Cagney
e33e969289 Update paper trail list. 2001-02-16 17:13:04 +00:00
Matthew Green
363c574f51 2001-02-16 matthew green <mrg@redhat.com>
* gas/cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
2001-02-16 12:29:39 +00:00
Mark Kettenis
17dee195e8 * target.h (target_fetch_registers): Fix comment. 2001-02-16 11:25:15 +00:00
Andrew Cagney
0f6e1ba6ee Simplify code parsing integers and, in process fix a -Wuninitialized warning. 2001-02-16 01:27:46 +00:00
Ben Elliston
9afc4bbfbb 2001-02-16 Ben Elliston <bje@redhat.com>
* MAINTAINERS: Add myself for common portions.
2001-02-15 23:03:41 +00:00
Ben Elliston
c43ad8eb1e * profiling bug fixes.
2001-02-09  Ben Elliston  <bje@redhat.com>

	* (profile_print_pc): Write header out in target byte order.

2001-02-09  Ben Elliston  <bje@redhat.com>

	* sim-profile.c (profile_pc_init): Correct bug in loop logic when
	adjusting the pc shift value.
2001-02-15 21:14:40 +00:00
H.J. Lu
69f03d6521 Change "armelf" to armelf. 2001-02-15 17:18:35 +00:00
Andrew Cagney
cf74b8caf7 Make thread messages more consistent in pass/fail cases. 2001-02-15 05:32:12 +00:00
Nick Clifton
44e23e575b Add code to preserve processor mode when a prefetch
abort is signalled after processing a breakpoint.
2001-02-15 02:38:15 +00:00
H.J. Lu
ad995491f8 2001-02-14 H.J. Lu <hjl@gnu.org>
* ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
	for -static on ia64.

	* ld-checks/checks.exp: Don't run on ia64-*-elf* nor
	ia64-*-linux*.

	* ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*.

	* ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*.
	Set up expected failures for ia64-*-linux*.
	* ld-shared/shared.exp: Likewise.
2001-02-15 01:17:07 +00:00
Jim Kingdon
9a069618ac * MAINTAINERS: Add myself to paper trail section. 2001-02-15 00:50:06 +00:00
Nick Clifton
5f7d0a33db Reset processor into ARM mode for any machine type except the early ARMs. 2001-02-14 22:21:20 +00:00
Jim Wilson
42dc96cab8 Fix DV bug reported by Intel against the setf instruction.
* ia64-ic.tbl: Update from Intel.  Add setf to fr-writers.
	* ia64-asmtab.c: Regenerate.
2001-02-14 20:30:26 +00:00
Nick Clifton
d1fad7c69e fixes for elf_find_nearest_line 2001-02-14 19:58:45 +00:00
Michael Chastain
99f78f560a 2001-02-11 Michael Chastain <chastain@redhat.com>
* gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
	Helps the test script figure out which demangler is in use.
	(dm_type_foo_ref): Ditto.
	(dm_type_int_star): Ditto.
	(dm_type_long_star): Ditto.
	(dm_type_unsigned_int): Ditto.
	(dm_type_void): Ditto.
	(dm_type_void_star): Ditto.
	* gdb.base/cplusfuncs.exp (probe_demangler): New function.
	Probe the gdb demangler and set variables to accommodate
	formatting differences.
	(info_func_regexp): New function.  Same as info_func, but
	matches against a regexp.
	(info_func): Match against a literal string.
	(print_addr_2): New function.  Match against a literal string,
	which can be different from the input to gdb.
	(print_addr): Simply call print_addr_2 with the same argument twice.
	(test_lookup_operator_functions): Use demangler formatting variables.
	Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
	the tests in the same order as the C++ class declaration.
	(test_paddr_operator_functions): Ditto.
	(test_paddr_overloaded_functions): Ditto.
	(test_paddr_hairy_functions): Use demangler formatting variables.
	Add reference to gdb/19 for related tests.
	(do_tests): Call probe_demangler.
2001-02-14 19:54:04 +00:00
Nick Clifton
51d7ee16bb Fix initialisation of asection structure 2001-02-14 19:37:05 +00:00
Nick Clifton
825b47db31 Apply changes to Makefile.in to Makefile.am 2001-02-14 19:18:53 +00:00
Nick Clifton
a9f1078629 Add obvious fix rule 2001-02-14 18:49:56 +00:00
Michael Sokolov
fc24370e47 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
* configure, config.in: Regenerate.
	* corelow.c: Include <sys/file.h> if present.
2001-02-14 18:48:40 +00:00
H.J. Lu
24174db0fa 2001-02-14 H.J. Lu <hjl@gnu.org>
* configure.tgt: Remove mention of earmelf_linux26.
2001-02-14 18:34:13 +00:00
H.J. Lu
ea36a178b2 2001-02-14 H.J. Lu <hjl@gnu.org>
* libcoff-in.h (pe_tdata): Add members target_subsystem and
	force_minimum_alignment.
2001-02-14 17:29:47 +00:00