This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb breakpoint.c breakpoint.h tracepoint.c ...
- To: gdb-cvs at sourceware dot cygnus dot com
- Subject: src/gdb breakpoint.c breakpoint.h tracepoint.c ...
- From: eliz at sourceware dot cygnus dot com
- Date: 2 Aug 2001 12:06:01 -0000
CVSROOT: /cvs/src
Module name: src
Branch: gdb_5_1-2001-07-29-branch
Changes by: eliz@sources.redhat.com 2001-08-02 05:06:00
Modified files:
gdb : breakpoint.c breakpoint.h tracepoint.c
tracepoint.h printcmd.c memattr.c memattr.h
infcmd.c go32-nat.c ChangeLog
gdb/tui : tuiSourceWin.c tuiSource.c tuiDisassem.c
ChangeLog
Log message:
The following changes avoid polluting global namespace with the
`enable' and `disable' identifiers, because some platforms define
in their system headers symbols with global scope that go by those
names.
* breakpoint.h (enum enable_state): Rename from `enum enable'.
Also rename all the enum members to have the "bp_" prefix.
(struct breakpoint): Rename the `enable' member to `enable_state'.
(enum bpdisp): Rename all members to have the "disp_" prefix.
* breakpoint.c: All users of `enum enable' and `enum bpdisp'
changed.
(args_for_catchpoint_enable): Rename the `enable' member to
`enable_p'. All users changed.
* tracepoint.h (enum enable): Remove.
(struct tracepoint): The member `enabled' is now `int enabled_p'.
* tracepoint.c: All users of the `enabled' member changed.
* printcmd.c (struct display): The `status' member is now an int.
* memattr.h (struct mem_region): Rename the `status' member to
`enabled_p'.
(enum enable): Remove.
* memattr.c: Change all users of the `status' member of struct
mem_region to use `enabled_p' instead.
* infcmd.c (run_stack_dummy): Use disp_del instead of del.
* go32-nat.c: Remove the kludgey work-around for conflicts between
<dos.h> and "breakpoint.h".
* tui/tuiSourceWin.c: Use disp_del instead of del.
* tui/tuiSource.c: Use disp_del instead of del.
* tui/tuiDisassem.c: Use disp_del instead of del.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.51&r2=1.51.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.h.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.8&r2=1.8.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/tracepoint.c.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.23&r2=1.23.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/tracepoint.h.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.5&r2=1.5.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/printcmd.c.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.24&r2=1.24.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/memattr.c.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.6&r2=1.6.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/memattr.h.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.3&r2=1.3.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/infcmd.c.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.29&r2=1.29.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/go32-nat.c.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.20.2.1&r2=1.20.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.1527.2.7&r2=1.1527.2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/tui/tuiSourceWin.c.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.7&r2=1.7.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/tui/tuiSource.c.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.6&r2=1.6.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/tui/tuiDisassem.c.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.8&r2=1.8.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/tui/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_5_1-2001-07-29-branch&r1=1.43.2.1&r2=1.43.2.2