This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "xbreak" command in GDB ?


> 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]