This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Allow user-defined as a category for python gdb macros (resend)


On 03/01/2012 11:31 AM, Doug Evans wrote:
Hi.
Committed.

I've committed the attached patch, which updates the doc string modified by this patch:


@@ -1912,7 +1913,7 @@ Two arguments (separated by a comma) are taken as
a range of memory to dump,\n\
  Run the ``make'' program using the rest of the line as arguments."));
    set_cmd_completer (c, filename_completer);
    add_cmd ("user", no_class, show_user, _("\
-Show definitions of user defined commands.\n\
+Show definitions of non-python user defined commands.\n\
  Argument is the name of the user defined command.\n\
  With no argument, show definitions of all user defined commands."),
&showlist);
    add_com ("apropos", class_support, apropos_command,

This regresses a test in help.exp.


Keith

ChangeLog
2012-03-01  Keith Seitz  <keiths@redhat.com>

	* gdb.base/help.exp (help show user): Update expected result
	for new doc string changes (add "non-python").

Index: testsuite/gdb.base/help.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/help.exp,v
retrieving revision 1.55
diff -u -p -r1.55 help.exp
--- testsuite/gdb.base/help.exp	24 Jan 2012 15:13:30 -0000	1.55
+++ testsuite/gdb.base/help.exp	1 Mar 2012 20:23:41 -0000
@@ -574,7 +574,7 @@ gdb_test "help show radix" "Show the def
 # test help show symbol-reloading
 gdb_test "help show symbol-reloading" "Show dynamic symbol table reloading multiple times in one run\." "help show symbol-reloading"
 # test help show user
-gdb_test "help show user" "Show definitions of user defined commands\.\[\r\n\]+Argument is the name of the user defined command\.\[\r\n\]+With no argument, show definitions of all user defined commands\." "help show user"
+gdb_test "help show user" "Show definitions of non-python user defined commands\.\[\r\n\]+Argument is the name of the user defined command\.\[\r\n\]+With no argument, show definitions of all user defined commands\." "help show user"
 # test help show values
 gdb_test "help show values" "Elements of value history around item number IDX \\(or last ten\\)\." "help show values"
 # test help show verbose

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]