Daniel Jacobowitz
07f31aa6dc
* gdb.texinfo (Remote Debugging): New section "Connecting to a
...
remote target". Document the "detach" and "disconnect" commands.
(Server, Netware, Debug Session): Reference "Connecting to a
remote target".
(GDB/MI Target Manipulation): Document "-target-disconnect".
2003-06-19 01:31:47 +00:00
Michael Snyder
173b1c982a
2003-06-05 Michael Snyder <msnyder@redhat.com>
...
* compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
(sim_store_register): Ditto.
2003-06-19 00:49:33 +00:00
gdbadmin
ec0d51413f
*** empty log message ***
2003-06-19 00:00:32 +00:00
Alan Modra
c8b5eb5f85
daily update
2003-06-19 00:00:06 +00:00
Daniel Jacobowitz
ae087d0195
* config/nm-linux.h (linux_record_stopped_pid): New prototype.
...
* lin-lwp.c (child_wait): Call linux_record_stopped_pid.
(lin_lwp_wait): Likewise. Update comments.
* linux-nat.c (struct simple_pid_list, add_to_pid_list)
(pull_pid_from_list, linux_record_stopped_pid): New.
2003-06-18 23:33:31 +00:00
Alan Modra
931e13a666
* config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.
...
(ppc_change_csect): Add align param. Align frag at start of csect.
(ppc_section, ppc_named_section): Adjust ppc_change_csect calls.
(ppc_frob_section): Align vma.
2003-06-18 23:05:44 +00:00
Jakub Jelinek
9393cb0db9
* dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.
...
(output_cie): Don't pad.
(output_fde): Add align argument. Pad to align if not 0.
(cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT.
Pad just last FDE to EH_FRAME_ALIGNMENT.
* gas/cfi/cfi-i386.d: Regenerated.
* gas/cfi/cfi-common-1.d: Regenerated.
* gas/cfi/cfi-common-2.d: Regenerated.
* gas/cfi/cfi-common-3.d: Regenerated.
* gas/cfi/cfi-x86_64.d: Regenerated.
* gas/cfi/cfi-alpha-1.d: Regenerated.
* gas/cfi/cfi-alpha-2.d: Regenerated.
* gas/cfi/cfi-alpha-3.d: Regenerated.
2003-06-18 17:58:48 +00:00
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