From: wang <constant9824@gmail.com>
To: gdb@sourceware.org
Subject: help !why cannot i get core file?
Date: Thu, 13 Sep 2007 09:43:00 -0000 [thread overview]
Message-ID: <9d174ef60709130134n10fec073r6319f337b8cff9d1@mail.gmail.com> (raw)
hi all
i use fedora 7.debug a device based on arm + linux using gdb on
fedora and gdbserver on device.
[root@wang wang]# ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 2560
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 2560
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
[root@wang wang]#
[root@wang wang]# /usr/local/arm-linux/bin/arm-linux-gdb -q
(gdb) file /home/wang/master/master.exe
Reading symbols from /home/wang/master/master.exe...done.
(gdb) target remote 192.168.1.203:2323
Remote debugging using 192.168.1.203:2323
Cannot access memory at address 0x0
0x40001b80 in ?? ()
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
Cannot access memory at address 0x5a4
0x40046ca4 in ?? ()
---------------------------------------------------------
(gdb) q
The program is running. Exit anyway? (y or n) y
[root@wang wang]# ls core.*
ls: cannot access core.*: No such file or directory
[root@wang wang]#
or
---------------------------------------------------------
(gdb) list core.*
Can't find member of namespace, class, struct, or union named "core.*"
Hint: try 'core.*<TAB> or 'core.*<ESC-?>
(Note leading single quote.)
(gdb)
but now i didnot get a core file and i donot know witch line the
error occured at.
and what the "Cannot access memory at address 0x5a40x40046ca4 in ?? ()" mean?
next reply other threads:[~2007-09-13 8:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-13 9:43 wang [this message]
2007-09-13 18:28 ` Jim Blandy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9d174ef60709130134n10fec073r6319f337b8cff9d1@mail.gmail.com \
--to=constant9824@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox