Vladimir Prus [Wed, 29 Nov 2006 15:40:59 +0000 (15:40 +0000)]
2006-07-29 Vladimir Prus <vladimir@codesourcery.com>
* mi/mi-cmd-var.c (print_varobj): New function.
(mi_cmd_var_create): Use the above.
(mi_cmd_var_list_children): Likewise.
Andrew Cagney [Wed, 29 Nov 2006 15:20:55 +0000 (15:20 +0000)]
2006-11-22 Tom Marn <tom.marn@telargo.com>
Committed by Andrew Cagney.
* ppc-instructions: Implement optional PowerPC stfiwx instruction.
Vladimir Prus [Wed, 29 Nov 2006 13:52:54 +0000 (13:52 +0000)]
2006-07-29 Vladimir Prus <vladimir@codesourcery.com>
* MAINTAINERS (Write After Approval): Add myself.
Andrew Stubbs [Wed, 29 Nov 2006 12:27:01 +0000 (12:27 +0000)]
2006-11-29 Andrew Stubbs <andrew.stubbs@st.com>
* solib.c (solib_open): Treat bare file names as relative paths.
Nathan Sidwell [Wed, 29 Nov 2006 08:02:07 +0000 (08:02 +0000)]
* gdb.base/break.c (main): Move position of malloc.
* gdb.base/break.exp: Revert mistaken checkin.
Vladimir Prus [Wed, 29 Nov 2006 06:41:13 +0000 (06:41 +0000)]
2006-11-29 Vladimir Prus <vladimir@codesourcery.com>
* varobj.c (varobj_set_value): Don't compare the old
and the new value here. Don't assign new value here.
Instead, call install_new_value.
gdbadmin [Wed, 29 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 28 Nov 2006 23:00:07 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Tue, 28 Nov 2006 22:21:23 +0000 (22:21 +0000)]
gdb/gdbserver/
* Makefile.in (clean): Remove reg-mips64.c.
(reg-mips64.c, reg-mips64.o): New rules.
* configure.srv: Handle mips64. Include regset support for mips.
* linux-mips-low.c (union mips_register): New.
(mips_get_pc, mips_set_pc, mips_reinsert_addr): Use it.
(mips_breakpoint, mips_breakpoint_at): Use int.
(mips_collect_register, mips_supply_register)
(mips_collect_register_32bit, mips_supply_register_32bit)
(mips_fill_gregset, mips_store_gregset, mips_fill_fpregset)
(mips_store_fpregset, target_regsets): New.
* thread-db.c (thread_db_get_tls_address): Use uintptr_t.
gdb/
* regformats/reg-mips64.dat: New file.
Daniel Jacobowitz [Tue, 28 Nov 2006 22:14:31 +0000 (22:14 +0000)]
* Makefile.in (mips-tdep.o, target-descriptions.o): Update.
* target-descriptions.c (struct property): New.
(struct target_desc): Add properties member.
(tdesc_property, set_tdesc_property): New.
* target-descriptions.h (tdesc_property, set_tdesc_property):
Declare.
* mips-tdep.c (PROPERTY_GP32, PROPERTY_GP64): New constants.
(struct gdbarch_tdep): Add register_size_valid_p and register_size.
(mips_isa_regsize): Use them.
(mips_register_g_packet_guesses): New.
(mips_gdbarch_init): Call it. If a target description is supplied,
check for internal properties. Check for register size mismatches.
* remote.c (send_g_packet, process_g_packet): New functions, split
out from fetch_registers_using_g.
(fetch_registers_using_g): Use them.
(struct remote_g_packet_guess, remote_g_packet_guess_s)
(struct remote_g_packet_data, remote_g_packet_data_handle)
(remote_g_packet_data_init, register_remote_g_packet_guess)
(remote_read_description): New.
(init_remote_ops, init_remote_async_ops): Set to_read_description.
(_initialize_remote): Register remote_g_packet_data_handle.
* remote.h (register_remote_g_packet_guess): Declare.
Daniel Jacobowitz [Tue, 28 Nov 2006 22:10:26 +0000 (22:10 +0000)]
* Makefile.in (SFILES): Add new and missed files.
(target_descriptions_h): New.
(COMMON_OBS): Add target-descriptions.o.
(arch-utils.o, infcmd.o, remote.o, target.o): Update.
(target-descriptions.o): New.
* arch-utils.c (gdbarch_info_fill): Check for a target
description.
* target-descriptions.c, target-descriptions.h: New files.
* gdbarch.sh: Add target_desc to info. Declare it in gdbarch.h.
Correct typos.
(gdbarch_list_lookup_by_info): Check target_desc.
* gdbarch.c, gdbarch.h: Regenerated.
* target.c (update_current_target): Mention to_read_description.
(target_pre_inferior): Call target_clear_description.
(target_read_description): New.
* target.h (struct target_ops): Add to_read_description.
(target_read_description): New prototype.
* infcmd.c (post_create_inferior): Call target_find_description.
* remote.c (remote_open_1): Likewise.
(extended_remote_create_inferior): Add a comment.
(extended_remote_async_create_inferior): Likewise.
Nick Roberts [Tue, 28 Nov 2006 21:44:50 +0000 (21:44 +0000)]
Include <signal.h>.
Nick Roberts [Tue, 28 Nov 2006 21:44:26 +0000 (21:44 +0000)]
*** empty log message ***
Ulrich Weigand [Tue, 28 Nov 2006 21:41:03 +0000 (21:41 +0000)]
* config/tm-linux.h: Delete file.
* config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Set to tm-alpha.h.
* config/alpha/tm-alphalinux.h: Delete file.
* config/arm/linux.mt (DEPRECATED_TM_FILE): Set to tm-arm.h
* config/arm/tm-linux.h: Delete file.
* config/i386/tm-linux.h: Do not include "config/tm-linux.h".
* config/ia64/tm-linux.h: Do not include "config/tm-linux.h".
* config/m32r/linux.mt (DEPRECATED_TM_FILE): Remove.
* config/mips/tm-linux.h: Do not include "config/tm-linux.h".
* config/pa/linux.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h.
* config/pa/tm-linux.h: Delete file.
* config/powerpc/tm-linux.h: Do not include "config/tm-linux.h".
* config/s390/linux.mt (DEPRECATED_TM_FILE): Remove.
* config/sh/linux.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
* config/sh/tm-linux.h: Delete file.
* alpha-linux-tdep.c: Include "symtab.h".
(alpha_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* i386-linux-tdep.c: Include "symtab.h".
(i386_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* ia64-linux-tdep.c: Include "symtab.h".
(ia64_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* m32r-linux-tdep.c: Include "symtab.h".
(m32r_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* mips-linux-tdep.c: Include "symtab.h".
(mips_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* sh-linux-tdep.c: Include "symtab.h".
(sh_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* s390-tdep.c (s390_gdbarch_init): Call
set_gdbarch_skip_trampoline_code.
* s390-nat.c: Do not include "tm.h".
* Makefile.in (alpha-linux-tdep.o): Add dependency on $(symtab_h).
(i386-linux-tdep.o): Likewise.
(ia64-linux-tdep.o): Likewise.
(m32r-linux-tdep.o): Likewise.
(mips-linux-tdep.o): Likewise.
(sh-linux-tdep.o): Likewise.
(s390-nat.o): Remove dependency on $(tm_h).
Ulrich Weigand [Tue, 28 Nov 2006 19:45:07 +0000 (19:45 +0000)]
* config/nm-linux.h: Do not include <signal.h>.
(REALTIME_LO, REALTIME_HI): Do not define.
* signals/signals.c (REALTIME_HI): Fix off-by-one bug.
Vladimir Prus [Tue, 28 Nov 2006 19:40:27 +0000 (19:40 +0000)]
2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
* mi/mi-cmd-var.c (mi_cmd_var_create): Fix cleanup
handlers. Free expression.
Ulrich Weigand [Tue, 28 Nov 2006 19:07:51 +0000 (19:07 +0000)]
* config/tm-linux.h (REALTIME_LO, REALTIME_HI): Do not define.
* config/mips/tm-linux.h (REALTIME_LO, REALTIME_HI): Likewise.
* config/rs6000/tm-rs6000ly.h (REALTIME_LO, REALTIME_HI): Move to ...
* config/nm-lynx.h (REALTIME_LO, REALTIME_HI): ... here.
* config/i386/nto.mh (NAT_FILE): Define.
* config/i386/nto.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/tm-nto.h: Delete file.
* config/tm-nto.h: Delete file.
* config/nm-nto.h: New file.
* Makefile.in (nto-tdep.o): Add dependency on $(objfiles_h).
* nto-tdep.c: Include "objfiles.h" and <string.h>.
* coff-solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "".
* xcoffread.c (read_xcoff_symtab): Initialize fcn_stab_saved.
* config/rs6000/rs6000lynx.mt (TDEPFILES): Add xcoffread.o.
Nathan Sidwell [Tue, 28 Nov 2006 17:52:06 +0000 (17:52 +0000)]
* gdb.base/break.c (main): Move position of malloc.
Daniel Jacobowitz [Tue, 28 Nov 2006 17:28:29 +0000 (17:28 +0000)]
* dwarf2-frame.c (decode_frame_entry_1): Skip unknown augmentations
without skipping the CIE.
Vladimir Prus [Tue, 28 Nov 2006 17:23:10 +0000 (17:23 +0000)]
2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
Fetch varobj values from memory in a single place,
and only fetch the values that are really needed.
* varobj.c (struct varobj): Clarify comment.
(my_value_equal): Remove.
(install_new_value): New function.
(type_of_child): Remove.
(varobj_create): Use install_new_value.
(varobj_set_value): Use value_contents_equal, not
my_value_equal.
(varobj_update): Use install_new_value.
(create_child): Likewise. Inline type_of_child here.
(value_of_child): Don't fetch the value.
(c_value_of_root): Likewise.
(c_value_of_variable): Likewise.
(type_changeable): Improve comments.
Daniel Jacobowitz [Tue, 28 Nov 2006 17:08:49 +0000 (17:08 +0000)]
* remote.c (struct remote_arch_state): Doc fix.
(compare_pnums): New function.
(init_remote_state): Only allocate packet_reg structures for raw
registers. Define the g/G packet format separately from creating
packet_reg. Don't use DEPRECATED_REGISTER_BYTE.
(packet_reg_from_regnum, packet_reg_from_pnum): Only iterate over
raw registers.
(register_bytes_found): Delete.
(fetch_register_using_p): Take a struct packet_reg. Handle disabled
'p' packet here. Use packet_ok.
(fetch_registers_using_g): New function, split out of
remote_fetch_registers. Check the 'g' packet more strictly. Save
its actual size and contents. Eliminate BUF. Only iterate over
raw registers.
(remote_fetch_registers): Use the new functions for 'p' and 'g'.
Mark unavailable registers.
(store_register_using_P): Likewise to fetch_register_using_p.
(store_registers_using_G): New function, split out of
remote_store_registers. Only iterate over raw registers. Don't
use register_bytes_found.
(remote_store_registers): Likewise to remote_fetch_registers.
Daniel Jacobowitz [Tue, 28 Nov 2006 16:53:54 +0000 (16:53 +0000)]
2006-11-28 Pedro Alves <pedro_alves@portugalmail.pt>
* coffread.c (cs_to_bfd_section): New function.
(cs_to_section): Use cs_to_bfd_section.
(record_minimal_symbol): Take the coff_symbol* parameter instead
of the symbol's name as a char*.
Add 'int section' parameter. Call prim_record_minimal_symbol_and_info
instead of prim_record_minimal_symbol_and_info.
Change return type to struct minimal_symbol *.
(coff_symtab_read): Adapt to new record_minimal_symbol's signature.
Make all minimal symbol creations go through record_minimal_symbol.
Daniel Jacobowitz [Tue, 28 Nov 2006 16:23:32 +0000 (16:23 +0000)]
* symtab.c (find_pc_sect_line): Do not return a line before
the start of a symtab.
Nathan Sidwell [Tue, 28 Nov 2006 16:04:00 +0000 (16:04 +0000)]
* gdb.base/break.c (main): Call malloc.
Nathan Sidwell [Tue, 28 Nov 2006 15:16:48 +0000 (15:16 +0000)]
* gdb.threads/linux-dp.exp: Read thread table before and after
creating each philosopher and verify it.
Ian Lance Taylor [Tue, 28 Nov 2006 04:54:06 +0000 (04:54 +0000)]
* Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
subdirectory.
* Makefile.in: Regenerate.
gdbadmin [Tue, 28 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Bob Wilson [Mon, 27 Nov 2006 23:58:39 +0000 (23:58 +0000)]
* config/tc-xtensa.c (xtensa_sanity_check): Check for RELAX_IMMED
as the first slot_subtype, not the frag subtype.
Alan Modra [Mon, 27 Nov 2006 23:00:08 +0000 (23:00 +0000)]
daily update
H.J. Lu [Mon, 27 Nov 2006 22:05:26 +0000 (22:05 +0000)]
Remove entries checked in by accident.
Bob Wilson [Mon, 27 Nov 2006 20:14:53 +0000 (20:14 +0000)]
bfd/
* elf32-xtensa.c (elf_xtensa_special_sections): Add .xtensa.info.
gas/
* config/tc-xtensa.c (XSHAL_ABI): Add default definition.
(directive_state): Disable scheduling by default.
(xtensa_add_config_info): New.
(xtensa_end): Call xtensa_add_config_info.
gas/testsuite/
* gas/elf/section2.e-xtensa: New file.
* gas/elf/elf.exp: Use it.
include/
* xtensa-config.h (XSHAL_ABI): New.
(XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New.
ld/
* emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
(replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
Delete redundant code to set sections flags and alignment.
(xt_config_info_unpack_and_check, check_xtensa_info): New.
(elf_xtensa_after_open): Iterate over input statements instead of
link_info.input_bfds.
(elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for
each input, and write a new .xtensa.info section in the output.
Bob Wilson [Mon, 27 Nov 2006 19:23:21 +0000 (19:23 +0000)]
* xtensa-isa.h (STATIC_LIBISA): Delete.
Nathan Sidwell [Mon, 27 Nov 2006 15:09:54 +0000 (15:09 +0000)]
* gdb.base/ending-run.exp: Flatten expect script stepping out of
main to remove duplication. Add start function of the form
'_*start[1-9]*'. Add RVDS start function.
Nick Clifton [Mon, 27 Nov 2006 14:11:10 +0000 (14:11 +0000)]
Updated Malay translation
Eric Botcazou [Mon, 27 Nov 2006 11:25:27 +0000 (11:25 +0000)]
* config/tc-sparc.c (tc_gen_reloc): Turn aligned relocs into
their unaligned counterparts in debugging sections.
gdbadmin [Mon, 27 Nov 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 26 Nov 2006 23:00:07 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 26 Nov 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 25 Nov 2006 23:00:08 +0000 (23:00 +0000)]
daily update
H.J. Lu [Sat, 25 Nov 2006 00:38:14 +0000 (00:38 +0000)]
2006-11-24 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (IS_SECTION_IN_INPUT_SEGMENT): New.
(INCLUDE_SECTION_IN_SEGMENT): Use IS_SECTION_IN_INPUT_SEGMENT.
(rewrite_elf_program_header): Don't preserve segment physical
address in the output segment if the first section in the
corresponding input segment is removed.
gdbadmin [Sat, 25 Nov 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 24 Nov 2006 23:00:05 +0000 (23:00 +0000)]
daily update
Ulrich Weigand [Fri, 24 Nov 2006 20:19:37 +0000 (20:19 +0000)]
* NEWS: SPU target is already supported in GDB 6.6.
Ulrich Weigand [Fri, 24 Nov 2006 18:23:34 +0000 (18:23 +0000)]
* Makefile.in (mips-linux-tdep.o) Add $(solib_h) dependency.
(nto-procfs.o): Likewise.
* mips-linux-tdep.c: Include "solib.h".
* nto-procfs.c: Likewise.
* config/nm-linux.h: Do not include "solib.h".
* config/nm-nbsd.h: Likewise.
* config/tm-linux.h: Likewise.
* config/alpha/nm-osf.h: Likewise.
* config/frv/tm-frv.h: Likewise.
* config/i386/nm-fbsh.h: Likewise.
* config/i386/nm-i386gnu.h: Likewise.
* config/i386/nm-i386sco5.h: Likewise.
* config/i386/nm-i386sol2.h: Likewise.
* config/i386/nm-i386v4.h: Likewise.
* config/i386/nm-i386v42mp.h: Likewise.
* config/i386/tm-i386sol2.h: Likewise.
* config/i386/tm-nto.h: Likewise.
* config/mips/nm-irix5.h: Likewise.
* config/mips/tm-nbsd.h: Likewise.
* config/pa/tm-hppah.h: Likewise.
* config/powerpc/tm-ppc-eabi.h: Likewise.
* config/rs6000/tm-rs6000.h: Likewise.
* config/sh/tm-nbsd.h: Likewise.
* config/sparc/nm-sol2.h: Likewise.
* config/sparc/tm-sol2.h: Likewise.
* config/arm/nbsdaout.mh: Remove NAT_FILE.
* config/i386/nbsdaout.mh: Likewise.
* config/i386/nbsdelf.mh: Likewise.
* config/i386/obsdaout.mh: Likewise.
* config/m68k/nbsdaout.mh: Likewise.
* config/m68k/obsd.mh: Likewise.
* config/sparc/nbsdaout.mh: Likewise.
* config/cris/cris.mt: Remove DEPRECATED_TM_FILE.
* config/i386/linux64.mt: Likewise.
* config/m68k/linux.mt: Likewise.
* config/m68k/nbsd.mt: Likewise.
* config/sparc/linux.mt: Likewise.
* config/sparc/linux64.mt: Likewise.
* config/vax/nbsd.mt: Likewise.
Alan Modra [Fri, 24 Nov 2006 04:32:41 +0000 (04:32 +0000)]
* config/tc-spu.c (md_pseudo_table): Add eqv and .eqv.
gdbadmin [Fri, 24 Nov 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 23 Nov 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Thiemo Seufer [Thu, 23 Nov 2006 16:50:39 +0000 (16:50 +0000)]
* ld-elf/warn2.d: Match regex also for the second segment.
gdbadmin [Thu, 23 Nov 2006 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 22 Nov 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Ulrich Weigand [Wed, 22 Nov 2006 19:41:17 +0000 (19:41 +0000)]
* NEWS: New port to Cell Broadband Engine SPU.
* MAINTAINERS: Add myself as spu maintainer.
Daniel Jacobowitz [Wed, 22 Nov 2006 18:51:58 +0000 (18:51 +0000)]
gdb/
* Makefile.in (arm-tdep.o): Update dependencies.
* arm-tdep.c (thumb_skip_prologue): Remove.
(thumb_analyze_prologue): New function.
(arm_skip_prologue): Use thumb_analyze_prologue.
(thumb_scan_prologue): Ditto.
gdb/testsuite/
* gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
Daniel Jacobowitz [Wed, 22 Nov 2006 17:45:57 +0000 (17:45 +0000)]
opcodes/
* arm-dis.c (last_is_thumb): Delete.
(enum map_type, last_type): New.
(print_insn_data): New.
(get_sym_code_type): Take MAP_TYPE argument. Check the type of
the right symbol. Handle $d.
(print_insn): Check for mapping symbols even without a normal
symbol. Adjust searching. If $d is found see how much data
to print. Handle data.
gas/
* config/tc-arm.h (md_cons_align): Define.
(mapping_state): New prototype.
* config/tc-arm.c (mapping_state): Make global.
gas/testsuite/
* gas/arm/arm7t.d, gas/arm/neon-ldst-rm.d, gas/arm/thumb2_pool.d,
gas/arm/tls.d: Update for $d support.
* gas/arm/mapshort.d, gas/arm/mapshort.s: New test.
* gas/elf/section2.e-armeabi: Update.
* gas/elf/section2.e-armelf: New file.
* gas/elf/elf.exp: Use it.
ld/testsuite/
* ld-arm/mixed-app.d, ld-arm/tls-app.d, ld-arm/tls-lib.d: Update
for $d support.
Ulrich Weigand [Wed, 22 Nov 2006 17:34:15 +0000 (17:34 +0000)]
ChangeLog:
* configure.tgt: Enable gdbserver for SPU target.
* configure.ac: Build gdbserver when gdb_native is yes.
* configure: Regenerate.
* regformats/reg-spu.dat: New file.
gdbserver/ChangeLog:
* configure.srv: Add target "spu*-*-*".
* Makefile.in (clean): Remove reg-spu.c.
(reg-spu.c, reg-spu.o, spu-low.o): Add dependencies.
* spu-low.c: New file.
Daniel Jacobowitz [Wed, 22 Nov 2006 17:32:07 +0000 (17:32 +0000)]
* osabi.c (gdbarch_lookup_osabi): Do not return
GDB_OSABI_UNINITIALIZED.
Ulrich Weigand [Wed, 22 Nov 2006 17:19:52 +0000 (17:19 +0000)]
* gdb.asm/asm-source.exp: Add "spu*-*-*" target.
* gdb.asm/spu.inc: New file.
* gdb.base/term.exp: Disable if [target_info exists noargs].
* gdb.gdb/complaints.exp: Disable if ![isnative].
* gdb.gdb/selftest.exp: Likewise.
* gdb.gdb/observer.exp: Likewise.
* gdb.gdb/xfullpath.exp: Likewise.
* gdb.base/attach.exp: Disable on SPU target.
* gdb.cp/bs145503.exp: Likewise.
* gdb.cp/exception.exp: Likewise.
* gdb.cp/userdef.exp: Likewise.
Daniel Jacobowitz [Wed, 22 Nov 2006 15:24:07 +0000 (15:24 +0000)]
* gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
Ulrich Weigand [Wed, 22 Nov 2006 13:49:53 +0000 (13:49 +0000)]
* config/powerpc/spu-linux.mh: New file.
* config/spu/spu.mt: New file.
* configure.ac: Provide gdb_native configuration variable.
* configure: Regenerate.
* configure.host: Support powerpc64 to spu 'pseudo-native' mode.
* configure.tgt: Add "spu" target_cpu and "spu*-*-*" target.
* Makefile.in (spu_tdep_h): New variable.
(ALLDEPFILES): Add spu-linux-nat.c and spu-tdep.c
(spu-linux-nat.o, spu-tdep.o): Add dependencies.
* spu-linux-nat.c: New file.
* spu-tdep.c: New file.
* spu-tdep.h: New file.
Ulrich Weigand [Wed, 22 Nov 2006 13:44:45 +0000 (13:44 +0000)]
* findvar.c (address_from_register): New function.
* value.h (address_from_register): Add prototype.
* dwarf2loc.c (dwarf_expr_read_reg): Use address_from_register.
Vladimir Prus [Wed, 22 Nov 2006 10:43:34 +0000 (10:43 +0000)]
2006-11-22 Vladimir Prus <vladimir@codesourcery.com>
* breakpoint.c: Include "memattr.h".
(automatic_hardware_breakpoints): New.
(show_automatic_hardware_breakpoints): New.
(insert_bp_location): Automatically use
hardware breakpoints.
(_initialize_breakpoint): Register the "auto-hw"
variable.
* Makefile.in (breakpoint.o): Update dependencies.
Nick Clifton [Wed, 22 Nov 2006 09:45:12 +0000 (09:45 +0000)]
Add Irish translation for ld and Malay translation for gprof
Alan Modra [Wed, 22 Nov 2006 03:35:36 +0000 (03:35 +0000)]
* config/obj-elf.c (obj_elf_version): Use memcpy rather than strcpy.
Alan Modra [Wed, 22 Nov 2006 03:33:51 +0000 (03:33 +0000)]
* pef.c (bfd_pef_make_empty_symbol): Delete function. Define instead.
* xsym.c (bfd_sym_make_empty_symbol): Likewise.
* xsym.h (bfd_sym_make_empty_symbol): Delete.
Greg McGary [Wed, 22 Nov 2006 00:12:30 +0000 (00:12 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Fixup D field
at proper offset in little-endian mode.
* elf64-ppc.c (ppc_elf_relocate_section): Likewise.
gdbadmin [Wed, 22 Nov 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 21 Nov 2006 23:00:07 +0000 (23:00 +0000)]
daily update
Vladimir Prus [Tue, 21 Nov 2006 16:50:16 +0000 (16:50 +0000)]
gdb/
* memattr.h (enum mem_access_mode): New value
MEM_NONE.
* memattr.c (unknown_mem_attrib): New.
(inaccessible_by_default): New.
(show_inaccessible_by_default): New.
(lookup_mem_region): Check inaccessible_by_default.
(dummy_cmd): New.
(mem_set_cmdlist, mem_show_cmdlist): New.
(_initialize_mem): Register new "set" and "show"
commands.
* target.c (memory_xfer_partial): If memory type
is MEM_NONE, return an error.
Clip to region size when calling to_xfer_partial.
If upper limit of memory range is 0, don't clip
anything.
gdb/doc/
* gdb.texinfo (Memory Access Checking): New.
Jakub Jelinek [Tue, 21 Nov 2006 11:25:17 +0000 (11:25 +0000)]
* elf-eh-frame.c (struct cie): New type.
(cie_compare): Removed.
(cie_eq, cie_hash, cie_compute_hash): New functions.
(_bfd_elf_discard_section_eh_frame): Rewrite not to rely on FDEs
pointing only to last CIE and allow merging of any duplicate CIEs,
not just duplicate consecutive CIEs.
(_bfd_elf_discard_section_eh_frame_hdr): Delete cies hash table.
* elf-bfd.h (struct cie_header, struct cie): Removed.
(struct eh_frame_sec_info): Remove alloced field.
(struct eh_frame_hdr_info): Remove last_cie, last_cie_sec
and last_cie_inf fields. Add cies field.
* ld-elf/eh5.d: New test.
* ld-elf/eh5.s: New file.
* ld-elf/eh5a.s: New file.
* ld-elf/eh5b.s: New file.
Joel Brobecker [Tue, 21 Nov 2006 05:12:44 +0000 (05:12 +0000)]
* README: Remove obsolete information.
gdbadmin [Tue, 21 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 20 Nov 2006 23:00:07 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 20 Nov 2006 21:47:06 +0000 (21:47 +0000)]
Index: ChangeLog
2006-11-20 Andrew Cagney <cagney@redhat.com>
* linux-nat.h: Refer to GNU/Linux or Linux kernel.
* linux-nat.c (lin_lwp_attach_lwp, linux_nat_thread_alive): Ditto.
* infcmd.c (attach_command): Ditto.
* hppa-linux-tdep.c (hppa_linux_regset): Ditto.
* mn10300-linux-tdep.c: Ditto. Update copyright year.
* frv-linux-tdep.c: Ditto. Update copyright year.
H.J. Lu [Mon, 20 Nov 2006 20:07:51 +0000 (20:07 +0000)]
2006-11-20 H.J. Lu <hongjiu.lu@intel.com>
* ld.texinfo: Fix a typo.
Alan Modra [Mon, 20 Nov 2006 02:17:06 +0000 (02:17 +0000)]
* emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
Alan Modra [Mon, 20 Nov 2006 02:09:56 +0000 (02:09 +0000)]
* bfd-in.h (struct stat): Don't typedef.
* bfdio.c (bfd_get_size): Return a file_ptr.
* cisco-core.c (cisco_core_file_validate): Use bfd_size_type for nread.
* mmo.c (mmo_scan): Use file_ptr for curpos.
* trad-core.c (trad_unix_core): Don't cast statbuf.st_size to
unsigned long.
* bfd-in2.h: Regenerate.
Alan Modra [Mon, 20 Nov 2006 01:38:38 +0000 (01:38 +0000)]
PR 3532
* bfd-in.h (struct bfd_hash_table): Reorganize. Add "frozen".
* hash.c (bfd_hash_table_init_n): Init frozen.
(bfd_hash_lookup): Don't grow if frozen.
(bfd_hash_traverse): Freeze hash table during traversal.
* bfd-in2.h: Regenerate.
Mei Ligang [Mon, 20 Nov 2006 01:28:43 +0000 (01:28 +0000)]
2006-11-16 Mei ligang <ligang@sunnorth.com.cn>
* config/tc-score.c (score_relax_frag): If next frag contains 32 bit branch
instruction, handle it specially.
(score_insns): Modify 32 bit branch instruction.
Joel Brobecker [Mon, 20 Nov 2006 00:16:05 +0000 (00:16 +0000)]
* NEWS: Add a new section for changes since GDB 6.6. Rename
the section "Changes since GDB 6.5" into "Changes in GDB 6.6".
Move a couple of items into the new section as they did not
make it to 6.6.
gdbadmin [Mon, 20 Nov 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Sun, 19 Nov 2006 23:30:13 +0000 (23:30 +0000)]
GDB 6.6 branch created (branch timestamp: 2006-11-15 12:00)
* version.in: Bump version to 6.6.50.
20061119-cvs.
Alan Modra [Sun, 19 Nov 2006 23:00:07 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 19 Nov 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Sat, 18 Nov 2006 23:57:08 +0000 (23:57 +0000)]
* prologue-value.c (clear_entries): Fix memory leak.
Daniel Jacobowitz [Sat, 18 Nov 2006 23:54:32 +0000 (23:54 +0000)]
2006-11-18 Pedro Alves <pedro_alves@portugalmail.pt>
* parse.c (write_exp_msymbol): Check SYMBOL_BFD_SECTION before
dereferencing it.
Alan Modra [Sat, 18 Nov 2006 23:00:06 +0000 (23:00 +0000)]
daily update
gdbadmin [Sat, 18 Nov 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 17 Nov 2006 23:00:08 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Fri, 17 Nov 2006 19:30:41 +0000 (19:30 +0000)]
* utils.c (string_to_core_addr): Use error instead of
internal_error.
* mi/mi-main.c (mi_execute_command): Check for a NULL message.
Daniel Jacobowitz [Fri, 17 Nov 2006 17:48:41 +0000 (17:48 +0000)]
* NEWS: Mention QPassSignals.
Alan Modra [Fri, 17 Nov 2006 13:55:41 +0000 (13:55 +0000)]
* elflink.c (_bfd_elf_check_kept_section): Test for kept group
section. Save result of checks in kept_section.
(_bfd_elf_section_already_linked): Tidy. Correct comments.
Ignore all group member sections. Handle special matching of
single-member groups against linkonce sections via their group
section. When such a match is found, set kept_section to the
group member section rather than to the group.
Paolo Bonzini [Fri, 17 Nov 2006 10:35:45 +0000 (10:35 +0000)]
2006-11-16 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (clean-target-libgcc): Test for gcc Makefile presence.
(unstage): Test for stage_last presence.
PR bootstrap/29802
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Add HOST_SUBDIR in STAGE_PREFIX.
* Makefile.in: Regenerate.
gdbadmin [Fri, 17 Nov 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 16 Nov 2006 23:00:10 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Thu, 16 Nov 2006 22:04:09 +0000 (22:04 +0000)]
* configure.ac: Correct td_thr_tls_get_addr test.
* configure: Regenerated.
Maxim Grigoriev [Thu, 16 Nov 2006 19:58:57 +0000 (19:58 +0000)]
Changelog update for my previous check-in.
Maxim Grigoriev [Thu, 16 Nov 2006 19:45:45 +0000 (19:45 +0000)]
2006-11-16 Maxim Grigoriev <maxim2405@gmail.com>
* MAINTAINERS (Responsible Maintainers): Add myself for Xtensa.
(Write After Approval): Add myself.
Daniel Jacobowitz [Thu, 16 Nov 2006 15:08:25 +0000 (15:08 +0000)]
gdb/
* remote.c (PACKET_QPassSignals): New.
(last_pass_packet, remote_pass_signals): New.
(remote_protocol_features): Add QPassSignals.
(remote_query_supported): Correct an infinite loop.
(remote_open_1): Reset last_pass_packet.
(remote_resume): Call remote_pass_signals.
(_initialize_remote): Register "set remote pass-signals".
gdb/doc/
* gdb.texinfo (Remote configuration): Mention
"pass-signals-packet".
(General Query Packets): Document QPassSignals. Fix
a typo.
gdb/gdbserver/
* linux-low.c (linux_wait_for_event): Reformat. Use the
pass_signals array.
* remote-utils.c (decode_address_to_semicolon): New.
* server.c (pass_signals, handle_general_set): New.
(handle_query): Mention QPassSignals for qSupported.
(main): Call handle_general_set.
* server.h (pass_signals, decode_address_to_semicolon): New.
Nathan Sidwell [Thu, 16 Nov 2006 07:22:25 +0000 (07:22 +0000)]
gas/
* config/tc-m68k.c (m68k_ip): Correct output of cpu aliases.
gas/testsuite/
* gas/m68k/all.exp: Add mcf-trap.
* gas/m68k/mcf-trap.[sd]: New.
opcodes/
* m68k-opc.c (m68k_opcodes): Place trap instructions before set
conditionals. Add tpf coldfire instruction as alias for trapf.
Mei Ligang [Thu, 16 Nov 2006 04:36:25 +0000 (04:36 +0000)]
* config/tc-score.c (score_relax_frag): If next frag contains 32 bit branch
instruction, handle it specially.
(score_insns): Modify 32 bit branch instruction.
Ian Lance Taylor [Thu, 16 Nov 2006 00:38:25 +0000 (00:38 +0000)]
Snapshot. Includes first cut at output relocation sections.
This page took 0.039823 seconds and 4 git commands to generate.