The NetBSD Project

CVS log for src/external/gpl3/gdb/dist/gdb/nbsd-thread.c

[BACK] Up to [cvs.NetBSD.org] / src / external / gpl3 / gdb / dist / gdb

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.17 / (download) - annotate - [select for diffs], Sat Feb 16 18:06:43 2013 UTC (4 months ago) by martin
Branch: MAIN
CVS Tags: tls-maxphys-nbase, tls-maxphys-base, agc-symver-base, agc-symver, HEAD
Changes since 1.16: +3 -0 lines
Diff to previous 1.16 (colored)

When searching for an active thread (e.g. right after switching to threaded
mode), if no lwp is signaled, just stay with the current (inferior_ptid.lwp).
This fixes gdb -p to a threaded process with all threads active.
Previously we eroneously restored an lwp of 0 (returned as sentinel from
ptrace) to inferior_ptid.lwp, which then would not match any thread in
thread_list and caused assertion failures.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Apr 21 00:16:35 2012 UTC (13 months, 4 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5
Branch point for: tls-maxphys
Changes since 1.15: +2 -0 lines
Diff to previous 1.15 (colored)

If we are asked to step on ptid(-1,0,0), then step on our inferior_thread
instead, which is the main thread instead of the currently executing thread
which is not what we want, since we've been running and nother thread might
have just started.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 11 21:41:59 2012 UTC (14 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.14: +2 -9 lines
Diff to previous 1.14 (colored)

- In the thread activation code, mutate the main thread (lid=0) to lid=1 like
  the kernel does.
- Remove - 1 hack
- Remove more ifdef notdef code

Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 11 20:21:35 2012 UTC (14 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.13: +0 -280 lines
Diff to previous 1.13 (colored)

remove more unused SA userland thread stuff.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 4 13:33:19 2012 UTC (14 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.12: +9 -170 lines
Diff to previous 1.12 (colored)

- remove unused thread (non-lwp) code.
- make the get method return the value, and only add 1 in the put method.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 22 16:06:01 2012 UTC (14 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.11: +3 -1 lines
Diff to previous 1.11 (colored)

only +1 for the 0'th thread (if we did not find any other)

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 22 15:26:32 2012 UTC (14 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

complete the mapping of the lwp -> (lwp - 1), by adding 1 where appropriate.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 21 23:20:58 2012 UTC (14 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (colored)

Use tid - 1 for the thread id, so that thread 1 matches the main thread
before the threaded code gets loaded. fixes spurious breakpoints. Is
there a better way?

Revision 1.9 / (download) - annotate - [select for diffs], Sun Feb 5 17:40:48 2012 UTC (16 months, 1 week ago) by matt
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored)

Deal with vax defining [an empty] struct fpreg;
Add supply_gregset and fill_gregset for nbsd-thread.c to vaxbsd-nat.c

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 25 16:48:44 2012 UTC (16 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.7: +28 -5 lines
Diff to previous 1.7 (colored)

Deal with sh3 having no FPREGS and having 32 bit pointers and 64 bit CORE_ADDR.
Ugly.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 25 03:26:39 2012 UTC (16 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.6: +0 -1 lines
Diff to previous 1.6 (colored)

remove error(1) junk.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 25 03:25:02 2012 UTC (16 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.5: +1 -0 lines
Diff to previous 1.5 (colored)

Fix i386

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 13 21:11:57 2011 UTC (20 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.4: +6 -105 lines
Diff to previous 1.4 (colored)

fix core dump handling. In essence remove all the custom code that dealt with
it, and use the gdb standard code.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 13 16:00:37 2011 UTC (20 months ago) by christos
Branch: MAIN
Changes since 1.3: +34 -25 lines
Diff to previous 1.3 (colored)

Deal with core file initialization. The code is till wrong: all the core_ops
are unused and adding the core target does not work.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 2 18:14:24 2011 UTC (20 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.2: +6 -13 lines
Diff to previous 1.2 (colored)

- add objfile hook.
- constify.
- we cannot run things, so don't lie.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 26 20:38:54 2011 UTC (20 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.1: +61 -58 lines
Diff to previous 1.1 (colored)

Provide regset functions and gut parts that the new debugging thread library
does not provide yet, so that we can link. As expected this does not work
yet.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 26 18:55:56 2011 UTC (20 months, 3 weeks ago) by christos
Branch: MAIN

Resurrect old thread debugging code. Not hooked in, compiles.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>