From: Per Fransson <fransson@cs.lth.se>
To: gdb mailing list <gdb@sources.redhat.com>
Subject: solaris multi processor
Date: Thu, 30 Jan 2003 13:34:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.33.0301301422040.4732-100000@ygg> (raw)
Hi,
I'm having trouble using the 'call' command on solaris-2.8 (sparc). It
just doesn't seem to work att all. I get...
"Program received signal SIGSEGV, Segmentation fault.
<function called from gdb>
The program being debugged was signaled while in a function called from
GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on"
Evaluation of the expression containing the function (callee) will be
abandoned."
I'm running this program:
-----
#include <stdio.h>
void main() {
while(1){}
}
void callee() {printf("callee");}
-----
When I attach gdb to it, it looks like this:
-----
Retry #1:
Retry #2:
Retry #3:
Retry #4:
[New LWP 1]
0x00019db4 in main () at testgdb.c:4
4 while(1){}
(gdb)
-----
What's that all about?
I don't know if it's relevant, but it's running on a
multiprocessor.
Any help would be appreciated.
/Per
reply other threads:[~2003-01-30 13:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=Pine.GSO.4.33.0301301422040.4732-100000@ygg \
--to=fransson@cs.lth.se \
--cc=gdb@sources.redhat.com \
/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