binutils-gdb.git
13 years agoProperly TABify ChangeLog; take 2
Paul Pluzhnikov [Mon, 2 May 2011 00:21:28 +0000 (00:21 +0000)]
Properly TABify ChangeLog; take 2

13 years agoProperly TABify ChangeLog
Paul Pluzhnikov [Mon, 2 May 2011 00:18:41 +0000 (00:18 +0000)]
Properly TABify ChangeLog

13 years ago*** empty log message ***
gdbadmin [Mon, 2 May 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
Alan Modra [Mon, 2 May 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years agoAdd testcases for PR ld/12718.
H.J. Lu [Sun, 1 May 2011 13:38:22 +0000 (13:38 +0000)]
Add testcases for PR ld/12718.

2011-05-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/12718
* ld-i386/i386.exp: Run pr12718.
* ld-x86-64/x86-64.exp: Likewise.

* ld-i386/pr12718.d: New.
* ld-i386/pr12718.s: Likewise.
* ld-x86-64/pr12718.d: Likewise.
* ld-x86-64/pr12718.s: Likewise.

13 years ago PR ld/12718
Alan Modra [Sun, 1 May 2011 12:04:10 +0000 (12:04 +0000)]
PR ld/12718
* elf32-i386.c (elf_i386_check_relocs): Ensure dynobj set before
creating ifunc sections.
* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.

13 years agodaily update
Alan Modra [Sun, 1 May 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Sun, 1 May 2011 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

13 years agoCorrect parameter names for elf_x86_64_merge_symbol.
H.J. Lu [Sat, 30 Apr 2011 17:56:35 +0000 (17:56 +0000)]
Correct parameter names for elf_x86_64_merge_symbol.

2011-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (elf_x86_64_merge_symbol): Correct parameter
names.

13 years agoUpdate binutils-all/x86-64/compressed-1a.d.
H.J. Lu [Sat, 30 Apr 2011 13:17:19 +0000 (13:17 +0000)]
Update binutils-all/x86-64/compressed-1a.d.

2011-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/x86-64/compressed-1a.d: Adjust for change in output
format.

13 years ago * dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
Jakub Jelinek [Sat, 30 Apr 2011 11:01:35 +0000 (11:01 +0000)]
* dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
DW_OP_GNU_deref_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret): New.

13 years ago*** empty log message ***
gdbadmin [Sat, 30 Apr 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
Alan Modra [Sat, 30 Apr 2011 00:00:10 +0000 (00:00 +0000)]
daily update

13 years ago2011-04-26 Andrew Gontarek <andrewg@cray.com>
Tom Tromey [Fri, 29 Apr 2011 19:23:39 +0000 (19:23 +0000)]
2011-04-26  Andrew Gontarek  <andrewg@cray.com>

       * valprint.c (val_print_array_elements): Fixed poor performance
       of printing very large arrays with repeat_count_threshold set
       to unlimited.  New comment.

13 years ago * mi/mi-parse.c (mi_parse): Remove incorrect sizeof.
Tom Tromey [Fri, 29 Apr 2011 18:44:15 +0000 (18:44 +0000)]
* mi/mi-parse.c (mi_parse): Remove incorrect sizeof.
(mi_parse): Likewise.
* breakpoint.c (break_range_command): Use sizeof char*, not
char**.
(create_breakpoint): Likewise.
(parse_breakpoint_sals): Likewise.

13 years ago * linux-nat.c (linux_child_remove_fork_catchpoint)
Pedro Alves [Fri, 29 Apr 2011 15:54:12 +0000 (15:54 +0000)]
* linux-nat.c (linux_child_remove_fork_catchpoint)
(linux_child_remove_vfork_catchpoint)
(linux_child_remove_exec_catchpoint): New functions.
(linux_target_install_ops): Install them.

13 years ago2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
Phil Muldoon [Fri, 29 Apr 2011 12:45:46 +0000 (12:45 +0000)]
2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>

PR mi/12531

* varobj.c (install_default_visualizer): Do not install a
visualizer if the varobj is CPLUS_FAKE_CHILD.
(construct_visualizer): Likewise.

2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>

PR mi/12531

* gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
compile target.
* gdb.python/py-prettyprint.exp: Add C++ object for
CPLUS_FAKE_CHILD test.

13 years ago * binutils-all/i386/compressed-1a.d: Adjust for change in output
Hans-Peter Nilsson [Fri, 29 Apr 2011 01:45:51 +0000 (01:45 +0000)]
* binutils-all/i386/compressed-1a.d: Adjust for change in output
format.

13 years ago * gas/elf/dwarf2-1.d, gas/elf/dwarf2-2.d: Adjust for change in
Hans-Peter Nilsson [Fri, 29 Apr 2011 01:45:06 +0000 (01:45 +0000)]
* gas/elf/dwarf2-1.d, gas/elf/dwarf2-2.d: Adjust for change in
output format.
* gas/i386/dw2-compress-1.d: Ditto.

13 years agodaily update
Alan Modra [Fri, 29 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Fri, 29 Apr 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

13 years ago * bfdio.c (memory_bstat): Pass correct size to memset.
Tom Tromey [Thu, 28 Apr 2011 20:36:50 +0000 (20:36 +0000)]
* bfdio.c (memory_bstat): Pass correct size to memset.

13 years agogdb/
Jan Kratochvil [Thu, 28 Apr 2011 17:37:06 +0000 (17:37 +0000)]
gdb/
* symtab.c (expand_partial_symbol_name): New variable NCMP.  Support
case insensitive comparison.

13 years ago * NEWS: Add note about --dwarf-depth, --dwarf-start, and
Tom Tromey [Thu, 28 Apr 2011 17:23:17 +0000 (17:23 +0000)]
* NEWS: Add note about --dwarf-depth, --dwarf-start, and
dwarf-mode.el.
* objdump.c (suppress_bfd_header): New global.
(usage): Update.
(OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
(options): Add dwarf-depth and dwarf-start entries.
(dump_bfd): Use suppress_bfd_header.
(main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
* doc/binutils.texi (objcopy): Document --dwarf-depth and
--dwarf-start.
(readelf): Likewise.
* dwarf-mode.el: New file.
* dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
(read_and_display_attr_value): Also check debug_info_p.
(process_debug_info): Handle dwarf_start_die and
dwarf_cutoff_level.
* dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
* readelf.c (usage): Update.
(OPTION_DWARF_DEPTH): New macro.
(OPTION_DWARF_START): Likewise.
(options): Add dwarf-depth and dwarf-start entries.
(parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
testsuite
* binutils-all/objdump.W: Correct output.

13 years ago * configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
Joseph Myers [Thu, 28 Apr 2011 16:46:34 +0000 (16:46 +0000)]
* configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
alpha*-dec-osf*, alpha*-*-linux*, alpha*-*-*, sh-*-linux*,
arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi, frv-*-*): Remove
cases in libgcj-disabling case statement.
(hppa*64*-*-linux*): Set unsupported_languages instead of
disabling target-zlib.
(hppa*64*-*-*): Restrict case in libgcj-disabling case statement
to hppa*64*-*-hpux*.
(hppa*-*-*): Restrict case in libgcj-disabling case statement to
hppa*-*-hpux*.
(ia64*-*-elf*, ia64*-**-hpux*, i[[3456789]]86-*-elf,
i[[3456789]]86-*-linux*, *-*-cygwin*, i[[3456789]]86-*-interix*,
i[[3456789]]86-*-solaris2*, m32r-*-*, m68k-*-elf*, m68*-*-* |
fido-*-*, powerpc-*-eabi, powerpc-*-eabi* | powerpcle-*-eabi* |
powerpc-*-rtems*, mips*-*-linux*, mips*-*-*, sh-*-* | sh64-*-*,
sparc-*-elf*, sparc64-*-elf*, sparc-*-solaris* |
sparc64-*-solaris* | sparcv9-*-solaris*, *-*-linux* | *-*-gnu* |
*-*-k*bsd*-gnu | *-*-kopensolaris*-gnu, *-*-*): Remove cases in
libgcj-disabling case statement.
* configure: Regenerate.

13 years ago gdb/
Ulrich Weigand [Thu, 28 Apr 2011 15:53:00 +0000 (15:53 +0000)]
gdb/
* infrun.c (proceed): Revert previous change.
(resume): Instead, handle the case of signal delivery while stepping
off a breakpoint location here, and only if software single-stepping
is used.  Handle nested signals.

gdb/testsuite/
* gdb.base/signest.exp: New file.
* gdb.base/signest.c: Likewise.

13 years ago PR ld/12614
Alan Modra [Thu, 28 Apr 2011 15:29:42 +0000 (15:29 +0000)]
PR ld/12614
* emultempl/pe.em (_after_open): Correctly check whether symbol is
in undef list.

13 years ago * configure.ac: Disable Java for targets not supporting libffi.
Joseph Myers [Thu, 28 Apr 2011 13:33:02 +0000 (13:33 +0000)]
* configure.ac: Disable Java for targets not supporting libffi.
(*-*-chorusos, *-*-kaos*, am33_2.0-*-linux*, sh*-*-pe|mips*-*-pe):
Remove cases in Java-disabling statement.
(*arm-wince-pe): Change to arm-wince-pe.
(arc-*-*, arm-*-coff, arm-*-pe*, arm-*-riscix*, avr-*-*): Remove
cases in Java-disabling statement.
(bfin-*-*): Don't disable Java again.
(c4x-*-* | tic4x-*-*, tic54x-*-*, cr16-*-*, d10v-*-*, d30v-*-*,
fr30-*-elf*, moxie-*-*, h8300*-*-*, h8500-*-*, hppa1.1-*-osf* |
hppa1.1-*-bsd*, hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-openbsd*,
hppa*-*-pro*, i960-*-*, i[[3456789]]86-*-coff,
i[[3456789]]86-*-pe, i[[3456789]]86-*-sco3.2v5*,
i[[3456789]]86-*-sco*, i[[3456789]]86-*-sysv4*,
i[[3456789]]86-*-beos*, i[[3456789]]86-*-rdos*,
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*): Remove cases in
Java-disabling statement.
(mmix-*-*): Don't disable Java again.
(mt-*-*, powerpc*-*-winnt* | powerpc*-*-pe*, powerpcle-*-solaris*,
powerpc-*-beos*, rs6000-*-lynxos*, rs6000-*-*, m68k-apollo-*,
microblaze*, mips*-sde-elf*, mips*-*-irix5*, mips*-*-bsd*,
sparclet-*-aout* | sparc86x-*-*, sparclite-*-*, sparc-*-sunos4*,
tic6x-*-*, v810-*-*, vax-*-*): Remove cases in Java-disabling
statement.
* configure: Regenerate.

13 years ago Merge from GCC:
Joseph Myers [Thu, 28 Apr 2011 13:26:23 +0000 (13:26 +0000)]
Merge from GCC:

2011-04-18  Jack Howarth  <howarth@bromo.med.uc.edu>

PR lto/48086
* configure.ac: Re-enable LTO on *-apple-darwin9*.
* configure: Regenerate.

13 years ago * configure.ac: Separate cases disabling Java and Java libraries
Joseph Myers [Thu, 28 Apr 2011 13:24:52 +0000 (13:24 +0000)]
* configure.ac: Separate cases disabling Java and Java libraries
from general case over targets.
* configure: Regenerate.

13 years agobfd: constify a few arrays
Mike Frysinger [Thu, 28 Apr 2011 12:50:32 +0000 (12:50 +0000)]
bfd: constify a few arrays

13 years agogdb/testsuite/
Jan Kratochvil [Thu, 28 Apr 2011 07:31:29 +0000 (07:31 +0000)]
gdb/testsuite/
* lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
thread and breakpoint notifications.

13 years agobinutils/
Jan Kratochvil [Thu, 28 Apr 2011 07:27:30 +0000 (07:27 +0000)]
binutils/
* dwarf.c (display_gdb_index): Support version 5, warn on version 4.

13 years ago * cg_print.c (print_header): Add no-c-format comment to prevent
Alan Modra [Thu, 28 Apr 2011 05:12:13 +0000 (05:12 +0000)]
* cg_print.c (print_header): Add no-c-format comment to prevent
confusion when translating "%time".

13 years ago2011-04-28 Yao Qi <yao@codesourcery.com>
Yao Qi [Thu, 28 Apr 2011 04:59:21 +0000 (04:59 +0000)]
2011-04-28  Yao Qi  <yao@codesourcery.com>

* arm-tdep.c (copy_unmodified): Rename to ...
(arm_copy_unmodified): .. this.  New.
(copy_preload): Move common part to ...
(install_preload): .. this.  New.
(arm_copy_preload): New.
(copy_preload_reg): Move common part to ...
(install_preload_reg): ... this.  New.
(arm_copy_preload_reg): New.
(copy_b_bl_blx): Move common part to ...
(install_b_bl_blx): .. this.  New.
(arm_copy_b_bl_blx): New.
(copy_bx_blx_reg): Move common part to ...
(install_bx_blx_reg): ... this. New.
(arm_copy_bx_blx_reg): New.
(copy_alu_reg): Move common part to ...
(install_alu_reg): ... this.  New.
(arm_copy_alu_reg): New.
(copy_alu_shifted_reg): Move common part to ...
(install_alu_shifted_reg): ... this.  New.
(copy_ldr_str_ldrb_strb): Move common part to ...
(install_ldr_str_ldrb_strb): ... this.  New.
(arm_copy_ldr_str_ldrb_strb): New.
(copy_copro_load_store): Move some common part to ...
(install_copy_copro_load_store): ... this.  New.
(arm_copy_copro_load_store): New.
(copy_svc): Delete.
(arm_copy_svc): Renamed from copy_svc.
(copy_undef): Delete.
(arm_copy_undef): Renamed from copy_undef.
(decode_ext_reg_ld_st): Delete.
(arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st.
(decode_svc_copro): Delete.
(arm_decode_svc_copro): Renamed from decode_svc_copro.
(copy_copro_load_store, copy_alu_imm): update callers.
(copy_extra_ld_st, copy_block_xfer): Likewise.
(decode_misc_memhint_neon, decode_unconditional): Likewise.
(decode_miscellaneous, decode_dp_misc): Likewise.
(decode_ld_st_word_ubyte, decode_media): Likewise.
(decode_b_bl_ldmstm, decode_ext_reg_ld_st): Likewise.
(decode_svc_copro, decode_misc_memhint_neon): Likewise.
(decode_unconditional, decode_miscellaneous): Likewise.
(decode_media, decode_b_bl_ldmstm): Likewise.
(arm_process_displaced_insn): Likewise..
(decode_misc_memhint_neon): Delete.
(arm_decode_misc_memhint_neon): Renamed from decode_misc_memhint_neon.
(decode_miscellaneous): Delete.
(arm_decode_miscellaneous): Renamed from decode_miscellaneous.
(decode_dp_misc): Delete.
(arm_decode_dp_misc): Renamed from decode_dp_misc.
(decode_ld_st_word_ubyte): Delete.
(arm_decode_ld_st_word_ubyte): Renamed from decode_ld_st_word_ubyte.
(decode_media): Delete.
(arm_decode_media): Renamed from decode_media.
(decode_b_bl_ldmstm): Delete.
(arm_decode_b_bl_ldmstm): Renamed from decode_b_bl_ldmstm.
(decode_ext_reg_ld_st): Delete.
(arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st.
(decode_unconditional): Delete.
(arm_decode_unconditional): Renamed from decode_unconditional.

13 years agodaily update
Alan Modra [Thu, 28 Apr 2011 00:00:06 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Thu, 28 Apr 2011 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

13 years agosim: bfin: constify dmac pmap arrays
Mike Frysinger [Wed, 27 Apr 2011 21:29:03 +0000 (21:29 +0000)]
sim: bfin: constify dmac pmap arrays

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agogdb/doc/
Jan Kratochvil [Wed, 27 Apr 2011 20:03:04 +0000 (20:03 +0000)]
gdb/doc/
* gdb.texinfo (Index Section Format): Change the version to 5.
Describe the different formula.

gdb/
Case insensitive lookups implementation.
* dwarf2read.c: Include ctype.h.
(struct mapped_index): New field version.
(mapped_index_string_hash): New parameter index_version.  New comment
for it.  Call tolower appropriately.
(find_slot_in_mapped_hash): New variable cmp, initialize it, use it.
Choose the right index version for mapped_index_string_hash.
(dwarf2_read_index): Support also the index version 5.  Initialize the
new struct mapped_index field version.
(hash_strtab_entry): Pass INT_MAX for the new parameter, explain why.
(find_slot): Explain the version needs.  Pass INT_MAX for the new
parameter.
(write_psymtabs_to_index): Produce version 5.
* minsyms.c (lookup_minimal_symbol): New variable cmp, initialize it,
use it.  New comment for SYMBOL_MATCHES_SEARCH_NAME.
* psymtab.c (lookup_partial_symbol): Find the
SYMBOL_MATCHES_SEARCH_NAME start of the found block of matching
entries.
* symtab.c (lookup_symbol_in_language): Remove the case_sensitive_off
NAME lowercasing.
(search_symbols): Pass REG_ICASE to regcomp for case_sensitive_off.
(completion_list_add_name): New variable ncmp, initialize it, use it.
* symtab.h (SYMBOL_HASH_NEXT): Always call tolower.
* utils.c (strcmp_iw): Support case_sensitive_off.
(strcmp_iw_ordered): Sort in a way compatible with case_sensitive_off.
New function comment part.  New variables saved_string1,
saved_string2 and case_pass.  Add a proper second pass.

gdb/testsuite/
* gdb.base/fortran-sym-case.c: New file.
* gdb.base/fortran-sym-case.exp: New file.
* gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
* gdb.dwarf2/dw2-case-insensitive.c: New file.
* gdb.dwarf2/dw2-case-insensitive.exp: New file.

13 years agogdb/
Jan Kratochvil [Wed, 27 Apr 2011 19:55:10 +0000 (19:55 +0000)]
gdb/
Replace re_comp/re_exec by regcomp/regexec.
* symtab.c (struct search_symbols_data): New fields preg, preg_p.
(search_symbols_name_matches): Use them, use regexec.
(search_symbols): New variable retval_chain, adjust the use of
old_chain against it.  Replace re_comp by regcomp.  Use the new struct
search_symbols_data fields, use regexec instead of re_exec.

13 years agogdb/
Jan Kratochvil [Wed, 27 Apr 2011 19:52:22 +0000 (19:52 +0000)]
gdb/
Format the code for the next patch.
* dwarf2read.c (struct mapped_index): Include delimiting newlines.
* utils.c (strcmp_iw_ordered): Reformat the code for the next patch.
New variables c1 and c2.

13 years agogdb/testsuite/
Jan Kratochvil [Wed, 27 Apr 2011 19:44:42 +0000 (19:44 +0000)]
gdb/testsuite/
* lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
* gdb.base/ifelse.exp: Give names to the "" tests as `if true else
false #1', `if true else false #2' and `if true else false #3'.

13 years agofix strict-aliasing warnings
Nathan Froyd [Wed, 27 Apr 2011 18:37:40 +0000 (18:37 +0000)]
fix strict-aliasing warnings
* linux-x86-low.c (amd64_emit_const): Call memcpy instead of
casting pointers.
(amd64_emit_reg, amd64_emit_int_call_1, amd64_emit_void_call_2):
(i386_emit_const, i386_emit_reg, i386_emit_int_call_1):
(i386_emit_void_call_2): Likewise.

13 years agoChangeLog:
Ulrich Weigand [Wed, 27 Apr 2011 17:08:42 +0000 (17:08 +0000)]
ChangeLog:

* infrun.c (proceed): Do not single-step into signal delivery
when stepping off a breakpoint location.
(insert_step_resume_breakpoint_at_frame): Move prototype earlier.
(insert_step_resume_breakpoint_at_caller): Likewise.
(insert_step_resume_breakpoint_at_sal): Likewise.
(insert_longjmp_resume_breakpoint): Likewise.

testsuite/ChangeLog:

* gdb.base/annota1.exp: Accept breakpoints-invalid annotation
while delivering signal.

13 years ago2011-04-27 Yao Qi <yao@codesourcery.com>
Yao Qi [Wed, 27 Apr 2011 15:43:33 +0000 (15:43 +0000)]
2011-04-27  Yao Qi  <yao@codesourcery.com>

* common/linux-ptrace.h: Remove include <sys/wait.h>.

13 years ago2011-04-27 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 27 Apr 2011 15:04:04 +0000 (15:04 +0000)]
2011-04-27  Tristan Gingold  <gingold@adacore.com>

* xcoff.h (F_FDPR_PROF, F_FDPR_OPTI, F_DSA, F_VARPG)
(STYP_DWARF, SSUBTYP_DWINFO)
(SSUBTYP_DWLINE, SSUBTYP_DWPBNMS, SSUBTYP_DWPBTYP)
(SSUBTYP_DWARNGE, SSUBTYP_DWABREV, SSUBTYP_DWSTR)
(SSUBTYP_DWRNGES, STYP_TDATA, STYP_TBSS, R_TLS, R_TLS_IE)
(R_TLS_LD, R_TLS_LE, R_TLSM, R_TLSML, R_TOCU, R_TOCL, C_DWARF):
New macros.

13 years agofix procfs.c:procfs_pass_signals advance declaration
Joel Brobecker [Wed, 27 Apr 2011 14:28:35 +0000 (14:28 +0000)]
fix procfs.c:procfs_pass_signals advance declaration

gdb/ChangeLog:

* procfs.c (procfs_pass_signals): Fix advance declaration.

13 years ago * target.h (struct target_ops): Remove to_notice_signals;
Ulrich Weigand [Wed, 27 Apr 2011 13:29:15 +0000 (13:29 +0000)]
* target.h (struct target_ops): Remove to_notice_signals;
add to_pass_signals.
(target_notice_signals): Remove.
(target_pass_signals): Add prototype.
* target.c (update_current_target): Remove to_notice_signals;
mention to_pass_signals.
(target_pass_signals): New function.
(debug_to_notice_signals): Remove.
(setup_target_debug): Do not install debug_to_notice_signals.

* infrun.c (signal_pass): New global.
(resume): Call target_pass_signals.
(handle_inferior_event): Report all signals while stepping over
non-steppable watchpoint.  Reset trap_expected to ensure breakpoints
are re-inserted when stepping over a signal handler.
(signal_cache_update): New function.
(signal_stop_update): Call it.
(signal_print_update): Likewise.
(signal_pass_update): Likewise.
(handle_command): Call signal_cache_update and target_pass_signals
instead of target_notice_signals.
(_initialize_infrun): Initialize signal_pass.

* linux-nat.c (pass_mask): New global.
(linux_nat_pass_signals): New function.
(linux_nat_create_inferior): Report all signals initially.
(linux_nat_attach): Likewise.
(linux_nat_resume): Use pass_mask to decide whether to directly
handle an inferior signal.
(linux_nat_wait_1): Likewise.
(linux_nat_add_target): Install to_pass_signals callback.

* nto-procfs.c (notice_signals): Remove.
(procfs_resume): Do not call notice_signals.
(procfs_notice_signals): Remove.
(procfs_pass_signals): New function.
(init_procfs_ops): Install to_pass_signals callback instead of
to_notice_signals callback.
(_initialize_procfs): Report all signals initially.

* procfs.c (procfs_notice_signals): Remove.
(procfs_pass_signals): New function.
(procfs_target): Install to_pass_signals callback instead of
to_notice_signals callback.
(register_gdb_signals): Remove.
(procfs_debug_inferior): Report all signals initially.
(procfs_init_inferior): Remove redundant register_gdb_signals call.

* remote.c (remote_pass_signals): Add numsigs and pass_signals
parameters; use them instead of calling signal_..._state routines.
(remote_notice_signals): Remove.
(remote_start_remote): Report all signals initially.
(remote_resume): Do not call remote_pass_signals.
(_initialize_remote): Install to_pass_signals callback instead of
to_notice_signals callback.

13 years ago2011-04-27 Pedro Alves <pedro@codesourcery.com>
Pedro Alves [Wed, 27 Apr 2011 12:44:26 +0000 (12:44 +0000)]
2011-04-27  Pedro Alves  <pedro@codesourcery.com>

gdb/
* breakpoint.c (user_settable_breakpoint): Delete.
(user_breakpoint_p): Remove check on user_settable_breakpoint.
(delete_command): Check user_breakpoint_p instead of looking at
the breakpoint's type.
(disable_command): Ditto.
(enable_command): Ditto.
(delete_trace_command): Use user_breakpoint_p instead of looking
at the breakpoint number directly.  When checking if there are
user visible tracepoints, in order to know whether to ask the user
for confirmation, check whether the breakpoint is actually a
tracepoint.

13 years ago2011-04-27 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 27 Apr 2011 12:09:48 +0000 (12:09 +0000)]
2011-04-27  Tristan Gingold  <gingold@adacore.com>

        * dwarf.c (process_extended_line_op): Handle
        DW_LNE_HP_source_file_correlation.

13 years ago * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix
Vladimir Prus [Wed, 27 Apr 2011 12:04:42 +0000 (12:04 +0000)]
* python/py-breakpoint.c (gdbpy_breakpoint_created): Fix
compilation.

13 years ago MI breakpoint notifications.
Vladimir Prus [Wed, 27 Apr 2011 10:17:39 +0000 (10:17 +0000)]
MI breakpoint notifications.

        * annotate.c (breakpoint_changed): Adjust parameter type.
        * breakpoint.c (set_breakpoint_condition): Adjust to change
        in breakpoint_modified type.
        (breakpoint_set_commands): Likewise.
        (do_map_commands_command): Likewise.
        (bpstat_check_breakpoint_conditions): Notify that breakpoint has
        changed after bumping hit count.
        (bpstat_stop_status): Likewise.
        (print_one_breakpoint_location): Don't wrap in tuple here.
        (print_one_breakpoint): Always print individual locations.
        For locations, use unnamed tuple.
        (disable_breakpoints_in_unloaded_shlib): Notify that breakpoint
        has changed.
        (create_catchpoint, create_syscall_event_catchpoint): Call
        breakpoint_created obsever.
        (mention): Don't call breakpoint_created observer.
        (create_breakpoint_sal): Call breakpoint_created observer.
        (create_breakpoint, watch_command_1): Likewise.
        (create_ada_exception_breakpoint): Likewise.
        (delete_breakpoint): Call breakpoint_deleted breakpoint.
        (locations_are_equal): New.
        (update_breakpoint_locations): If locations were changed, notify.
        (set_ignore_count, disable_breakpoint, do_enable_breakpoint):
        Call breakpoint_modified observer.

        * mi/mi-cmd-break.c (breakpoint_notify): Adjust.
        (mi_cmd_break_insert): Don't set observers for modify and delete.
        * mi/mi-interp.c (mi_suppress_breakpoint_notifications): New.
        (mi_breakpoint_created, mi_breakpoint_deleted)
        (mi_breakpoint_modified): New.
        (mi_interpreter_init): Hook the above.
        * mi/mi-main.c (mi_cmd_execute): Disable breakpoint notifications
        while -break-* commands are executing.
        * mi/mi-main.h (mi_suppress_breakpoint_notifications): New.
        * mi/mi-out.c (struct ui_out_data): New field original_buffer.
        (mi_redirect): New.
        (mi_ui_out_impl): Hook in mi_redirect.
        (mi_field_skip): True to the name, skip the field, don't output
        a field with an empty value.

        * python/py-breakpoint.c (gdbpy_breakpoint_created)
        (gdbpy_breakpoint_deleted): Adjust.
        * tui/tui-hooks.c (tui_event_create_breakpoint)
        (tui_event_delete_breakpoint, tui_event_modify_breakpoint): Adjust.

13 years agoUpdated Danish, Esperanto and French translations.
Nick Clifton [Wed, 27 Apr 2011 10:02:27 +0000 (10:02 +0000)]
Updated Danish, Esperanto and French translations.

13 years agodaily update
Alan Modra [Wed, 27 Apr 2011 00:00:06 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Wed, 27 Apr 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

13 years ago2011-04-26 Aleksandar Ristovski <aristovski@qnx.com>
Ulrich Weigand [Tue, 26 Apr 2011 17:32:32 +0000 (17:32 +0000)]
2011-04-26  Aleksandar Ristovski  <aristovski@qnx.com>

* nto-procfs.c (procfs_insert_hw_watchpoint): Fix prototype.
(procfs_remove_hw_watchpoint): Likewise.

13 years ago2011-04-26 Michael Walle <michael@walle.cc>
Tom Tromey [Tue, 26 Apr 2011 15:40:57 +0000 (15:40 +0000)]
2011-04-26  Michael Walle  <michael@walle.cc>

* remote.c (remote_start_remote): Ack packet after sending the
interrupt sequence.

13 years agogdb/
Yao Qi [Tue, 26 Apr 2011 15:36:04 +0000 (15:36 +0000)]
gdb/

        * linux-nat.c: Move common macros to ...
        Include linux-ptrace.h.
        * common/linux-ptrace.h: ... here.  New.

gdb/gdbserver/

        * linux-low.c: Move common macros to linux-ptrace.h.
        Include linux-ptrace.h.
* Makefile.in (linux_ptrace_h): New.
(linux-low.o): Depends on linux-ptrace.h.

13 years ago * dw2gencfi.c (dwcfi_seg_list): New struct.
Nick Clifton [Tue, 26 Apr 2011 15:28:08 +0000 (15:28 +0000)]
* dw2gencfi.c (dwcfi_seg_list): New struct.
(dwcfi_hash): New static hash variable.
(get_debugseg_name): New.
(alloc_debugseg_item): New.
(make_debug_seg): New.
(dwcfi_hash_insert): New.
(dwcfi_hash_find): New.
(dwcfi_hash_find_or_make): New.
(cfi_insn_data): New member cur_seg.
(cie_entry): Likewise.
(fde_entry): New cseg and handled members.
(alloc_fde_entry): Initialize cseg member.
(alloc_cfi_insn_data): Initialize cur_seg member.
(dot_cfi_sections): Compare for beginning of
section names via strncmp.
(get_cfi_seg): New.
(cfi_finish): Treat link-once sections.
(is_now_linkonce_segment): New local helper.
(output_cie): Ignore cie entries not member of current
segment.
(output_fde): Likewise.
(select_cie_for_fde): Likewise.
(cfi_change_reg_numbers): Add new argument for current segment
and ignore insn elements, if not part of current segment.
* ehopt.c (get_cie_info): Use strncmp for
section name matching.
(heck_eh_frame): Likewise.

* coffcode.h (sec_to_styp_flags): Allow linkonce for
debugging sections.

* scripttempl/pe.sc: Handle .eh_frame($|.)* sections.
* scripttempl/pep.sc: Likewise.

* ld-pe/pe.exp: Add cfi/cfi32 tests.
* ld-pe/cfi.d: New.
* ld-pe/cfi32.d: New.
* ld-pe/cfia.s: New.
* ld-pe/cfib.s: New.

13 years ago2011-04-26 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 26 Apr 2011 14:57:37 +0000 (14:57 +0000)]
2011-04-26  Tristan Gingold  <gingold@adacore.com>

* coff64-rs6000.c: Convert to ISO-C.  Remove PARAMS and PTR macros.

13 years ago * readelf.c (print_stapsdt_note): New function.
Tom Tromey [Tue, 26 Apr 2011 13:17:20 +0000 (13:17 +0000)]
* readelf.c (print_stapsdt_note): New function.
(process_note): Use it.

13 years ago * readelf.c (get_stapsdt_note_type): New function.
Tom Tromey [Tue, 26 Apr 2011 13:09:10 +0000 (13:09 +0000)]
* readelf.c (get_stapsdt_note_type): New function.
(process_note): Recognize "stapsdt" notes.

13 years ago * readelf.c (process_corefile_note_segment): Change header field
Tom Tromey [Tue, 26 Apr 2011 13:07:47 +0000 (13:07 +0000)]
* readelf.c (process_corefile_note_segment): Change header field
widths.
(process_note): Change field widths.

13 years agosim: gpio: add output support
Mike Frysinger [Tue, 26 Apr 2011 05:47:14 +0000 (05:47 +0000)]
sim: gpio: add output support

Make all of the pins bidirectional, and support sending signals when
software drives the pins as outputs.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agosim: gpio: update mask a/b signals better
Mike Frysinger [Tue, 26 Apr 2011 05:46:02 +0000 (05:46 +0000)]
sim: gpio: update mask a/b signals better

When the mask a/b MMRs are written, the output signal might change levels
(as pins are [un]masked), so make sure we update the output level.

Further, make sure we handle edge ints correctly by first sending a high
signal followed by a low signal.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago*** empty log message ***
gdbadmin [Tue, 26 Apr 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
Alan Modra [Tue, 26 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago * ppc-opc.c: (powerpc_opcodes): Enable icswx for POWER7.
Alan Modra [Mon, 25 Apr 2011 23:11:21 +0000 (23:11 +0000)]
* ppc-opc.c: (powerpc_opcodes): Enable icswx for POWER7.

13 years ago * incremental-dump.cc (dump_incremental_inputs): Print local
Cary Coutant [Mon, 25 Apr 2011 20:28:48 +0000 (20:28 +0000)]
* incremental-dump.cc (dump_incremental_inputs): Print local
symbol info for each input file.
* incremental.cc
(Output_section_incremental_inputs::set_final_data_size): Add local
symbol info to input file entries in incremental info.
(Output_section_incremental_inputs::write_info_blocks): Likewise.
(Sized_incr_relobj::Sized_incr_relobj): Initialize new data members.
(Sized_incr_relobj::do_add_symbols): Cosmetic change.
(Sized_incr_relobj::do_count_local_symbols): Replace stub with
implementation.
(Sized_incr_relobj::do_finalize_local_symbols): Likewise.
(Sized_incr_relobj::do_relocate): Write the local symbols.
(Sized_incr_dynobj::do_add_symbols): Cosmetic change.
* incremental.h (Incremental_inputs_reader::get_symbol_offset):
Adjust size of input file header.
(Incremental_inputs_reader::get_local_symbol_offset): New function.
(Incremental_inputs_reader::get_local_symbol_count): New function.
(Incremental_inputs_reader::get_input_section): Adjust size of input
file header.
(Incremental_inputs_reader::get_global_symbol_reader): Likewise.
(Sized_incr_relobj::This): New typedef.
(Sized_incr_relobj::sym_size): New const data member.
(Sized_incr_relobj::Local_symbol): New struct.
(Sized_incr_relobj::do_output_local_symbol_count): New function.
(Sized_incr_relobj::do_local_symbol_offset): New function.
(Sized_incr_relobj::local_symbol_count_): New data member.
(Sized_incr_relobj::output_local_dynsym_count_): New data member.
(Sized_incr_relobj::local_symbol_index_): New data member.
(Sized_incr_relobj::local_symbol_offset_): New data member.
(Sized_incr_relobj::local_dynsym_offset_): New data member.
(Sized_incr_relobj::local_symbols_): New data member.
* object.h (Relobj::output_local_symbol_count): New function.
(Relobj::local_symbol_offset): New function.
(Relobj::do_output_local_symbol_count): New function.
(Relobj::do_local_symbol_offset): New function.
(Sized_relobj::do_output_local_symbol_count): New function.
(Sized_relobj::do_local_symbol_offset): New function.

13 years agogdb/
Jan Kratochvil [Mon, 25 Apr 2011 19:38:16 +0000 (19:38 +0000)]
gdb/
* elfread.c (elf_symfile_read): Protect dwarf2_initialize_objfile by
!objfile_has_partial_symbols.  New comment.
* objfiles.c (objfile_has_partial_symbols): Call HAS_SYMBOLS if
SYM_READ_PSYMBOLS is not present. Extend the comment.
* symfile.h (struct sym_fns): Extend the sym_read_psymbols comment.

gdb/testsuite/
* gdb.base/gdbindex-stabs-dwarf.c: New file.
* gdb.base/gdbindex-stabs.c: New file.
* gdb.base/gdbindex-stabs.exp: New file.

13 years agogdb/
Jan Kratochvil [Mon, 25 Apr 2011 18:28:53 +0000 (18:28 +0000)]
gdb/
* defs.h (ENUM_BITFIELD): Remove.

include/
* bfdlink.h (ENUM_BITFIELD): Remove.

merge from gcc:
include/
* ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.

13 years ago * readelf.c (print_gnu_note): New function.
Tom Tromey [Mon, 25 Apr 2011 14:53:27 +0000 (14:53 +0000)]
* readelf.c (print_gnu_note): New function.
(process_note): Use it.

13 years ago2011-04-25 Yao Qi <yao@codesourcery.com>
Yao Qi [Mon, 25 Apr 2011 03:18:44 +0000 (03:18 +0000)]
2011-04-25  Yao Qi  <yao@codesourcery.com>

* gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
with /*...*/.
* gdb.dwarf2/dw2-modula2-self-type.S: Likewise.

13 years ago*** empty log message ***
gdbadmin [Mon, 25 Apr 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
Alan Modra [Mon, 25 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago PR ld/12365
Alan Modra [Sun, 24 Apr 2011 10:02:14 +0000 (10:02 +0000)]
PR ld/12365
PR ld/12696
include/
* bfdlink.h (ENUM_BITFIELD): Define.
(struct bfd_link_hash_entry): Make "type" a bitfield.  Add "non_ir_ref".
(struct bfd_link_callbacks <notice>): Pass bfd_link_hash_entry pointer
rather than "name".
bfd/
* coff-aux.c (coff_m68k_aux_link_add_one_symbol): Update "notice" call.
* linker.c (_bfd_link_hash_newfunc): Clear bitfields.
(_bfd_generic_link_add_one_symbol): Update "notice" call.
* elflink.c (_bfd_elf_merge_symbol): Don't skip weak redefs when
it is a redef of an IR symbol in a real BFD.
ld/
* ldmain.c (notice): Delete "name" param, add "h".
* plugin.c (plugin_notice): Likewise.  Set non_ir_ref.  Handle
redefinitions of IR symbols in real BFDs.
(plugin_multiple_definition, plugin_multiple_common): Delete.
(non_ironly_hash, init_non_ironly_hash): Delete.
(is_visible_from_outside): Traverse entry_symbol chain.
(get_symbols): Use non_ir_ref flag rather than hash lookup.

13 years agogdb/testsuite/
Jan Kratochvil [Sun, 24 Apr 2011 09:04:38 +0000 (09:04 +0000)]
gdb/testsuite/
* gdb.python/py-value.exp (test_objfiles): Name the first test
`py-value in file.filename'.

13 years agogdb/
Jan Kratochvil [Sun, 24 Apr 2011 08:02:21 +0000 (08:02 +0000)]
gdb/
* NEWS: Document the new gdbserver --once option.

gdb/doc/
* gdb.texinfo (Starting and Stopping Trace Experiments): New anchor
for disconnected tracing.
(Multi-Process Mode for @code{gdbserver}): Mention --multi and
extended-remote relationship.  Mention --once.
(TCP port allocation lifecycle of @code{gdbserver}): New.

gdb/gdbserver/
* remote-utils.c (handle_accept_event): Close LISTEN_DESC only if
RUN_ONCE.  Comment for the LISTEN_DESC delete_file_handler call.
(remote_prepare): New function with most of the TCP code from ...
(remote_open): ... here.  Detect PORT here unconditionally.  Move also
setting transport_is_reliable.
* server.c (run_once): New variable.
(gdbserver_usage): Document it.
(main): Set run_once for `--once'.  Call remote_prepare.  Exit after
the first run if RUN_ONCE.
* server.h (run_once, remote_prepare): New declarations.

gdb/testsuite/
* gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
* lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
* lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
!gdbserver_reconnect_p..
(gdbserver_reconnect): Call error if !gdbserver_reconnect_p..

13 years agodaily update
Alan Modra [Sun, 24 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Sun, 24 Apr 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

13 years agoFix indexing of gdbserver section.
Eli Zaretskii [Sat, 23 Apr 2011 05:47:43 +0000 (05:47 +0000)]
Fix indexing of gdbserver section.

* gdb.texinfo (Server): Improve indexing.  Index all optional
switches to gdbserver.

13 years agoWarn relocation in readonly section in a shared object.
H.J. Lu [Sat, 23 Apr 2011 01:16:31 +0000 (01:16 +0000)]
Warn relocation in readonly section in a shared object.

2011-04-22  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_readonly_dynrelocs): Warn relocation
in readonly section in a shared object.
(elf_i386_size_dynamic_sections): Likewise.
* elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.
(elf_x86_64_size_dynamic_sections): Likewise.

13 years ago*** empty log message ***
gdbadmin [Sat, 23 Apr 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
Alan Modra [Sat, 23 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago * descriptors.cc (set_close_on_exec): New function.
Ian Lance Taylor [Fri, 22 Apr 2011 23:20:28 +0000 (23:20 +0000)]
* descriptors.cc (set_close_on_exec): New function.
(Descriptors::open): Use set_close_on_exec.
* output.cc (S_ISLNK): Define if not defined.

13 years ago * incremental.cc (Sized_incremental_binary::setup_readers): Allocate
Cary Coutant [Fri, 22 Apr 2011 22:39:55 +0000 (22:39 +0000)]
* incremental.cc (Sized_incremental_binary::setup_readers): Allocate
global symbol map.
(Sized_incremental_binary::do_apply_incremental_relocs): New function.
(Sized_incr_relobj::do_add_symbols): Add symbols to global symbol map.
(Sized_incr_relobj::do_relocate): Remap section indices in incremental
relocations.
(Sized_incr_dynobj::do_add_symbols): Add symbols to global symbol map.
(Sized_incr_dynobj::do_for_all_global_symbols): Remove FIXME.
(Sized_incr_dynobj::do_for_all_local_got_entries): Likewise.
* incremental.h
(Incremental_inputs_reader::global_symbol_reader_at_offset): New
function.
(Incremental_binary::apply_incremental_relocs): New function.
(Incremental_binary::do_apply_incremental_relocs): New function.
(Sized_incremental_binary::Sized_incremental_binary): Initialize new
data member.
(Sized_incremental_binary::add_global_symbol): New function.
(Sized_incremental_binary::global_symbol): New function.
(Sized_incremental_binary::do_apply_incremental_relocs): New function.
(Sized_incremental_binary::symbol_map_): New data member.
* layout.cc (Layout_task_runner::run): Apply incremental relocations.
* target.h (Sized_target::apply_relocation): New function.
* target-reloc.h (apply_relocation): New function.
* x86_64.cc (Target_x86_64::apply_relocation): New function.

13 years ago2011-04-22 Doug Kwan <dougkwan@google.com>
Doug Kwan [Fri, 22 Apr 2011 21:50:03 +0000 (21:50 +0000)]
2011-04-22  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_output_section::Arm_output_section): Set SHF_LINK_ORDER
flag of a SHT_ARM_EXIDX section.
        * testsuite/Makefile.am (arm_exidx_test): New test rules.
* testsuite/Makefile.in: Regenerate.
* testsuite/arm_exidx_test.s: New file.
* testsuite/arm_exidx_test.sh: Same.

13 years ago * MAINTAINERS: Update my email address.
Jie Zhang [Fri, 22 Apr 2011 02:45:24 +0000 (02:45 +0000)]
* MAINTAINERS: Update my email address.

13 years ago*** empty log message ***
gdbadmin [Fri, 22 Apr 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
Alan Modra [Fri, 22 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years agoSkip local IFUNC symbols when checking dynamic relocs in read-only sections.
H.J. Lu [Thu, 21 Apr 2011 22:25:39 +0000 (22:25 +0000)]
Skip local IFUNC symbols when checking dynamic relocs in read-only sections.

bfd/

2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/12694
* elf32-i386.c (elf_i386_readonly_dynrelocs): Skip local IFUNC
symbols.
* elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.

ld/testsuite/

2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/12694
* ld-ifunc/ifunc-14-i386.d: New.
* ld-ifunc/ifunc-14-x86-64.d: Likewise.
* ld-ifunc/ifunc-14a.s: Likewise.
* ld-ifunc/ifunc-14b.s: Likewise.

13 years agoReturn false on dynamic symbol error.
H.J. Lu [Thu, 21 Apr 2011 21:16:51 +0000 (21:16 +0000)]
Return false on dynamic symbol error.

2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_finish_dynamic_symbol): Return false
on dynamic symbol error.
* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.

13 years ago * gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro.
Pierre Muller [Thu, 21 Apr 2011 14:26:38 +0000 (14:26 +0000)]
* gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro.
(INTERMEDIATE_ENCODING): Change value to intermediate_encoding
function call if __STDC_ISO_10646__ macro is defined.
(intermediate_encoding): New prototype.
* charset.c (your_gdb_wchar_t_is_bogus): New extern test variable
to generate compile time error for unsupported gdb_wchar_t size.
(ENDIAN_SUFFIX): New macro.
(intermediate_encoding): New function.

13 years ago2011-04-21 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 21 Apr 2011 12:22:25 +0000 (12:22 +0000)]
2011-04-21  Tristan Gingold  <gingold@adacore.com>

* scripttempl/alphavms.sc: Add dwarf2 embedding marks.

13 years ago* rx-decode.opc (rx_decode_opcode): Set the syntax for multi-byte NOPs.
DJ Delorie [Thu, 21 Apr 2011 05:48:06 +0000 (05:48 +0000)]
* rx-decode.opc (rx_decode_opcode): Set the syntax for multi-byte NOPs.
* rx-decode.c: Regenerate.

13 years ago*** empty log message ***
gdbadmin [Thu, 21 Apr 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
Alan Modra [Thu, 21 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years agogdb/
Jan Kratochvil [Wed, 20 Apr 2011 19:42:51 +0000 (19:42 +0000)]
gdb/
* ada-lang.c (struct add_partial_datum): Update the comment for
expand_partial_symbol_name.
(ada_add_partial_symbol_completions): Rename to ...
(ada_expand_partial_symbol_name): ... here, change return type, update
function comment, call symbol_completion_match instead of
symbol_completion_add.
(ada_make_symbol_completion_list): Use now expand_partial_symbol_names
and ada_expand_partial_symbol_name.
* dwarf2read.c (dw2_expand_symtabs_matching): Support NULL
FILE_MATCHER.
(dw2_map_symbol_names): Remove.
(dwarf2_gdb_index_functions): Unlist dw2_map_symbol_names.
* psymtab.c (map_symbol_names_psymtab): Remove.
(expand_symtabs_matching_via_partial): Support NULL FILE_MATCHER.
Support KIND == ALL_DOMAIN.  Exchange the NAME_MATCHER and KIND check
order.
(psym_functions): Unlist map_symbol_names_psymtab.
(map_partial_symbol_names): Rename to ...
(expand_partial_symbol_names): ... here, change the FUN type, call
expand_symtabs_matching with ALL_DOMAIN and NULL FILE_MATCHER now.
* psymtab.h (map_partial_symbol_names): Rename to ...
(expand_partial_symbol_names): ... here, change the FUN type.
* symfile.h (struct quick_symbol_functions): Update the description of
expand_symtabs_matching.  Remove map_symbol_names.
* symtab.c (search_symbols): Add ALL_DOMAIN to the function comment.
(struct add_name_data): Update the comment for
expand_partial_symbol_name.
(add_partial_symbol_name): Rename to ...
(expand_partial_symbol_name): ... here.  Replace
completion_list_add_name call by strncmp.
(default_make_symbol_completion_list_break_on): Use now
expand_partial_symbol_names and expand_partial_symbol_name.
* symtab.h (enum search_domain): New element ALL_DOMAIN.

gdb/testsuite/
* gdb.cp/cpcompletion.exp (complete class methods)
(complete class methods beginning with F): Move them above runto.  New
comment about the runto delimiter.

13 years agomerge from gcc
DJ Delorie [Wed, 20 Apr 2011 19:06:46 +0000 (19:06 +0000)]
merge from gcc

13 years ago PR gold/12689
Cary Coutant [Wed, 20 Apr 2011 18:20:51 +0000 (18:20 +0000)]
PR gold/12689
* archive.h (Incremental_archive_entry::Archive_member):
Initialize arg_serial_ (second constructor).