Alan Modra
e515b05172
* elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma from
...
zero index dynamic tls relocs generated for the GOT. Tidy code.
Set "relocation" to 1 on DTPMOD32 relocs. Optimize HA adjustment.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs.
* ld-powerpc/tlsso32.r: Likewise.
2003-03-10 23:25:13 +00:00
Alan Modra
8c87bc2296
daily update
2003-03-10 23:00:05 +00:00
David Carlton
f56f77c152
2003-03-10 David Carlton <carlton@math.stanford.edu>
...
* minsyms.c (add_minsym_to_hash_table): Replace
DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
(compare_minimal_symbols, compact_minimal_symbols)
(install_minimal_symbols, find_solib_trampoline_target): Ditto.
(lookup_minimal_symbol_text): Use strcmp on linkage names instead
of DEPRECATED_SYMBOL_MATCHES_NAME.
(lookup_minimal_symbol_solib_trampoline): Ditto.
2003-03-10 20:40:45 +00:00
Andrew Cagney
5602984a0d
2003-03-10 Andrew Cagney <cagney@redhat.com>
...
* regcache.h (regcache_cooked_read_ftype): Define.
(regcache_save, regcache_restore): Add a cooked_read parameter.
* regcache.c (regcache_save, regcache_restore): Update.
(do_cooked_read): New function.
(regcache_cpy): Pass do_cooked_read to regcache_save and
regcache_restore.
2003-03-10 19:08:47 +00:00
Corinna Vinschen
0ce1b11887
* gdb.texinfo: Add File-I/O documentation.
2003-03-10 17:11:39 +00:00
Andrew Cagney
12cc2063be
2003-03-10 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (gdbarch_unwind_pc): New method.
* gdbarch.h, gdbarch.c: Regenerate.
* frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
but use read_pc and FRAME_SAVED_PC as fall backs.
(frame_saved_regs_pc_unwind): Delete function.
(trad_frame_unwinder): Update.
* frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
(struct frame_unwind): Update.
* dummy-frame.c (dummy_frame_pc_unwind): Delete function.
(dummy_frame_unwind): Update.
* sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
(sentinel_frame_unwinder): Update.
* d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
(d10v_frame_unwind): Update.
(d10v_unwind_pc): New function.
(d10v_gdbarch_init): Set unwind_pc.
Index: doc/ChangeLog
2003-03-10 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Cross reference
FRAME_SAVED_PC to unwind_pc. Document unwind_pc.
2003-03-10 15:28:41 +00:00
Andrew Cagney
a2ce2e5637
2003-03-10 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.h: Re-generate.
2003-03-10 14:54:58 +00:00
Andrew Cagney
ef840a371b
2003-03-10 Andrew Cagney <cagney@redhat.com>
...
* d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
PC.
(d10v_frame_pop): Unwind the PC, and not the LR, when restoring
the PC register.
2003-03-10 14:43:15 +00:00
gdbadmin
1f63c74a92
*** empty log message ***
2003-03-10 00:00:01 +00:00
Alan Modra
c0f69a30e3
daily update
2003-03-09 23:00:05 +00:00
Ben Elliston
3889f9ebd7
2003-03-10 Ben Elliston <bje@wasabisystems.com>
...
* MAINTAINERS: Update my mail address.
2003-03-09 22:52:02 +00:00
DJ Delorie
34349c6e30
* configure.in (gxx_include_dir): Fix typo.
...
* configure: Regenerated.
2003-03-09 18:43:06 +00:00
Thiemo Seufer
149495708c
* config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
...
(s_mips_ent): Likewise.
2003-03-09 16:16:31 +00:00
gdbadmin
fff371e860
*** empty log message ***
2003-03-09 00:00:31 +00:00
Alan Modra
caf1733912
daily update
2003-03-08 23:00:06 +00:00
Mark Kettenis
08f3424b18
* gdbarch.sh (save_dummy_frame_tos): Add comment.
2003-03-08 22:16:45 +00:00
Andrew Cagney
1248ede26c
Index: ChangeLog
...
2003-03-08 Andrew Cagney <cagney@redhat.com>
* cli-out.c: Update copyright.
(cli_out_data): Define typedef. Use instead of ui_out_data.
Index: mi/ChangeLog
2003-03-08 Andrew Cagney <cagney@redhat.com>
* mi-out.c: Update copyright.
(mi_out_data): Define typedef. Use instead of ui_out_data.
Index: tui/ChangeLog
2003-03-08 Andrew Cagney <cagney@redhat.com>
* tui-out.c: Update copyright.
(tui_out_data): Define typedef. Use instead of ui_out_data.
2003-03-08 20:04:27 +00:00
Andrew Cagney
f49bacc80c
2003-03-08 Andrew Cagney <cagney@redhat.com>
...
* valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
the result.
2003-03-08 19:27:12 +00:00
Christopher Faylor
d55b850c07
* configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after apparent
...
accidental removal on 2003-01-06.
2003-03-08 03:35:48 +00:00
gdbadmin
c44641fc32
*** empty log message ***
2003-03-08 00:00:31 +00:00
Andrew Cagney
7453dc06bc
2003-03-07 Andrew Cagney <cagney@redhat.com>
...
* gdb.texinfo (Debugging Output): Mention the "set/show debug
frame" command.
2003-03-07 23:43:26 +00:00
Andrew Cagney
9b05f993b4
2003-03-07 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh: Don't generate two macro definitions when an
undefined macro taking no arguments.
* gdbarch.h: Regenerate.
2003-03-07 23:34:15 +00:00
Alan Modra
0c6c1cc544
daily update
2003-03-07 23:00:06 +00:00
Michal Ludvig
166f4c7b90
2002-03-07 Michal Ludvig <mludvig@suse.cz>
...
* x86-64-tdep.c (x86_64_save_dummy_frame_tos)
(x86_64_unwind_dummy_id): New functions.
(x86_64_init_abi): Register these two new functions.
2003-03-07 15:07:51 +00:00
Michal Ludvig
6d686a84d6
2003-03-07 Michal Ludvig <mludvig@suse.cz>
...
* x86-64-tdep.c (x86_64_function_has_prologue): New function.
(x86_64_skip_prologue): Move prologue detection to
separate function.
* x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
2003-03-07 10:43:00 +00:00
Alan Modra
87d243f1ce
* elf32-ppc.c (ppc_elf_relocate_section): Don't look for a nop after
...
a tls_get_addr call.
2003-03-07 01:09:01 +00:00
gdbadmin
c4f718a3b9
*** empty log message ***
2003-03-07 00:00:31 +00:00
Alan Modra
a23b68450a
* elf32-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.
...
(ppc_elf_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
* elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.
(ppc64_elf_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
* elf32-i386.c (ELIMINATE_COPY_RELOCS): Define as one. Use throughout.
(elf_i386_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
2003-03-06 23:26:20 +00:00
Alan Modra
9ad120e985
daily update
2003-03-06 23:00:04 +00:00
Andrew Cagney
686c28c9bf
2003-03-06 Andrew Cagney <cagney@redhat.com>
...
* texinfo/texinfo.tex: Import version 2003-02-03.16.
2003-03-06 20:50:01 +00:00
Nick Clifton
7eb5191ac3
Remove redundant defintions of BYTES_IN_WORD and add conditional defintion in
...
aout64.h.
2003-03-06 16:45:42 +00:00
Andrew Haley
2d36fe5f1f
2003-03-06 Jakub Jelinek <jakub@redhat.com>
...
Andrew Haley <aph@redhat.com>
* elflink.h (elf_bfd_discard_info): Don't process eh frames if
output is relocateable.
2003-03-06 15:47:23 +00:00
Nick Clifton
34f304a773
(som_fixup_formats): Correct formats for R_AUX_UNWIND and R_COMMENT.
2003-03-06 12:29:04 +00:00
Alan Modra
7b609f53e8
* elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalize
...
error messages.
(ELIMINATE_COPY_RELOCS): Define to zero.
(ppc_elf_relocate_section): Don't deref htab->tls_sec when calculating
TLSLD relocs. Report reloc types on a number of errors. Optimize
LOCAL24PC check for non-local syms. Don't capitalize error messages.
* elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define to zero.
(ppc64_elf_relocate_section): Don't deref htab->tls_sec when
calculating TLSLD relocs. Report reloc types on a number of errors.
Don't capitalize error messages.
2003-03-06 11:32:43 +00:00
gdbadmin
6b38244592
*** empty log message ***
2003-03-06 00:00:01 +00:00
Andrew Cagney
6314f10474
2003-03-05 Andrew Cagney <cagney@redhat.com>
...
* d10v-tdep.c (d10v_unwind_dummy_id): New function.
(d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
* frame.c (get_prev_frame): Restructure the frame ID unwind code
to use unwind_dummy_id when a dummy frame.
* gdbarch.sh (unwind_dummy_id): New multi-arch method with
predicate.
* gdbarch.h, gdbarch.c: Regneerate.
Index: doc/ChangeLog
2003-03-05 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Document
unwind_dummy_id. Cross reference unwind_dummy_id and
SAVE_DUMMY_FRAME_TOS.
2003-03-05 23:14:18 +00:00
Alan Modra
77bc0b710e
daily update
2003-03-05 23:00:06 +00:00
Andrew Cagney
ceea51452a
2003-03-05 Andrew Cagney <cagney@redhat.com>
...
* d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
(d10v_frame_unwind_cache): Rewrite code computing the base and SP.
Do not use d10v_read_sp or d10v_read_fp when obtaining register
values.
2003-03-05 22:54:22 +00:00
Andrew Cagney
0d84311632
2003-03-05 Andrew Cagney <cagney@redhat.com>
...
* d10v-tdep.c (struct frame_extra_info): Delete unused structure.
(struct d10v_unwind_cache): Delete field "frameless". Replace
"next_addr" with "sp_offset". Add "r11_offset".
(d10v_frame_unwind_cache): Update.
(prologue_find_regs): Update. When "mv r11, sp", save the
"sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
RN was saved in r11_offset.
2003-03-05 20:57:28 +00:00
Andrew Cagney
b257978619
2003-03-05 Andrew Cagney <cagney@redhat.com>
...
* frame.c (deprecated_update_frame_pc_hack): Also update the the
cached PC value in the next frame.
2003-03-05 20:26:46 +00:00
Andrew Cagney
218e59567e
2003-03-05 Andrew Cagney <cagney@redhat.com>
...
* frame.h (struct frame_info): Replace "id_unwind_cache_p" and
"id_unwind_cache" with "id".
(frame_id_unwind): Delete declaration.
* frame.c (frame_id_unwind): Delete function.
(get_prev_frame): Call the frame id unwind method directly. Store
the returned next frame's ID value in NEXT_FRAME. Note that there
is a problem with the wrong unwind ID being called with the wrong
unwind cache.
2003-03-05 18:51:17 +00:00
Daniel Jacobowitz
ed363b1b5e
* Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
2003-03-05 18:07:15 +00:00
Daniel Jacobowitz
fe1f4a5eb6
* cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
...
(auto_cp_abi): New variable.
(current_cp_abi, num_cp_abis): Make static.
(CP_ABI_MAX): Define.
(cp_abis): Turn into an array.
(value_virtual_fn_field): Fix formatting.
(switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
takes a pointer.
(set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
(list_cp_abis, _initialize_cp_abi): New functions.
* cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
declarations for cp_abis, num_cp_abis, current_cp_abi, and
switch_to_cp_abi. Update prototype for register_cp_abi.
* Makefile.in (cp-abi.o): Update dependencies.
* minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
instead of switch_to_cp_abi.
* gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
register_cp_abi.
* gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
register_cp_abi.
* hpacc-abi.c (_initialize_hpacc_abi): Likewise.
2003-03-05 18:01:46 +00:00
Daniel Jacobowitz
f12122454e
* gdb.texinfo (Configuring the current ABI): Document "set cp-abi"
...
and "show cp-abi".
2003-03-05 18:01:35 +00:00
Daniel Jacobowitz
e4adbba915
* dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
...
* dwarf2loc.c: Include "regcache.h".
(dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
register_size.
* Makefile.in (dwarf2loc.o): Update dependencies.
2003-03-05 18:00:02 +00:00
Nathanael Nerode
bba45b8bf7
2003-03-04 Daniel Jacobowitz <drow@mvista.com>
...
* configure.in: Include $(build_tooldir)/sys-include in
FLAGS_FOR_TARGET.
* configure: Regenerated.
2003-03-04 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Reindent.
* Makefile.in: Regenerate.
* configure.in: Reindent. Don't set unused variables.
* configure: Regenerate.
2003-03-05 01:50:53 +00:00
Theodore A. Roth
91ccbfc19e
* avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
...
number of io registers reported by remote target is not a multiple of step.
2003-03-05 00:19:56 +00:00
gdbadmin
001f9f100c
*** empty log message ***
2003-03-05 00:00:01 +00:00
Alan Modra
0142110d79
daily update
2003-03-04 23:00:05 +00:00
David Carlton
3d4e8fd233
2003-03-04 David Carlton <carlton@math.stanford.edu>
...
* symtab.c (lookup_partial_symbol): Add linkage_name argument.
(lookup_symbol_aux_psymtabs): Update call to
lookup_partial_symbol.
(lookup_transparent_type, find_main_psymtab)
(make_symbol_overload_list): Ditto.
2003-03-04 17:06:21 +00:00