aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-24 22:31:19 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-24 22:31:19 +0000
commitca557f44a0548248b83712ade658eefe9c976923 (patch)
tree0f7ee0fa8f59a615a29f07388626d172e876aa2a /gdb/infrun.c
parenta4b6fc86fa32d442efcbfb5c17549e4034d44552 (diff)
downloadgdb-ca557f44a0548248b83712ade658eefe9c976923.zip
gdb-ca557f44a0548248b83712ade658eefe9c976923.tar.gz
gdb-ca557f44a0548248b83712ade658eefe9c976923.tar.bz2
s/Linux/.../
Fix PR gdb/378.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 1efe87b..6ae8f7c 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -1,4 +1,5 @@
-/* Target-struct-independent code to start (run) and stop an inferior process.
+/* Target-struct-independent code to start (run) and stop an inferior
+ process.
Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software
@@ -142,12 +143,12 @@ static int may_follow_exec = MAY_FOLLOW_EXEC;
The simple approach is to single-step until control leaves the
dynamic linker.
- However, on some systems (e.g., Red Hat Linux 5.2) the dynamic
- linker calls functions in the shared C library, so you can't tell
- from the PC alone whether the dynamic linker is still running. In
- this case, we use a step-resume breakpoint to get us past the
- dynamic linker, as if we were using "next" to step over a function
- call.
+ However, on some systems (e.g., Red Hat's 5.2 distribution) the
+ dynamic linker calls functions in the shared C library, so you
+ can't tell from the PC alone whether the dynamic linker is still
+ running. In this case, we use a step-resume breakpoint to get us
+ past the dynamic linker, as if we were using "next" to step over a
+ function call.
IN_SOLIB_DYNSYM_RESOLVE_CODE says whether we're in the dynamic
linker code or not. Normally, this means we single-step. However,