This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: GDB Query



>-----Original Message-----
>From: Vikas S [mailto:vikas_s40@hotmail.com]
>Sent: Tuesday, July 06, 2004 12:47 PM
>To: monika@acmet.com
>Subject: RE: GDB Query
>
>
>Hi,
>
>Thanks.
>
>1) Ok.. The reason I asked for this is that I'm trying to trace full
>function flow of a
>process. In case of gdb, everytime I've to type break manually for each
>function which
>is tedious. If you know any other function which will do the above job,
>please inform.
>I'm on Linux.

If u want to get rid of this problem than I have one solution for u .U
can put all breakpoints in a file and can run that file after invoking
gdb. U will get all breakpoints after running only this single file.

>
>2) I wanted to do it from unix command line. This is in relation to
above
>requirement
>only. I wanted something like
>
>$ gdb <program> <pid> break=f1,f2...

Yes I m getting u. I'll again see and try if I get something better.

Monika
>
>Thanks,
>Vikas
>
>>From: "Monika Chaddha" <monika@acmet.com>
>>To: "'Vikas S'" <vikas_s40@hotmail.com>
>>CC: <gdb@sources.redhat.com>
>>Subject: RE: GDB Query
>>Date: Tue, 6 Jul 2004 12:30:35 +0530
>>
>>
>>
>> >-----Original Message-----
>> >From: gdb-owner@sources.redhat.com
>>[mailto:gdb-owner@sources.redhat.com] On
>> >Behalf Of Vikas S
>> >Sent: Tuesday, July 06, 2004 10:50 AM
>> >To: gdb@sources.redhat.com
>> >Subject: GDB Query
>> >
>> >
>> >Hi,
>>
>>Hello,
>>
>> >
>> >
>> >I've two queries on gdb.
>> >
>> >1) I wish to have a break whenever a function call is encountered.
The
>>no.
>> >of functions is
>> >very high and may change.
>>
>>I have not seen such type of facility in gdb till now.
>>
>> >
>> >2) Can we pass break and other parameters from unix command line.
>>
>>Do u want to put break point from unix command line or gdb command
line?
>>From gdb command line u can do easily.
>>
>>Regards
>>Monika Chaddha
>>
>
>_________________________________________________________________
>Earn without investing. http://go.msnserver.com/IN/52048.asp Sell
anything
>under the sun.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]