platform/upstream/binutils.git
14 years agoAdd support for gdb.PYTHONDIR as $gdb_datadir/python.
Joel Brobecker [Thu, 24 Jun 2010 22:52:04 +0000 (22:52 +0000)]
Add support for  gdb.PYTHONDIR as $gdb_datadir/python.

Python scripts to be used by GDB can be stored in that directory,
and will be automatically found by the interpreter when importing them.
This patch also sets up <gdb_pythondir>/gdb as the directory where gdb
submodules can be stored.  For now, there is nothing there, but it can
now be added easily without further code changes.

gdb/ChangeLog:
2010-06-24  Joel Brobecker  <brobecker@adacore.com>

        * python/python.c (_initialize_python): Add new "constant"
        PYTHONDIR in gdb module.  Insert this path at the head of
        sys.path. Set gdb.__path__ to gdb.PYTHONDIR + '/gdb' and
        exec its __init__.py script if it exists in that directory.

14 years agoAdd "acc" register. Revise register order and names.
Kevin Buettner [Thu, 24 Jun 2010 20:38:05 +0000 (20:38 +0000)]
Add "acc" register.  Revise register order and names.

14 years ago * psymtab.c (lookup_partial_symbol): Mark definition as static.
Tom Tromey [Thu, 24 Jun 2010 20:17:52 +0000 (20:17 +0000)]
* psymtab.c (lookup_partial_symbol): Mark definition as static.

14 years agogdb/
Jan Kratochvil [Thu, 24 Jun 2010 18:24:03 +0000 (18:24 +0000)]
gdb/
Fix GDB startup on readonly filesystem.
* charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init.

14 years agogdb/
Jan Kratochvil [Thu, 24 Jun 2010 15:17:32 +0000 (15:17 +0000)]
gdb/
Fix PR 9436.
* breakpoint.c (handle_jit_event): New function.
(bpstat_what): Remove enum class, kc, ss, sn, sgl, slr, clr, sr, shl,
jit, err, table and bs_class.  New variables shlib_event, jit_event,
this_action and bptype.  Change bs_class assignments to this_action
assignments.  new unhandled bptype internal error.  Move here
shlib_event and jit_event handling from handle_inferior_event.
* breakpoint.h (enum bpstat_what_main_action): Extend the comment.
Reorder items.  Remove BPSTAT_WHAT_CHECK_SHLIBS and
BPSTAT_WHAT_CHECK_JIT.
* inferior.h (debug_infrun, stop_on_solib_events): New declarations.
* infrun.c (debug_infrun, stop_on_solib_events): Remove static.
(handle_inferior_event): Reinitialize frame and gdbarch after
bpstat_what call.  Move BPSTAT_WHAT_CHECK_SHLIBS and
BPSTAT_WHAT_CHECK_JIT handling to bpstat_what.  Reinitialize even
gdbarch when frame gets reinitialized.

gdb/testsuite/
Test PR 9436.
* gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.

14 years agoAdd command "eval".
Hui Zhu [Thu, 24 Jun 2010 06:12:15 +0000 (06:12 +0000)]
Add command "eval".

14 years ago*** empty log message ***
gdbadmin [Thu, 24 Jun 2010 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Thu, 24 Jun 2010 00:00:08 +0000 (00:00 +0000)]
daily update

14 years agoChangeLog:
Ulrich Weigand [Wed, 23 Jun 2010 12:46:37 +0000 (12:46 +0000)]
ChangeLog:

* infrun.c (handle_inferior_event): Handle presence of single-step
breakpoints for TARGET_WAITKIND_FORKED and TARGET_WAITKIND_VFORKED.
Cancel single-step breakpoints for TARGET_WAITKIND_EXITED,
TARGET_WAITKIND_SIGNALED, and TARGET_WAITKIND_EXECD.
* breakpoint.c (detach_single_step_breakpoints): New function.
(detach_breakpoints): Call it.
(cancel_single_step_breakpoints): New function.
* breakpoint.h (cancel_single_step_breakpoints): Add prototype.

* spu-tdep.c (spu_memory_remove_breakpoint): New function.
(spu_gdbarch_init): Install it.

testsuite/ChangeLog:

* gdb.cell/fork.exp: New file.
* gdb.cell/fork.c: Likewise.
* gdb.cell/fork-spu.c: Likewise.

14 years ago * archive64.c (bfd_elf64_archive_write_armap): Fix buffer overrun
Nathan Sidwell [Wed, 23 Jun 2010 10:21:16 +0000 (10:21 +0000)]
* archive64.c (bfd_elf64_archive_write_armap): Fix buffer overrun
when scaning map.

