Article View: gnu.gdb.bug
Article #399Re: User-defined commands - adding arguments, control structures
From: Robert Bedichek
Date: Wed, 26 Aug 1992 03:17
Date: Wed, 26 Aug 1992 03:17
15 lines
1324 bytes
1324 bytes
In article <helgaas.714761661@convex.convex.com> helgaas@convex.com (Bjorn Helgaas) writes: >It would be very useful if user-defined commands could take arguments >and include loops and conditionals. I may end up adding some of this >functionality myself, but it looks like quite a lot of work, so I'm >wondering whether anyone else is already working on it. > >Bjorn (helgaas@convex.com) Tektronix did it to version 3.2 of gdb. They added both arguments and control mechanisms (if and while). While you might not end up using much of their code, you could take a look at it. It is in ~ftp/pub/g88.tar.Z on cs.washington.edu. Look in the file programmer.c. Robert Bedichek robertb@cs.washington.edu
Technical Details
Message-ID:
<1992Aug26.031736.16487@beaver.cs.washington.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cs.washington.edu!robertbReferences:
<helgaas.714761661@convex.convex.com>Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cs.washington.edu!robertb From: robertb@cs.washington.edu (Robert Bedichek) Subject: Re: User-defined commands - adding arguments, control structures Message-ID: <1992Aug26.031736.16487@beaver.cs.washington.edu> Keywords: user-defined commands, arguments, control structures Sender: gnulists@ai.mit.edu Organization: Computer Science & Engineering, U. of Washington, Seattle References: <helgaas.714761661@convex.convex.com> Distribution: gnu Date: Wed, 26 Aug 1992 03:17:36 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 16