Commit graph

26633 commits

Author SHA1 Message Date
Jim Blandy
c3f432d938 *** empty log message *** 2000-04-05 20:41:57 +00:00
Jim Blandy
105b175f27 * solib.c (update_solib_list): New function.
(solib_add): Call update_solib_list, and then read symbols.
(info_sharedlibrary_command): Call update_solib_list, not
solib_add.
2000-04-05 20:40:22 +00:00
Scott Bambrough
c20f6dea13 2000-04-05 Scott Bambrough <scottb@netwinder.org>
* arm-linux-tdep.c: Resolve implicit function declarations by
	including target.h and value.h.  Inclusion of symtab.h is
	no longer needed.
	* ChangeLog: Fix formatting of previous entry.
2000-04-05 17:24:08 +00:00
Scott Bambrough
faf5f7ad8a Unable to build x86 hosted debugger for ARM Linux, due to missing target
dependencies.  Created ARM Linux specific arm-linux-tdep.c file and moved
missing code into it from arm-linux-nat.c.

2000-04-05  Scott Bambrough <scottb@netwinder.org>

	* arm-linux-tdep.c: New file.
	* arm-linux-nat.c (fetch_fpregs): Remove unused code.
	  (arm_get_longjmp_target): Moved it and all defines
	  it uses to arm-linux-tdep.c.
	  (arm_linux_extract_return_value): Moved to
	  arm-linux-tdep.c.
	* config/arm/linux.mt: Add arm-linux-tdep.c to TDEPFILES.
2000-04-05 15:38:05 +00:00
Alexandre Oliva
79bd78bef5 * config/tc-sparc.c (sparc_ip): Avoid string pasting. 2000-04-05 09:38:43 +00:00
Alan Modra
57938635f5 Add --redefine-sym to objcopy. 2000-04-05 03:43:56 +00:00
Nicholas Duffek
c7e79b4bee * infrun.c (handle_inferior_event): Call target_mourn_inferior
instead of kill_target.
2000-04-05 02:26:37 +00:00
H.J. Lu
dd27201edf 2000-04-04 H.J. Lu <hjl@gnu.org>
* readelf.c (process_symbol_table): Correctly read in symbol
	versioning information.
2000-04-04 23:05:32 +00:00
Hans-Peter Nilsson
e30e5a6a9b * internals.texi (CPU backend): Document
TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
2000-04-04 20:39:36 +00:00
Alan Modra
8ad3436c79 Move translated part of bug report string back into .c files so
xgettext can find it.  Regnerate .pot files.
2000-04-04 14:32:35 +00:00
Alan Modra
41b49281c1 Use "gcc -MM" for dependencies, and update them. 2000-04-04 10:53:56 +00:00
Daniel Berlin
eb3d1d196c Update todo 2000-04-04 05:13:44 +00:00
Daniel Berlin
070ad9f02e C++ changes for 5.0, finally committed. 2000-04-04 04:53:50 +00:00
Andrew Cagney
eb90a51f9d Stop GCC thinking a shift will overflow. 2000-04-04 04:16:48 +00:00
H.J. Lu
d66c34e293 2000-04-03 H.J. Lu <hjl@gnu.org>
* TODO: Remove the regex entry.
2000-04-04 02:11:36 +00:00
H.J. Lu
8898755195 2000-04-03 H.J. Lu <hjl@gnu.org>
* gdb_regex.h: New. Include "regex.h" if USE_INCLUDED_REGEX
	is defined and <regex.h> otherwise.

        * irix5-nat.c: Include "gdb_regex.h" instead of "gnu-regex.h".
	* monitor.c: Likewise.
	* osfsolib.c: Likewise.
	* solib.c: Likewise.
	* source.c: Likewise.
	* symtab.c: Likewise.

	* Makefile.in (REGEX): Changed to @REGEX@.
	(REGEX_CFLAGS): New.
	(REGEX1): Removed.
	(ADD_DEPS): Use $(REGEX) instead of $(REGEX1).
	(INTERNAL_WARN_CFLAGS): Add $(REGEX_CFLAGS).

	* configure.in (--with-included-regex): New switch.
	(REGEX): New. Subsstitue @REGEX@ in Makefile.in.
	(REGEX_CFLAGS): New. Subsstitue @REGEX_CFLAGS@ in Makefile.in.
	* configure: Regenerated.