14 years agogdb/
Jan Kratochvil [Wed, 23 Jun 2010 10:12:14 +0000 (10:12 +0000)]
gdb/
* configure.ac: Always set RDYNAMIC at least as `-rdynamic'.
* configure: Regenerate.

14 years agodaily update
Alan Modra [Wed, 23 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Wed, 23 Jun 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agogas/
Jan Beulich [Tue, 22 Jun 2010 07:43:41 +0000 (07:43 +0000)]
gas/
2010-06-22  Jan Beulich  <jbeulich@novell.com>

PR gas/11732
* config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
symbols named "$".
(i386_intel_operand): Remove bogus handling of pseudo symbols
named "$".
* expr.c (current_location): Remove 'static' and local
declaration.
* expr.h (current_location): Declare.

gas/testsuite/
2010-06-22  Jan Beulich  <jbeulich@novell.com>

PR gas/11732
* gas/i386/jump.d: Adjust.
* gas/i386/jump.s: Add check for branch to 2+$.

14 years ago * lib/gdb.exp (banned_variables_traced): New global variable.
Pierre Muller [Tue, 22 Jun 2010 07:21:29 +0000 (07:21 +0000)]
* lib/gdb.exp (banned_variables_traced): New global variable.
(gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
(gdb_init): Use `trace add variable' instead of obsolete
`trace variable'.

14 years ago2010-06-21 Stan Shebs <stan@codesourcery.com>
Stan Shebs [Tue, 22 Jun 2010 05:03:19 +0000 (05:03 +0000)]
2010-06-21  Stan Shebs  <stan@codesourcery.com>

* gdb.texinfo: Add explicit @node and @appendix for GFDL.
* annotate.texinfo: Ditto.
* gdbint.texinfo: Ditto.
* stabs.texinfo: Ditto.

14 years ago2010-06-22 Hui Zhu <teawater@gmail.com>
Hui Zhu [Tue, 22 Jun 2010 02:15:46 +0000 (02:15 +0000)]
2010-06-22  Hui Zhu  <teawater@gmail.com>

* i386-tdep.c (i386_record_lea_modrm): Change warning to query.
(i386_process_record): Ditto.
* record.c (record_memory_query): New variable.
(_initialize_record): New command "set record memory-query".
* record.h (record_memory_query): New extern.

2010-06-22  Hui Zhu  <teawater@gmail.com>

* gdb.texinfo: (Process Record and Replay): Add documentation
for command "set record memory-query".

14 years ago * i386-tdep.h (i386_displaced_step_copy_insn): Declare.
Doug Evans [Tue, 22 Jun 2010 00:09:10 +0000 (00:09 +0000)]
* i386-tdep.h (i386_displaced_step_copy_insn): Declare.
* i386-tdep.c (i386_displaced_step_copy_insn): New function.
(i386_syscall_p): Change type of lengthp to int.
(i386_displaced_step_fixup): Handle kernels that run one past a
syscall insn.
* i386-linux-tdep.c (i386_linux_init_abi): Use
i386_displaced_step_copy_insn instead of
simple_displaced_step_copy_insn.

14 years ago * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
Doug Evans [Tue, 22 Jun 2010 00:02:07 +0000 (00:02 +0000)]
* gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.

14 years ago*** empty log message ***
gdbadmin [Tue, 22 Jun 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Tue, 22 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago2010-06-21 Sterling Augustine <sterling@tensilica.com>
Sterling Augustine [Mon, 21 Jun 2010 23:56:34 +0000 (23:56 +0000)]
2010-06-21  Sterling Augustine  <sterling@tensilica.com>

PR gas/11728
* as.c: Globalize keep_it.
(main): Remove keep_it. Move conditional from here...
(close_output_file): ...to here.

14 years ago2010-06-21 Rafael Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Mon, 21 Jun 2010 21:21:25 +0000 (21:21 +0000)]
2010-06-21  Rafael Espindola  <espindola@google.com>

* fileread.cc (Input_file::find_fie): New
(Input_file::open): Use Input_file::find_fie.
* fileread.h (Input_file::find_fie): New
* plugin.cc (set_extra_library_path): New.
(Plugin::load): Add set_extra_library_path to the transfer vector.
(Plugin_manager::set_extra_library_path): New.
(Plugin_manager::add_input_file): Use the extra search path if set.
(set_extra_library_path(): New.
* plugin.h (Plugin_manager): Add set_extra_library_path and
extra_search_path_.
2010-06-21  Rafael Espindola  <espindola@google.com>

* plugin-api.h (ld_plugin_set_extra_library_path): New.
(ld_plugin_tag): Add LDPT_SET_EXTRA_LIBRARY_PATH.
(ld_plugin_tv): Add tv_set_extra_library_path.

14 years ago * dwarf2read.c (read_base_type): Handle DW_ATE_UTF.
Tom Tromey [Mon, 21 Jun 2010 19:49:19 +0000 (19:49 +0000)]
* dwarf2read.c (read_base_type): Handle DW_ATE_UTF.
(dwarf_type_encoding_name): Likewise.

14 years ago* bootstrap-lto.mk: New.
Alexandre Oliva [Mon, 21 Jun 2010 19:39:32 +0000 (19:39 +0000)]
* bootstrap-lto.mk: New.

14 years ago * p-valprint.c (pascal_val_print): Use TYPE_ERROR_NAME.
Tom Tromey [Mon, 21 Jun 2010 18:01:51 +0000 (18:01 +0000)]
* p-valprint.c (pascal_val_print): Use TYPE_ERROR_NAME.
* p-typeprint.c (pascal_type_print_base): Use TYPE_ERROR_NAME.
* m2-valprint.c (m2_val_print): Use TYPE_ERROR_NAME.
* gdbtypes.h (TYPE_ERROR_NAME): New macro.
* f-valprint.c (f_val_print): Use TYPE_ERROR_NAME.
* f-typeprint.c (f_type_print_base): Use TYPE_ERROR_NAME.
* dwarf2read.c (tag_type_to_type): Create a new error type on
failure.
* c-valprint.c (c_val_print): Use TYPE_ERROR_NAME.
* c-typeprint.c (c_type_print_base): Use TYPE_ERROR_NAME.

14 years ago2010-06-21 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Mon, 21 Jun 2010 17:38:35 +0000 (17:38 +0000)]
2010-06-21  Michael Snyder  <msnyder@vmware.com>

* breakpoint.c (_initialize_breakpoint): Use add_prefix_cmd,
not add_abbrev_prefix_cmd, for "enable breakpoints".

14 years ago * dwarf2loc.c (find_location_expression): Add relocation offset
Ulrich Weigand [Mon, 21 Jun 2010 16:50:18 +0000 (16:50 +0000)]
* dwarf2loc.c (find_location_expression): Add relocation offset
to base-address-selection entry base addresses.  Read addresses
(and offsets) as signed/unsigned integers, depending on the
BFD's sign_extend_vma flag.  Do not call dwarf2_read_address.
(loclist_describe_location): Likewise.
(disassemble_dwarf_expression): Read DW_OP_addr operand as
unsigned integer.  Do not call dwarf2_read_address.
(locexpr_describe_location): Likewise for DW_OP_GNU_push_tls_address.

14 years ago * dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.
Jakub Jelinek [Mon, 21 Jun 2010 16:39:14 +0000 (16:39 +0000)]
* dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.

14 years ago2010-06-21 Stan Shebs <stan@codesourcery.com>
Stan Shebs [Mon, 21 Jun 2010 16:24:59 +0000 (16:24 +0000)]
2010-06-21  Stan Shebs  <stan@codesourcery.com>

* gdb.texinfo: Relicense under GFDL version 1.3.
* annotate.texinfo: Relicense under GFDL version 1.3.
* gdbint.texinfo: Relicense under GFDL version 1.3.
* stabs.texinfo: Relicense under GFDL version 1.3.
* fdl.texi: Update to version 1.3.

14 years ago* doc/as.texinfo (Overview): Use @itemx for grouped @table
Andreas Schwab [Mon, 21 Jun 2010 10:49:41 +0000 (10:49 +0000)]
* doc/as.texinfo (Overview): Use @itemx for grouped @table
items.
* doc/c-alpha.texi (Alpha Options): Likewise.
* doc/c-arm.texi (ARM Directives): Likewise.
* doc/c-bfin.texi (Blackfin Options): Likewise.
* doc/c-d10v.texi (D10V-Opts): Likewise.
* doc/c-i386.texi (i386-Options): Likewise.
* doc/c-ia64.texi (IA-64 Options): Likewise.
* doc/c-m68k.texi (M68K-Opts): Likewise.
* doc/c-tic54x.texi (TIC54X-Directives): Likewise.
* doc/internals.texi (Symbols): Likewise.

14 years ago PR gas/11733
Alan Modra [Mon, 21 Jun 2010 07:42:55 +0000 (07:42 +0000)]
PR gas/11733
* config/tc-sh.c (find_cooked_opcode): Correct array bounds check.

14 years agodaily update
Alan Modra [Mon, 21 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Mon, 21 Jun 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2010-06-20 Ian Lance Taylor <iant@google.com>
Pedro Alves [Sun, 20 Jun 2010 22:23:36 +0000 (22:23 +0000)]
2010-06-20  Ian Lance Taylor  <iant@google.com>
    Pedro Alves  <pedro@codesourcery.com>

* linux-x86-low.c (always_true): Delete.
(EMIT_ASM, EMIT_ASM32): Use an uncondition asm jmp instead of
trying to fool the compiler with always_true.

14 years ago * tracepoint.c (condition_true_at_tracepoint): Don't run compiled
Pedro Alves [Sun, 20 Jun 2010 22:18:48 +0000 (22:18 +0000)]
* tracepoint.c (condition_true_at_tracepoint): Don't run compiled
conditions in gdbserver.

14 years agomessage.txt
Danny Smith [Sun, 20 Jun 2010 09:51:16 +0000 (09:51 +0000)]
message.txt

14 years ago*** empty log message ***
gdbadmin [Sun, 20 Jun 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sun, 20 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago * layout.cc (gdb_sections): Add .debug_types.
Cary Coutant [Sat, 19 Jun 2010 21:11:55 +0000 (21:11 +0000)]
* layout.cc (gdb_sections): Add .debug_types.
(lines_only_debug_sections): Likewise.

14 years ago * spu-tdep.c (spu_frame_unwind_cache): Use LSLR register
Ulrich Weigand [Sat, 19 Jun 2010 17:59:06 +0000 (17:59 +0000)]
* spu-tdep.c (spu_frame_unwind_cache): Use LSLR register
value instead of hard-coded SPU_LS_SIZE.
(spu_software_single_step): Likewise.
* spu-tdep.h (SPU_LS_SIZE): Remove.

14 years agoChangeLog:
Ulrich Weigand [Sat, 19 Jun 2010 17:36:51 +0000 (17:36 +0000)]
ChangeLog:

* spu-multiarch.c (spu_xfer_partial): Wrap around local store
limit on local store memory accesses.
* spu-linux-nat.c (spu_xfer_partial): Likewise.
* spu-tdep.c (spu_lslr): Remove.
(spu_pointer_to_address): Do not truncate addresses.
(spu_integer_to_address): Likewise.
(spu_overlay_new_objfile): Use SPU_OVERLAY_LMA.
* spu-tdep.h: Add comments.
(SPUADDR_SPU): Respect SPU_OVERLAY_LMA bit.
(SPU_OVERLAY_LMA): Define.

gdbserver/ChangeLog:

* spu-low.c (spu_read_memory): Wrap around local store limit.
(spu_write_memory): Likewise.

testsuite/ChangeLog:

* gdb.arch/spu-ls.exp: New file.
* gdb.arch/spu-ls.c: Likewise.

14 years ago*** empty log message ***
gdbadmin [Sat, 19 Jun 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sat, 19 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago2010-06-18 Stan Shebs <stan@codesourcery.com>
Stan Shebs [Fri, 18 Jun 2010 23:06:30 +0000 (23:06 +0000)]
2010-06-18  Stan Shebs  <stan@codesourcery.com>

* osdata.c (get_osdata): Warn separately if target does not report
type list.
(info_osdata_command): Allow empty type, report error if target
does not return available types of OS data.
* linux-nat.c (linux_nat_xfer_osdata): Report list of OS data
types if no annex supplied.

* gdb.texinfo (Operating System Auxiliary Information): Describe
"info os" when no arguments given.

14 years agogas:
Joseph Myers [Fri, 18 Jun 2010 22:44:20 +0000 (22:44 +0000)]
gas:
* config/tc-tic6x.h (tic6x_segment_info_type): Add field
func_units_used.
* config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
(md_assemble): Clear func_units_used for new execute packet.
Check for duplicate functional units and update func_units_used
for instructions using a functional unit.

gas/testsuite:
* gas/tic6x/resource-func-unit-1.d,
gas/tic6x/resource-func-unit-1.l,
gas/tic6x/resource-func-unit-1.s,
gas/tic6x/resource-func-unit-2.d,
gas/tic6x/resource-func-unit-2.l,
gas/tic6x/resource-func-unit-2.s: New.

14 years ago * thread.c (thread_id_make_value): Make a value representing the
Stan Shebs [Fri, 18 Jun 2010 17:44:40 +0000 (17:44 +0000)]
* thread.c (thread_id_make_value): Make a value representing the
current thread.
(_initialize_thread): Create $_thread.

* gdb.texinfo (Debugging Programs with Multiple Threads): Describe
$_thread.

* gdb.threads/thread-specific.exp: Add tests of $_thread.

14 years ago2010-06-18 Rafael Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Fri, 18 Jun 2010 16:53:23 +0000 (16:53 +0000)]
2010-06-18  Rafael Espindola  <espindola@google.com>

* plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library):
Make argument const.

2010-06-18  Rafael Espindola  <espindola@google.com>

* plugin.cc (add_input_file,add_input_library)
(Plugin_manager::add_input_file): Make filename arguments const.
* plugin.h (Plugin_manager::add_input_file): Make filename arguments
const.

14 years ago * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
Ulrich Weigand [Fri, 18 Jun 2010 16:51:10 +0000 (16:51 +0000)]
* gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
* gdb.base/watch-cond.exp: Likewise.
* gdb.python/py-breakpoint.exp: Likewise.

14 years ago * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
Pedro Alves [Fri, 18 Jun 2010 15:08:29 +0000 (15:08 +0000)]
* gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
clean_restart, make sure every test has a distinct message, and
that messages don't include the executable' full path.

14 years ago2010-06-18 Hui Zhu <teawater@gmail.com>
Hui Zhu [Fri, 18 Jun 2010 08:16:15 +0000 (08:16 +0000)]
2010-06-18  Hui Zhu  <teawater@gmail.com>

* gdb.texinfo: (Process Record and Replay): Add documentation
for commands "record save" and "record restore".

14 years agodaily update
Alan Modra [Fri, 18 Jun 2010 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Fri, 18 Jun 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * gdb.arch/i386-size.exp: Updated expected output for
Doug Evans [Thu, 17 Jun 2010 22:55:53 +0000 (22:55 +0000)]
* gdb.arch/i386-size.exp: Updated expected output for
DISASSEMBLY_OMIT_FNAME.

14 years agoMinor reformatting in dwarf2read.c:psymtabs_addrmap_cleanup.
Joel Brobecker [Thu, 17 Jun 2010 22:36:41 +0000 (22:36 +0000)]
Minor reformatting in dwarf2read.c:psymtabs_addrmap_cleanup.

Really a tiny insignificant detail that just happened to catch my attention.
Fixed thusly.

2010-06-17  Joel Brobecker  <brobecker@adacore.com>

        * dwarf2read.c (psymtabs_addrmap_cleanup): Add empty line after
        last local variable declaration.  No real code change.

14 years ago * dwarf2read.c (psymtabs_addrmap_cleanup): New function.
Tom Tromey [Thu, 17 Jun 2010 17:36:54 +0000 (17:36 +0000)]
* dwarf2read.c (psymtabs_addrmap_cleanup): New function.
(dwarf2_build_psymtabs_hard): Use it.  Create addrmap on a
temporary obstack.

14 years ago PR binutils/11711
Nick Clifton [Thu, 17 Jun 2010 13:55:35 +0000 (13:55 +0000)]
    PR binutils/11711
        * windres.c (enum option_values): New enum.
        (long_options): Use separate option number for --include-dir
        option.
        (main): Separate backwards compatibility check from code to
        implement --include-dir.  Check to see if directory exists and do
        not complain if it does.

14 years ago2010-06-17 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 17 Jun 2010 08:19:14 +0000 (08:19 +0000)]
2010-06-17  Tristan Gingold  <gingold@adacore.com>

* Makefile.am (BFD32_BACKENDS_CFILES): Move vms-alpha.c to ...
(BFD64_BACKENDS_CFILES): ... here.
(BFD32_BACKENDS): Move vms-alpha.lo to ...
(BFD64_BACKENDS): ... here.
* Makefile.in: Regenerate.

14 years agooops - omitted from previous delta
Nick Clifton [Thu, 17 Jun 2010 08:17:05 +0000 (08:17 +0000)]
oops - omitted from previous delta

14 years agodaily update
Alan Modra [Thu, 17 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Thu, 17 Jun 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agogdb/ChangeLog:
Sergio Durigan Junior [Wed, 16 Jun 2010 18:30:34 +0000 (18:30 +0000)]
gdb/ChangeLog:

2010-06-16  Sergio Durigan Junior  <sergiodj@redhat.com>
    Jan Kratochvil  <jan.kratochvil@redhat.com>

* breakpoint.c: Include parser-defs.h.
(watchpoint_exp_is_const): New function.
(watch_command_1): Call watchpoint_exp_is_const to check
if the expression is constant.

gdb/doc/ChangeLog:

2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>

* gdb.texinfo: Include information about the correct use
of addresses in the `watch' command.

