Re: "xbreak" command in GDB ?

Eli Zaretskii
2002-01-25T07:46:08Z

> From: "Sarnath K - CTD, Chennai." <k_sarnath@ctd.hcltech.com>
> Date: Thu, 24 Jan 2002 14:59:18 +0530
>
> The "xbreak" command (and hence "txbreak" )
> in GDB Version 5.1 doesnt seem to work
> properly.

What OS? What compiler?

On my system (DJGPP, GCC 3.0.2), xbreak does seem to work.

> A minute investigation showed that it is
> setting a break-point at a posn
> 1 past the last instrn of the "function".

Could you send a complete short test program and a sequence of
commands, including the compilation command line, to reproduce that?