Dave Brolley
c7e628df2e
2006-10-18 Dave Brolley <brolley@redhat.com>
...
* Contribute the following changes:
2006-06-14 Dave Brolley <brolley@redhat.com>
* sh64-sim.h (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
(sh64_fpref): New functions.
* sh64.c (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
(sh64_fpref): New functions.
(sh_models): Add sh2e, sh2a, sh2a_nofpu, sh4_nofpu, sh4a,
sh4a_nofpu and sh4al.
(sh2e_mach): New MACH.
(sh2a_fpu_mach): New MACH.
(sh2a_nofpu_mach): New MACH.
(sh4_nofpu): New MACH.
(sh4a_mach): New MACH.
(sh4a_nofpu_mach): New MACH.
(sh4al_mach): New MACH.
* Makefile.in (stamp-*): Depend on $(CGEN_CPU_DIR)/sh-sim.cpu. Pass
archfile to CGEN script.
* arch.c: Regenerated.
* arch.h: Regenerated.
* cpu.c: Regenerated.
* cpu.h: Regenerated.
* cpuall.h: Regenerated.
* decode-compact.c: Regenerated.
* decode-compact.h: Regenerated.
* decode-media.c: Regenerated.
* decode-media.h: Regenerated.
* defs-compact.h: Regenerated.
* defs-media.h: Regenerated.
* sem-compact-switch.c: Regenerated.
* sem-compact.c: Regenerated.
* sem-media-switch.c: Regenerated.
* sem-media.c: Regenerated.
* sh-desc.c: Regenerated.
* sh-desc.h: Regenerated.
* sh-opc.h: Regenerated.
2006-10-18 18:13:22 +00:00
Bob Wilson
4ce7dc1561
* gprof.c (main): Fix option string for -r and -R.
2006-10-18 17:42:43 +00:00
Daniel Jacobowitz
8621d6a944
* inferior.h (start_remote): Update prototype.
...
* infrun.c (start_remote): Take FROM_TTY. Call
post_create_inferior.
* monitor.c (monitor_open): Update call to start_remote.
* remote-sds.c (sds_start_remote, sds_open): Likewise.
* remote.c (remote_start_remote): Likewise.
(remote_start_remote_dummy): Removed.
(remote_open): Update call to remote_start_remote. Do not call
post_create_inferior here.
2006-10-18 16:56:13 +00:00
Daniel Jacobowitz
2f83a18e2a
* lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
...
of patterns.
2006-10-18 16:49:05 +00:00
Joseph Myers
e4818e07f3
* configure.tgt (i[3-7]86-*-linux-*): Also define
...
targ_extra_libpath in want64 case.
* emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
x86_64*-linux*.
2006-10-18 16:24:01 +00:00
H.J. Lu
c555238b1a
2006-10-18 H.J. Lu <hongjiu.lu@intel.com>
...
* ld-elf/dl4.c: New file.
* ld-elf/dl4.list: Likewise.
* ld-elf/dl4a.out: Likewise.
* ld-elf/dl4b.out: Likewise.
* ld-elf/dl4main.c: Likewise.
* ld-elf/dl4xxx.c: Likewise.
* ld-elf/dl4xxx.list: Likewise.
* ld-elf/shared.exp (build_tests): Add libdl4a.so and
libdl4b.so.
(run_tests): Likewise.
2006-10-18 16:23:24 +00:00
Mark Shinwell
92f5d02b57
* elf32-arm.c (elf32_arm_final_link_relocate): Add support for
...
R_ARM_MOVW_BREL_NC, R_ARM_MOVW_BREL, R_ARM_MOVT_BREL,
R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVW_BREL and
R_ARM_THM_MOVT_BREL relocations.
2006-10-18 15:34:50 +00:00
Daniel Jacobowitz
3443977099
* solib-svr4.c (debug_loader_offset_p, debug_loader_offset)
...
(debug_loader_name, svr4_default_sos): New.
(svr4_current_sos): Call svr4_default_sos.
(enable_break): Add a comment about AT_BASE. Set the new
variables and retry solib_add.
(svr4_clear_solib): Clear the new variables.
2006-10-18 15:34:39 +00:00
Daniel Jacobowitz
7d3d3ece84
* NEWS: Mention support for TLS without debugging information.
2006-10-18 15:29:18 +00:00
Richard Sandiford
0d22c9559b
ld/testsuite/
...
* ld-mips-elf/reloc-1-n64.d: Match 16-character VMAs on LP64 hosts.
2006-10-18 13:02:01 +00:00
Richard Sandiford
269186e397
Fix typo in last changelog.
2006-10-18 12:38:26 +00:00
Richard Sandiford
7e1fa4ad31
ld/testsuite/
...
* ld-mips-elf/rel32-n32.d: Bump addresses by 0x30 to account for
the fact that .reginfo is now placed before .text. Change the
section number of .text accordingly.
2006-10-18 12:34:19 +00:00
Richard Sandiford
2838ec41f8
ld/testsuite/
...
* ld-mips-elf/elf-rel-got-n32.d: Adjust page gap from 0x100000
to 0x10000. Move .reginfo before .text and bump .text addresses
by 0x10 to make room. Move data segment down by 0x10 bytes to
account for new size of text segment.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-linux.d: Adjust page gap from
0x100000 to 0x10000.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
2006-10-18 07:13:47 +00:00
gdbadmin
3aafe03c09
*** empty log message ***
2006-10-18 00:00:04 +00:00
Alan Modra
e5cf2424ae
daily update
2006-10-17 23:59:14 +00:00
Daniel Jacobowitz
52bb452f80
gdb/
...
* gdbint.texinfo (Target Vector Definition): Move most
content into Existing Targets. Add a menu.
(Existing Targets): New section, moved from Target Vector
Definition. Use @subsection.
(Managing Execution State): New section.
gdb/doc/
* remote-sim.c (gdbsim_kill): Call target_mourn_inferior.
(gdbsim_load): Don't bother to adjust inferior_ptid here.
(gdbsim_create_inferior): Mark the simulator as running.
(gdbsim_open): Don't bother fetching registers. Mark
the target as not running.
(gdbsim_xfer): When the program is not running, pass memory
requests down.
(gdbsim_mourn_inferior): Mark the target as not running.
* target.c (target_mark_running, target_mark_exited): New.
* target.h (target_has_execution): Update the comment.
(target_mark_running, target_mark_exited): New prototypes.
2006-10-17 21:55:24 +00:00
Joel Brobecker
b40ce68a77
* breakpoint.c (free_valchain): Minor reformatting.
2006-10-17 21:53:26 +00:00
Bob Wilson
58955e583a
* gdb.texinfo (ST2000): Use Ctrl- instead of C-.
2006-10-17 21:08:17 +00:00
Daniel Jacobowitz
79d4c408c4
* solib-svr4.c (LM_ADDR_CHECK): Suggest shared library mismatch.
2006-10-17 20:52:32 +00:00
Daniel Jacobowitz
94277a3898
gdb/
...
* Makefile.in (symtab.o): Update.
* symtab.h (matching_bfd_section): New prototype.
* symtab.c (matching_bfd_section): New.
(find_pc_sect_psymbol, find_pc_sect_symtab): Use it.
* minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise.
* printcmd.c (sym_info): Ignore separate debug objfiles.
gdb/testsuite/
* gdb.base/sepdebug.exp: Remove debug format test.
* lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
Handle no-symtab.
* gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
2006-10-17 20:17:45 +00:00
Bob Wilson
6bacc34ddf
* gprof.texi (Analysis Options): Argument for -n/-N is mandatory.
2006-10-17 16:19:19 +00:00
Daniel Jacobowitz
dae5f5cf4b
* acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New.
...
* configure.ac: Use it. Define HAVE_TD_THR_TLS_GET_ADDR.
* config.in, configure: Regenerated.
* inferiors.c (gdb_id_to_thread): New function.
(gdb_id_to_thread_id): Use it.
* linux-low.c (linux_target_ops): Use thread_db_get_tls_address.
* linux-low.h (struct process_info): Add th member.
(thread_db_get_tls_address): New prototype.
* remote-utils.c (decode_address): Make non-static.
* server.c (handle_query): Handle qGetTLSAddr.
* server.h (gdb_id_to_thread, decode_address): New prototypes.
* target.h (struct target_ops): Add get_tls_address.
* thread-db.c (maybe_attach_thread): Save the thread handle.
(thread_db_get_tls_address): New.
2006-10-17 16:02:27 +00:00
Daniel Jacobowitz
5bd2f6e2a6
* gdb.threads/manythreads.c (thread_function, main): Don't cast
...
int to pointer or pointer to int.
* gdb.threads/manythreads.exp: Don't expect the string "LWP".
2006-10-17 15:52:53 +00:00
Mark Shinwell
e95de06338
bfd/
...
* elf32-arm.c (elf32_arm_howto_table_1): Change offset for
R_THM_CALL to 25 and remove FIXME comment.
(using_thumb2): New function.
(elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.
include/
* elf/arm.h: Define TAG_CPU_ARCH_* constants.
ld/testsuite/
* ld-arm/arm-elf.exp: Add thumb1-bl, thumb2-bl,
thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests.
* ld-arm/thumb1-bl.d: New.
* ld-arm/thumb1-bl.s: New.
* ld-arm/thumb2-bl-as-thumb1-bad.d: New.
* ld-arm/thumb2-bl-as-thumb1-bad.s: New.
* ld-arm/thumb2-bl-bad.d: New.
* ld-arm/thumb2-bl-bad.s: New.
* ld-arm/thumb2-bl.d: New.
* ld-arm/thumb2-bl.s: New.
2006-10-17 15:46:21 +00:00
Daniel Jacobowitz
32a5b2f1dd
* remote.c (remote_pid_to_str): Capitalize "Thread".
2006-10-17 15:43:51 +00:00
Mark Shinwell
bb224fc379
* elf32-arm.c (elf32_arm_final_link_relocate): Add cases
...
for R_ARM_ABS32_NOI and R_ARM_REL32_NOI.
(elf32_arm_gc_sweep_hook): Likewise.
(elf32_arm_check_relocs): Likewise.
(allocate_dynrelocs): Likewise.
2006-10-17 14:49:51 +00:00
H.J. Lu
e1b5fdd47d
2006-10-17 H.J. Lu <hongjiu.lu@intel.com>
...
* configure: Regenerated.
2006-10-17 14:06:02 +00:00
Alan Modra
5a8e7be242
* scripttempl/elf.sc (INTERP): Delete. Move definition to..
...
(INITIAL_READONLY_SECTIONS): ..here.
* emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
* emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
2006-10-17 13:55:11 +00:00
Alan Modra
74541ad4c0
bfd/
...
* elf-bfd.h (struct elf_link_hash_table): Reorder. Add
text_index_section and data_index_section.
(struct elf_backend_data): Add elf_backend_init_index_section.
(_bfd_elf_init_1_index_section): Declare.
(_bfd_elf_init_2_index_sections): Declare.
* elfxx-target.h (elf_backend_init_index_section): Define.
(elfNN_bed): Init new field.
* elflink.c (_bfd_elf_link_omit_section_dynsym): Keep first tls
section and text_index_section plus data_index_section.
(_bfd_elf_link_renumber_dynsyms): Clear dynindx on omitted sections.
(_bfd_elf_init_1_index_section): New function.
(_bfd_elf_init_2_index_sections): New function.
(bfd_elf_size_dynsym_hash_dynstr): Call elf_backend_init_index_section.
(elf_link_input_bfd): When emitting relocs, use text_index_section
and data_index_section for removed sections.
* elf-m10300.c (elf_backend_omit_section_dynsym): Define.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-xstormy16.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-mmix.c: Likewise.
* elf64-sh64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elf32-arm.c (elf32_arm_final_link_relocate): Use text_index_section
and data_index_section sym for relocs against sections with no dynamic
section sym.
(elf_backend_init_index_section): Define.
* elf32-cris.c: Similarly.
* elf32-hppa.c: Similarly.
* elf32-i370.c: Similarly.
* elf32-m68k.c: Similarly.
* elf32-mips.c: Similarly.
* elf32-ppc.c: Similarly.
* elf32-s390.c: Similarly.
* elf32-sparc.c: Similarly.
* elf32-vax.c: Similarly.
* elf64-mips.c: Similarly.
* elf64-ppc.c: Similarly.
* elf64-s390.c: Similarly.
* elf64-sparc.c: Similarly.
* elf64-x86-64.c: Similarly.
* elfn32-mips.c: Similarly.
* elfxx-mips.c: Similarly.
* elfxx-sparc.c: Similarly.
* linker.c (fix_syms): Base symbols in removed sections on
previous section in preference to using absolute section.
ld/
* ldlang.c (strip_excluded_output_sections): Do strip sections
that define syms, but don't ignore them.
* ld.texinfo (Output Section Discarding): Revise.
* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
finish_default.
ld/testsuite/
Update for section sym changes.
2006-10-17 13:41:49 +00:00
Martin Schwidefsky
2164320415
Really remove operands64.d, operands64.s, operands.d and operands.s as
...
stated in the ChangeLog 2005/08/12:
* gas/testsuite/gas/s390/opcode.d: Delete.
* gas/testsuite/gas/s390/opcode.s: Delete.
* gas/testsuite/gas/s390/opcode64.d: Delete.
* gas/testsuite/gas/s390/opcode64.s: Delete.
2006-10-17 13:15:01 +00:00
Bob Wilson
263e594b90
* gprof.c (main): Fix option string for -C, -n and -N.
2006-10-17 04:45:32 +00:00
DJ Delorie
56a8fe780f
2006-10-17 Brooks Moses <bmoses@stanford.edu>
...
* Makefile.def: Added pdf target handling.
* Makefile.tpl: Added pdf target handling.
* Makefile.in: Regenerated.
2006-10-17 04:23:49 +00:00
gdbadmin
aac509a07f
*** empty log message ***
2006-10-17 00:00:32 +00:00
Alan Modra
b24feb0695
daily update
2006-10-16 23:59:13 +00:00
Richard Sandiford
94bb04b3c6
ld/
...
* Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
(eelf64btsmip.c, eelf64ltsmip.c): Likewise.
* Makefile.in: Regenerate.
* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
.reginfo rather than .MIPS.options.
* emulparams/elf64bmip-defs.sh: New file.
* emulparams/elf64bmip.sh: Include it.
(COMMONPAGESIZE): Delete.
* emulparams/elf64btsmip.sh: As for elf64bmip.sh.
ld/testsuite/
* ld-mips-elf/branch-misc-1.d: Set the start address to 0x20000000.
* ld-mips-elf/jalbal.d: Likewise 0x200000a0.
* ld-mips-elf/jaloverflow-2.d: Likewise 0x20000000.
* ld-mips-elf/reloc-3-n32.d: Likewise.
* ld-mips-elf/reloc-3.d: Likewise.
* ld-mips-elf/textrel-1.d: Don't require a specific file offset for
.dynamic.
2006-10-16 21:34:25 +00:00
H.J. Lu
b8da4ba61a
2006-10-16 H.J. Lu <hongjiu.lu@intel.com>
...
* gas/i386/i386.exp: Indent "x86-64-nops-1".
2006-10-16 21:24:00 +00:00
Andreas Schwab
c26620e342
* elfxx-ia64.c (addend_compare): Properly compute return value.
2006-10-16 17:21:44 +00:00
Bernd Schmidt
f8ef9cd77b
* input-scrub.c (input_scrub_next_buffer): Use TC_EOL_IN_INSN
...
in addition to testing for '\n'.
(TC_EOL_IN_INSN): Provide a default definition if necessary.
2006-10-16 12:02:40 +00:00
Daniel Jacobowitz
9b7194bcb4
PR remote/2158
...
* remote.c (remote_write_bytes): Throttle packet alignment
for small packets.
2006-10-16 03:08:37 +00:00
gdbadmin
c88c804ea4
*** empty log message ***
2006-10-16 00:00:02 +00:00
Alan Modra
f0c9511123
daily update
2006-10-15 23:59:14 +00:00
Eli Zaretskii
45ac17341e
* gdb.texinfo (Signals, Set Breaks, Set Watchpoints): Document optional
...
arguments to `info signals' `handle', `info breakpoints', and
`info watchpoints'.
2006-10-15 21:36:00 +00:00
Eli Zaretskii
c8aa23ab92
* gdb.texinfo (Sample Session, Invocation, Quitting GDB)
...
(Command Syntax, Signals, Backtrace, Connecting)
(Remote configuration, Renesas Boards, Console I/O): Fix last
change: use Ctrl- instead of C-, except wrt Emacs.
(File-I/O Examples): Put Ctrl-c in @kbd.
(Cygwin Native, File-I/O Overview, The Ctrl-C message)
(Console I/O): Use @samp with Ctrl-.
2006-10-15 21:19:49 +00:00
Nick Roberts
1111f4aa91
(thread_db_wait): Don't bother continuing if the wait result indicates the
...
program terminated with a signal (from gdb-6.3-ia64-sigill-20051115.patch, a
patch for Fedora Core 5).
2006-10-15 19:38:45 +00:00
Nick Roberts
b255021abc
*** empty log message ***
2006-10-15 19:37:49 +00:00
H.J. Lu
3ba7113878
2006-10-15 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/3314
* elf.c (assign_file_positions_for_non_load_sections): Don't
page align empty SHF_ALLOC sections.
2006-10-15 14:22:13 +00:00
gdbadmin
706bae0be6
*** empty log message ***
2006-10-15 00:00:32 +00:00
Alan Modra
9436902388
daily update
2006-10-14 23:59:18 +00:00
Eli Zaretskii
e7109c7e3b
* gdb.texinfo (Backtrace): Fix last change.
2006-10-14 18:34:03 +00:00
Nick Roberts
dd74f6ae66
(Backtrace): Order correctly and add other cases.
2006-10-14 00:21:13 +00:00