This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog macroexp.c macrotab.c
- From: jimb at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 14 May 2002 21:31:06 -0000
- Subject: src/gdb ChangeLog macroexp.c macrotab.c
CVSROOT: /cvs/src
Module name: src
Changes by: jimb@sources.redhat.com 2002-05-14 14:31:06
Modified files:
gdb : ChangeLog macroexp.c macrotab.c
Log message:
* macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0.
* macrotab.c (macro_lookup_inclusion, find_definition,
new_macro_table): Same.
* macroexp.c (currently_rescanning, expand): Use `strcmp () == 0',
not `! strcmp ()'. This is a dubious improvement.
* macrotab.c (macro_lookup_inclusion, find_definition): Same.
* macrotab.c (macro_lookup_inclusion): Initialize `best_depth',
although it's not necessary, to avoid a warning.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.2639&r2=1.2640
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/macroexp.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/macrotab.c.diff?cvsroot=src&r1=1.2&r2=1.3