This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. a25eb0280d6ae5a791e0e613f42e3197c82d3030
- From: macro at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 12 Jul 2014 00:41:26 -0000
- Subject: gdb and binutils branch master updated. a25eb0280d6ae5a791e0e613f42e3197c82d3030
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via a25eb0280d6ae5a791e0e613f42e3197c82d3030 (commit)
from 2836d43109bdad96f14b405b8996011b5f8879a9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a25eb0280d6ae5a791e0e613f42e3197c82d3030
commit a25eb0280d6ae5a791e0e613f42e3197c82d3030
Author: Maciej W. Rozycki <macro@codesourcery.com>
Date: Sat Jul 12 01:22:25 2014 +0100
gdb/testsuite: Add a way to send multiple init commands
Right now we provide a board info entry, `gdb_init_command', that allows
one to send a single command to GDB before the program to be debugged is
started. This is useful e.g. for slow remote targets to change the
default "remotetimeout" setting. Occasionally I found a need to send
multiple commands instead, however this cannot be achieved with
`gdb_init_command'.
This change therefore extends the mechanism by adding a TCL list of GDB
commands to send, via a board info entry called `gdb_init_commands'.
There is no limit as to the number of commands put there. The old
`gdb_init_command' mechanism remains supported for compatibility with
existing people's environments.
* lib/gdb-utils.exp: New file.
* lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
inline `gdb_init_command' processing.
(gdb_start_cmd): Likewise.
* lib/mi-support.exp (mi_run_cmd): Likewise.
* README: Document `gdb_init_command' and `gdb_init_commands'.
-----------------------------------------------------------------------
Summary of changes:
gdb/testsuite/ChangeLog | 10 +++++++
gdb/testsuite/README | 10 +++++++
gdb/testsuite/lib/{d-support.exp => gdb-utils.exp} | 28 ++++++++-----------
gdb/testsuite/lib/gdb.exp | 9 +++---
gdb/testsuite/lib/mi-support.exp | 6 +++-
5 files changed, 41 insertions(+), 22 deletions(-)
copy gdb/testsuite/lib/{d-support.exp => gdb-utils.exp} (62%)
hooks/post-receive
--
gdb and binutils