Commit Graph

30377 Commits

Author SHA1 Message Date
gdbadmin c49cf2cdb9 *** empty log message *** 2001-06-09 00:00:03 +00:00
Per Bothner bebd888e23 * dwarf2read.c (set_cu_language): Handle DW_LANG_Java. 2001-06-08 18:08:03 +00:00
H.J. Lu 3f5a136d64 2001-06-08 H.J. Lu <hjl@gnu.org>
* elf.c (swap_out_syms): Keep names for global section symbols.
2001-06-08 15:30:52 +00:00
Alan Modra 02e07694c3 * gas/elf/elf.exp (run_list_test): Undo $readelf change in 2001-06-07. 2001-06-08 15:27:25 +00:00
H.J. Lu d8fe1fed28 2001-06-07 H.J. Lu <hjl@gnu.org>
* config.bfd: Put back ecoff for Linux/mips. Firmwares on some
	MIPS-based machines need it.
2001-06-08 06:21:29 +00:00
Alan Modra c0037ab6f5 fix typo. 2001-06-08 06:11:33 +00:00
Alan Modra 98aa84af0e * Makefile.am: 'som' is not wrongly spelled 'some'.
* Makefile.in: Regenerate.

	* config/tc-mips.c (mips16_mark_labels): Reduce number of calls to
	S_GET_VALUE by using a temp.
	(append_insn): Likewise, and for S_GET_VALUE too.
	(mips_emit_delays): Likewise.
	(my_getExpression): Likewise.
	(md_apply_fix): Likewise.  Use "valueT" rather than "long" for "value".
	(mips16_extended_frag): Remove code concerned with avoiding
	locking in a frag address now that symbols are not finalized until
	relaxation is complete.  Cater for first relaxation pass having
	bogus addresses.  Use relax_marker to reliably determine whether a
	symbol frag has been reached on the current pass.
2001-06-08 06:07:13 +00:00
Alexandre Oliva dc70af013c * Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
gcc/xgcc is built, use -print-prog-name to find out the program
name to use.
2001-06-08 03:24:41 +00:00
Alan Modra 8529105a0e * ldlang.c (record_bfd_errors): Remove.
* emultempl/aix.em: Fix copyright dates.
2001-06-08 01:58:20 +00:00
H.J. Lu fa6b2d59c9 2001-06-07 H.J. Lu <hjl@gnu.org>
* gas/elf/section2.e-mips: New file.

	* gas/elf/elf.exp (run_list_test): Add suffix.
	Pass -mips as suffix to run_list_test for mips.
2001-06-08 01:08:05 +00:00
gdbadmin ca1edc95bb *** empty log message *** 2001-06-08 00:27:01 +00:00
H.J. Lu f85f789b4c 2001-06-07 H.J. Lu <hjl@gnu.org>
* configure.in: Move "mips-*-linux-gnu*" before "mips-*-gnu*".
	* configure: Regenerate.
2001-06-07 23:43:46 +00:00
Keith Seitz 8f45b7fe58 * tracepoint.c (tracepoint_opertation): Add ui event
notifications.
	(trace_pass_command): Ditto.
2001-06-07 22:02:18 +00:00
Andrew Cagney a4f1e24f01 Jeff Law sepped down as HP/UX maintainer. 2001-06-07 21:43:00 +00:00
Andrew Cagney b76a2a579b Doco write-after-approval criteria. 2001-06-07 21:03:48 +00:00
Jim Blandy 72e74a2126 * gdbarch.sh: Make sure that '[' doesn't interpret interesting
variable values as operators.
2001-06-07 20:52:47 +00:00
Keith Seitz 8c6ee71525 * gdb-events.sh: Fix quote escaping which was obsoleted
by last patch.
2001-06-07 20:18:45 +00:00
Keith Seitz 9e79109904 * gdb-events.sh: Make if statements and tests
a little more portable.
	Don't use shell's echo command to put strings containing
	escaped characeters into a file -- different flavors of /bin/sh
	require differnt levels of escaping. Use cat <<EOF instead.
	Our internal field separator is a colon. Change all
	commands which assume it is a space.
