5/27 GDB quetion. On Linux, When I use gdb to attach to a process that has
many modules, does gdb automatically load all the symbol files for all
the modules? I'm trying to figure out why gdb itself is using so much
memory (100MB+) on my system. Thanks.
\_ why shouldn't it? 100MB sounds pretty standard for projects these days.
\_ why shouldn't it? 100MB sounds pretty standard for projects these
days.
days. -- OP
\_ Well, it's an embedded system with only 128MB of RAM.
\_ Well, it's an embedded system with only 128MB of RAM. -- OP
\_ thank god for virtual memory then
\_ The problem is that it swaps too much which slows down my
threads and screws up the timing. So it's hard to debug
problems that occurs only under certain timing condition.
--- OP
\_ You might want to look into remote debugging using gdb.
See the gdbserver and gdbreplay tools. -gm
\_ Will do. Thanks! |