Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 262 Bytes

File metadata and controls

8 lines (8 loc) · 262 Bytes

How to see the source code of glibc in gdb

  1. Clone the repo : $ git clone https://github.com/sagsango/glibc-lab
  2. Run the script : $ ./init-lab.sh
  3. Now add your program in lab and attach gdb
  4. $ cd lab
  5. $ vim myprogram.c
  6. $ make
  7. $ gdb ./myprogram