diff options
author | Tom Tromey <tromey@redhat.com> | 2010-07-27 16:58:22 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-07-27 16:58:22 +0000 |
commit | e992ef7345b6ff291c424cac2a056ba09102e64a (patch) | |
tree | a2492fdf3808caf7129f83a8c386d1da48c8cc63 /gdb/testsuite/gdb.python/py-inferior.c | |
parent | abebb8b041dd3eb136abd41181287992f061bf13 (diff) | |
download | gdb-e992ef7345b6ff291c424cac2a056ba09102e64a.zip gdb-e992ef7345b6ff291c424cac2a056ba09102e64a.tar.gz gdb-e992ef7345b6ff291c424cac2a056ba09102e64a.tar.bz2 |
* gdb.stabs/gdb11479.c (hack): New function.
(test): Use it.
(test2): Use it.
* gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
(int32_search_buf, int64_search_buf): No longer static.
(x): Remove.
* gdb.base/relocate.c (hack): New function.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-inferior.c')
-rw-r--r-- | gdb/testsuite/gdb.python/py-inferior.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.python/py-inferior.c b/gdb/testsuite/gdb.python/py-inferior.c index 0b48299..dd83ffc 100644 --- a/gdb/testsuite/gdb.python/py-inferior.c +++ b/gdb/testsuite/gdb.python/py-inferior.c @@ -6,16 +6,14 @@ #define CHUNK_SIZE 16000 /* same as findcmd.c's */ #define BUF_SIZE (2 * CHUNK_SIZE) /* at least two chunks */ -static int8_t int8_search_buf[100]; -static int16_t int16_search_buf[100]; -static int32_t int32_search_buf[100]; -static int64_t int64_search_buf[100]; +int8_t int8_search_buf[100]; +int16_t int16_search_buf[100]; +int32_t int32_search_buf[100]; +int64_t int64_search_buf[100]; static char *search_buf; static int search_buf_size; -static int x; - int f2 (int a) { |