Re: GDB Problem

Bernt Habermeier <[email protected]>
Newsgroups gmane.comp.gdb.general
Message-ID <OF9350D162.29FE1AF9-ON88256F6B.00527BA4-88256F6B.00530180@csc.com>



Not that I could help you even if you gave me this information,
but what version of OS, gcc, and gdb are you using?

It is more probable someone else may be able to help you
when you give out more details about what you are running.

Side note:

Did you try upgrading your gdb version?

Also, sometimes gcc has bugs that affect debuggers, so
you might want to consider trying a more recent version
of gcc (if applicable).

----------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------




|---------+------------------------------->
|         |           "Jaskiran Singh"    |
|         |           <jaskiran.singh     |
|         |           @tatainfotech.com>  |
|         |           Sent by:            |
|         |           gdb-bounces+bhaberme|
|         |           ier=csc.com         |
|         |                               |
|         |                               |
|         |           12/15/2004 07:06 AM |
|         |           Please respond to   |
|         |           Jaskiran Singh      |
|         |                               |
|---------+------------------------------->
  >-----------------------------------------------------------------------------------------------------------------|
  |                                                                                                                 |
  |        To:      "GDB" <[email protected]>                                                                             |
  |        cc:                                                                                                      |
  |        Subject: [Gdb] GDB Problem                                                                               |
  >-----------------------------------------------------------------------------------------------------------------|




Hi All

GDB

Does any one has some idea why gdb fails while a process is forked.
Here is the problem that i am facing
A processed is forked and is run in the background.
Its attached using the
attach <pid> of the process.

A break point is put on a function, which is invoked using a pointer to a
function.
However when the function is invoked and i type

(gdb) continue
 on the gdb console, it says
Could not find registers.

Could any body help me out. Or any pointer to somebody

Jas

 _______________________________________________
Gdb mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gdb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.