[PATCH] gdbtk-cmds.c diet
Keith Seitz
keiths@cygnus.com
Thu May 10 11:38:00 GMT 2001
I have committed the following changes.
This is just a starting place. We still need to split off a lot of
functionality in gdbtk-cmds.c into other files (like gdbtk-sourcefile.c,
gdbtk-memory.c, etc).
There is an accompanying Makefile.in change in gdb/.
Let me know if there are any problems or suggestions.
Keith
CVSROOT: /cvs/src
Module name: src
Changes by: kseitz@sources.redhat.com 2001-05-10 11:04:24
Modified files:
gdb/gdbtk : ChangeLog
gdb/gdbtk/generic: gdbtk-cmds.c gdbtk-varobj.c gdbtk.c gdbtk.h
Added files:
gdb/gdbtk/generic: gdbtk-bp.c gdbtk-cmds.h gdbtk-register.c
gdbtk-stack.c
Log message:
* generic/gdbtk-cmds.c: Put on diet. All breakpoint-,
tracepoint-, register-, and stack-related functions moved
into separate files.
(call_wrapper): Renamed to "gdbtk_call_wrapper" and export.
Update all callers.
* generic/gdbtk.h: Move all breakpoint-related stuff into
gdbtk-bp.c.
Remove declaration for "call_wrapper". Now in gdbtk-cmds.h
(and called "gdbtk_call_wrapper").
* generic/gdbtk-varobj.c: Include "gdbtk-cmds.h".
* generic/gdbtk-cmds.h: New file.
* generic/gdbtk-bp.c: New file.
* generic/gdbtk-register.c: New file.
* generic/gdbtk-stack.c: New file.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/ChangeLog.diff?cvsroot=src&r1=1.73&r2=1.74
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/generic/gdbtk-bp.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/generic/gdbtk-cmds.h.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/generic/gdbtk-register.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/generic/gdbtk-stack.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/generic/gdbtk-cmds.c.diff?cvsroot=src&r1=1.34&r2=1.35
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/generic/gdbtk-varobj.c.diff?cvsroot=src&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/generic/gdbtk.c.diff?cvsroot=src&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/generic/gdbtk.h.diff?cvsroot=src&r1=1.5&r2=1.6
More information about the Insight
mailing list