2000-04-04 02:08:52 +00:00
Kevin Buettner
afc05dd4fd Mention new PowerPC GNU/Linux native configuration. 2000-04-03 22:10:45 +00:00
Kevin Buettner
653f71caaf AIX 4.3 changes 2000-04-03 21:48:31 +00:00
J.T. Conklin
c1ed99b861 2000-04-03 J.T. Conklin <jtc@redback.com>
* config/i386/xm-nbsd.h (HOST_LONG_DOUBLE_FORMAT): Define.
2000-04-03 21:33:21 +00:00
Alexandre Oliva
0a727238ad * config/tc-mn10300.c (md_pseudo_table): Use constant names.
(md_begin): Likewise.
(HAVE_AM33): New macro.
(md_assemble): Use it.  Match r_regs and xr_regs only if
HAVE_AM33.
2000-04-03 20:20:26 +00:00
Ian Lance Taylor
9e422a2e27 2000-04-03 H.J. Lu <hjl@gnu.org>
* cache.c (bfd_open_file): Unlink the output file only if
	it has none zero size.
2000-04-03 19:19:11 +00:00
Kevin Buettner
d61e6540a1 IA-64 changes for linux threads 2000-04-03 19:10:50 +00:00
Kevin Buettner
76d689a6e3 IA-64 changes 2000-04-03 18:58:48 +00:00
Jim Blandy
3ace57aafd *** empty log message *** 2000-04-03 17:50:12 +00:00
Jim Blandy
f16568948d *** empty log message *** 2000-04-03 17:49:40 +00:00
Jim Blandy
e8930304b2 * solib.c (solib_add): Move all the code for loading symbol tables
below the code to sort out additions and removals.  That way, we
always catch all loaded shared libraries whose symbols we haven't
grabbed yet.

* solib.c (solib_add): Don't try to free a shared object's objfile
if it doesn't have one.  Duh.

* solib.c (solib_add): If a pattern was given, but it doesn't
match any currently loaded shared libraries, print a message;
don't just be silent.
2000-04-03 17:45:17 +00:00
H.J. Lu
a9273d78af 2000-04-03 H.J. Lu (hjl@gnu.org)
* size.c (usage): Use REPORT_BUGS_TO.
2000-04-03 17:17:36 +00:00
Eli Zaretskii
a984817e9c * annotate.texi (Frame Annotations): Fix a cross-reference. 2000-04-03 16:11:07 +00:00
Eli Zaretskii
184a103e6d * go32-nat.c (go32_handle_nonaligned_watchpoint): Use a
two-dimensional array instead of faking it with index
	arithmetics.
