🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #546

Does gdb have command equivalent to dbx `call'?

#546
From: Chuck Ocheret
Date: Mon, 16 Oct 1989 19:46
15 lines
1132 bytes
Once I have activated a debugged process from gdb, how do I invoke a
particlular function as with the dbx `call' command.  For instance,
I have a function which displays an odd structure in a nice format.
In dbx I simply type:

(dbx) call PrintOddStruct(theOddStruct)

I can't find an equivalent gdb command.  I've looked at the help within
gdb and the gdb info pages from emacs.

--
+------------------+   Chuck Ocheret, Sr. Staff Engineer   +------------------+
| chuck@morgan.com |       Morgan Stanley & Co., Inc.      |  (212)703-4474   |
|   Duty now ...   |19th Floor, 1251 Avenue of the Americas| for the future.  |
+------------------+       New York, N.Y.  10020 USA       +------------------+
Technical Details
Message-ID: <CHUCK.89Oct16154652@s6.Morgan.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!swrinde!cs.utexas.edu!uunet!mstan!s6!chuck

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!swrinde!cs.utexas.edu!uunet!mstan!s6!chuck
From: chuck@Morgan.COM (Chuck Ocheret)
Newsgroups: gnu.misc.discuss
Subject: Does gdb have command equivalent to dbx `call'?
Message-ID: <CHUCK.89Oct16154652@s6.Morgan.COM>
Date: 16 Oct 89 19:46:52 GMT
Sender: chuck@Morgan.COM
Distribution: gnu
Organization: Morgan Stanley & Co., Inc., NY NY
Lines: 15