The attached packaging updates the gdb package to the latest 7,4 release. Change build to use bundled libreadline in order to avoid unresolved symbols. Tested with 'fink -m --build-as-nobody" on x86_64 10.6 and 10.7 fink. Unfortunately i386 fink builds a broken fsf-gdb...
gdb) break main
Breakpoint 1 at 0x1e60: file himenoBMTxpa.c, line 78.
Starting program: /Users/howarth/a.out
darwin_set_sstep: unknown flavour: 4
Error calling thread_get_state for GP registers for thread 0x8451lxwarning: Mach error at "i386-darwin-nat.c:118" in function "i386_darwin_fetch_inferior_registers": (os/kern) invalid argument (0x4)
A debugging session is active.
Inferior 1 [process 34004] will be killed.
However both i386 and x86_64 debugging works fine on x86_64 fink so I have limited gdb-7.4-1 to that architecture for now. Will bring the i386 kernel breakage to the attention of upstream.
Log in to post a comment.