gdb/testsuite/ChangeLog:

2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Sergio Durigan Junior  <sergiodj@redhat.com>

* gdb.base/watch-notconst.c: New file.
* gdb.base/watch-notconst.S: New file.
* gdb.base/watch-notconst2.c: New file.
* gdb.base/watch-notconst2.S: New file.
* gdb.base/watch-notconst.exp: New file.
* gdb.base/watchpoint.c (global_ptr_ptr): New variable.
(func4): Add operations on `global_ptr_ptr'.
* gdb.base/watchpoint.exp (test_constant_watchpoint): New
routine to test watchpoints created with a constant expression.
(test_inaccessible_watchpoint): Include tests for watchpoints
created with a constant expression.

14 years ago2010-06-16 Doug Kwan <dougkwan@google.com>
Doug Kwan [Wed, 16 Jun 2010 18:19:18 +0000 (18:19 +0000)]
2010-06-16  Doug Kwan  <dougkwan@google.com>

* arm.cc (Target_arm::do_finalize_sections): Do not emit an
.ARM.attributes section if we have not merged any input
attributes sections.

14 years ago PR gas/11673
Nick Clifton [Wed, 16 Jun 2010 16:27:37 +0000 (16:27 +0000)]
    PR gas/11673
        * m68k-opc.c (m68k_opcodes): Remove move.l for isab and later.

        * gas/m68k/p11673.s: New test.
        * gas/m68k/all.exp: Run the new test.

14 years ago2010-06-16 Vincent Rivire <vincent.riviere@freesbee.fr>
Nick Clifton [Wed, 16 Jun 2010 15:12:51 +0000 (15:12 +0000)]
2010-06-16  Vincent Rivire  <vincent.riviere@freesbee.fr>

        PR binutils/11676
        * m68k-dis.c (print_insn_arg): Prefix float constants with #0e.

2010-06-16  Nick Clifton  <nickc@redhat.com>

        PR binutils/11676
        * gas/m68k/pr11676.s: New test.
        * gas/m68k/pr11676.d: Expected disassembly.
        * gas/m68k/all.exp: Run the new test.

14 years ago * gmon_io.c (gmon_out_read): Remove double fclose of input file.
Nick Clifton [Wed, 16 Jun 2010 08:04:21 +0000 (08:04 +0000)]
    * gmon_io.c (gmon_out_read): Remove double fclose of input file.

14 years agobfd:
Joseph Myers [Wed, 16 Jun 2010 00:36:04 +0000 (00:36 +0000)]
bfd:
* elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Decrease to 2.
* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type,
elf32_tic6x_merge_arch_attributes, elf32_tic6x_merge_attributes,
elf32_tic6x_merge_private_bfd_data): New.
(bfd_elf32_bfd_merge_private_bfd_data,
elf_backend_obj_attrs_arg_type, elf_backend_obj_attrs_section,
elf_backend_obj_attrs_section_type, elf_backend_obj_attrs_vendor):
Define.
* elf32-tic6x.h (elf32_tic6x_merge_arch_attributes): Declare.

binutils:
* readelf.c (display_tic6x_attribute, process_tic6x_specific):
New.
(process_arch_specific): Call process_tic6x_specific for
EM_TI_C6000.

gas:
* config/tc-tic6x.c: Include elf/tic6x.h.
(tic6x_arch_attribute, tic6x_seen_insns): New.
(tic6x_arch_table, tic6x_arches): Add attribute values.
(tic6x_use_arch): Handle attribute settings.
(tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
tic6x_attribute_table, tic6x_attributes,
tic6x_convert_symbolic_attribute): New.
(md_pseudo_table): Add c6xabi_attribute.
(md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
(tic6x_set_attribute_int, tic6x_set_attributes): New.
(tic6x_end): Call tic6x_set_attributes.
* config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
(tic6x_convert_symbolic_attribute): Declare.

gas/testsuite:
* gas/elf/elf.exp: Set target_machine for tic6x-*-*.
* gas/elf/section2.e-tic6x, gas/tic6x/attr-arch-directive-1.d,
gas/tic6x/attr-arch-directive-1.s,
gas/tic6x/attr-arch-directive-2.d,
gas/tic6x/attr-arch-directive-2.s,
gas/tic6x/attr-arch-directive-3.d,
gas/tic6x/attr-arch-directive-3.s,
gas/tic6x/attr-arch-directive-4.d,
gas/tic6x/attr-arch-directive-4.s,
gas/tic6x/attr-arch-directive-5.d,
gas/tic6x/attr-arch-directive-5.s,
gas/tic6x/attr-arch-opts-c62x.d, gas/tic6x/attr-arch-opts-c64x+.d,
gas/tic6x/attr-arch-opts-c64x.d, gas/tic6x/attr-arch-opts-c674x.d,
gas/tic6x/attr-arch-opts-c67x+.d, gas/tic6x/attr-arch-opts-c67x.d,
gas/tic6x/attr-arch-opts-none-1.d,
gas/tic6x/attr-arch-opts-none-2.d,
gas/tic6x/attr-arch-opts-override-1.d,
gas/tic6x/attr-arch-opts-override-2.d, gas/tic6x/empty.s: New.

include/elf:
* tic6x-attrs.h: New.
* tic6x.h: Include elf/tic6x-attrs.h for attribute table.
(C6XABI_Tag_CPU_arch_none, C6XABI_Tag_CPU_arch_C62X,
C6XABI_Tag_CPU_arch_C67X, C6XABI_Tag_CPU_arch_C67XP,
C6XABI_Tag_CPU_arch_C64X, C6XABI_Tag_CPU_arch_C64XP,
C6XABI_Tag_CPU_arch_C674X): Define.

ld:
* emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.

ld/testsuite:
* ld-elf/orphan3.d: Allow section names starting '_'.
* ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d,
ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d,
ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d,
ld-tic6x/attr-arch-c62x.s, ld-tic6x/attr-arch-c64x+-c62x.d,
ld-tic6x/attr-arch-c64x+-c64x+.d, ld-tic6x/attr-arch-c64x+-c64x.d,
ld-tic6x/attr-arch-c64x+-c674x.d,
ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d,
ld-tic6x/attr-arch-c64x+.s, ld-tic6x/attr-arch-c64x-c62x.d,
ld-tic6x/attr-arch-c64x-c64x+.d, ld-tic6x/attr-arch-c64x-c64x.d,
ld-tic6x/attr-arch-c64x-c674x.d, ld-tic6x/attr-arch-c64x-c67x+.d,
ld-tic6x/attr-arch-c64x-c67x.d, ld-tic6x/attr-arch-c64x.s,
ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d,
ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d,
ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d,
ld-tic6x/attr-arch-c674x.s, ld-tic6x/attr-arch-c67x+-c62x.d,
ld-tic6x/attr-arch-c67x+-c64x+.d, ld-tic6x/attr-arch-c67x+-c64x.d,
ld-tic6x/attr-arch-c67x+-c674x.d,
ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d,
ld-tic6x/attr-arch-c67x+.s, ld-tic6x/attr-arch-c67x-c62x.d,
ld-tic6x/attr-arch-c67x-c64x+.d, ld-tic6x/attr-arch-c67x-c64x.d,
ld-tic6x/attr-arch-c67x-c674x.d, ld-tic6x/attr-arch-c67x-c67x+.d,
ld-tic6x/attr-arch-c67x-c67x.d, ld-tic6x/attr-arch-c67x.s: New.

14 years ago*** empty log message ***
gdbadmin [Wed, 16 Jun 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Wed, 16 Jun 2010 00:00:06 +0000 (00:00 +0000)]
daily update

14 years ago2010-06-15 Viktor Kutuzov <vkutuzov@accesssoftek.com>
Doug Kwan [Tue, 15 Jun 2010 23:51:51 +0000 (23:51 +0000)]
2010-06-15  Viktor Kutuzov  <vkutuzov@accesssoftek.com>

        * arm.cc: Allow combining objects with no EABI version
        information.

14 years ago * elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Define.
Joseph Myers [Tue, 15 Jun 2010 23:10:10 +0000 (23:10 +0000)]
* elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Define.
(struct elf_backend_data): Update comment on obj_attrs_order.
* elf-attrs.c (vendor_obj_attr_size, vendor_set_obj_attr_contents,
_bfd_elf_copy_obj_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE
instead of hardcoded 4.
* elf32-arm.c (elf32_arm_obj_attrs_order): Use
LEAST_KNOWN_OBJ_ATTRIBUTE and LEAST_KNOWN_OBJ_ATTRIBUTE + 1
instead of hardcoded 4 and 5.
(elf32_arm_merge_eabi_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE
instead of hardcoded 4.

14 years ago2010-06-15 Rafael Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Tue, 15 Jun 2010 19:22:25 +0000 (19:22 +0000)]
2010-06-15  Rafael Espindola  <espindola@google.com>

* plugin.cc (Plugin_hook::run): Set in_real_elf for the start symbol.

14 years ago* configure.ac: Check for RDYNAMIC also for cross builds.
Andreas Schwab [Tue, 15 Jun 2010 18:37:18 +0000 (18:37 +0000)]
* configure.ac: Check for RDYNAMIC also for cross builds.
* configure: Regenerate.

14 years ago * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
Pedro Alves [Tue, 15 Jun 2010 17:57:38 +0000 (17:57 +0000)]
* Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
(SFILES): Remove solib-null.c, add solib-target.c.
(COMMON_OBS): Remove solib-null.o, add solib-target.o.
(ALLDEPFILES): Remove solib-target.c.
* solib-target.c (_initialize_solib_target): Set
current_target_so_ops to solib_target_so_ops if not already set.
* solib-null.c: Delete.

14 years ago * fileread.cc: Only #include <sys/uio.h> if HAVE_READV.
Ian Lance Taylor [Tue, 15 Jun 2010 16:54:26 +0000 (16:54 +0000)]
* fileread.cc: Only #include <sys/uio.h> if HAVE_READV.
(struct iovec): Correct !HAVE_READV definition.

14 years ago * linux-x86-low.c (amd64_emit_const, amd64_emit_void_call_2)
Pedro Alves [Tue, 15 Jun 2010 10:44:48 +0000 (10:44 +0000)]
* linux-x86-low.c (amd64_emit_const, amd64_emit_void_call_2)
(i386_emit_const, i386_emit_void_call_2): Replace int64_t uses with
LONGEST uses.
* server.h (struct emit_ops): Replace int64_t uses with LONGEST
uses.
* tracepoint.c (emit_const, emit_void_call_2): Replace int64_t
uses with LONGEST uses.

14 years agodaily update
Alan Modra [Tue, 15 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Tue, 15 Jun 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agogdb/
Pedro Alves [Mon, 14 Jun 2010 22:16:09 +0000 (22:16 +0000)]
gdb/
2010-06-14  Pedro Alves  <pedro@codesourcery.com>

* NEWS: Mention GDBserver's JIT compilation of tracepoint
bytecode.

gdb/gdbserver/
2010-06-14  Stan Shebs  <stan@codesourcery.com>
    Pedro Alves  <pedro@codesourcery.com>

Bytecode compiler.

* linux-x86-low.c: Include limits.h.
(add_insns): New.
(always_true): New.
(EMIT_ASM): New.
(EMIT_ASM32): New.
(amd64_emit_prologue, amd64_emit_epilogue, amd64_emit_add)
(amd64_emit_sub, amd64_emit_mul, amd64_emit_lsh)
(amd64_emit_rsh_signed, amd64_emit_rsh_unsigned, amd64_emit_ext,
(amd64_emit_log_not, amd64_emit_bit_and, amd64_emit_bit_or)
(amd64_emit_bit_xor, amd64_emit_bit_not, amd64_emit_equal,
(amd64_emit_less_signed, amd64_emit_less_unsigned, amd64_emit_ref,
(amd64_emit_if_goto, amd64_emit_goto, amd64_write_goto_address)
(amd64_emit_const, amd64_emit_call, amd64_emit_reg)
(amd64_emit_pop, amd64_emit_stack_flush, amd64_emit_zero_ext)
(amd64_emit_swap, amd64_emit_stack_adjust, amd64_emit_int_call_1)
(amd64_emit_void_call_2): New.
(amd64_emit_ops): New.
(i386_emit_prologue, i386_emit_epilogue, i386_emit_add)
(i386_emit_sub,i386_emit_mul, i386_emit_lsh, i386_emit_rsh_signed)
(i386_emit_rsh_unsigned, i386_emit_ext, i386_emit_log_not)
(i386_emit_bit_and, i386_emit_bit_or, i386_emit_bit_xor)
(i386_emit_bit_not, i386_emit_equal, i386_emit_less_signed)
(i386_emit_less_unsigned, i386_emit_ref, i386_emit_if_goto)
(i386_emit_goto, i386_write_goto_address, i386_emit_const)
(i386_emit_call, i386_emit_reg, i386_emit_pop)
(i386_emit_stack_flush, i386_emit_zero_ext, i386_emit_swap)
(i386_emit_stack_adjust, i386_emit_int_call_1)
(i386_emit_void_call_2): New.
(i386_emit_ops): New.
(x86_emit_ops): New.
(the_low_target): Install x86_emit_ops.
* server.h (struct emit_ops): New.
(get_raw_reg_func_addr): Declare.
(current_insn_ptr, emit_error): Declare.
* tracepoint.c (get_raw_reg, get_trace_state_variable_value)
(set_trace_state_variable_value): New defines.
(struct ipa_sym_addresses): New fields addr_get_raw_reg,
addr_get_trace_state_variable_value and
addr_set_trace_state_variable_value.
(symbol_list): New fields for get_raw_reg,
get_trace_state_variable_value and set_trace_state_variable_value.
(condfn): New typedef.
(struct tracepoint): New field `compiled_cond'.
(do_action_at_tracepoint): Clear compiled_cond.
(get_trace_state_variable_value, set_trace_state_variable_value):
Export in the IPA.
(condition_true_at_tracepoint): If there's a compiled condition,
run that.
(current_insn_ptr, emit_error): New globals.
(struct bytecode_address): New.
(get_raw_reg_func_addr): New.
(emit_prologue, emit_epilogue, emit_add, emit_sub, emit_mul)
(emit_lsh, emit_rsh_signed, emit_rsh_unsigned, emit_ext)
(emit_log_not, emit_bit_and, emit_bit_or, emit_bit_xor)
(emit_bit_not, emit_equal, emit_less_signed, emit_less_unsigned)
(emit_ref, emit_if_goto, emit_goto, write_goto_address, emit_const)
(emit_reg, emit_pop, emit_stack_flush, emit_zero_ext, emit_swap)
(emit_stack_adjust, emit_int_call_1, emit_void_call_2): New.
(compile_tracepoint_condition, compile_bytecodes): New.
* target.h (emit_ops): Forward declare.
(struct target_ops): New field emit_ops.
(target_emit_ops): New.
* linux-amd64-ipa.c (gdb_agent_get_raw_reg): New.
* linux-i386-ipa.c (gdb_agent_get_raw_reg): New.
* linux-low.c (linux_emit_ops): New.
(linux_target_ops): Install it.
* linux-low.h (struct linux_target_ops): New field emit_ops.