2001-06-07 19:40:55 +00:00
Mark Kettenis fce0e6e1ed * lin-lwp.c (struct lwp_info): Add member `resumed'.
(iterate_over_lwps): Make sure we can handle CALLBACK deleting the
LWP it's called for.
(lin_lwp_attach): Mark LWP as resumed to make sure the fake
SIGSTOP is reported.
(resume_clear_callback): New function.
(resume_set_callback): New function.
(lin_lwp_resume): Mark all LWP's that we're going to resume as
resumed, and unmark all others.
(status_callback): Only report a pending wait status if we pretend
that LP has been resumed.
(resumed_callback): New function.
(lin_lwp_wait): Add assertions to check that LWP's are properly
marked as resumed.  Partially revert 2001-05-25 patch by Michael
Snyder: do not resume all threads.  Add comment explaining the
problems associated with this bit of code.
2001-06-07 19:31:10 +00:00
Keith Seitz 54403c593a * MAINTAINTERS: Syd Polk is stepping down from
maintaining libgui. I am replacing him.
2001-06-07 18:37:40 +00:00
H.J. Lu 7b15a6b5a9 2001-06-07 H.J. Lu <hjl@gnu.org>
* gas/elf/section2.l: Match ".*GAS.*" instead of
	"GAS LISTING .*".
2001-06-07 18:06:59 +00:00
H.J. Lu c36e006fbc 2001-06-07 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (_bfd_mips_elf_object_p): Set the bad symtab
	for SGI only.

	* config.bfd: Remove ecoff from Linux/mips.
2001-06-07 17:31:22 +00:00
H.J. Lu df3bcd6f73 2001-06-07 H.J. Lu <hjl@gnu.org>
* configure.in: Use MIPS_STABS_ELF for Linux/mips and remove
	ecoff emulation.
	* configure: Regenerate.
2001-06-07 17:23:14 +00:00
H.J. Lu 9160c09b0f 2001-06-07 H.J. Lu <hjl@gnu.org>
* gas/mips/mips.exp: Set xfail for "lineno" on Linux/mips.
2001-06-07 17:18:56 +00:00
H.J. Lu add565213d 2001-06-07 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (mips_pseudo_table): Add "extern" if
	MIPS_STABS_ELF is defined.
2001-06-07 16:52:19 +00:00
H.J. Lu d2d89a164a Fix typos. 2001-06-07 16:48:18 +00:00
H.J. Lu fbbd5fc35e 2001-06-07 H.J. Lu <hjl@gnu.org>
* readelf.ss-mips: Support stabs.
	* binutils-all/readelf.ss-tmips: Likewise.
2001-06-07 16:46:38 +00:00
H.J. Lu 823e3a7306 2001-06-06 H.J. Lu <hjl@gnu.org>
* gas/mips/empic.d: Support stabs.
	* gas/mips/mips16-e.d: Likewise.
	* gas/mips/mips16-f.d: Likewise.
	* gas/mips/mipsel16-f.d: Likewise.
	* gas/mips/telempic.d: Likewise.
	* gas/mips/tempic.d: Likewise.
	* gas/mips/tmips16-e.d: Likewise.
	* gas/mips/tmipsel16-e.d: Likewise.
2001-06-07 16:44:12 +00:00
Eli Zaretskii 1d06468c1f * config/mips/tm-irix6.h: New file.
* config/mips/irix6.mh: New file.

	* config/mips/irix6.mt: New file.

	* config/mips/xm-irix6.h: New file.

	* config/mips/nm-irix6.h: New file.

	* mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the
	disassembler info in tm_print_insn_info as appropriate for the N32
	ABI.  Force N32 ABI to be the default if the CPU is R8000 or
	R10000.

	* configure.tgt (mips*-sgi-irix6*): Map to irix6.

	* configure.host (mips*-sgi-irix6*): Ditto.
2001-06-07 15:57:57 +00:00
Andrew Cagney 3d499020f6 s/abort/gdb_assert/ 2001-06-07 14:51:20 +00:00
Andreas Jaeger cc78d0afbe 2001-06-07 Andreas Jaeger <aj@suse.de>
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Add an
	assertion.
	(elf64_x86_64_check_relocs): Fix VTENTRY relocation; set an
	alignment of 8 for .rela sections; handle further relocations.
2001-06-07 14:45:36 +00:00
Andreas Jaeger 8f3aa7a03f * emulparms/elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
(TEXT_START_ADDR): Likewise.
2001-06-07 11:18:18 +00:00
Jim Blandy fd661517de * gdb.base/return2.exp (main): Use values to test float and double
returns that are not NaN's, to avoid being confused by IEEE
comparison rules.
2001-06-07 03:42:41 +00:00
H.J. Lu a90335ee82 2001-06-06 H.J. Lu <hjl@gnu.org>
* gas/mips/elf-rel3.s: New file.
	* gas/mips/elf-rel3.d: Likewise.
	* gas/mips/elfel-rel3.s: Likewise.
	* gas/mips/elfel-rel3.d: Likewise.

	* gas/mips/mips.exp: Run elf-rel3/elfel-rel3.
2001-06-07 00:57:40 +00:00
Jim Blandy c5f5341b0e * cp-abi.h: Rearrange code to put documentation comments above the
functions we export.  The actual function table itself simply
refers to those functions.  Minor doc fixes.
2001-06-06 22:21:15 +00:00
Jim Blandy 81564d3419 * gdb.base/return2.exp (main): Use values to test float and double
returns that are not NaN's, to avoid being confused by IEEE
comparison rules.
2001-06-06 22:05:08 +00:00
H.J. Lu a5c9dff1ba Fix a typo. 2001-06-06 21:08:09 +00:00
H.J. Lu 5b5032ebbd 2001-06-06 H.J. Lu <hjl@gnu.org>
* gas/elf/elf.exp (run_list_test): New.
	Run section2 with run_list_test.

	* gas/elf/section2.e: New file.
	* gas/elf/section2.l: Likewise.
	* gas/elf/section2.s: Likewise.
2001-06-06 21:07:14 +00:00
H.J. Lu 66517a2f18 2001-06-06 H.J. Lu <hjl@gnu.org>
* ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
	on Linux/mips.

	* ld-elfvers/vers.exp: Also run on istarget Linux/mips.
	* ld-elfvsb/elfvsb.exp: Likewise.
	* ld-shared/shared.exp: Likewise.

	* ld-selective/selective.exp: Mark selective2, selective3,
	selective4 and selective5 xfail on Linux/mips.

	* ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips.

	* symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips.

	* ld-srec/srec.exp: Add Linux/mips to xfail.
2001-06-06 21:03:59 +00:00
Michael Snyder da55addb08 2001-06-04 Michael Snyder <msnyder@redhat.com>
* gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
	non-zero if control_c fails.  Terminate the test on failure,
	rather than wait for 12 more tests to time out.
2001-06-06 18:34:53 +00:00
Jim Blandy b18bced9af * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
Don't forget to match the GDB prompt.
2001-06-06 18:25:46 +00:00
Jim Blandy 42c6598756 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings. 2001-06-06 18:22:29 +00:00
Jim Blandy ceaa8edf7e * gdbarch.sh: Changes to effect the following:
* gdbarch.c (initialize_non_multiarch): New function.
* gdbarch.h (initialize_non_multiarch): New declaration.
* arch-utils.c (initialize_current_architecture): For
non-multiarch configurations, call initialize_non_multiarch.
2001-06-06 17:47:28 +00:00
Nick Clifton 6da13e9a21 Remove L fromlist of accepting listin goptions 2001-06-06 17:32:38 +00:00
Andrew Cagney 0cd64fe2f1 Delete some unnecessary PTR uses. 2001-06-06 17:12:30 +00:00
Nick Clifton 879db8be1a Remove warnings building z8k port.
Fix ld -r behaviour
2001-06-06 17:01:35 +00:00
Jonathan Larmour 8849f47dd9 * arch-utils.c (generic_prepare_to_proceed): Allow for having
stopped due to a Ctrl-C as well as breakpoints.

* hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not
support thread switches after Ctrl-C.
* lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto.
* linux-thread.c (linuxthreads_prepare_to_proceed): Ditto.
* m3-nat.c (mach3_prepare_to_proceed): Ditto.
2001-06-06 16:31:32 +00:00
Jim Blandy b3cc30771b * gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
per-architecture data should be registered at initialization time,
before any gdbarch objects get used, so the generality is
unnecessary.
2001-06-06 14:46:30 +00:00
Keith Seitz ba9fe0367b * gdb-events.sh (function_list): Add tracepoint_create,
tracepoint_delete, and tracepoint_modify events.
	* gdb-events.c: Regenerated.
	* gdb-events.h: Regenerated.
2001-06-06 14:44:42 +00:00
Keith Seitz cea35b0824 Regenerate...
* gdb-events.sh: Update copyrights.
	Change free to xfree.
	* gdb-events.c: Regenerated.
	* gdb-events.h: Regenerated.
2001-06-06 14:38:52 +00:00