aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-02 16:02:59 +0000
committerRichard Henderson <rth@redhat.com>2003-06-02 16:02:59 +0000
commit6dd77b815f4252948dae6b0a7e467789b09c6bbb (patch)
tree2776aa7f0c3036e5f302fffd78f1dc1c6b457026 /gdb/top.h
parentf6347e16334910d73f974b8b35092a979ddabb04 (diff)
downloadfsf-binutils-gdb-6dd77b815f4252948dae6b0a7e467789b09c6bbb.zip
fsf-binutils-gdb-6dd77b815f4252948dae6b0a7e467789b09c6bbb.tar.gz
fsf-binutils-gdb-6dd77b815f4252948dae6b0a7e467789b09c6bbb.tar.bz2
* top.h (lim_at_start): Declare.
* main.c (captured_main): Set it. * top.c (lim_at_start): Define. (command_loop): Use it instead of &environ. * event-top.c (command_handler): Likewise. * gdb.base/selftest.exp: Next over lim_at_start initialization.
Diffstat (limited to 'gdb/top.h')
-rw-r--r--gdb/top.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/top.h b/gdb/top.h
index ca0b3d1..b103040 100644
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -70,5 +70,6 @@ extern char *source_error;
extern char *source_pre_error;
extern int history_expansion_p;
extern int server_command;
+extern char *lim_at_start;
#endif