14 years agomerge from gcc
DJ Delorie [Mon, 14 Jun 2010 19:23:23 +0000 (19:23 +0000)]
merge from gcc

14 years agoExamine instruction at label `start' instead of `_start'.
Kevin Buettner [Mon, 14 Jun 2010 19:21:11 +0000 (19:21 +0000)]
Examine instruction at label `start' instead of `_start'.

14 years ago * elf32-h8300.c (elf_symbol_leading_char): Define.
Kevin Buettner [Mon, 14 Jun 2010 18:43:46 +0000 (18:43 +0000)]
* elf32-h8300.c (elf_symbol_leading_char): Define.

14 years ago * cp-valprint.c (cp_print_static_field): Members of
Ulrich Weigand [Mon, 14 Jun 2010 16:09:58 +0000 (16:09 +0000)]
* cp-valprint.c (cp_print_static_field): Members of
dont_print_stat_array_obstack are of type "struct type *".
(_initialize_cp_valprint): Likewise.

14 years ago * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
Ulrich Weigand [Mon, 14 Jun 2010 15:45:33 +0000 (15:45 +0000)]
* gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
not supported on the target.
* gdb.mi/mi-nonstop-exit.exp: Likewise.
* gdb.mi/mi-ns-stale-regcache.exp: Likewise.
* gdb.mi/mi-nsintrall.exp: Likewise.
* gdb.mi/mi-nsmoribund.exp: Likewise.
* gdb.mi/mi-nsthrexec.exp: Likewise.

