Martin Schwidefsky
df9a398fe6
* config/tc-s390.c (init_default_arch): Make current_mode_mask
...
dependent on s390_arch_size and current_cpu dependent on
current_mode_mask.
2003-06-18 11:18:46 +00:00
Nick Clifton
2fe04c57c8
Add c4x as an architecture variant to tic4x.
2003-06-18 09:49:59 +00:00
Alan Modra
64c456e1a1
* elflink.h (elf_gc_record_vtentry): Revert last change. Correct
...
size calculation from addend. Round size up.
2003-06-18 05:18:06 +00:00
Hans-Peter Nilsson
3dab95d324
* elf32-cris.c (cris_elf_relocate_section) <case
...
R_CRIS_32_GOTREL>: When linking a program, don't complain about a
symbol from a normal object or an undefined weak symbol.
2003-06-18 04:14:14 +00:00
Hans-Peter Nilsson
c1f1974625
* ld-cris/locref1.d, ld-cris/locref1.s, ld-cris/locref2.d,
...
ld-cris/locref2.s: New tests.
2003-06-18 04:11:13 +00:00
Hans-Peter Nilsson
a42ec05b09
* ld-elfcomm/elfcomm.exp (dump_common1): Use $READELF, not plain
...
readelf as found using default path.
2003-06-18 03:38:05 +00:00
Alan Modra
9f2b53d784
* config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other than
...
".TOC." from PPC64_TOC relocs.
2003-06-18 03:27:18 +00:00
Alan Modra
0b13192e9f
* elf64-ppc.c (ppc64_elf_relocate_section): Accept a symbol on
...
R_PPC64_TOC relocs.
2003-06-18 03:26:22 +00:00
DJ Delorie
56f25033de
* configure.in: Update testsuite_flags to new location.
...
* configure. Regenerate.
2003-06-18 02:25:31 +00:00
Alan Modra
b0fe1bf34d
* lib/ld-lib.exp (default_ld_simple_link): Trim ld parms before
...
trying to trim ld path.
(default_ld_compile): Likewise for cc.
2003-06-18 01:55:57 +00:00
Chris Demetriou
9a1d84fb16
2003-06-17 Richard Sandiford <rsandifo@redhat.com>
...
* mips.igen (do_dmultx): Fix check for negative operands.
2003-06-18 01:12:03 +00:00
H.J. Lu
f97b9cb853
bfd/
...
2003-06-17 H.J. Lu <hongjiu.lu@intel.com>
* section.c (struct sec): Put back kept_section.
(STD_SECTION): Put back kept_section initialization.
* bfd-in2.h: Regenerate.
* elflink.h (elf_link_input_bfd): Also check discarded linkonce
sections for relocateable output. Use kept_section to preserve
debug information discarded by linkonce.
ld/
2003-06-17 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (section_already_linked): Put back assignment of
kept_section.
2003-06-18 00:30:04 +00:00
Alan Modra
e6300d0dc6
daily update
2003-06-18 00:00:05 +00:00
gdbadmin
cbebf7848c
*** empty log message ***
2003-06-18 00:00:02 +00:00
H.J. Lu
9f1c3a0af7
2003-06-17 Roland McGrath <roland@redhat.com>
...
* elfxx-ia64.c (elfNN_ia64_relocate_section): Support
segment-relative relocation between different segments.
2003-06-17 23:43:18 +00:00
Alan Modra
0f84fde19e
* lib/ld-lib.exp (default_ld_simple_link): Trim ld path before
...
looking for gcc match.
(default_ld_compile): Likewise for cc.
2003-06-17 23:26:57 +00:00
Nathanael Nerode
4ec9a3b249
(sync with gcc)
...
* Makefile.tpl: Remove BUILD_CC stuff.
* Makefile.in: Regenerate.
2003-06-17 21:59:09 +00:00
Stephane Carrez
07d8f82745
* ada-lang.c (scan_discrim_bound): Name first argument.
...
(ada_add_block_symbols): Remove BLOCK_SYM to use local variable
declared by ALL_BLOCK_SYMBOLS.
2003-06-17 21:20:41 +00:00
Stephane Carrez
7cb47b14e9
* ada-tasks.c (find_function_in_inferior): Don't declare it.
...
("regcache.h"): Include it.
* ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN.
2003-06-17 20:58:32 +00:00
Daniel Jacobowitz
6ad8ae5c57
gdb/
...
* NEWS: Mention gdbserver detach change and "disconnect" command.
* infcmd.c (disconnect_command): New function.
(_initialize_infcmd): Add ``disconnect'' command.
* remote.c (remote_async_detach): Delete.
(remote_detach): Merge remote_async_detach.
(remote_disconnect): New.
(init_remote_ops): Set to_disconnect.
(init_remote_cisco_ops): Likewise.
(init_remote_async_ops): Likewise. Use remote_detach.
* target.c (cleanup_target): Default to_disconnect.
(update_current_target): Inherit to_disconnect.
(target_disconnect, debug_to_disconnect): New functions.
(setup_target_debug): Set to_disconnect.
* target.h (struct target_ops): Add to_disconnect.
(target_disconnect): Add prototype.
gdbserver/
* linux-low.c: Move comment to linux_thread_alive where it belonged.
(linux_detach_one_process, linux_detach): New functions.
(linux_target_ops): Add linux_detach.
* server.c (main): Handle 'D' packet.
* target.h (struct target_ops): Add "detach" member.
(detach_inferior): Define.
mi/
* mi-cmds.c (mi_cmds): Add "-target-disconnect".
2003-06-17 20:28:14 +00:00
Daniel Jacobowitz
687595f963
* breakpoint.c (insert_catchpoint): New function.
...
(insert_breakpoints): Use catch_exceptions to call
insert_catchpoint. Disable catchpoints if they fail to insert.
2003-06-17 19:17:59 +00:00
Daniel Jacobowitz
29239a8f68
* symfile.c (reread_symbols): Clear sym_private.
2003-06-17 19:15:24 +00:00
Andrew Cagney
2cdf3c631a
2003-06-17 Andrew Cagney <cagney@redhat.com>
...
* trad-frame.h (struct frame_info): Add opaque declaration.
* remote-fileio.h (struct cmd_list_element): Add opaque
declaration.
* h8300-tdep.c (h8300s_register_name): Avoid C++ // style
comments.
2003-06-17 19:00:20 +00:00
Kris Warkentin
192cdb1903
* nto-tdep.c (nto_map_arch_to_cputype): Recognize powerpc.
...
(nto_find_and_open_solib): Likewise.
(nto_init_solib_absolute_prefix): Likewise.
(_initialize_nto_tdep): Fix indentation.
2003-06-17 18:30:48 +00:00
Daniel Jacobowitz
cf0e1e0d09
* remote.c (remote_prepare_to_store): Replace call to
...
deprecated_read_register_bytes with multiple regcache_raw_read
calls.
2003-06-17 18:18:57 +00:00
Kris Warkentin
89929b45cc
* i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR.
2003-06-17 17:49:39 +00:00
Kris Warkentin
46019f2774
* i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using.
2003-06-17 17:38:32 +00:00
DJ Delorie
5cb2c7c447
merge from gcc
2003-06-17 16:31:07 +00:00
Jim Blandy
1a38736e6c
* ppc-linux-tdep.c: "Linux" -> "GNU/Linux"
2003-06-17 16:06:18 +00:00
Alan Modra
1cf1f67042
* elf64-ppc.c (ppc64_elf_relocate_section): Do unaligned reloc
...
optimizations earlier.
2003-06-17 14:22:46 +00:00
Alan Modra
734b6cf9ae
* elf64-ppc.c (struct ppc_link_hash_table): Reinstate top_index.
...
Restore previous input_list type.
(ppc64_elf_link_hash_table_create): Undo last change.
(ppc64_elf_setup_section_lists): Reinstate code setting up input lists
per output section, but don't bother with bfd_abs_section marker.
(ppc64_elf_next_input_section): Adjust for multiple input section
lists.
(group_sections): Likewise.
2003-06-17 13:43:02 +00:00
Jakub Jelinek
23fbd6fa70
* elf64-ppc.c (ppc64_elf_relocation_section): Ensure
...
*r_offset == r_addend for RELATIVE relocs against .got.
2003-06-17 12:39:41 +00:00
Alan Modra
dad27d18ac
* elf64-ppc.c (ppc64_elf_relocate_section): Optimize unaligned relocs.
2003-06-17 12:37:26 +00:00
Nick Clifton
fea39bcb07
Catch and ignore an ARM_26D reloc.
2003-06-17 12:05:33 +00:00
Nick Clifton
ff614a273c
Tweak expected results for i386-pc-cygwin target.
2003-06-17 11:46:34 +00:00
Nick Clifton
5afcbc6009
Allow system-specific gunk after canonical file format.
2003-06-17 11:16:16 +00:00
Nick Clifton
40bdaaa8ed
* ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail.
...
* configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 if not produced by gcc.
2003-06-17 11:01:17 +00:00
Nick Clifton
b613960add
(elf_gc_record_vtentry): Allocate an extra element in the vtable_entries_used
...
array to allow for the accessing the largest element.
2003-06-17 09:57:18 +00:00
Alan Modra
3d6f9012bb
* elf64-ppc.c (struct ppc_link_hash_table): Remove top_index. Modify
...
input_list.
(ppc64_elf_link_hash_table_create): Init input_list here.
(ppc64_elf_setup_section_lists): Remove code setting up input lists
per output section. Set toc_off for abs and other standard sections.
(ppc64_elf_reinit_toc): Don't set elf_gp on input bfds lacking a toc.
(ppc64_elf_next_input_section): Adjust for single input section list.
Don't set toc_curr from input bfds that haven't set elf_gp.
(group_sections): Adjust for single input section list.
2003-06-17 09:10:41 +00:00
Theodore A. Roth
3605c34ae8
* avr-tdep.c (avr_extract_return_value): New function.
...
(avr_gdbarch_init): Set extract_return_value method.
2003-06-17 04:44:18 +00:00
Alan Modra
000732f753
* elf64-ppc.c (ppc64_elf_relocate_section): Correct pcrel section zero.
2003-06-17 00:25:45 +00:00
Alan Modra
ba0b217435
* config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.
2003-06-17 00:14:24 +00:00
gdbadmin
f8d2e53fba
*** empty log message ***
2003-06-17 00:00:32 +00:00
Alan Modra
6a3b19105f
daily update
2003-06-17 00:00:04 +00:00
Andrew Cagney
870b3035a4
2003-06-16 Andrew Cagney <cagney@redhat.com>
...
* frame.h (deprecated_get_next_frame_hack): Declare.
* frame.c (legacy_saved_regs_prev_register): Only require
DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that
there are always saved regs.
(deprecated_generic_get_saved_register): Do not require
DEPRECATED_FRAME_INIT_SAVED_REGS.
(legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN,
use frame ID unwind instead.
(deprecated_get_next_frame_hack): New function.
2003-06-16 20:05:56 +00:00
Corinna Vinschen
63d47a7dcc
* h8300-tdep.c (h8300_push_arguments): Remove. Substitute by...
...
(h8300_push_dummy_call): ...this function. Some minor optimization.
(h8300_push_return_address): Remove.
(h8300_gdbarch_init): Remove calls to
set_gdbarch_deprecated_dummy_write_sp,
set_gdbarch_deprecated_push_arguments and
set_gdbarch_deprecated_push_return_address.
Add call to set_gdbarch_push_dummy_call.
2003-06-16 19:40:51 +00:00
Corinna Vinschen
4bb1dc5eb2
* h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define.
...
(E_PSEUDO_EXR_REGNUM): Ditto.
(h8300_is_argument_spill): Check for instructions moving argument
registers into safe registers.
(h8300_skip_prologue): Check for stm instruction to push registers
used for register variables onto stack.
(gdb_print_insn_h8300): Remove.
(h8300_examine_prologue): Add a comment.
(h8300_register_name): Take pseudo registers into account.
(h8300s_register_name): Ditto.
(h8300sx_register_name): Ditto.
(h8300_print_register): Ditto.
(h8300_print_registers_info): Define "nice" printing order.
(h8300_saved_pc_after_call): Take pseudo registers into account.
(h8300_register_type): Ditto. Return type used for remote connection
when requesting real CCR or EXR register, return actual type when
requesting pseudo CCR or EXR.
(h8300_pseudo_register_read): New function.
(h8300_pseudo_register_write): Ditto.
(h8300_dbg_reg_to_regnum): Ditto.
(h8300s_dbg_reg_to_regnum): Ditto.
(h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs,
set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum,
set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and
set_gdbarch_print_insn architecture dependent.
Call set_gdbarch_pseudo_register_read and
set_gdbarch_pseudo_register_write.
(_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn.
2003-06-16 17:13:02 +00:00
Andrew Cagney
b24da7d033
Revert previous change. Wait for approval.
2003-06-16 16:52:24 +00:00
Andrew Cagney
a59fe496df
2003-06-16 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate.
* gdbarch.h, gdbarch.c: Re-generate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* infcall.c (call_function_by_hand): Update.
* ia64-tdep.c (ia64_push_arguments): Update comment.
* frame.c (legacy_get_prev_frame): Do not assume
SAVE_DUMMY_FRAME_TOS_P.
* dummy-frame.c (find_dummy_frame): Update comment.
2003-06-16 16:47:44 +00:00
Andrew Cagney
6f4e5a4121
2003-06-16 Andrew Cagney <cagney@redhat.com>
...
* regcache.c (do_cooked_read): Do not use register_valid_p.
2003-06-16 13:19:36 +00:00