This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug backtrace/15668] New: Cannot find bounds of current function
- From: "vijunag at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 24 Jun 2013 06:31:16 +0000
- Subject: [Bug backtrace/15668] New: Cannot find bounds of current function
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15668
Bug ID: 15668
Summary: Cannot find bounds of current function
Product: gdb
Version: 7.5
Status: NEW
Severity: normal
Priority: P2
Component: backtrace
Assignee: unassigned at sourceware dot org
Reporter: vijunag at gmail dot com
I recently upgraded my compiler to gcc-4.7.2/glibc-2.17. Im unable to debug the
executable after calls to few functions which have hand written assembly in
glibc.
Below are the gdb debugging excerpts when one line at a time are executed.
(gdb) r
Failed to read a valid object file image from memory.
Breakpoint 1, main (argc=5, argv=0xbffff784, env=0xbffff79c) at main.c:205
205 int main(int argc, char **argv, char **env) {
(gdb) n
220 FILE *rva = fopen("/proc/sys/kernel/randomize_va_space", "r+");
(gdb) n
221 if (rva) {
(gdb)
222 int val=0;
(gdb)
224 if (1==fscanf(rva, "%d", &val)) {
(gdb)
225 if (val) {
(gdb)
237 fclose(rva);
(gdb)
242 } else if (val) {
(gdb)
273 main_config.argv0short = strrchr(argv[0], '/');
(gdb)
0x08048430 in ?? ()
(gdb)
Cannot find bounds of current function
(gdb)
Cannot find bounds of current function
(gdb)
However if I step-into strrchr function I can proceed debugging further.
--
You are receiving this mail because:
You are on the CC list for the bug.