14 years agogas/
Alan Modra [Mon, 14 Jun 2010 14:48:05 +0000 (14:48 +0000)]
gas/
* config/tc-ppc.c (md_assemble): Emit APUinfo section for
PPC_OPCODE_E500.
gas/testsuite/
* gas/ppc/e500.s: Add eieio, mbar and lwsync
* gas/ppc/e500.d: Likewise.
include/opcode/
* ppc.h (PPC_OPCODE_E500): Define.
opcodes/
* ppc-dis.c (ppc_opts):  Remove PPC_OPCODE_E500MC from e500 and
e500x2. Add PPC_OPCODE_E500 to e500 and e500x2
* ppc-opc.c (powerpc_opcodes): Deprecate all opcodes on EFS which
touch floating point regs and are enabled by COM, PPC or PPCCOM.
Treat sync as msync on e500.  Treat eieio as mbar 1 on e500.
Treat lwsync as msync on e500.

14 years ago * linux-ppc-low.c (ppc_arch_setup): Use private regcache to test MSR.
Ulrich Weigand [Mon, 14 Jun 2010 13:53:04 +0000 (13:53 +0000)]
* linux-ppc-low.c (ppc_arch_setup): Use private regcache to test MSR.
* linux-s390-low.c (ppc_arch_setup): Use private regcache to test PSW.

