Andrew Cagney [Thu, 8 Nov 2001 18:32:08 +0000 (18:32 +0000)]
Enable multi-arch for i386.
Andrew Cagney [Thu, 8 Nov 2001 18:23:43 +0000 (18:23 +0000)]
Don't update ``set architecture'' when ``set disassembly-flavor[sic]''
Elena Zannoni [Thu, 8 Nov 2001 04:58:40 +0000 (04:58 +0000)]
2001-10-30 Elena Zannoni <ezannoni@redhat.com>
* dbxread.c (set_namestring): New function, replacing the
SET_NAMESTRING macro.
(SET_NAMESTRING, CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE,
CUR_SYMBOL_STRX, DBXREAD_ONLY, START_PSYMTAB, END_PSYMTAB): Delete
definitions.
(read_dbx_symtab): Don't include partial-stab.h any more. Don't
reuse code in partial-stab.h, include the code directly, instead.
* Makefile.in (dbxread.o): Remove dependency on partial-stab.h.
(HFILES_NO_SRCDIR): Remove partial-stab.h.
* partial-stab.h: Remove file.
Elena Zannoni [Thu, 8 Nov 2001 04:39:04 +0000 (04:39 +0000)]
2001-11-07 Elena Zannoni <ezannoni@redhat.com>
* dbxread.c (set_namestring): New function, replacing the
SET_NAMESTRING macro.
(SET_NAMESTRING, CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE,
CUR_SYMBOL_STRX, DBXREAD_ONLY, START_PSYMTAB, END_PSYMTAB): Delete
definitions.
(read_dbx_symtab): Don't include partial-stab.h any more. Don't
reuse code in partial-stab.h, include the code directly, instead.
* Makefile.in (dbxread.o): Remove dependency on partial-stab.h.
(HFILES_NO_SRCDIR): Remove partial-stab.h.
Elena Zannoni [Thu, 8 Nov 2001 02:59:32 +0000 (02:59 +0000)]
Whoops, forgot to commit this yesterday:
2001-11-06 Elena Zannoni <ezannoni@redhat.com>
* mdebugread.c (CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB,
END_PSYMTAB, SET_NAMESTRING, HANDLE_RBRAC): Delete definitions.
(parse_partial_symbols): Don't include partial-stab.h any
more. Don't reuse code in partial-stab.h, include the code
directly, instead. Simplify code from partial-stab.h eliminating
ifdef DBXREAD_ONLY code.
* Makefile.in (mdebugread.o): Remove dependency on partial-stab.h.
Andrew Cagney [Thu, 8 Nov 2001 01:33:04 +0000 (01:33 +0000)]
When non-multi-arch, use predefault as the value of a pure-multi-arch
method.
Mark Kettenis [Thu, 8 Nov 2001 00:03:52 +0000 (00:03 +0000)]
* config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Define in
terms of NUM_GREGS, NUM_FREGS and NUM_SSE_REGS instead of
hardcoding the register number.
gdbadmin [Thu, 8 Nov 2001 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 7 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Wed, 7 Nov 2001 22:42:29 +0000 (22:42 +0000)]
gdbarch.sh provides default for USE_STRUCT_CONVENTION.
Jakub Jelinek [Wed, 7 Nov 2001 16:50:38 +0000 (16:50 +0000)]
* Makefile.am (BFD32_BACKENDS): Add elf-strtab.lo.
(BFD32_BACKENDS_CFILES): Add elf-strtab.c.
(elf-strtab.lo): Add rule.
* Makefile.in: Rebuilt.
* configure.in (elf): Add elf-strtab.lo.
* configure: Rebuilt.
* elf-bfd.h (elf_strtab_hash): Forward declare.
(struct elf_link_hash_table): Change dynstr type to
struct elf_strtab_hash *.
(struct elf_obj_tdata): Change strtab_ptr type to
struct elf_strtab_hash *.
(_bfd_elf_strtab_init, _bfd_elf_strtab_free, _bfd_elf_strtab_add,
_bfd_elf_strtab_addref, _bfd_elf_strtab_delref,
_bfd_elf_strtab_clear_all_refs, _bfd_elf_strtab_size,
_bfd_elf_strtab_offset, _bfd_elf_strtab_emit,
_bfd_elf_strtab_finalize): New prototypes.
* elf-strtab.c: New file.
* elflink.h (elf_link_add_object_symbols): Use _bfd_elf_strtab_add
and _bfd_elf_strtab_size instead of _bfd_stringtab calls.
Call _bfd_elf_strtab_delref if DT_NEEDED entry is not needed or
when forcing dynamic symbol to local.
(elf_link_create_dynamic_sections): Call
_bfd_elf_strtab_init instead of elf_stringtab_init.
(elf_link_record_local_dynamic_symbol): Likewise, change
dynstr type. Use _bfd_elf_strtab functions instead of
_bfd_stringtab calls.
(size_dynamic_sections): Use _bfd_elf_strtab functions instead of
_bfd_stringtab calls. For DT_RUNPATH and Verdaux vda_name fields,
call _bfd_elf_strtab_addref. Call elf_finalize_dynstr.
(elf_adjust_dynstr_offsets, elf_finalize_dynstr): New functions.
(elf_fix_symbol_flags): Call _bfd_elf_strtab_delref when forcing
dynamic symbol to local.
(elf_link_assign_sym_version): Likewise.
(elf_bfd_final_link): Call _bfd_elf_strtab_emit instead of
_bfd_stringtab_emit.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Change dynstr
type. Call _bfd_elf_strtab functions instead of
_bfd_stringtab functions.
* elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise.
* elf.c (_bfd_elf_init_reloc_shdr): Likewise.
(elf_fake_sections): Likewise.
(assign_section_numbers): Call _bfd_elf_strtab_clear_all_refs
on shstrtab hash table, call _bfd_elf_strtab_addref on each section
name in the output. Call _bfd_elf_strtab_finalize and
use _bfd_elf_strtab_offset to finalize sh_name section header fields.
(_bfd_elf_compute_section_file_positions): Use _bfd_elf_strtab_size
instead of _bfd_stringtab_size.
(prep_headers): Change shstrtab type.
Use _bfd_elf_strtab calls instead of _bfd_stringtab calls.
Jakub Jelinek [Wed, 7 Nov 2001 16:14:09 +0000 (16:14 +0000)]
* readelf.c (debug_str, debug_str_size): New.
(display_debug_abbrev): If no abbrevs were read, skip the CU.
Call free_abbrevs.
(read_and_display_addr): Handle DW_FORM_strp.
(display_debug_info): Read .debug_str section if present,
so that DW_FORM_strp can be handled.
Fix test for non-existant .debug_abbrev section.
Andrew Cagney [Wed, 7 Nov 2001 04:28:38 +0000 (04:28 +0000)]
gdbarch.sh (PC_IN_CALL_DUMMY): Require a value.
Alan Modra [Wed, 7 Nov 2001 04:07:09 +0000 (04:07 +0000)]
* elflink.h (elf_link_input_bfd <removed linkonce relocs>): Fix
bad symtab segfault. Formatting and warning fixes. Improve
error message for internationalisation.
gdbadmin [Wed, 7 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Fred Fish [Tue, 6 Nov 2001 23:38:15 +0000 (23:38 +0000)]
2001-11-06 Fred Fish <fnf@redhat.com>
* complaints.c (info_verbose): Remove unneeded decl, is in defs.h.
* dbxread.c: Ditto
* dwarf2read.c: Ditto.
* dwarfread.c: Ditto.
* exec.c: Ditto.
* hpread.c: Ditto.
* hpread.h: Ditto.
* mdebugread.c: Ditto.
* os9kread.c: Ditto.
* stack.c: Ditto.
* symfile.c: Ditto.
* tracepoint.c: Ditto.
Alan Modra [Tue, 6 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Tue, 6 Nov 2001 22:40:06 +0000 (22:40 +0000)]
* MAINTAINERS: Update Andrew Cagney's responsibilities. Mention
David Taylor and Nick Duffek in past maintainers.
Elena Zannoni [Tue, 6 Nov 2001 22:35:25 +0000 (22:35 +0000)]
2001-11-06 Elena Zannoni <ezannoni@redhat.com>
* mdebugread.c (CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB,
END_PSYMTAB, SET_NAMESTRING, HANDLE_RBRAC): Delete definitions.
(parse_partial_symbols): Don't include partial-stab.h any
more. Don't reuse code in partial-stab.h, include the code
directly, instead. Simplify code from partial-stab.h eliminating
ifdef DBXREAD_ONLY code.
* Makefile.in (mdebugread.o): Remove dependency on partial-stab.h.
Jim Blandy [Tue, 6 Nov 2001 22:18:13 +0000 (22:18 +0000)]
* s390-nat.c: #include "regcache.h", to get declaration for
`supply_register'. (The last change already added the dependency
of s390-nat.o on regcache.h. Oops.)
Jim Blandy [Tue, 6 Nov 2001 21:58:53 +0000 (21:58 +0000)]
* Makefile.in (ALLDEPFILES): Add s390-tdep.c and s390-nat.c.
(s390-tdep.o, s390-nat.o): New rules.
Eric Christopher [Tue, 6 Nov 2001 21:39:09 +0000 (21:39 +0000)]
2001-11-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* config/tc-mips.c (my_getSmallParser): Fix small parser bug.
Jim Blandy [Tue, 6 Nov 2001 21:34:00 +0000 (21:34 +0000)]
Fix typo.
Jim Blandy [Tue, 6 Nov 2001 21:28:29 +0000 (21:28 +0000)]
* gdb/s390-nat.c (s390_register_u_addr): Pass proper arguments to
internal_error.
Andrew Cagney [Tue, 6 Nov 2001 21:20:23 +0000 (21:20 +0000)]
gdbarch.sh (CALL_DUMMY_LOCATION): Require a value.
Andrew Cagney [Tue, 6 Nov 2001 18:54:11 +0000 (18:54 +0000)]
Zap another #ifdef INIT_EXTRA_FRAME_INFO
Andrew Cagney [Tue, 6 Nov 2001 18:06:00 +0000 (18:06 +0000)]
Add predicate for PUSH_RETURN_ADDRESS.
H.J. Lu [Tue, 6 Nov 2001 17:49:38 +0000 (17:49 +0000)]
2001-11-06 H.J. Lu (hjl@gnu.org)
* elflink.h (elf_link_input_bfd): Complain relocs against
discarded sections.
Corinna Vinschen [Tue, 6 Nov 2001 11:02:12 +0000 (11:02 +0000)]
* arch-utils.c (generic_in_function_epilogue_p): New function.
* arch-utils.h (generic_in_function_epilogue_p): Declare extern.
* breakpoint.c (watchpoint_check): Add test whether the pc is
currently in the epilogue of a function.
* gdbarch.c: Autogenerated from gdbarch.sh.
* gdbarch.h: Ditto.
* gdbarch.sh (function_list): Add `in_function_epilogue_p' definition.
Corinna Vinschen [Tue, 6 Nov 2001 11:01:22 +0000 (11:01 +0000)]
* gdb.texinfo (gdbarch_in_function_epilogue_p): Add documentation.
Hans-Peter Nilsson [Tue, 6 Nov 2001 07:20:20 +0000 (07:20 +0000)]
* Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0.
Jim Blandy [Tue, 6 Nov 2001 00:31:59 +0000 (00:31 +0000)]
* gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
pointers are 32 bits long, and that offsets of relocs are always
stored in the data (REL-style), and not in the reloc entry itself
(RELA-style).
* gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
stabs.
Jim Blandy [Tue, 6 Nov 2001 00:04:51 +0000 (00:04 +0000)]
* config/s390/s390.mh (NATDEPFILES): Don't split this across
several lines with backslashes; the `sed' command in
configure.in's AC_OUTPUT clause that comments out the NATDEPFILES
assignment doesn't handle lines extended with backslashes.
gdbadmin [Tue, 6 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Jim Blandy [Mon, 5 Nov 2001 23:54:49 +0000 (23:54 +0000)]
* configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES
using `+=' as well as `='.
* configure: Regenerated.
Michael Snyder [Mon, 5 Nov 2001 23:31:26 +0000 (23:31 +0000)]
2001-11-01 Michael Snyder <msnyder@redhat.com>
* gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
and regular expression operators by using quoting.
Michael Snyder [Mon, 5 Nov 2001 23:27:31 +0000 (23:27 +0000)]
2001-11-01 Michael Snyder <msnyder@redhat.com>
* symtab.c (operator_chars): Allow '*' and '[' to be quoted in
operator names, to avoid regexp expansion.
(search_symbols): Alloca buffer is too small, may get clobbered.
Michael Snyder [Mon, 5 Nov 2001 23:26:09 +0000 (23:26 +0000)]
2001-11-05 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (info functions): Document use of backslash to
quote regexp chars in function names such as "operator*()".
Andrew Cagney [Mon, 5 Nov 2001 23:11:31 +0000 (23:11 +0000)]
Change INIT_EXTRA_FRAME_INFO() to a function with predicate.
Alan Modra [Mon, 5 Nov 2001 23:00:07 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 5 Nov 2001 21:34:33 +0000 (21:34 +0000)]
* gdbarch.sh (verify_gdbarch): Use a mem_file to accumulate all
error messages. Print in a single batch.
* gdbarch.c: Regenerate.
Jakub Jelinek [Mon, 5 Nov 2001 16:20:37 +0000 (16:20 +0000)]
* arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
* arsup.c (ar_open): Prepend tmp- to basename, not whole path.
Martin Schwidefsky [Mon, 5 Nov 2001 08:50:47 +0000 (08:50 +0000)]
Add self as s390/s390x maintainer.
Martin Schwidefsky [Mon, 5 Nov 2001 08:47:46 +0000 (08:47 +0000)]
Force got and plt relocations.
Chris Demetriou [Mon, 5 Nov 2001 03:07:51 +0000 (03:07 +0000)]
2001-11-04 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c (print_insn_mips): Remove spaces at end of line.
Chris Demetriou [Mon, 5 Nov 2001 03:07:26 +0000 (03:07 +0000)]
2001-11-04 Chris Demetriou <cgd@broadcom.com>
* mips.h (OPCODE_IS_MEMBER): Remove extra space.
DJ Delorie [Mon, 5 Nov 2001 01:12:22 +0000 (01:12 +0000)]
merge from gcc
gdbadmin [Mon, 5 Nov 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 4 Nov 2001 23:08:47 +0000 (23:08 +0000)]
daily update
Chris Demetriou [Sun, 4 Nov 2001 19:06:38 +0000 (19:06 +0000)]
[ gas/ChangeLog ]
2001-11-04 Chris Demetriou <cgd@broadcom.com>
* configure.in (mips-*-netbsd*): Add support for target.
* configure: Regenerate.
[ gas/testsuite/ChangeLog ]
2001-11-04 Chris Demetriou <cgd@broadcom.com>
* gas/mips/mips.exp (svr4pic): Set if target is *-*-netbsd*.
(aout): Don't set if *-*-netbsd*.
[ ld/ChangeLog ]
2001-11-04 Chris Demetriou <cgd@broadcom.com>
* configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
Add support for targets.
Mark Kettenis [Sun, 4 Nov 2001 14:30:42 +0000 (14:30 +0000)]
* i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset,
fill_gregset): Add support for "orig_eax" register.
Mark Kettenis [Sun, 4 Nov 2001 14:06:16 +0000 (14:06 +0000)]
Add support for "orig_eax" pseudo register on Linux/x86.
* i386-linux-tdep.c: Include "inferior.h".
(i386_linux_register_name, i386_linux_register_byte,
i386_linux_register_raw_size): New functions.
(i386_linux_write_pc): New function.
* config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define.
(NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME,
REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional
register.
(i386_linux_register_name, i386_linux_register_byte,
i386_linux_register_raw_size): New prototypes.
(TARGET_WRITE_PC): New define.
(i386_linux_write_pc): New prototype.
Mark Kettenis [Sun, 4 Nov 2001 13:51:48 +0000 (13:51 +0000)]
* i386-tdep.c (i386_register_offset): Renamed from
i386_register_byte. Made static.
(i386_register_size): Renamed from i386_register_raw_size. Made
static.
(i386_register_virtual_size): Removed.
(i386_register_byte, i386_register_raw_size,
i386_register_virtual_size): New functions.
(_initialize_i386_tdep): Initialize i386_register_offset instead
of i386_register_byte. Remove code to initialize
i386_register_virtual_size.
* config/i386/tm-i386.h (REGISTER_BYTE): Redefine to use
i386_register_byte function.
(REGISTER_RAW_SIZE): Redefine to use i386_register_raw_size
function.
(REGISTER_VIRTUAL_SIZE): Redefine to use
i386_register_virtual_size function.
(i386_register_byte, i386_register_raw_size,
i386_register_virtual_size): New functions.
Mark Kettenis [Sun, 4 Nov 2001 13:14:43 +0000 (13:14 +0000)]
* Makefile.in (ALLDEPFILES): Add i387-nat.c.
(i387-nat.o): Add dependencies.
gdbadmin [Sun, 4 Nov 2001 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 3 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 3 Nov 2001 03:18:34 +0000 (03:18 +0000)]
* elfxx-target.h (elfNN_bed): Correct want_got_sym, want_dynbss order.
gdbadmin [Sat, 3 Nov 2001 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 2 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Fri, 2 Nov 2001 21:59:18 +0000 (21:59 +0000)]
Doco problem with alpha-dec-osf5.1.
Tom Rix [Fri, 2 Nov 2001 21:47:19 +0000 (21:47 +0000)]
Add myself as the ppc xcoff maintainer
Andrew Cagney [Fri, 2 Nov 2001 21:46:52 +0000 (21:46 +0000)]
* utils.c (internal_verror): Restore calls to abort().
Fix PR gdb/219.
H.J. Lu [Fri, 2 Nov 2001 19:46:59 +0000 (19:46 +0000)]
2001-11-02 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (mips_elf_calculate_relocation): Don't create
dynamic relocation for symbols defined in regular objects when
creating executables.
Nick Clifton [Fri, 2 Nov 2001 19:09:06 +0000 (19:09 +0000)]
Add translations
Nick Clifton [Fri, 2 Nov 2001 18:06:21 +0000 (18:06 +0000)]
Add French translation
Richard Earnshaw [Fri, 2 Nov 2001 17:25:11 +0000 (17:25 +0000)]
* tc-arm.c: Re-arrange prototypes by architecture.
(insns): Re-arrange instructions by archtitecture. Pld instruction
is part of ARMv5E.
(tinsns): blx and bkpt are part of ARMv5T.
(do_fp_{ctrl,ldst,ldstm,dyadic,monadic,cmp,from_reg,to_reg}): Rename
to do_fpa_*. All callers changed.
* tc-arm.c (insns): Add two temporary instructions to handle
ldrd/strd.
H.J. Lu [Fri, 2 Nov 2001 17:24:54 +0000 (17:24 +0000)]
2001-11-02 H.J. Lu <hjl@gnu.org>
* ld-elfvsb/elfvsb.exp: Add the "ld -r" test.
* ld-elfvsb/hidden0.d: New.
* ld-elfvsb/hidden1.d: New.
* ld-elfvsb/internal0.d: New.
* ld-elfvsb/internal1.d: New.
* ld-elfvsb/protected0.d: New.
* ld-elfvsb/protected1.d: New.
* ld-elfvsb/undef.s: New.
* ld-elfvsb/undef.s: New.
Nick Clifton [Fri, 2 Nov 2001 17:07:52 +0000 (17:07 +0000)]
Fix testsuites for bigendian sh-linux
Nick Clifton [Fri, 2 Nov 2001 16:58:18 +0000 (16:58 +0000)]
Set targ_emul, targ_extra_emuls as little endian default and to support big endian.
Nick Clifton [Fri, 2 Nov 2001 16:29:15 +0000 (16:29 +0000)]
Add comment
Nick Clifton [Fri, 2 Nov 2001 16:19:54 +0000 (16:19 +0000)]
Initialize subspace_sections.
H.J. Lu [Fri, 2 Nov 2001 15:47:24 +0000 (15:47 +0000)]
2001-11-02 H.J. Lu (hjl@gnu.org)
* coffgen.c (coff_object_p): Return 0 if the header is too big.
Michael Chastain [Fri, 2 Nov 2001 15:41:16 +0000 (15:41 +0000)]
2001-11-02 Michael Chastain <mec@shout.net>
* MAINTAINERS: Update my entry.
Hans-Peter Nilsson [Fri, 2 Nov 2001 13:12:56 +0000 (13:12 +0000)]
* elfcore.h (elf_core_file_p): Preserve and clear abfd section
information. Save bfd arch and mach values. Restore on error.
Alan Modra [Fri, 2 Nov 2001 10:37:04 +0000 (10:37 +0000)]
* elf32-hppa.c (hppa_handle_PIC_calls): Rename to mark_PIC_calls.
(allocate_PIC_calls): New function.
(allocate_dynrelocs): Don't allocate pic_call plt entries here.
(elf32_hppa_size_dynamic_sections): Call allocate_PIC_calls.
(elf32_hppa_finish_dynamic_symbol): Remove dead code.
Hans-Peter Nilsson [Fri, 2 Nov 2001 07:22:37 +0000 (07:22 +0000)]
Fix cutnpasto in last entry
Hans-Peter Nilsson [Fri, 2 Nov 2001 07:20:24 +0000 (07:20 +0000)]
* elf32-cris.c (cris_elf_grok_prstatus): New function.
(cris_elf_grok_prstatus): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.
Chris Demetriou [Fri, 2 Nov 2001 01:13:09 +0000 (01:13 +0000)]
2001-11-01 Chris Demetriou <cgd@broadcom.com>
* ld.texinfo (Options): Document new option, -nostdlib.
* lexsup.c (OPTION_NOSTDLIB): New definition.
(ld_options): Add entry for "nostdlib".
(parse_args): Handle OPTIONS_NOSTDLIB.
* ldfile.c (ldfile_add_library_path): Don't add directories
to the search path if they weren't specified on the command line
and -nostdlib was specified.
* ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
gdbadmin [Fri, 2 Nov 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Thu, 1 Nov 2001 23:41:09 +0000 (23:41 +0000)]
2001-10-31 Michael Snyder <msnyder@redhat.com>
* gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
depending on what the symbol table contains.
* gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
the output of the ptype command. Similarly, accept both "const &"
and "const&".
Alan Modra [Thu, 1 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update
Fred Fish [Thu, 1 Nov 2001 16:17:08 +0000 (16:17 +0000)]
Approved by kev@cygnus.com
ChangeLog entry:
2001-11-01 Fred Fish <fnf@redhat.com>
* coff-solib.c (coff_solib_add): Add new readsyms arg.
* irix5-nat.c (solib_add): Ditto.
* osfsolib.c (solib_add): Ditto.
* pa64solib.c (pa64_solib_add): Ditto.
* pa64solib.c (add_to_solist): Ditto.
* pa64solib.c (read_dld_descriptor): Ditto.
* solib.c (solib_add): Ditto.
* somsolib.c (som_solib_add): Ditto.
* win32-nat.c (child_solib_add): Ditto.
* xcoffsolib.c (solib_add): Ditto.
* coff-solib.h (coff_solib_add): Add new readsyms arg to prototype.
* pa64solib.c (add_to_solist): Ditto.
* pa64solib.c (read_dld_descriptor): Ditto.
* pa64solib.h (pa64_solib_add): Ditto.
* solib.h (solib_add): Ditto.
* somsolib.h (som_solib_add): Ditto.
* config/i386/tm-cygwin.h (child_solib_add): Ditto.
* coff-solib.c (coff_solib_add): If readsyms is zero don't read
symbols but do any other needed work for shared libs.
* irix5-nat.c: Ditto.
* osfsolib.c (solib_add): Ditto.
* solib.c (solib_add): Ditto.
* win32-nat.c (child_solib_add): Ditto.
* xcoffsolib.c (solib_add): Ditto.
* irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to
solib_add to force reading of shared library symbols.
* osfsolib.c (sharedlibrary_command;): Ditto.
* pa64solib.c (pa64_solib_sharedlibrary_command): Ditto.
* solib.c (sharedlibrary_command): Ditto.
* somsolib.c (som_solib_sharedlibrary_command): Ditto.
* xcoffsolib.c (sharedlibrary_command): Ditto.
* coff-solib.c (coff_solib_create_inferior_hook): Call solib_add
unconditionally with auto_solib_add.
* irix5-nat.c (solib_create_inferior_hook): Ditto.
* osfsolib.c (solib_create_inferior_hook): Ditto.
* solib.c (solib_create_inferior_hook): Ditto.
* solib-osf.c (osf_solib_create_inferior_hook): Ditto.
* solib-svr4.c (enable_break): Ditto.
* solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
* corelow.c (solib_add_stub): Add auto_solib_add to args passed
via SOLIB_ADD.
* sol-thread.c (sol_thread_attach): Ditto.
* config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto.
* infcmd.c (attach_command): Remove auto_solib_add decl.
Call SOLIB_ADD directly with auto_solib_add.
* infrun.c (handle_inferior_event): Ditto.
* coff-solib.h (SOLIB_ADD): Add readsyms arg.
* pa64solib.h (SOLIB_ADD): Ditto.
* solib.h (SOLIB_ADD): Ditto.
* somsolib.h (SOLIB_ADD): Ditto.
* config/i386/tm-cygwin.h (SOLIB_ADD): Ditto.
* fork-child.c (clone_and_follow_inferior): Remove unused
auto_solib_add decl.
* pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms.
(read_dld_descriptor): Ditto.
(pa64_solib_add): Call read_dld_descriptor with readsyms.
(pa64_solib_in_dynamic_linker): Ditto.
* corelow.c (symfile.h): Need this for auto_solib_add declaration.
* sol-thread.c (symfile.h): Ditto.
Approved by eliz@is.elta.co.il
doc/ChangeLog entry:
2001-11-01 Fred Fish <fnf@redhat.com>
* gdbint.texinfo (SOLIB_ADD): Document additional new
"readsyms" arg.
Stephane Carrez [Thu, 1 Nov 2001 09:56:17 +0000 (09:56 +0000)]
* config/tc-m68hc11.c (build_jump_insn): Allocate worst case storage
for bra/bsr and use frag_variant(), this ensure that the possible
16-bit BFD_RELOC_16 will be in the same frag.
Stephane Carrez [Thu, 1 Nov 2001 09:52:03 +0000 (09:52 +0000)]
* gas/m68hc11/opers12.s: Add test for disassembler bug with movb
instruction.
* gas/m68hc11/opers12.d: Likewise.
* gas/m68hc11/opers12-dwarf2.d: Likewise.
Stephane Carrez [Thu, 1 Nov 2001 09:48:57 +0000 (09:48 +0000)]
* m68hc11-dis.c (print_insn): Fix disassembly of movb with a
constant as source.
Alan Modra [Thu, 1 Nov 2001 05:35:10 +0000 (05:35 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Correct branch
prediction bits.
Don Howard [Thu, 1 Nov 2001 05:11:19 +0000 (05:11 +0000)]
Fixed formatting error.
Andrew Cagney [Thu, 1 Nov 2001 02:53:05 +0000 (02:53 +0000)]
use xmalloc() and xfree().
Andrew Cagney [Thu, 1 Nov 2001 02:37:56 +0000 (02:37 +0000)]
s/value_ptr/struct value */
Andrew Cagney [Thu, 1 Nov 2001 02:22:21 +0000 (02:22 +0000)]
Re-indent.
Chris Demetriou [Thu, 1 Nov 2001 01:33:47 +0000 (01:33 +0000)]
[ bfd/ChangeLog ]
2001-10-31 Chris Demetriou <cgd@demetriou.com>
* elf32-mips.c (_bfd_mips_elf_hi16_reloc): Handle PC-relative
relocations properly.
[ gas/ChangeLog ]
2001-10-31 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded
PIC code, assume pointers the same size as GPRs.
(macro): In M_LA_AB handling for embedded PIC code, support
"la $treg,foo-bar($breg)". In load/store handling
(label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)"
which is used by the compiler for switch statements.
In load/store double multi-instruction macro handling
(label ldd_std) add a comment that no special handling
is currently done for embedded PIC.
(mips_ip): In 'o' (16-bit offset) case, only accept 16
bit offsets.
[ gas/testsuite/ChangeLog ]
2001-10-31 Chris Demetriou <cgd@broadcom.com>
* gas/mips/empic.s: Undo damage inflicted on 2000-12-02.
* gas/mips/empic.d: Likewise.
* gas/mips/elempic.d: Likewise (it was copied into other files).
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
* gas/mips/empic2.s: New test to check new 'la' and 'lw' (and
related ops) syntax, test loads with large offsets.
* gas/mips/emcic2.d: Likewise.
* gas/mips/mips.exp: Run the new test on ELF platforms.
Andrew Cagney [Thu, 1 Nov 2001 01:21:35 +0000 (01:21 +0000)]
s/value_ptr/struct value */
Andrew Cagney [Thu, 1 Nov 2001 01:07:35 +0000 (01:07 +0000)]
value_ptr tweeks.
gdbadmin [Thu, 1 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Corinna Vinschen [Wed, 31 Oct 2001 23:21:33 +0000 (23:21 +0000)]
* arch-utils.c (generic_in_solib_call_trampoline): New function.
* arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.
* gdbarch.c: Regenerated from gdbarch.sh.
* gdbarch.h: Ditto.
* gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
* infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.
Alan Modra [Wed, 31 Oct 2001 23:00:35 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Wed, 31 Oct 2001 22:57:46 +0000 (22:57 +0000)]
From DJ Barrow.
* s390-tdep.c: (s390_gdbarch_init): Don't initialize
find_solib_trampoline_target.
Andrew Cagney [Wed, 31 Oct 2001 22:29:21 +0000 (22:29 +0000)]
* remote-vx.c (net_wait): Fix typo from PIDGET change.
Mark Kettenis [Wed, 31 Oct 2001 22:24:06 +0000 (22:24 +0000)]
* config/i386/tm-i386.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): New define.
(i386_register_name): New prototype.
* i386-tdep.c (i386_register_names): New variable.
(i386_register_name): New function.
* config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
REGISTER_NAMES.
Corinna Vinschen [Wed, 31 Oct 2001 20:59:22 +0000 (20:59 +0000)]
* gdb.base/miscexprs.c (main): Add usage of preprocessor
symbol `STORAGE' to allow to choose the storage class of
the local datastructures.
* gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
compiler directive.