Alan Modra
379c558d32
daily update
2007-05-19 00:00:13 +00:00
gdbadmin
d9bb43e634
*** empty log message ***
2007-05-19 00:00:04 +00:00
Caroline Tice
f372da99ab
Accidentally left this out of previous commit; part of adding ability
...
to report when a variable's value is uninitialized.
2007-05-18 19:45:19 +00:00
Caroline Tice
42be36b328
Add ability to report when a variable's value is uninitialized,
...
based on information provided by the compiler. Also add new
DWARF OP, DW_OP_GNU_uninit, for this purpose.
2007-05-18 19:42:42 +00:00
Caroline Tice
a7c569c8f0
Add self to 'Write After Approval' list.
2007-05-18 19:23:17 +00:00
Joseph Myers
d5da93a2e1
* ld-elf/group.ld: Discard .reginfo.
2007-05-18 19:04:51 +00:00
Joseph Myers
e6559e01f9
* config/tc-mips.c (s_mipsset): Use generic s_set for directives
...
containing a comma.
2007-05-18 19:03:53 +00:00
Richard Sandiford
120facfc96
ld/
...
* emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
(OTHER_READWRITE_SECTIONS): Define. Add .rdata sections.
2007-05-18 09:18:18 +00:00
Nathan Sidwell
12f498a721
* objcopy.c (strip_main): Detect identical input and output file
...
names.
(copy_main): Refactor tempname detection and use.
2007-05-18 06:36:14 +00:00
Alan Modra
65b650b4c7
* ppc-dis.c (print_insn_powerpc): Don't skip all operands
...
after setting skip_optional.
2007-05-18 01:32:58 +00:00
Paul Brook
26079076f5
2007-05-18 Paul Brook <paul@codesourcery.com>
...
bfd/
* elf32-arm.c (ARM2THUMB_V5_STATIC_GLUE_SIZE): Define.
(a2t1v5_ldr_insn, a2t1v5_ldr_insn): New.
(record_arm_to_thumb_glue): Add v5t non-pic glue.
(elf32_arm_create_thumb_stub): Ditto.
ld/testsuite/
* ld-arm/arm-call.d: Update expected output.
2007-05-18 00:25:04 +00:00
gdbadmin
1e3a97b2f2
*** empty log message ***
2007-05-18 00:00:35 +00:00
Alan Modra
0ee68a72db
daily update
2007-05-18 00:00:05 +00:00
Joel Brobecker
1e98b32608
* gdbtypes.c (make_reference_type): Preserve the type chain
...
and set the length of all the variants of the pointer type.
2007-05-17 20:15:37 +00:00
H.J. Lu
5d14452b8a
Move testsuite entries to testsuite/ChangeLog.
2007-05-17 17:31:22 +00:00
H.J. Lu
4b7d318b85
2007-05-17 H.J. Lu <hongjiu.lu@intel.com>
...
PR gas/4517
2003-06-05 Michal Ludvig <mludvig@suse.cz>
* as.texinfo: Document new directives: .cfi_restore,
.cfi_undefined, .cfi_same_value, .cfi_return_column,
.cfi_remember_state and .cfi_restore_state.
2007-05-17 H.J. Lu <hongjiu.lu@intel.com>
2003-06-05 Michal Ludvig <mludvig@suse.cz>
* testsuite/gas/cfi/cfi-x86_64.s: Test new directives
and different writings of registers and numbers.
* testsuite/gas/cfi/cfi-x86_64.d: Updated pattern to
match the above change.
2007-05-17 17:27:26 +00:00
Paul Brook
30618a1e61
2007-05-17 Paul Brook <paul@codesourcery.com>
...
ld/testsuite/
* ld-elf/multibss1.s: Use %nobits instead of @nobits.
2007-05-17 16:54:38 +00:00
Joel Brobecker
053cb41bd3
* gdbtypes.c (make_pointer_type): Preserve the pointer type chain
...
and set the length of all the variants of the pointer type.
2007-05-17 16:38:25 +00:00
Maciej W. Rozycki
436aafc4d1
* mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
...
comment.
(mips_o64_push_dummy_call): Reformat a comment.
2007-05-17 13:28:55 +00:00
Nathan Sidwell
c210d850a7
* ld-m68k/merge-error-1a.d: Mismatch is an error.
...
* ld-m68k/merge-error-1b.d: Likewise.
* ld-m68k/merge-error-1c.d: Likewise.
* ld-m68k/merge-error-1d.d: Likewise.
* ld-m68k/merge-error-1e.d: Likewise.
2007-05-17 13:11:42 +00:00
Nathan Sidwell
2b87874220
* config/tc-m68k.c (md_apply_fix): Show value of out of range
...
fixups in error message.
(md_conver_frag_1): Propagate the fix source location and use
as_bad_where rather than fatal, for better error messages.
2007-05-17 13:10:42 +00:00
Maciej W. Rozycki
d12371a9bc
* gdb.base/sigbpt.exp: Preset segv_addr.
2007-05-17 12:09:31 +00:00
Nick Clifton
d57376011b
* objdump.c (load_debug_section): Select bias for DWARF debug addresses based on the flavour of the bfd.
2007-05-17 08:39:22 +00:00
Qinwei
5e29c2647a
2007-05-17 Qinwei <qinwei@sunnorth.com.cn>
...
* score-tdep.c (score_frame_cache->fp, score_analyze_prologue)
(score_prologue_frame_base_address): Return fp to keep gdb print
local variables correctly when debugging information is stabs.
(score_analyze_prologue): For software watchpoint, fetch all the
instructions from range [startaddr, pc] once and identify them locally
to reduce memory access.
(score_malloc_and_get_memblock, score_free_memblock)
(score_adjust_memblock_ptr): New functions.
(score_fetch_inst): Fetch single instruction or mutiple instructions.
(score_target_can_use_watch, score_stopped_by_watch)
(score_target_insert_watchpoint, score_target_remove_watchpoint)
(score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint):
New functions for remote & local hw-watchpoint and hw-breakpoint.
2007-05-17 03:15:42 +00:00
Qinwei
98f4ab104c
2007-05-17 Qinwei <qinwei@sunnorth.com.cn>
...
* score-tdep.c (score_frame_cache->fp, score_analyze_prologue)
(score_prologue_frame_base_address): Return fp to keep gdb print
local variables correctly when debugging information is stabs.
(score_analyze_prologue): For software watchpoint, fetch all the
instructions from range [startaddr, pc] once and identify them locally
to reduce memory access.
(score_malloc_and_get_memblock, score_free_memblock)
(score_adjust_memblock_ptr): New functions.
(score_fetch_inst): Fetch single instruction or mutiple instructions.
(score_target_can_use_watch, score_stopped_by_watch)
(score_target_insert_watchpoint, score_target_remove_watchpoint)
(score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint):
New functions for remote & local hw-watchpoint and hw-breakpoint.
2007-05-17 03:14:56 +00:00
Peter Bergner
ea192fa395
* ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
...
(print_insn_powerpc): Use the new operand_value_powerpc and
skip_optional_operands functions to omit or print all optional
operands as a group.
* ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
(XFL_MASK): Delete L and W bits from the mask.
(mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
with XWRA_MASK. Use W.
(mtfsf, mtfsf.): Use XFL_L and W.
2007-05-17 00:52:14 +00:00
Joseph Myers
f891f2a91d
* binutils-all/strip-3.d: Strip .pdr section.
2007-05-17 00:06:22 +00:00
Alan Modra
2106c1f0c5
daily update
2007-05-17 00:00:07 +00:00
gdbadmin
36d6821c98
*** empty log message ***
2007-05-17 00:00:02 +00:00
Paul Brook
2b744c99f2
2007-05-16 Paul Brook <paul@codesourcery.com>
...
* config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
2007-05-16 21:06:54 +00:00
Pedro Alves
3ecf0694a8
Fix typo.
2007-05-16 20:17:01 +00:00
Ian Lance Taylor
b8e6aad960
Add support for SHF_MERGE sections.
2007-05-16 17:42:48 +00:00
Alfred M. Szmidt
60dfee7299
* reply_mig_hack.awk: Check for `auto const mach_msg_type_t'
...
declarations as well.
2007-05-16 17:39:46 +00:00
Alfred M. Szmidt
b970e5bc67
* reply_mig_hack.awk: Check for `auto const mach_msg_type_t' declarations as well.
2007-05-16 17:37:02 +00:00
Ulrich Weigand
190dce0965
* config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h.
...
* config/arm/tm-embed.h: Delete file.
* arm-tdep.h (arm_software_single_step): Declare.
* arm-tdep.c (arm_software_single_step): Make global.
(arm_gdbarch_init): Move set_gdbarch_software_single_step call
from here to ...
* arm-linux-tdep.c (arm_linux_init_abi): ... here ...
* armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ...
* armobsd-tdep.c (armobsd_init_abi): ... here ...
* arm-wince-tdep.c (arm_wince_init_abi): ... and here.
* arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer
allow defines to be overriden by TM file.
(THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also,
change default to {0xbe,0xbe}.
* armobsd-tdep.c (arm_obsd_thumb_le_breakpoint,
arm_obsd_thumb_be_breakpoint): New global variables.
(armobsd_init_abi): Override tdep->thumb_breakpoint and
tdep->thumb_breakpoint_size.
* arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable.
(arm_wince_init_abi): Override tdep->thumb_breakpoint and
tdep->thumb_breakpoint_size.
* arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code.
2007-05-16 15:31:12 +00:00
Ulrich Weigand
bb63802a4f
2007-05-16 Markus Deuling <deuling@de.ibm.com>
...
* server.c (handle_query): Add reply for qC packet.
2007-05-16 15:26:35 +00:00
Daniel Jacobowitz
93f02886fd
* lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
...
(gdb_compile_shlib): Likewise.
(skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
(default_gdb_init): Clear cleanfiles.
(gdb_finish): Delete recorded cleanfiles.
* lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
* gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
Do not use isnative.
* gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
gdb.base/so-impl-ld.exp: Likewise.
* gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
* gdb.base/unload.exp: Likewise. Do not pass empty option to
gdb_compile.
2007-05-16 14:21:47 +00:00
Daniel Jacobowitz
1a69e1e46a
* NEWS: Mention removed "set mips stack-arg-size" and "set mips
...
saved-gpreg-size".
* mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants.
(size_auto, size_32, size_64, size_enums, mips_abi_regsize_string)
(mips_stack_argsize_string, mips_stack_argsize): Delete.
(mips_abi_regsize): Simplify.
(mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
(mips_n32n64_return_value, mips_o32_push_dummy_call)
(mips_o32_return_value, mips_o64_push_dummy_call)
(mips_o64_return_value): Propogate constant register sizes. Use the
ABI register size instead of mips_stack_argsize.
(mips_dump_tdep): Don't print mips_stack_argsize.
(_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size
settings.
* gdb.texinfo (MIPS): Remove documentation for set mips saved-gpreg-size,
show mips saved-gpreg-size, and set mips stack-arg-size.
2007-05-16 14:16:32 +00:00
Daniel Jacobowitz
48b68482c9
Commit file missed in last commit.
2007-05-16 14:09:22 +00:00
Daniel Jacobowitz
7d522c902e
* config/mips/linux.mt (DEPRECATED_TM_FILE): Delete.
...
* config/mips/tm-linux.h: Delete.
* mips-linux-tdep.c (mips_svr4_so_ops): New.
(mips_linux_in_dynsym_resolve_code): Make static. Use
svr4_in_dynsym_resolve_code.
(mips_linux_init_abi): Initialize mips_svr4_so_ops. Call
set_solib_ops.
* solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make
global.
* solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare.
* Makefile.in (mips-linux-tdep.o): Update.
* solib.c (set_solib_ops): New.
(current_target_so_ops): Update comment.
* solib.h (set_solib_ops): New prototype.
2007-05-16 14:07:56 +00:00
Maciej W. Rozycki
5d51a2dbdb
* printcmd.c (do_examine): Fix typos in a comment.
2007-05-16 13:48:22 +00:00
H.J. Lu
91ac591132
2007-05-16 H.J. Lu <hongjiu.lu@intel.com>
...
Alan Modra <amodra@bigpond.net.au>
* elflink.c (_bfd_elf_adjust_dynamic_copy): Align dynamic bss
section to the minimum alignment.
2007-05-16 12:52:03 +00:00
Paolo Bonzini
8ee82aff44
2007-05-16 Paolo Bonzini <bonzini@gnu.org>
...
* Makefile.def (bootstrap_stage): Replace stage_make_flags with
stage_cflags.
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS, POSTSTAGE1_FLAGS_TO_PASS):
Remove CFLAGS/LIBCFLAGS.
(configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+]): Pass it from [+stage_cflags+].
* Makefile.in: Regenerate.
2007-05-16 09:03:22 +00:00
Richard Sandiford
07abfebf80
gdb/
...
* configure.ac: Allow sysroots to be relocated under $prefix as
well as $exec_prefix.
* configure: Regenerate.
2007-05-16 07:24:08 +00:00
Richard Sandiford
fa1e8d8e04
ld/
...
* configure.in: Allow sysroots to be relocated under $prefix as
well as $exec_prefix.
* configure: Regenerate.
2007-05-16 07:19:46 +00:00
Alan Modra
017f71b6e8
daily update
2007-05-16 00:00:05 +00:00
gdbadmin
d98a082624
*** empty log message ***
2007-05-16 00:00:04 +00:00
Vladimir Prus
b04e06d776
* config/unknown.exp: Remove.
2007-05-15 17:06:41 +00:00
H.J. Lu
43edfb7fac
2007-05-15 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/4504
* ld-elf/data1.c: New file.
* ld-elf/data1.h: Likewise.
* ld-elf/dynbss1.c: Likewise.
* ld-elf/pass.out: Likewise.
* ld-elf/shared.exp (build_tests): Add "Build libdata1.so".
(run_tests): Add "Run with libdata1.so".
2007-05-15 13:57:03 +00:00
H.J. Lu
027297b7a8
2007-05-15 H.J. Lu <hongjiu.lu@intel.com>
...
Alan Modra <amodra@bigpond.net.au>
PR ld/4504
* elf-bfd.h (_bfd_elf_adjust_dynamic_copy): New.
* elflink.c (_bfd_elf_adjust_dynamic_copy): New.
* elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Call
_bfd_elf_adjust_dynamic_copy to adjust for the copy in dynamic
bss section.
* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise.
* elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise.
* elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
* elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise.
* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
* elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise.
* elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.
2007-05-15 13:55:54 +00:00