Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Pedro Alves <palves@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 3/6] List inferiors/threads/pspaces in ascending order
Date: Thu, 22 Oct 2015 16:03:00 -0000	[thread overview]
Message-ID: <83h9ljt09y.fsf@gnu.org> (raw)
In-Reply-To: <1445507944-9197-4-git-send-email-palves@redhat.com>

> From: Pedro Alves <palves@redhat.com>
> Date: Thu, 22 Oct 2015 10:59:01 +0100
> 
> Before:
>   (gdb) info threads
>     Id   Target Id         Frame
>     3    Thread 0x7ffff77c3700 (LWP 29035) callme () at foo.c:30
>     2    Thread 0x7ffff7fc4700 (LWP 29034) 0x000000000040087b in child_function_2 (arg=0x0) at foo.c:60
>   * 1    Thread 0x7ffff7fc5740 (LWP 29030) 0x0000003b37209237 in pthread_join (threadid=140737353893632, thread_return=0x0) at pthread_join.c:92
> 
> After:
>   (gdb) info threads
>     Id   Target Id         Frame
>   * 1    Thread 0x7ffff7fc5740 (LWP 29030) 0x0000003b37209237 in pthread_join (threadid=140737353893632, thread_return=0x0) at pthread_join.c:92
>     2    Thread 0x7ffff7fc4700 (LWP 29034) 0x000000000040087b in child_function_2 (arg=0x0) at foo.c:60
>     3    Thread 0x7ffff77c3700 (LWP 29035) callme () at foo.c:30
> 
> gdb/doc/ChangeLog:
> 2015-10-22  Pedro Alves  <palves@redhat.com>
> 
> 	PR 17539
> 	* gdb.texinfo (Inferiors and Programs): Adjust "maint info
> 	program-spaces" example to ascending order listing.
> 	(Threads): Adjust "info threads" example to ascending order
> 	listing.
> 	(Forks): Adjust "info inferiors" example to ascending order
> 	listing.
> 
> gdb/ChangeLog:
> 2015-10-22  Pedro Alves  <palves@redhat.com>
> 
> 	PR 17539
> 	* inferior.c (add_inferior_silent): Append the new inferior to the
> 	end of the list.
> 	* progspace.c (add_program_space): Append the new pspace to the
> 	end of the list.
> 	* thread.c (new_thread): Append the new thread to the end of the
> 	list.
> 
> gdb/testsuite/ChangeLog:
> 2015-10-22  Pedro Alves  <palves@redhat.com>
> 
> 	PR 17539
> 	* gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
> 	threads in ascending order.
> 	* gdb.base/foll-fork.exp: Likewise.
> 	* gdb.base/foll-vfork.exp: Likewise.
> 	* gdb.base/multi-forks.exp: Likewise.
> 	* gdb.mi/mi-nonstop.exp: Likewise.
> 	* gdb.mi/mi-nsintrall.exp: Likewise.
> 	* gdb.multi/base.exp: Likewise.
> 	* gdb.multi/multi-arch.exp: Likewise.
> 	* gdb.python/py-inferior.exp: Likewise.
> 	* gdb.threads/break-while-running.exp: Likewise.
> 	* gdb.threads/execl.exp: Likewise.
> 	* gdb.threads/gcore-thread.exp: Likewise.
> 	* gdb.threads/info-threads-cur-sal.exp: Likewise.
> 	* gdb.threads/kill.exp: Likewise.
> 	* gdb.threads/linux-dp.exp: Likewise.
> 	* gdb.threads/multiple-step-overs.exp: Likewise.
> 	* gdb.threads/next-bp-other-thread.exp: Likewise.
> 	* gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
> 	* gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
> 	* gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
> 	* gdb.threads/thread-find.exp: Likewise.
> 	* gdb.threads/tls.exp: Likewise.
> 	* lib/mi-support.exp (mi_reverse_list): Delete.
> 	(mi_check_thread_states): No longer reverse list.

Thanks, the documentation part is OK.


  reply	other threads:[~2015-10-22 15:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-22 10:56 [PATCH 0/6] PR 17539 - inferiors/threads etc. print in reverse order Pedro Alves
2015-10-22 10:57 ` [PATCH 4/6] List checkpoints in ascending order Pedro Alves
2015-10-22 10:58 ` [PATCH 2/6] Linux: dump the signalled thread first Pedro Alves
2015-10-22 11:07 ` [PATCH 3/6] List inferiors/threads/pspaces in ascending order Pedro Alves
2015-10-22 16:03   ` Eli Zaretskii [this message]
2016-01-08 20:39   ` Regression for gdb.threads/fork-plus-threads.exp [Re: [PATCH 3/6] List inferiors/threads/pspaces in ascending order] Jan Kratochvil
2016-01-11 14:40     ` Pedro Alves
2016-01-12 11:22       ` Pedro Alves
2016-01-13  0:37         ` Pedro Alves
2015-10-22 11:23 ` [PATCH 1/6] Make gdb.python/py-inferior.exp test names unique Pedro Alves
2015-10-22 11:50 ` [PATCH 6/6] NEWS: "info" commands now list in ascending order Pedro Alves
2015-10-22 16:00   ` Eli Zaretskii
2015-10-22 16:06     ` Pedro Alves
2015-10-22 16:16       ` Eli Zaretskii
2015-10-22 12:36 ` [PATCH 5/6] List displays " Pedro Alves
2015-11-24 18:44 ` [PATCH 0/6] PR 17539 - inferiors/threads etc. print in reverse order Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83h9ljt09y.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=palves@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox