Author: jow Date: 2014-09-18 11:29:44 +0200 (Thu, 18 Sep 2014) New Revision: 42609
Modified: trunk/scripts/remote-gdb Log: script/remote-gdb: enable and keep command history Signed-off-by: Jo-Philipp Wich <[email protected]> Modified: trunk/scripts/remote-gdb =================================================================== --- trunk/scripts/remote-gdb 2014-09-17 23:45:08 UTC (rev 42608) +++ trunk/scripts/remote-gdb 2014-09-18 09:29:44 UTC (rev 42609) @@ -65,6 +65,11 @@ -f $ARGV[0] and $cmd = "core-file"; print $fh "$cmd $ARGV[0]\n"; + # History settings + print $fh "set history filename $Bin/../tmp/.gdb_history\n"; + print $fh "set history size 100000000\n"; + print $fh "set history save on\n"; + my $file = -f "$sysroot/$ARGV[1]" ? "$sysroot/$ARGV[1]" : $ARGV[1]; system($gdb, '-x', $fp, $file); _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
