Author Topic: 1: &STOP = (<data variable, no debug info> *) 0x619033 <STOP>  (Read 10573 times)

Offline RogerTunnicliffe

  • Jr. Member
  • *
  • Posts: 4
1: &STOP = (<data variable, no debug info> *) 0x619033 <STOP>
« on: January 21, 2018, 12:22:33 AM »
On Linux - nasm/ld/gdb

I have previously been able to use "watch &STOP if $STOP==1" in gdb to create a breakpoint.
I have a new system and this has stopped working.
display &STOP will produce "1: &STOP = (<data variable, no debug info> *) 0x619033 <STOP>" and the breakpoint fails.
if however i use "watch *0x619033 if *0x619033==1" then the breakpoint succeeds.

My assemble command is "nasm -f elf64 -F dwarf -g -w-macro-params $1"
My link command is "ld -o $1 $1.o lib/languageONE.l"

Does anyone know what may have changed and where the debug info has gone ??