lkml.org 
[lkml]   [2003]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectgdb on 2.2/2.4
Date
Hello!

[ CC me please - I'm not subscribed ]

Couple of issues. I hope RH8 kernels not much /patched/
comparing to vanilla in this respect.

1. gdb doesn't work on 2.4 - if app got SIGSEGV - I cannot see
backtrace of random thread. I have mutli-threaded app - but
gdb cannot access any other thread - only main thread.

2. on 2.4 + ptrace() security fix, gdb on signal prints error
message: "Couldn't access registers: permission denied".
and sure only 'quit' works correctly after this.

In both cases it is run from user account.

Does any-one has any clue how to make gdb working on rh8?
I have tried to use vanilla kernel - but have no succes to
date...

I'm not much about debugging - but finding a
SIGSEGV/SIGILL source is much more faster with gdb.

P.S. System: SMP/PIII (Tried in both smp/nosmp), RH8 std kernel,
RH8 updated kernel, 2.4.20. gcc 3.2/3.2.2, gdb 5.3.

--- Regards&Wishes! With respect Ihar "Philips" Filipau, and Phil for
friends

- - - - - - - - - - - - - - - - - - - - - - - - -
MCS/Mathematician - System Programmer
Ihar Filipau
Software entwickler @ SUSS MicroTec Test Systems GmbH,
Suss-Strasse 1, D-01561 Sacka (bei Dresden)
e-mail: ifilipau@sussdd.de tel: +49-(0)-352-4073-327
fax: +49-(0)-352-4073-700 web: http://www.suss.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.071 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site