OSDN Git Service
gdbadmin [Wed, 23 May 2007 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Paul Brook [Tue, 22 May 2007 17:17:53 +0000 (17:17 +0000)]
2007-05-22 Paul Brook <paul@codesourcery.com>
ld/testsuite/
* ld-arm/arm-pic-veneer.d: Update expected output.
* ld-arm/arm-call.d: Ditto.
bfd/
* elf32-arm.c (output_arch_syminfo): Replace plt_shndx and plt_offset
with sec and sec_shndx.
(elf32_arm_ouput_plt_map_sym): Use them.
(elf32_arm_output_arch_local_syms): Output mapping symbols for
interworking glue.
Maciej W. Rozycki [Tue, 22 May 2007 16:29:38 +0000 (16:29 +0000)]
* generic/gdbtk-stack.c (get_frame_name): Remove spurious
newlines from dummy/sigtramp frame names.
Maciej W. Rozycki [Tue, 22 May 2007 10:57:12 +0000 (10:57 +0000)]
gdb/:
* ser-unix.c (show_serial_hwflow): New function.
(hardwire_raw): Add hardware flow control support.
(_initialize_ser_hardwire): Add "set/show remoteflow".
* Makefile.in (ser-unix.o): Depend on $(gdbcmd_h).
* NEWS: Document the new command.
gdb/doc/:
* gdb.texinfo (Remote Configuration): Document "set/show
remoteflow".
Nick Clifton [Tue, 22 May 2007 09:16:35 +0000 (09:16 +0000)]
Use @copying around copyright notices
Alan Modra [Tue, 22 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 22 May 2007 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
Nick Clifton [Mon, 21 May 2007 16:39:51 +0000 (16:39 +0000)]
* bfdint.texi: Add GNU Free Documentation License notice.
Caroline Tice [Mon, 21 May 2007 16:36:40 +0000 (16:36 +0000)]
Move entry for modification to dwarf2.h (for adding ability to report
when a variable's value is uninitialized) to the correct ChangeLog file.
Paolo Bonzini [Mon, 21 May 2007 16:07:45 +0000 (16:07 +0000)]
moved to the attic to please handling of src-support module
Paolo Bonzini [Mon, 21 May 2007 16:05:57 +0000 (16:05 +0000)]
add this momentarily, will move them to the attic soon
Ulrich Weigand [Mon, 21 May 2007 13:20:56 +0000 (13:20 +0000)]
* config/i386/tm-linux.h (sys_quotactl): Do not define.
* configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not
define for i[[3456]]86-*-linux* native configurations.
* config.in, configure: Regenerate.
Alan Modra [Mon, 21 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 21 May 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sun, 20 May 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 20 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update
Joel Brobecker [Sat, 19 May 2007 23:50:05 +0000 (23:50 +0000)]
* rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging
a core file. Add comment in the function description.
Alan Modra [Sat, 19 May 2007 00:00:13 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 19 May 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Caroline Tice [Fri, 18 May 2007 19:45:19 +0000 (19:45 +0000)]
Accidentally left this out of previous commit; part of adding ability
to report when a variable's value is uninitialized.
Caroline Tice [Fri, 18 May 2007 19:42:42 +0000 (19:42 +0000)]
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.
Caroline Tice [Fri, 18 May 2007 19:23:17 +0000 (19:23 +0000)]
Add self to 'Write After Approval' list.
Alan Modra [Fri, 18 May 2007 01:32:58 +0000 (01:32 +0000)]
* ppc-dis.c (print_insn_powerpc): Don't skip all operands
after setting skip_optional.
Paul Brook [Fri, 18 May 2007 00:25:04 +0000 (00:25 +0000)]
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.
gdbadmin [Fri, 18 May 2007 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 18 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update
Joel Brobecker [Thu, 17 May 2007 20:15:37 +0000 (20:15 +0000)]
* gdbtypes.c (make_reference_type): Preserve the type chain
and set the length of all the variants of the pointer type.
Joel Brobecker [Thu, 17 May 2007 16:38:25 +0000 (16:38 +0000)]
* gdbtypes.c (make_pointer_type): Preserve the pointer type chain
and set the length of all the variants of the pointer type.
Maciej W. Rozycki [Thu, 17 May 2007 13:28:55 +0000 (13:28 +0000)]
* mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
comment.
(mips_o64_push_dummy_call): Reformat a comment.
Maciej W. Rozycki [Thu, 17 May 2007 12:09:31 +0000 (12:09 +0000)]
* gdb.base/sigbpt.exp: Preset segv_addr.
Qinwei [Thu, 17 May 2007 03:15:42 +0000 (03:15 +0000)]
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.
Qinwei [Thu, 17 May 2007 03:14:56 +0000 (03:14 +0000)]
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.
Peter Bergner [Thu, 17 May 2007 00:52:14 +0000 (00:52 +0000)]
* 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.
Alan Modra [Thu, 17 May 2007 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 17 May 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Pedro Alves [Wed, 16 May 2007 20:17:01 +0000 (20:17 +0000)]
Fix typo.
Alfred M. Szmidt [Wed, 16 May 2007 17:39:46 +0000 (17:39 +0000)]
* reply_mig_hack.awk: Check for `auto const mach_msg_type_t'
declarations as well.
Alfred M. Szmidt [Wed, 16 May 2007 17:37:02 +0000 (17:37 +0000)]
* reply_mig_hack.awk: Check for `auto const mach_msg_type_t' declarations as well.
Ulrich Weigand [Wed, 16 May 2007 15:31:12 +0000 (15:31 +0000)]
* 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.
Ulrich Weigand [Wed, 16 May 2007 15:26:35 +0000 (15:26 +0000)]
2007-05-16 Markus Deuling <deuling@de.ibm.com>
* server.c (handle_query): Add reply for qC packet.
Daniel Jacobowitz [Wed, 16 May 2007 14:21:47 +0000 (14:21 +0000)]
* 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.
Daniel Jacobowitz [Wed, 16 May 2007 14:16:32 +0000 (14:16 +0000)]
* 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.
Daniel Jacobowitz [Wed, 16 May 2007 14:09:22 +0000 (14:09 +0000)]
Commit file missed in last commit.
Daniel Jacobowitz [Wed, 16 May 2007 14:07:56 +0000 (14:07 +0000)]
* 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.
Maciej W. Rozycki [Wed, 16 May 2007 13:48:22 +0000 (13:48 +0000)]
* printcmd.c (do_examine): Fix typos in a comment.
H.J. Lu [Wed, 16 May 2007 12:52:03 +0000 (12:52 +0000)]
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.
Paolo Bonzini [Wed, 16 May 2007 09:03:22 +0000 (09:03 +0000)]
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.
Richard Sandiford [Wed, 16 May 2007 07:24:08 +0000 (07:24 +0000)]
gdb/
* configure.ac: Allow sysroots to be relocated under $prefix as
well as $exec_prefix.
* configure: Regenerate.
Alan Modra [Wed, 16 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 16 May 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Vladimir Prus [Tue, 15 May 2007 17:06:41 +0000 (17:06 +0000)]
* config/unknown.exp: Remove.
H.J. Lu [Tue, 15 May 2007 13:55:54 +0000 (13:55 +0000)]
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.
Ulrich Weigand [Tue, 15 May 2007 13:18:09 +0000 (13:18 +0000)]
2007-05-15 Markus Deuling <deuling@de.ibm.com>
* gdb.base/info-proc.exp: Check is_remote.
Thiemo Seufer [Tue, 15 May 2007 12:20:32 +0000 (12:20 +0000)]
* mips3264r2.igen (DSHD): Fix compile warning.
Richard Sandiford [Tue, 15 May 2007 12:18:53 +0000 (12:18 +0000)]
bfd/
* elfxx-mips.c (mips_elf_create_local_got_entry): Remove
input_section argument. Create .rela.dyn relocations against
symbol 0 rather than the section symbol.
(mips_elf_local_got_index): Remove input_section argument.
Update call to mips_elf_create_local_got_entry.
(mips_elf_got_page, mips_elf_got16_entry): Likewise.
(mips_elf_calculate_relocation): Update calls to
mips_elf_local_got_index, mips_elf_got16_entry and mips_elf_got_page.
ld/testsuite/
* ld-mips-elf/vxworks1-lib.rd: Expect the GOT relocation to be
against symbol 0.
Mark Shinwell [Tue, 15 May 2007 09:54:04 +0000 (09:54 +0000)]
bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Correctly
handle the Thumb-2 JUMP19 relocation.
ld/testsuite/
* ld-arm/arm-elf.exp: Add jump19 testcase.
* ld-arm/jump19.d: New.
* ld-arm/jump19.s: New.
Alan Modra [Tue, 15 May 2007 08:39:58 +0000 (08:39 +0000)]
PR 4479
* elf.c (elf_fake_sections): Don't allow backend to change
SHT_NOBITS if called for strip/objcopy --only-keep-debug.
* elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove similar
fix from here.
H.J. Lu [Tue, 15 May 2007 01:05:59 +0000 (01:05 +0000)]
gas/testsuite/
2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/4502
* gas/i386/amd.d: Replace "pfmulhrw" with "pmulhrw".
opcodes/
2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/4502
* i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
Alan Modra [Tue, 15 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 15 May 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Ulrich Weigand [Mon, 14 May 2007 21:35:25 +0000 (21:35 +0000)]
* hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.
(offsetof): Do not define.
(find_stub_with_shl_get): Use numerical value 3 instead of
symbolic value TYPE_PROCEDURE.
Ulrich Weigand [Mon, 14 May 2007 21:04:15 +0000 (21:04 +0000)]
2007-05-14 Markus Deuling <deuling@de.ibm.com>
* gdb.base/gcore.exp: Initialize variable core_supported.
Bob Wilson [Mon, 14 May 2007 17:53:07 +0000 (17:53 +0000)]
* all-cfg.texi (GDBTUI): New.
* gdb.texinfo (Mode Options): Use GDBTUI variable.
(TUI, TUI Overview, TUI Keys, TUI Single Key Mode, TUI Commands)
(TUI Configuration): Edit to improve clarity and fix problems of
both style and content.
Daniel Jacobowitz [Mon, 14 May 2007 17:33:33 +0000 (17:33 +0000)]
* gdb_proc_service.h (paddr_t): Delete typedef.
* proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New.
(ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr.
(ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr.
(ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t.
* sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t.
* Makefile.in (proc-service.o): Update.
Daniel Jacobowitz [Mon, 14 May 2007 17:23:54 +0000 (17:23 +0000)]
* Makefile.in (mips-tdep.o): Update.
* mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI
unwinder.
Daniel Jacobowitz [Mon, 14 May 2007 17:21:50 +0000 (17:21 +0000)]
* dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long
instead of store_typed_address.
* value.c (pack_long): New.
(value_from_longest): Use it.
* value.h (pack_long): New prototype.
Daniel Jacobowitz [Mon, 14 May 2007 17:19:48 +0000 (17:19 +0000)]
* dwarf2-frame.c (read_encoded_value): Correct typo. Use
DW_EH_PE_signed if appropriate.
Daniel Jacobowitz [Mon, 14 May 2007 17:15:20 +0000 (17:15 +0000)]
* dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New
function.
(dwarf_decode_lines): Check for line info without a file.
Daniel Jacobowitz [Mon, 14 May 2007 16:56:07 +0000 (16:56 +0000)]
* gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
Daniel Jacobowitz [Mon, 14 May 2007 16:52:13 +0000 (16:52 +0000)]
* linux-thread-db.c (thread_db_pid_to_str): Print thread IDs
as hexadecimal.
* gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
* gdb.threads/print-threads.exp (test_all_threads): Allow
negative and hexadecimal thread IDs.
Daniel Jacobowitz [Mon, 14 May 2007 16:44:27 +0000 (16:44 +0000)]
* jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of
STRUCTOP_STRUCT.
* jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of
STRUCTOP_STRUCT.
* jv-typeprint.c (java_print_type): Do not crash on NULL varstring.
* gdb.java/jprint.java (public): Avoid invalid call to static
method.
Thiemo Seufer [Mon, 14 May 2007 16:24:25 +0000 (16:24 +0000)]
* mips.igen (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL,
CVT.S.PU, FLOOR.L.fmt, LDXC1, LUXC1, LWXC1, MADD.fmt, MSUB.fmt,
NMADD.fmt, NMSUB.fmt, PLL.PS, PLU.PS, PREFX, PUL.PS, PUU.PS,
RECIP.fmt, ROUND.L.fmt, RSQRT.fmt, SWXC1, TRUNC.L.fmt): Add support
for mips32r2.
Ulrich Weigand [Mon, 14 May 2007 15:17:00 +0000 (15:17 +0000)]
* gdbarch.sh (read_sp): Remove.
* gdbarch.c, gdbarch.h: Regenerate.
* frame.c (frame_sp_unwind): Do not call TARGET_READ_SP.
* avr-tdep.c (avr_read_sp): Remove.
(avr_unwind_sp): New function.
(avr_gdbarch_init): Install unwind_sp instead of read_sp callback.
* mips-tdep.c (mips_read_sp): Remove.
(mips_unwind_sp): New function.
(mips_gdbarch_init): Install unwind_sp instead of read_sp callback.
* score-tdep.c (score_read_unsigned_register): Remove.
(score_read_sp): Remove.
(score_unwind_sp): New function.
(score_gdbarch_init): Install unwind_sp instead of read_sp callback.
Daniel Jacobowitz [Mon, 14 May 2007 14:10:35 +0000 (14:10 +0000)]
* buildsym.c (start_subfile): Handle absolute pathnames
while comparing subfile names.
Denis Pilat [Mon, 14 May 2007 08:14:05 +0000 (08:14 +0000)]
2007-05-14 Denis Pilat <denis.pilat@st.com>
* gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
Alan Modra [Mon, 14 May 2007 04:15:53 +0000 (04:15 +0000)]
* elf.c (bfd_elf_string_from_elf_section): Return NULL on
invalid shstrndx.
(bfd_elf_get_str_section): Likewise.
Alan Modra [Mon, 14 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 14 May 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Ulrich Weigand [Sun, 13 May 2007 13:02:54 +0000 (13:02 +0000)]
* hppa-hpux-tdep.c: Include "regcache.h".
* hppa-linux-tdep.c: Likewise.
* hppa-tdep.c: Include "gdb_stdint.h".
(find_unwind_entry): Cast host pointer to uintptr_t before passing
it to paddr_nz.
* Makefile.in: Update dependencies.
Ulrich Weigand [Sun, 13 May 2007 12:48:40 +0000 (12:48 +0000)]
* blockframe.c: Remove obsolete comments.
* alpha-nat.c (fetch_osf_core_registers): Update comment.
* arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment.
* hppa-tdep.h (enum hppa_regnum): Likewise.
* mips-tdep.h: Likewise.
* m68hc11-tdep.c: Likewise.
Ulrich Weigand [Sun, 13 May 2007 12:27:30 +0000 (12:27 +0000)]
* inferior.h (read_sp): Remove prototype.
* regcache.c (read_sp): Remove.
* gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp.
* infcall.c (call_function_by_hand): Likewise.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead
of calling read_sp.
* rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
Alan Modra [Sun, 13 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 13 May 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 12 May 2007 14:27:34 +0000 (14:27 +0000)]
PR 4497
* elf-eh-frame.c (struct cie): Add "local_personality". Make
"personality" a union.
(cie_eq): Compare local_personality too. Adjust personality
comparison.
(_bfd_elf_discard_section_eh_frame): Check binding on personality
reloc sym to allow for bad symtab. Use stashed local syms rather
than reading personality local sym. Handle discarded sections.
Alan Modra [Sat, 12 May 2007 06:45:33 +0000 (06:45 +0000)]
include/elf/
* spu.h (R_SPU_ADDR16X): Define.
(R_SPU_PPU32, R_SPU_PPU64): Renumber.
bfd/
* elf32-spu.c (elf_howto_table): Add howto for R_SPU_ADDR16X.
Ulrich Weigand [Sat, 12 May 2007 00:17:05 +0000 (00:17 +0000)]
* i386-linux-nat.c (i386_linux_resume): Use regcache functions
instead of read_register and read_register_pid.
* ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE
argument instead of PTID. Use regcache functions instead of
read_register_pid.
(ia64_linux_insert_watchpoint): Update call.
(ia64_linux_stopped_data_address): Use regcache functions
instead of read_register_pid and write_register_pid.
Ulrich Weigand [Sat, 12 May 2007 00:07:45 +0000 (00:07 +0000)]
* libunwind-frame.h (struct regcache): Add forward declaration.
(libunwind_get_reg_special): Add REGCACHE argument.
* libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE
argument. Pass it to unw_init_remote_p.
* ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to
libunwind_get_reg_special.
(ia64_access_reg): Remove "write" case.
(ia64_access_fpreg): Likewise. Read from next_frame passed
as callback argument instead of from current_regcache.
(ia64_access_rse_reg): Remove "write" case. Read from regcache
passed as callback argument instead of from current_regcache.
(ia64_access_rse_fpreg): New function.
(ia64_unw_rse_acce): Use it instead of ia64_access_fpreg.
Alan Modra [Sat, 12 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 12 May 2007 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Ulrich Weigand [Fri, 11 May 2007 20:17:18 +0000 (20:17 +0000)]
* NEWS: Mention SPU overlay support.
Ulrich Weigand [Fri, 11 May 2007 20:09:29 +0000 (20:09 +0000)]
* spu-tdep.c (spu_frame_unwind_cache): Add comment.
Ulrich Weigand [Fri, 11 May 2007 20:01:31 +0000 (20:01 +0000)]
* breakpoint.c (remove_breakpoint): Do not remove software
breakpoints in unmapped overlay sections.
Ulrich Weigand [Fri, 11 May 2007 20:00:29 +0000 (20:00 +0000)]
* gdb.base/overlays.exp: Add support for targets with only code
overlay support, not data overlay. Support spu-*-* target in
this mode.
* gdb.base/ovlymgr.c: Provide stubs for spu target.
* gdb.base/spu.ld: New file.
Ulrich Weigand [Fri, 11 May 2007 19:58:38 +0000 (19:58 +0000)]
* spu-tdep.c: Include "observer.h".
(spu_frame_unwind_cache): Unwind PC through overlay return stubs.
(spu_overlay_data): New variable.
(struct spu_overlay_table): New type.
(spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update,
spu_overlay_new_objfile): New functions.
(spu_gdbarch_init): Install spu_overlay_update.
(_initialize_spu_tdep): Register spu_overlay_new_objfile,
allocate spu_overlay_data objfile data.
Ulrich Weigand [Fri, 11 May 2007 19:57:17 +0000 (19:57 +0000)]
* gdbarch.sh (overlay_update): New gdbarch function.
(struct obj_section): Add forward declaration.
* gdbarch.c, gdbarch.h: Regenerate.
* symfile.c (simple_overlay_update): Make global.
(target_overlay_update): Remove variable.
(overlay_is_mapped): Call gdbarch_overlay_update instead of
target_overlay_update.
(overlay_load_command): Likewise.
* symfile.h (struct obj_section): Add forward declaration.
(simple_overlay_update): Add prototype.
* m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update.
Ulrich Weigand [Fri, 11 May 2007 19:55:20 +0000 (19:55 +0000)]
doc/ChangeLog:
* observer.texi (GDB Observers): New observer "new_objfile".
ChangeLog:
* observer.sh: Add "struct objfile" forward declaration.
* target.h (deprecated_target_new_objfile_hook): Remove.
* symfile.c (deprecated_target_new_objfile_hook): Remove.
(clear_symtab_users): Call observer_notify_new_objfile.
(symbol_file_add_with_addrs_or_offsets): Likewise.
* rs6000-nat.c: Include "observer.h".
(vmap_ldinfo): Call observer_notify_new_objfile.
(xcoff_relocate_core): Likewise.
* remote.c (remote_new_objfile_chain): Remove.
(remote_new_objfile): Do not call remote_new_objfile_chain.
(_initialize_remote): Use observer_attach_new_objfile.
* tui/tui-hooks.c (tui_target_new_objfile_chain): Remove.
(tui_new_objfile_hook): Do not call tui_target_new_objfile_chain.
(_initialize_tui_hooks): Use observer_attach_new_objfile.
* aix-thread.c: Include "observer.h".
(target_new_objfile_chain): Remove.
(new_objfile): Do not call target_new_objfile_chain.
(_initialize_aix_thread): Use observer_attach_new_objfile.
* hpux-thread.c: Include "observer.h"
(target_new_objfile_chain): Remove.
(hpux_thread_new_objfile): Make static. Do not call
target_new_objfile_chain.
(_initialize_hpux_thread): Use observer_attach_new_objfile.
* linux-thread-db.c: Include "observer.h".
(target_new_objfile_chain): Remove.
(thread_db_new_objfile): Do not call target_new_objfile_chain.
(_initialize_thread_db): Use observer_attach_new_objfile.
* sol-thread.c: Include "observer.h".
(target_new_objfile_chain): Remove.
(sol_thread_new_objfile): Make static. Do not call
target_new_objfile_chain.
(_initialize_sol_thread): Use observer_attach_new_objfile.
* Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o,
rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on
$(observer_h).
Ulrich Weigand [Fri, 11 May 2007 19:16:04 +0000 (19:16 +0000)]
* gdbarch.sh (remote_translate_xfer_address): Remove.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.c (generic_remote_translate_xfer_address): Remove.
* arch-utils.h (generic_remote_translate_xfer_address): Remove.
* remote.c (remote_write_bytes_aux, remote_read_bytes): Do not
call gdbarch_remote_translate_xfer_address.
* frv-tdep.c (frv_gdbarch_init): Do not call
set_gdbarch_remote_translate_xfer_address.
* ia64-tdep.c (ia64_remote_translate_xfer_address): Remove.
(ia64_gdbarch_init): Do not install it.
Bob Wilson [Fri, 11 May 2007 18:31:15 +0000 (18:31 +0000)]
* NEWS: Mention change in handling the -tui option.
Daniel Jacobowitz [Fri, 11 May 2007 17:43:44 +0000 (17:43 +0000)]
* linux-thread-db.c (enable_thread_event_reporting): Fix comment
typo.
Ulrich Weigand [Fri, 11 May 2007 12:44:34 +0000 (12:44 +0000)]
* breakpoint.c (single_step_breakpoint_inserted_here_p): New function.
(breakpoint_inserted_here_p): Call it.
(software_breakpoint_inserted_here_p): Likewise.