pgf wrote:
> I have a program that I've been running for years on various systems
> which, when built on picoreplayer, surprised me with a segfault. I went
> looking for gdb, and ... was surprised again. :-) Is gdb hidden in
> some unexpected extension?
>
> My system version is: piCorePlayer v7.0.0 | www v00011 | linux
> 5.4.83-pcpCore-v7 | piCore v12.0pCP | Squeezelite v1.9.8-1287-pCP
>
> Also -- in case the fault is toolchain-related, I assume that
> "compiletc.tcz" is the right toolchain, for this version of the system,
> right?
>
> I'll find the fault with successive printf's eventually, but a debugger
> would be convenient.
Yes, that is the right toolchain.
I built a gdb extention for pcp 6 last year but it seems to work okay on
pcp 7 32bit only. It's not in the picoreplayer repository, so you'll
need to install it manually.
Login as the tc user and run the commands in bold.
Code:
--------------------
tc@pcp7:~$ *ceo*
tc@pcp7:/mnt/sda2/tce/optional$ *wget -q
http://ralph-irving.users.sourceforge.net/pico/gdb.tcz.md5.txt*
tc@pcp7:/mnt/sda2/tce/optional$ *wget -q
http://ralph-irving.users.sourceforge.net/pico/gdb.tcz*
tc@pcp7:/mnt/sda2/tce/optional$ *md5sum -c gdb.tcz.md5.txt*
gdb.tcz: OK
tc@pcp7:/mnt/sda2/tce/optional$ *tce-load -i gdb.tcz*
gdb installed!
tc@pcp7:~$ *gdb*
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "armv7l-unknown-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb)
--------------------
Ralphy
*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=113512
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix