aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-06-28 17:19:39 +0000
committerPedro Alves <palves@redhat.com>2013-06-28 17:19:39 +0000
commit74da6f00a3ba65e1f2d359a59829d796d1ec3a8e (patch)
treec2551c0122f6d9eade8937197b4f69dbec19bc55 /gdb/infrun.c
parentd32dc48ed4bf13a6974ccc12b0e58aa434821d22 (diff)
downloadgdb-74da6f00a3ba65e1f2d359a59829d796d1ec3a8e.zip
gdb-74da6f00a3ba65e1f2d359a59829d796d1ec3a8e.tar.gz
gdb-74da6f00a3ba65e1f2d359a59829d796d1ec3a8e.tar.bz2
Move pagination_enabled declaration to a proper place.
Declare it close to other related declarations in utils.h, and remove local extern declaration hack. gdb/ 2013-06-28 Pedro Alves <palves@redhat.com> * infrun.c (set_observer_mode): Don't declare pagination_enabled here. * utils.h (pagination_enabled): Declare.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index e95f81f..dc1036d 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -219,8 +219,6 @@ static void
set_observer_mode (char *args, int from_tty,
struct cmd_list_element *c)
{
- extern int pagination_enabled;
-
if (target_has_execution)
{
observer_mode_1 = observer_mode;