public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug macros/12999] New: command to see macros defined at a given point
@ 2011-07-13 19:30 tromey at redhat dot com
2011-07-21 15:14 ` [Bug macros/12999] " cvs-commit at gcc dot gnu.org
2011-07-25 17:47 ` tromey at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2011-07-13 19:30 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12999
Summary: command to see macros defined at a given point
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: macros
AssignedTo: unassigned@sourceware.org
ReportedBy: tromey@redhat.com
It would be nice to have a command that shows
all the macro definitions that are active at
a given source location.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug macros/12999] command to see macros defined at a given point
2011-07-13 19:30 [Bug macros/12999] New: command to see macros defined at a given point tromey at redhat dot com
@ 2011-07-21 15:14 ` cvs-commit at gcc dot gnu.org
2011-07-25 17:47 ` tromey at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2011-07-21 15:14 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12999
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-07-21 15:13:34 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: ratmice@sourceware.org 2011-07-21 15:13:30
Modified files:
gdb : ChangeLog macrocmd.c macrotab.c macrotab.h
symtab.c
gdb/doc : ChangeLog gdb.texinfo
gdb/testsuite : ChangeLog
Added files:
gdb/testsuite/gdb.base: info-macros.c info-macros.exp
Log message:
PR macros/12999
* macrotab.h (macro_callback_fn): Add new arguments to callback.
* macrotab.c (foreach_macro): Ditto.
(foreach_macro_in_scope): Ditto.
* macrocmd.c (print_macro_callback): New function.
(info_macro_command): Move some code to print_macro_definition.
(print_macro_definition): New function.
(print_one_macro): Add new arguments to callback.
testsuite/
* gdb.base/info-macros.c: New test sources.
* gdb.base/info-macros.exp: New tests.
docs/
* gdb.texinfo (Macros): Add info definitions and info macros commands.
Update text and cindex entries for info macro command.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13204&r2=1.13205
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/macrocmd.c.diff?cvsroot=src&r1=1.25&r2=1.26
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/macrotab.c.diff?cvsroot=src&r1=1.24&r2=1.25
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/macrotab.h.diff?cvsroot=src&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/symtab.c.diff?cvsroot=src&r1=1.282&r2=1.283
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1199&r2=1.1200
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.847&r2=1.848
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2802&r2=1.2803
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/info-macros.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/info-macros.exp.diff?cvsroot=src&r1=NONE&r2=1.1
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug macros/12999] command to see macros defined at a given point
2011-07-13 19:30 [Bug macros/12999] New: command to see macros defined at a given point tromey at redhat dot com
2011-07-21 15:14 ` [Bug macros/12999] " cvs-commit at gcc dot gnu.org
@ 2011-07-25 17:47 ` tromey at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2011-07-25 17:47 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12999
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |7.4
--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2011-07-25 17:46:23 UTC ---
Fix checked in.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-25 17:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-13 19:30 [Bug macros/12999] New: command to see macros defined at a given point tromey at redhat dot com
2011-07-21 15:14 ` [Bug macros/12999] " cvs-commit at gcc dot gnu.org
2011-07-25 17:47 ` tromey at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).