This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] fix for "info threads" printing multiple headers
- From: Tom Tromey <tromey at redhat dot com>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: "gdb-patches\ at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 22 Feb 2011 10:35:45 -0700
- Subject: Re: [commit] fix for "info threads" printing multiple headers
- References: <4D62F7D6.8040705@vmware.com>
>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:
Michael> - if (argc == 1)
Michael> - thread = atoi (argv[0]);
Michael> -
Michael> - print_thread_info (uiout, thread, -1);
Michael> + print_thread_info (uiout, argv[0], -1);
This changes the arguments accepted by the MI command.
Maybe it isn't a big deal; but I thought it was at least worth pointing
out. I'm not sure how much argument checking MI does -- by the looks of
the pre-patch source, not much.
Tom