Changeset 42609


Ignore:
Timestamp:
2014-09-18T11:29:44+02:00 (3 years ago)
Author:
jow
Message:

script/remote-gdb: enable and keep command history

Signed-off-by: Jo-Philipp Wich <jow@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/remote-gdb

    r36596 r42609  
    6666                print $fh "$cmd $ARGV[0]\n"; 
    6767 
     68                # History settings 
     69                print $fh "set history filename $Bin/../tmp/.gdb_history\n"; 
     70                print $fh "set history size 100000000\n"; 
     71                print $fh "set history save on\n"; 
     72 
    6873                my $file = -f "$sysroot/$ARGV[1]" ? "$sysroot/$ARGV[1]" : $ARGV[1]; 
    6974                system($gdb, '-x', $fp, $file); 
Note: See TracChangeset for help on using the changeset viewer.