14 years ago * frame.c (frame_register_unwind): Do not access contents
Ulrich Weigand [Mon, 14 Jun 2010 12:10:56 +0000 (12:10 +0000)]
* frame.c (frame_register_unwind): Do not access contents
of "optimized out" unwound register value.

14 years agogdb/
Jan Kratochvil [Mon, 14 Jun 2010 08:26:57 +0000 (08:26 +0000)]
gdb/
* ada-lang.h (ada_print_type): Make varstring const.
* ada-typeprint.c (print_func_type): Make name const.
(ada_print_type): Make varstring const.
* c-lang.h (c_print_type): Make varstring const.
* c-typeprint.c (c_print_type): Likewise.
* f-lang.h (f_print_type): Likewise.
* f-typeprint.c (f_print_type): Likewise.
* jv-lang.h (java_print_type): Likewise.
* jv-typeprint.c (java_print_type): Likewise.
* language.c (unk_lang_print_type): Likewise.
* language.h (struct language_defn) <la_print_type>: Likewise.
* m2-lang.h (m2_print_type): Likewise.
* m2-typeprint.c (m2_print_type): Likewise.
* p-lang.h (pascal_print_type): Likewise.
* p-typeprint.c (pascal_print_type): Likewise.

14 years agodaily update
Alan Modra [Mon, 14 Jun 2010 00:00:10 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Mon, 14 Jun 2010 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
gdbadmin [Sun, 13 Jun 2010 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sun, 13 Jun 2010 00:00:07 +0000 (00:00 +0000)]
daily update

14 years ago2010-06-11 Stan Shebs <stan@codesourcery.com>
Stan Shebs [Sat, 12 Jun 2010 00:05:22 +0000 (00:05 +0000)]
2010-06-11  Stan Shebs  <stan@codesourcery.com>

Add per-operation permission flags.

* target.h (struct target_ops): New method to_set_permissions.
(target_set_permissions): New macro.
(target_insert_breakpoint): Change macro to function.
(target_remove_breakpoint): Ditto.
(target_stop): Ditto.
(may_write_registers): Declare.
(may_write_memory): Declare.
(may_insert_breakpoints): Declare.
(may_insert_tracepoints): Declare.
(may_insert_fast_tracepoints): Declare.
(may_stop): Declare.
* target.c (may_write_registers, may_write_registers_1): New globals.
(may_write_memory, may_write_memory_1): New globals.
(may_insert_breakpoints, may_insert_breakpoints_1): New globals.
(may_insert_tracepoints, may_insert_tracepoints_1): New globals.
(may_insert_fast_tracepoints, may_insert_fast_tracepoints_1): New
globals.
(may_stop, may_stop_1): New global.
(target_xfer_partial): Test for write permission.
(target_store_registers): Ditto.
(target_insert_breakpoint): New function.
(target_remove_breakpoint): New function.
(target_stop): New function.
(_initialize_targets): Add new set/show variables.
(set_write_memory_permission): New function.
(update_target_permissions): New function.
(set_target_permissions): New function.
(update_current_target): Default to_set_permissions.
(_initialize_targets): Use new globals and setter function.
* tracepoint.c (start_tracing): Test for permission.
* inferior.h (update_observer_mode): Declare.
* infrun.c (non_stop_1): Define earlier.
(observer_mode, observer_mode_1): New globals.
(set_observer_mode, show_observer_mode): New functions.
(update_observer_mode): New function.
(_initialize_infrun): Define "set observer" command.
* remote.c (PACKET_QAllow): New optional packet.
(remote_protocol_features): Add QAllow.
(remote_set_permissions): New function.
(remote_start_remote): Call it.
(init_remote_ops): Add it to target vector.
(_initialize_remote): Add config command for QAllow.

* gdb.texinfo (Observer Mode): New section.
(General Query Packets): Document QAllow.

* gdb.base/permissions.exp: New file.

14 years ago*** empty log message ***
gdbadmin [Sat, 12 Jun 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sat, 12 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
Ulrich Weigand [Fri, 11 Jun 2010 23:27:22 +0000 (23:27 +0000)]
* gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
does not support ELF executable class.

14 years ago * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
Ulrich Weigand [Fri, 11 Jun 2010 23:25:59 +0000 (23:25 +0000)]
* gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.

14 years agogdb/testsuite/
Jan Kratochvil [Fri, 11 Jun 2010 21:58:20 +0000 (21:58 +0000)]
gdb/testsuite/
* lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
(runto): Catch "The target does not support running in non-stop mode.".

14 years agobfd/
Jan Kratochvil [Fri, 11 Jun 2010 21:12:11 +0000 (21:12 +0000)]
bfd/
* vms-alpha.c (_bfd_vms_write_egsd): Make sname const.

14 years ago2010-06-11 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 11 Jun 2010 20:56:06 +0000 (20:56 +0000)]
2010-06-11  Michael Snyder  <msnyder@vmware.com>

* gdb.base/setshow.exp (set language asm): Don't use
gdb_test_no_output, fails on some targets.