old-cross-binutils/gdb/testsuite
Tom Tromey d7d9f01ea1 gdb
PR gdb/855:
	* NEWS: Add entry for macro commands.
	* Makefile.in (macrocmd.o): Add gdb_string.h.
	* macroscope.h (user_macro_scope): Declare.
	(default_macro_scope): Update documentation.
	(macro_user_macros): Declare.
	* c-lang.c (c_preprocess_and_parse): Always attempt macro lookup.
	Use user_macro_scope.
	(null_macro_lookup): Remove.
	* macrotab.h (macro_callback_fn): Declare.
	(macro_for_each): Likewise.
	(macro_allow_redefinitions): Likewise.
	* macrotab.c (foreach_macro): New function
	(macro_for_each): Likewise.
	(struct macro_table) <redef_ok>: New field.
	(macro_allow_redefinitions): New function.
	(new_macro_table): Update.
	(macro_define_function): Likewise.
	(macro_define_object): Likewise.
	* macroscope.c (user_macro_scope): New function.
	(default_macro_scope): Use it.
	(macro_user_macros): New global.
	(standard_macro_lookup): Look in macro_user_macros.
	(_initialize_macroscope): New function.
	* macroexp.h (macro_is_whitespace, macro_is_digit,
	macro_is_identifier_nondigit): Declare.
	* macroexp.c (macro_is_whitespace): Rename.  No longer static.
	(macro_is_digit): Likewise.
	(macro_is_identifier_nondigit): Likewise.
	(get_identifier): Update.
	(get_pp_number): Likewise.
	(get_token): Likewise.
	* macrocmd.c (skip_ws): New function.
	(extract_identifier): Likewise.
	(free_macro_definition_ptr): Likewise.
	(user_macros): Remove.
	(macro_define_command): Implement.
	(_initialize_macrocmd): Update.
	(macro_undef_command): Implement.
	(print_one_macro): New function.
	(macro_list_command): Implement.
gdb/doc
	* gdb.texinfo (Macros): Update.  Use @code rather than @command.
gdb/testsuite
	* gdb.base/macscp.exp: Add macro tests.
2008-07-18 20:55:33 +00:00
..
config Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.ada * gdb.ada/null_array/foo.adb: Add multi-dimensional array 2008-05-23 18:15:23 +00:00
gdb.arch * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion 2008-07-11 21:57:24 +00:00
gdb.asm Implement displaced stepping. 2008-05-02 16:49:54 +00:00
gdb.base gdb 2008-07-18 20:55:33 +00:00
gdb.cp Fix for 'FAIL: gdb.cp/class2.exp: p acp->c2' on spu-elf 2008-07-15 19:15:28 +00:00
gdb.disasm Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.dwarf2 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files. 2008-06-05 18:37:17 +00:00
gdb.fortran Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.gdb * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches. 2008-01-26 13:56:37 +00:00
gdb.hp Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.java Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.mi Revert accidental commit 2008-06-28 10:03:42 +00:00
gdb.modula2 Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.objc Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.opt * gdb.opt/Makefile.in: Fix whitespace. 2008-04-17 23:06:54 +00:00
gdb.pascal * gdb.pascal/floats.pas: New test program. 2008-02-06 22:24:43 +00:00
gdb.server * linux-low.c (linux_attach_lwp): Do not _exit after errors. 2008-01-30 00:51:50 +00:00
gdb.stabs Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.threads Revert accidental commit. 2008-06-25 15:21:21 +00:00
gdb.trace Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
gdb.xml Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
lib * infrun.c (normal_stop): For MI, report which threads 2008-07-12 12:41:56 +00:00
.gdbinit
aclocal.m4 gdb: 2008-04-23 12:21:50 +00:00
ChangeLog gdb 2008-07-18 20:55:33 +00:00
configure gdb: 2008-04-23 12:21:50 +00:00
configure.ac * gdb.opt/clobbered-registers-O2.c: New testcase source file. 2007-10-25 20:30:26 +00:00
Makefile.in Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
TODO