2000-04-03 15:27:42 +00:00
Eli Zaretskii
7f668b8658 * config/i386/xm-go32.h (HOST_LONG_DOUBLE_FORMAT): Define.
* config/i386/tm-go32.h (TARGET_LONG_DOUBLE_BIT): Remove
	definition (and use the common one in tm-i386.h).
	(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Likewise.
	(I386_DJGPP_TARGET): Don't define, it's no longer required.
	(LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Remove definition,
	i386-tdep.c defines it for all x86 targets.
	(LD_I387, HEX_LONG_DOUBLE_INPUT): Remove.

	* config/djgpp/fnchange.lst: Add i386-linux-tdep.c.

	* config/djgpp/djcheck.sh: Edit the copyright year out of the test
	results.  Fix editing of `main' arguments for non-GNU Sed.
2000-04-03 15:24:17 +00:00
Eli Zaretskii
c0c9b0b8a6 Fix a typo (comtaining -> containing). 2000-04-03 15:17:37 +00:00
Eli Zaretskii
515ad16ca7 * symfile.c (map_overlay_command, unmap_overlay_command): Fix
error message: there's no "overlay on" command.
2000-04-03 15:16:13 +00:00
Eli Zaretskii
bf1798eaab * Makefile.in (copying.c): Depend on copying.txt, not COPYING.
(copying.txt): New target, a link to COPYING.
2000-04-03 15:12:59 +00:00
Alan Modra
b77a133c96 Tidy some code. Print pc rel addresses as signed. 2000-04-03 14:17:43 +00:00
Alan Modra
c20f4f8c21 Move bug report string to one place. 2000-04-03 14:10:05 +00:00
Daniel Berlin
7876dd4328 NEWS file update 2000-04-03 13:24:08 +00:00
Alan Modra
c555c5c58e Don't emit relative relocations for non-loaded sections in shared objects.
Fix for DWARF-2 sections .debug_info and .debug_line.
2000-04-03 12:42:18 +00:00
Alan Modra
71851002d0 Add 16-bit immediate tests. 2000-04-03 12:20:55 +00:00
Hans-Peter Nilsson
753f6b125b * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
	adjustments.
2000-04-03 12:05:31 +00:00
Hans-Peter Nilsson
1642229ef3 * aoutx.h (NAME(aout,reloc_type_lookup)): Add BFD_RELOC_8 and
BFD_RELOC_16 to switch for extended relocs.
	(MY_swap_ext_reloc_in): New.
	(MY_swap_ext_reloc_out): New.
	(NAME(aout,slurp_reloc_table)): Use MY_swap_ext_reloc_in rather
	than NAME(aout,swap_ext_reloc_in) for extended relocs.
	(NAME(aout,squirt_out_relocs)): Similarly use
	MY_swap_ext_reloc_out.
	(aout_link_reloc_link_order): Use MY_put_ext_reloc if defined.
2000-04-03 11:44:45 +00:00
Hans-Peter Nilsson
1ce6d55a69 * aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.
(RELOC_EXT_BITS_EXTERN_LITTLE): Ditto.
	(RELOC_EXT_BITS_TYPE_BIG): Ditto.
	(RELOC_EXT_BITS_TYPE_SH_BIG): Ditto.
	(RELOC_EXT_BITS_TYPE_LITTLE): Ditto.
	(RELOC_EXT_BITS_TYPE_SH_LITTLE): Ditto.
2000-04-03 11:29:28 +00:00
Alan Modra
726c5dcddf Correct 2000-02-26 change. 2000-04-03 11:19:51 +00:00
Andrew Cagney
9d6d78f259 Update removing anything fixed. 2000-04-03 08:47:48 +00:00
Jeff Law
4259e8b62b * coff-h8300.c (h8300_reloc16_extra_cases): Add bsr:16 -> bsr:8 to
the R_PCRWORD_B case.
2000-04-03 06:55:06 +00:00
Andrew Cagney
62a4b482f9 Revert white space changes. Need way of stopping this happening. 2000-04-03 06:52:38 +00:00
Andrew Cagney
eb2f494ab0 Re-indent (almost). Several cases where indent was getting it wrong
were omitted.
2000-04-03 05:30:13 +00:00
Andrew Cagney
a960f24961 Delete add_minsym_to_demangled_hash_table from symtabs.h. Static function. 2000-04-03 04:47:27 +00:00
Andrew Cagney
afbfc876f1 Re-indent gdb-events.h, gdb-events.c using gdb-events.sh. 2000-04-03 04:43:26 +00:00
Nicholas Duffek
c91ecb25c3 * gdbtypes.c (safe_parse_type): New wrapper function to ignore
error() during parse_and_eval_type().
	(check_stub_method): Call safe_parse_type instead of
	parse_and_eval_type().
	* wrapper.c (gdb_parse_and_eval_type): New wrapper function.
	(wrap_parse_and_eval_type): New support function.
	* wrapper.h (gdb_parse_and_eval_type): Prototype.
	(wrap_parse_and_eval_type): Prototype.
2000-04-03 03:39:09 +00:00
Christopher Faylor
f9e73361c8 Update winsup stuff. 2000-04-03 01:26:01 +00:00