By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,406 Members | 905 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,406 IT Pros & Developers. It's quick & easy.

gdb and dbx question

P: n/a
P L
I have an app on Solaris 2.8 that cored. The app was compiled with -g
on Solaris 2.6. Both dbx and gdb seems to report incorrect stack
traces. In dbx report, one function takes NULL as arg, which according
to the source code, should return immediately; yet dbx shows quite a
few stack frames on top of that function. In gdb report, some
functions take arguments that are never passed to the functions
according to the source code. On the other hand, dbx and gdb report
similar but different stack pointers, and similar but different
function arguments. They both reports the same functions in the stack
trace. Can someone shed some light?

BTW, I googled the Internet but didn't find a faq on dbx or gdb. Does
any one knows anything about it? Thanks. -PL
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 17 Nov 2003 13:52:17 -0800, in comp.lang.c , js******@yahoo.com (P
L) wrote:
I have an app on Solaris 2.8 that cored. The app was compiled with -g
on Solaris 2.6. Both dbx and gdb seems to report incorrect stack
traces.
try comp.unix.programming, or a group specialising in whtever your
compiler is. unix toolsets are offtopic here.
BTW, I googled the Internet but didn't find a faq on dbx or gdb.


Not trying to be funny, but I found several by googling. I'm not
saying they'd have answered your questions but they're out there.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.