diff options
author | Patrick Palka <patrick@parcs.ath.cx> | 2015-07-25 15:41:05 -0400 |
---|---|---|
committer | Patrick Palka <patrick@parcs.ath.cx> | 2015-07-25 15:57:00 -0400 |
commit | 5836a818eccb180d75c92ce4c861abb6fe8dec23 (patch) | |
tree | 624044ca5df5a6c192e47933a735ab4fe9aaea71 /gdb | |
parent | b8cc7b2e9afab37eb9a7cff0d3ae4ebbcf7d494f (diff) | |
download | gdb-5836a818eccb180d75c92ce4c861abb6fe8dec23.zip gdb-5836a818eccb180d75c92ce4c861abb6fe8dec23.tar.gz gdb-5836a818eccb180d75c92ce4c861abb6fe8dec23.tar.bz2 |
Revert "Sync readline/ to version 7.0 alpha"
This reverts commit b558ff043d41ba8d17a82f5f9ae5f9dade66160e.
This reverts commit 4a11f2065906976675808364ddbd1c0f77eea41f.
The initial import commit failed to retain local changes made to
readline's configure.in (and the commit message erroneously stated that
there were no local changes that needed to be reapplied). Also the
import caused a couple of build errors and a scattering of testsuite
regressions throughout many arches. It's probably better to start over
with this import, hopefully more carefully next time.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/completer.c | 2 | ||||
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.gdb/selftest.exp | 23 |
4 files changed, 4 insertions, 32 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 732e026..0061bff 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,8 +1,3 @@ -2015-07-25 Patrick Palka <patrick@parcs.ath.cx> - - * completer.c (gdb_printable_part): Sync with readline function - it is based off of. - 2015-07-24 Pedro Alves <palves@redhat.com> * s390-linux-nat.c (fetch_regs, store_regs, fetch_fpregs) diff --git a/gdb/completer.c b/gdb/completer.c index b245017..d1ebf67 100644 --- a/gdb/completer.c +++ b/gdb/completer.c @@ -1318,7 +1318,7 @@ gdb_printable_part (char *pathname) return (pathname); temp = strrchr (pathname, '/'); -#if defined (__MSDOS__) || defined (_WIN32) +#if defined (__MSDOS__) if (temp == 0 && ISALPHA ((unsigned char)pathname[0]) && pathname[1] == ':') temp = pathname + 1; #endif diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 128023c..1faf1ab 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -14,12 +14,6 @@ (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs of $GDB_PARALLEL. -2015-07-25 Patrick Palka <patrick@parcs.ath.cx> - - * gdb.gdb/selftest.exp (test_with_self): Update test to now - expect the GDB inferior to no longer immediately stop after - being resumed with "signal SIGINT". - 2015-07-24 Doug Evans <dje@google.com> * gdb.perf/README: New file. diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp index 706fca9..9f25a48 100644 --- a/gdb/testsuite/gdb.gdb/selftest.exp +++ b/gdb/testsuite/gdb.gdb/selftest.exp @@ -444,26 +444,9 @@ proc test_with_self { executable } { } set description "send SIGINT signal to child process" - gdb_test_multiple "signal SIGINT" "$description" { - -re "^signal SIGINT\r\nContinuing with signal SIGINT.\r\nQuit\r\n.* $" { - pass "$description" - } - } - - set description "send ^C to child process again" - send_gdb "\003" - gdb_expect { - -re "Program received signal SIGINT.*$gdb_prompt $" { - pass "$description" - } - -re ".*$gdb_prompt $" { - fail "$description" - } - timeout { - fail "$description (timeout)" - } - } - + gdb_test "signal SIGINT" \ + "Continuing with signal SIGINT.*" \ + "$description" # get a stack trace # |