public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [patch 0/3, nios2] unbreak nios2-linux-gnu GDB
@ 2015-04-23 18:49 Sandra Loosemore
  2015-04-23 18:53 ` [patch 1/3, nios2] revert to using "trap 31" for breakpoints Sandra Loosemore
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Sandra Loosemore @ 2015-04-23 18:49 UTC (permalink / raw)
  To: gdb-patches, Yao Qi

GDB support for nios2-linux-gnu became broken during the time when glibc 
and kernel support for that target was transitioning to the upstream 
repositories.  Both ports were accepted around the first of the year, 
but then the initial 3.19 kernel was not usable for testing due to some 
unrelated problems with the ethernet support, it took a long time to 
track down a bug that caused a kernel hang, and then we ran into some 
additional bugs with kernel cache flushing.  The icache flush issues 
were fixed in time for the 4.0 kernel release and GDB is working pretty 
well with that kernel version now for manual use, but to get consistent 
results from automated testing I had to apply an additional local patch 
to flush the dcache more aggressively.  I expect some version of that 
will make it into future kernel releases since Altera is aware of the 
trouble now.

There are 3 patches:

(1) revert to using "trap 31" for breakpoints
(2) use PTRACE_GETREGSET/SETREGSET in gdbserver
(3) fixes for new implementation of signal handler trampolines

Since the old out-of-tree kernel/glibc ports are now obsolete, we 
haven't tried to maintain backward compatibility in these patches.

Yao, I noticed that you haven't updated your e-mail address in 
MAINTAINERS; are you still acting as nios2 maintainer?

-Sandra

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-04-28 15:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-23 18:49 [patch 0/3, nios2] unbreak nios2-linux-gnu GDB Sandra Loosemore
2015-04-23 18:53 ` [patch 1/3, nios2] revert to using "trap 31" for breakpoints Sandra Loosemore
2015-04-28 11:18   ` Yao Qi
2015-04-23 18:55 ` [patch 2/3, nios2] use PTRACE_GETREGSET/SETREGSET in gdbserver Sandra Loosemore
2015-04-28 11:29   ` Yao Qi
2015-04-28 11:31     ` Pedro Alves
2015-04-28 15:27       ` Sandra Loosemore
2015-04-23 19:01 ` [patch 3/3, nios2] fixes for new implementation of signal handler trampolines Sandra Loosemore
2015-04-23 19:11   ` Sandra Loosemore
2015-04-28 12:11   ` Yao Qi
2015-04-28 15:47     ` Sandra Loosemore
2015-04-28 11:15 ` [patch 0/3, nios2] unbreak nios2-linux-gnu GDB Yao Qi
2015-04-28 15:14   ` Sandra Loosemore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).