tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GDB single-step fails on alpha (Re: CVS commit: src/share/mk)



On Fri, Oct 28, 2016 at 05:14:58PM +0900, Rin Okuyama wrote:
> I bought an alpha box at last! Could you try the attached patch? It
> works for me with kernel and userland from yesterday's current on
> AlphaServer DS10. Note that the symbol to be skipped is changed from
> "_rtld_bind" to "_rtld_bind_start". This change can also be applied
> to ARM. If it works for you, {alpha,arm}nbsd_skip_solib_resolver()
> should be merged and moved into nbsd-tdep.c.

Very cool!

I am not sure what I am doing wrong but with my build (including your patch)
I get:

[/tmp] martin@gemini > gdb pwd
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
..
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from pwd...Reading symbols from /usr/libdata/debug//bin/pwd.debug...done.
done.
(gdb) break main
Breakpoint 1 at 0x1060: file /ssd/src/bin/pwd/pwd.c, line 71.
(gdb) run
Starting program: /bin/pwd 
/tmp
[Inferior 1 (process 34) exited normally]


Does that work for you?

Martin


Home | Main Index | Thread Index | Old Index