old-cross-binutils/gdb/testsuite/gdb.python
Pedro Alves 7e0aa6aa99 List inferiors/threads/pspaces in ascending order
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-11-24  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-11-24  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-11-24  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.
2015-11-24 18:36:31 +00:00
..
amd64-py-framefilter-invalidarg.S
lib-types.cc
lib-types.exp
Makefile.in
py-arch.c
py-arch.exp
py-bad-printers.c PR python/18089 2015-04-28 21:53:54 -07:00
py-bad-printers.exp PR python/18089 2015-04-28 21:53:54 -07:00
py-bad-printers.py PR python/18089 2015-04-28 21:53:54 -07:00
py-block.c
py-block.exp
py-breakpoint.c
py-breakpoint.exp
py-caller-is.c
py-caller-is.exp
py-cmd.c
py-cmd.exp
py-completion.exp
py-completion.py
py-error.exp
py-error.py
py-events-shlib.c
py-events.c
py-events.exp gdb.python/py-events.exp and normal_stop observers ordering 2015-07-24 19:34:17 +01:00
py-events.py
py-evsignal.exp gdb.python/py-events.exp and normal_stop observers ordering 2015-07-24 19:34:17 +01:00
py-evthreads.c
py-evthreads.exp gdb.python/py-events.exp and normal_stop observers ordering 2015-07-24 19:34:17 +01:00
py-explore-cc.exp
py-explore.c
py-explore.cc
py-explore.exp
py-finish-breakpoint.c
py-finish-breakpoint.exp
py-finish-breakpoint.py
py-finish-breakpoint2.cc
py-finish-breakpoint2.exp
py-finish-breakpoint2.py
py-frame-args.c
py-frame-args.exp
py-frame-args.py
py-frame-inline.c
py-frame-inline.exp
py-frame.c
py-frame.exp
py-framefilter-gdb.py.in
py-framefilter-invalidarg-gdb.py.in
py-framefilter-invalidarg.exp
py-framefilter-invalidarg.py
py-framefilter-mi.c
py-framefilter-mi.exp
py-framefilter.c
py-framefilter.exp
py-framefilter.py
py-function.exp
py-inferior.c
py-inferior.exp List inferiors/threads/pspaces in ascending order 2015-11-24 18:36:31 +00:00
py-infthread.c
py-infthread.exp
py-lazy-string.c PR python/18438 2015-05-26 16:13:04 -07:00
py-lazy-string.exp Fix test for Python 3 2015-07-07 11:39:06 -04:00
py-linetable.c
py-linetable.exp
py-linetable.S
py-lookup-type.exp
py-mi-objfile-gdb.py PR mi/18833 gdb.execute ("set param value", to_string=True) will crash gdb if using MI 2015-08-18 14:02:03 -07:00
py-mi-objfile.c PR mi/18833 gdb.execute ("set param value", to_string=True) will crash gdb if using MI 2015-08-18 14:02:03 -07:00
py-mi-objfile.exp PR mi/18833 gdb.execute ("set param value", to_string=True) will crash gdb if using MI 2015-08-18 14:02:03 -07:00
py-mi.exp
py-objfile-script-gdb.py
py-objfile-script.c
py-objfile-script.exp
py-objfile.c
py-objfile.exp Fix typo in gdb.python/py-objfile.exp 2015-07-29 10:16:38 -04:00
py-parameter.exp
py-pp-integral.c
py-pp-integral.exp
py-pp-integral.py
py-pp-maint.c
py-pp-maint.exp
py-pp-maint.py PR python/18299 2015-04-28 22:14:23 -07:00
py-pp-re-notag.c
py-pp-re-notag.exp
py-pp-re-notag.py
py-pp-registration.c PR python/18299 2015-04-28 22:14:23 -07:00
py-pp-registration.exp Uniquify test names from gdb.python/{py-objfile.exp,py-pp-registration.exp} 2015-07-28 17:39:16 -04:00
py-pp-registration.py PR python/18299 2015-04-28 22:14:23 -07:00
py-prettyprint.c PR python/18438 2015-05-26 16:13:04 -07:00
py-prettyprint.exp * gdb.python/py-prettyprint.exp: Check result of run_lang_tests. 2015-09-09 11:42:52 -07:00
py-prettyprint.py PR python/18438 2015-05-26 16:13:04 -07:00
py-progspace.c
py-progspace.exp
py-prompt.c
py-prompt.exp testsuite: tcl exec& -> 'kill -9 $pid' is racy (attach-many-short-lived-thread.exp races and others) 2015-07-31 20:06:24 +01:00
py-section-script.c
py-section-script.exp
py-section-script.py
py-shared-sl.c
py-shared.c
py-shared.exp
py-strfns.c
py-strfns.exp
py-symbol.c
py-symbol.exp
py-symtab.exp
py-sync-interp.c
py-sync-interp.exp testsuite: tcl exec& -> 'kill -9 $pid' is racy (attach-many-short-lived-thread.exp races and others) 2015-07-31 20:06:24 +01:00
py-template.cc
py-template.exp
py-type.c Fix accessing a function's fields (parameters) from Python (PR 18073) 2015-10-21 15:57:22 -04:00
py-type.exp Fix accessing a function's fields (parameters) from Python (PR 18073) 2015-10-21 15:57:22 -04:00
py-typeprint.cc
py-typeprint.exp
py-typeprint.py
py-unwind-maint.c
py-unwind-maint.exp
py-unwind-maint.py
py-unwind.c
py-unwind.exp
py-unwind.py
py-value-cc.cc
py-value-cc.exp
py-value.c
py-value.exp
py-xmethods.cc [Python] Add methods reference_value and const_value to gdb.Value. 2015-05-09 17:30:35 -07:00
py-xmethods.exp [Python] Add methods reference_value and const_value to gdb.Value. 2015-05-09 17:30:35 -07:00
py-xmethods.py [Python] Add methods reference_value and const_value to gdb.Value. 2015-05-09 17:30:35 -07:00
python-1.c
python.c
python.exp PR python/18938: source -s foo.py with foo.py a symlink to foo.notpy fails 2015-10-26 14:33:19 -07:00
source1
source2.py