root@ubuntu910:~# gdb <program> 2>&1 | tee ~/gdb-<program>.txt
bash: syntax error near unexpected token `2'
root@ubuntu910:~# gdb indicator-applet 2>&1 | tee ~/gdb-indicator-applet.txtGNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
indicator-applet: No such file or directory.
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program:
No executable file specified.
Use the "file" or "exec-file" command.
(gdb)
root@ubuntu910:~# gdb <program> 2>&1 | tee ~/gdb-<program>.txt -applet. txtGNU gdb (GDB) 7.1-ubuntu gnu.org/ licenses/ gpl.html> www.gnu. org/software/ gdb/bugs/>...
bash: syntax error near unexpected token `2'
root@ubuntu910:~# gdb indicator-applet 2>&1 | tee ~/gdb-indicator
Copyright (C) 2010 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://
indicator-applet: No such file or directory.
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program:
No executable file specified.
Use the "file" or "exec-file" command.
(gdb)