>On 2021-02-04, Anindya Mukherjee wrote:
>> I'm trying to debug the systat utility for learning purposes. I
>> enabled
>> -g -O0 in the Makefile, and built it in /usr/src/usr.bin/systat. It
>> builds and runs fine. However, gdb cannot insert any breakspoints. I'm
>> on a very recent snapshot and e
On 2021-02-04, Anindya Mukherjee wrote:
> I'm trying to debug the systat utility for learning purposes. I enabled
> -g -O0 in the Makefile, and built it in /usr/src/usr.bin/systat. It
> builds and runs fine. However, gdb cannot insert any breakspoints. I'm
> on a very recent snapshot and everythin
I notice now that the code from systat is mapped to very low memory
addresses unlike my own programs. I think that's why I am getting
errors. Curious how this is happening.
>From: Anindya Mukherjee
>Sent: February 4, 2021 3:59 PM
>To: misc@openbsd.org
>Subject: gdb issue
>
>Hi,
>
>I'm trying to
3 matches
Mail list logo