Commit Graph

27707 Commits

Author SHA1 Message Date
Daniel Berlin
e8865c2811 Demangling fixes 2000-07-24 19:14:18 +00:00
Michael Snyder
7b92f6e1a2 * printcmd.c (printf_command): Guard against 0-length string.
----------------------------------------------------------------------
2000-07-24 18:13:27 +00:00
DJ Delorie
39da812840 * config/obj-coff.c (obj_frob_symbol): Don't merge
labels. Don't merge if the symbol isn't constant. Return
immediately if a symbol is merged.
2000-07-24 17:50:35 +00:00
Nick Clifton
3eb6f68f1b Regenerate auto-generated files 2000-07-24 17:22:17 +00:00
Jim Blandy
811abf8092 *** empty log message *** 2000-07-24 17:07:34 +00:00
Jim Blandy
8713b1b135 * dwarf2read.c (read_structure_scope): Correct overzealous
addition of cu_header argument.
2000-07-24 17:07:26 +00:00
H.J. Lu
360e95866f 2000-07-24 H.J. Lu (hjl@gnu.org)
* ld-elfvsb/elfvsb.exp: Add -g to $CC to get the location of
	the undefined reference.
2000-07-24 15:40:20 +00:00
Anthony Green
02d44fdba5 Updated TODO. 2000-07-24 14:49:05 +00:00
Anthony Green
d8231941c0 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
* gdb.java/configure: Rebuild.
2000-07-24 14:44:16 +00:00
Elena Zannoni
7ec7e38946 2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbarch.sh: Add FETCH_PSEUDO_REGISTER and STORE_PSEUDO_REGISTER
         to the gdbarch structure.
         * gdbarch.c: Regenerate.
         * gdbarch.h: Regenerate.
         * inferior.h (FETCH_PSEUDO_REGISTER, STORE_PSEUDO_REGISTER):
         Delete macros.
         * regcache.c (write_register, read_register, write_register_bytes,
         write_register_gen, read_register_bytes, read_register_gen):
         Rename ARCH_FECTH_PSEUDO_REGISTERS to FETCH_PSEUDO_REGISTERS and
         ARCH_STORE_PSEUDO_REGISTER to STORE_PSEUDO_REGISTER.
2000-07-24 14:35:14 +00:00
Elena Zannoni
7f1b25859d 2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbarch.sh: Add FETCH_PSEUDO_REGISTER and STORE_PSEUDO_REGISTER
         to the gdbarch structure.
         * gdbarch.c: Regenerate.
         * gdbarch.h: Regenerate.
         * inferior.h (FETCH_PSEUDO_REGISTER, STORE_PSEUDO_REGISTER):
         Delete macros.
         * regcache.c (write_register, read_register, write_register_bytes,
         write_register_gen, read_register_bytes, read_register_gen):
         Rename ARCH_FECTH_PSEUDO_REGISTERS to FETCH_PSEUDO_REGISTERS and
         ARCH_STORE_PSEUDO_REGISTER to STORE_PSEUDO_REGISTER.
2000-07-24 14:29:23 +00:00
Elena Zannoni
0aba124455 * gdbarch.sh: Add NUM_PSEUDO_REGS to the gdbarch structure.
* gdbarch.c: Regenerate.
	* gdbarch.h: Regenerate.
	* inferior.h (NUM_PSEUDO_REGS): Delete macro.
2000-07-24 14:25:22 +00:00
Eli Zaretskii
e7997b74f5 * gdbmi.texinfo: Change GDB -> @value{GDBN}, and
(gdb) -> (@value{GDBP}).  Fix a few typos and some markup.  From
	Dmitry S. Sivachenko <dima@Chg.RU>.
2000-07-24 06:09:49 +00:00
Anthony Green
8caabe694f * language.c: Include jv-lang.h.
(lang_bool_type): Add case for java booleans.

And in testsuite...

	* gdb.java/jv-exp.exp: New file.
2000-07-24 05:04:19 +00:00
Alexandre Oliva
fd1f87b216 * Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).
(configure-target-libchill, configure-target-libobjc): Likewise.
2000-07-24 04:34:56 +00:00
Anthony Green
9d273ca387 * configure: Rebuilt.
* configure.in (configdirs): Add gdb.java.
	* gdb.java/jmisc.java: New file.
	* gdb.java/jmisc.exp: New file.
	* gdb.java/Makefile.in: New file.
	* gdb.java/configure: Rebuilt.
	* gdb.java/configure.in: New file.
	* lib/java.exp: New file.
2000-07-24 04:34:52 +00:00
Alexandre Oliva
8bbd92e005 * configure.in: Use the same cache file for all target libs.
* config-ml.in: But different cache files per multilib variant.
2000-07-24 04:34:08 +00:00
Andrew Cagney
107d2387e3 Eliminate global address_size. Replace with function
read_comp_unit_head() and ``struct compu_unit_head'' parameter.
Include support for signed address case.
Fixes problem of global address size / sign being out-of-sync with
with current section.
2000-07-24 01:26:10 +00:00
Ulf Carlsson
313ba8d62b 2000-07-23 Ulf Carlsson <ulfc@engr.sgi.com>
* elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead
	of dynobj for SGI_COMPAT checks.
2000-07-23 20:51:35 +00:00
Jeff Law
62df206565 * configure.in (AC_CHECK_HEADERS): Add time.h.
(AC_HEADER_TIME): Add check.
        * configure, config.in: Regenerate.
        * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
