Skip to contentSkip to conversation

hw-breakpoints: Accept breakpoints on NULL address

PATCH James Kosin 1 participant 1 message Feb 18, 2010 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 5 lines · Roland McGrath

Setting a watchpoint on address 0 seems like an entirely reasonable thing to do. This change looks right to me.

Thanks,
Roland

Okay with me. Most platforms use address 0x0000 for the RESET vector. Nice to catch; only problem was if it was a true RESET the information is gone anyway.
If not a true RESET, the caller tried to call a function at 0x0000 which then really isn't allowed under most circumstances.

James