Indeed I confirm that "happy" provided by Debian buster/sid does not work on my hardware (armv5tel Kirkwood Feroceon). Just tested now after removing Ilias' deb package and reinstalling the previous one:
drakestail:/etc/apt/sources.list.d# apt install -t testing happy
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
haskell-doc
The following NEW packages will be installed:
happy
0 upgraded, 1 newly installed, 0 to remove and 860 not upgraded.
Need to get 528 kB of archives.
After this operation, 2,582 kB of additional disk space will be used.
Get:1
http://ftp.it.debian.org/debian buster/main armel happy armel 1.19.9-6 [528 kB]
Fetched 528 kB in 0s (2,650 kB/s)
Selecting previously unselected package happy.
(Reading database ... 100743 files and directories currently installed.)
Preparing to unpack .../happy_1.19.9-6_armel.deb ...
Unpacking happy (1.19.9-6) ...
Setting up happy (1.19.9-6) ...
Processing triggers for man-db (2.7.6.1-2) ...
drakestail:/etc/apt/sources.list.d# gdb -q -ex 'b *(0x1ab0ac)' -ex 'run' -ex 'x/i $pc' -ex 'quit' --args happy example.y
Reading symbols from happy...(no debugging symbols found)...done.
Breakpoint 1 at 0x1ab0ac
Starting program: /usr/bin/happy example.y
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabi/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
0x001addc4 in ?? ()
=> 0x1addc4: uxth r1, r2
A debugging session is active.
Inferior 1 [process 13711] will be killed.
Quit anyway? (y or n) y
Let me know if I can help more.