This is the mail archive of the gdb-patches@sourceware.org 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: [RFC/RFA?] Should break FILE:LINENO skip prologue?


> > What I suggest is that we document *FUNCTION as a special case and yet
> > very useful form of *EXPRESSION, and explain why it works.
> 
> In what languages _does_ it work, besides C/C++?

I can say for sure for some of the languages only. For sure, it will
work with c, c++, asm, minimal, objective-c. I made some experiments
by forcing the language to other values, and tried "break *main",
and it also worked for the following languages: fortran, java,
modula-2, and pascal. It did NOT work with scheme. We have users
from at least Fortran, Pascal and Modula-2, we should as them to
confirm.

-- 
Joel


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