brian@rugby:~$ schroot -c zesty-armhf
(zesty-armhf)brian@rugby:~$ sudo apt-get install screen
sudo: main: unable to allocate memory
(zesty-armhf)brian@rugby:~$ gdb
GNU gdb (Ubuntu 7.12-0ubuntu2) 7.12
Copyright (C) 2016 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 "arm-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) quit
(zesty-armhf)brian@rugby:~$ gdb --args cat
GNU gdb (Ubuntu 7.12-0ubuntu2) 7.12
Copyright (C) 2016 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 "arm-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"...
Reading symbols from cat...(no debugging symbols found)...done.
(gdb) run
Starting program: /bin/cat
Cannot parse expression `.L954 4@r4'.
warning: Probes-based dynamic linker interface failed.
Reverting to original interface.
^Z
Program received signal SIGTSTP, Stopped (user).
0xf7763b74 in read () at ../sysdeps/unix/syscall-template.S:84
84 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) generate-core-file /tmp/my.core
Unable to fetch the floating point registers.: Invalid argument.
The issue also occurs in a zesty chroot:
brian@rugby:~$ schroot -c zesty-armhf armhf)brian@ rugby:~ $ sudo apt-get install screen armhf)brian@ rugby:~ $ gdb gnu.org/ licenses/ gpl.html> gnueabihf" . www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>. armhf)brian@ rugby:~ $ gdb --args cat gnu.org/ licenses/ gpl.html> gnueabihf" . www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>.
(zesty-
sudo: main: unable to allocate memory
(zesty-
GNU gdb (Ubuntu 7.12-0ubuntu2) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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 "arm-linux-
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) quit
(zesty-
GNU gdb (Ubuntu 7.12-0ubuntu2) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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 "arm-linux-
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cat...(no debugging symbols found)...done.
(gdb) run
Starting program: /bin/cat
Cannot parse expression `.L954 4@r4'.
warning: Probes-based dynamic linker interface failed.
Reverting to original interface.
^Z unix/syscall- template. S:84 unix/syscall- template. S: No such file or directory.
Program received signal SIGTSTP, Stopped (user).
0xf7763b74 in read () at ../sysdeps/
84 ../sysdeps/
(gdb) generate-core-file /tmp/my.core
Unable to fetch the floating point registers.: Invalid argument.