ddbg_gdb with emacs

Bill Baxter dnewsgroup at billbaxter.com
Tue Feb 27 12:07:15 PST 2007


Bill Baxter wrote:

>> codeblocks uses
>> \032\032([A-Za-z]:)([^:]+):([0-9]+):[0-9]+:[begmidl]+:(0x[0-9A-z]+)
> 
> Is that the only regex they use?  Because that doesn't look like it 
> would match without the filename.  It also doesn't look like it would 
> match MinGW gdb's output which is like:
> "  C:/tmp/mingwdbg/hello.c:22:496:beg:0x401322"
> 
> Note "beg" vs "begmidl".

I figured this one out :-)
I didn't notice the [] around "begmidl".

But I still don't see how it could match with your no-filename output. 
In fact it appears that it will only match with fully-qualified Windows 
filenames.  So there must be some other one they use at least to match

Ah yes... looks like they use this too:
   ([A-Za-z]*[:]*)([^:]+):([0-9]+):[0-9]+:[begmidl]+:(0x[0-9A-Fa-f]+)

That appears to be the main one actually.  The other one you gave is 
used for "disassembly-flavor or32", whatever that is.  --- oh, open risc 
32.  Seems like it's a bug workaround.

--bb


More information about the Digitalmars-d-debugger mailing list