gdb freebsd memory layout

  1. A

    Trigger an interrupt when the value of a memory location is modified in FreeBSD

    Is it possible to generate an interrupt when the value of a variable or memory location get modified in FreeBSD or Linux environment using C program ? In a C application there is an dynamically allocated array which is being used/modified from multiple locations. The application is pretty large...
  2. _martin

    Other gdb ; identify heap memory address of a running program

    Goal is to attach to a running process, get the process mappings, identify heap and examine. Within gdb on Linux it's quite comfortable to do info proc map. I have some struggle with this on FreeBSD. When I attach to a running program and do the (more generic) maintenance info sections: (gdb)...