Port-atari archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: binpatch-ing problem! please help



------- Original message -------
From:  <atari%my-its.net@localhost>
Sent: 18.5.'09,  19:12

How to extend st-mem pool?
I tried this:
binpatch -s st_pool_size -o 8192 -r 131072 /netbsd
and i got:
can't open file  or  not a valid executable


You should be able to use gdb (assuming you have already booted). The following will change the value for any subsequent boot:

ataritt# gdb --write /netbsd
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "m68k--netbsdelf"...(no debugging symbols found)

(gdb) print st_pool_size / 8192
$2 = 24
(gdb) set st_pool_size = 48 * 8192
(gdb) quit



Home | Main Index | Thread Index | Old Index