2000-07-23 19:20:18 +00:00
Jeff Law
25c6c11268 * configure (topsrcdir): Don't use dirname. 2000-07-23 17:42:34 +00:00
Jeff Law
7d3ffcaf85 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
* configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
	* configure, config.in: Regenerate.
	* pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
2000-07-23 16:05:33 +00:00
Jeff Law
b123325783 * cp-demangle.c, mkstemps.c: #include <sys/types.h>. 2000-07-23 15:58:11 +00:00
Alan Modra
5bbe3a506e (external_coff_symbol_p): K&R-ise. 2000-07-23 08:19:25 +00:00
Jason Merrill
ba73c63f53 merge with gcc 2000-07-22 08:20:10 +00:00
Alan Modra
65e68b04b1 Correct absolute section alignment. 2000-07-22 04:23:48 +00:00
Michael Snyder
e9d196c53f 2000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>
* thread.c (thread_apply_all_command): Update thread list first.
2000-07-22 00:15:30 +00:00
Nick Clifton
e702a51c72 oops - omitted from previous delta 2000-07-21 23:40:12 +00:00
Nick Clifton
20bccb3485 Applied Michael's Sokolov's patch to implement --embedded-relocs for m68k coff. 2000-07-21 23:31:53 +00:00
Elena Zannoni
f41603356d 2000-07-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* regcache.c (read_register, read_register_bytes): Fix typos.
2000-07-21 22:25:52 +00:00
Michael Snyder
6dff448f84 2000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/i386/tm-i386.h: treat PC and FP as unsigned.
      (SAVED_PC_AFTER_CALL): Use read_memory_unsigned_integer.
      (FRAME_SAVED_PC): Ditto.
      (FRAME_CHAIN): Ditto.
2000-07-21 20:52:27 +00:00
Michael Snyder
3dd3139b53 2000-07-20 Michael Snyder <msnyder@cleaver.cygnus.com>
* valarith.c (value_sub): Call check_typedef.
2000-07-21 20:03:08 +00:00
Nick Clifton
7a3120d9a6 Detect and report corrupt relocs 2000-07-21 19:56:19 +00:00
Jason Merrill
0b5e1ab525 merge with gcc 2000-07-21 05:45:22 +00:00
H.J. Lu
4d538889a8 2000-07-20 H.J. Lu <hjl@gnu.org>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check
	info->new_dtags when setting DT_FLAGS_1. It will only be set
	by the new linker options. It shouldn't break anything.
2000-07-21 03:58:32 +00:00
H.J. Lu
b586af581d 2000-07-20 H.J. Lu <hjl@gnu.org>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1
	only if info->new_dtags is true.
2000-07-21 02:16:31 +00:00
Hans-Peter Nilsson
e5da6f528f Forgot to commit ChangeLog entry for CRIS gas tests. Oops. 2000-07-21 00:57:47 +00:00
Hans-Peter Nilsson
a471a06b87 * gas/cris/*: New tests for CRIS. 2000-07-21 00:48:55 +00:00
H.J. Lu
e107c42f07 2000-07-20 H.J. Lu <hjl@gnu.org>
* binutils/binutils.texi: Put back "@end table" deleted by
	accident.
2000-07-21 00:09:48 +00:00
DJ Delorie
5e0d736c33 * config/obj-coff.c (obj_frob_symbol): revert previous change,
it breaks linking against DLLs.
2000-07-20 23:38:05 +00:00
H.J. Lu
699845ef7b 2000-07-20 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
	and "disable-new-dtags" to stop getopt from treating -d/-e as
	abbreviations for these options.
2000-07-20 21:59:40 +00:00
H.J. Lu
eec8c321e3 2000-07-20 H.J. Lu <hjl@gnu.org>
* bfdlink.h (bfd_link_info): Add new_dtags.
2000-07-20 21:19:33 +00:00
H.J. Lu
6c1439be21 2000-07-20 H.J. Lu <hjl@gnu.org>
* ld.texinfo: Add documentation for --disable-new-dtags and
	--enable-new-dtags.

	* ldmain.c (main): Initialize link_info.new_dtags to false.

	* emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
	--disable-new-dtags and --enable-new-dtags.
	(gld_${EMULATION_NAME}_list_options): Likewise.
2000-07-20 21:18:23 +00:00
H.J. Lu
c25373b76a 2000-07-20 H.J. Lu <hjl@gnu.org>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set
	DT_RUNPATH and DT_FLAGS only if info->new_dtags is true.
2000-07-20 21:16:58 +00:00
Jeff Law
9adf30b218 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
and print it with %u.
2000-07-20 20:22:28 +00:00
Nick Clifton
efaf0ba464 Fix formatting. 2000-07-20 20:07:09 +00:00
Jason Merrill
03d5f569de merge with gcc 2000-07-20 18:56:16 +00:00
Hans-Peter Nilsson
1af08294a5 * config.sub: Update to subversions version 2000-07-06. 2000-07-20 18:03:17 +00:00
Nick Clifton
28c309a287 Add optional style argument to --demangle switch. 2000-07-20 18:02:56 +00:00
Hans-Peter Nilsson
483f05e373 * gas/all/gas.exp: Don't run floating-point tests on CRIS.
* gas/ieee-fp/x930509a.exp: Ditto.
	* gas/macros/macros.exp: Mark strings test xfail for CRIS.
2000-07-20 17:53:38 +00:00