Added the ability to specify a breakpoint using the GDB '*ADDRESS' format:
authorGreg Clayton <gclayton@apple.com>
Fri, 8 Feb 2013 02:54:24 +0000 (02:54 +0000)
committerGreg Clayton <gclayton@apple.com>
Fri, 8 Feb 2013 02:54:24 +0000 (02:54 +0000)
commit722e8851b14270c9ac3d51a0685803f538423a80
treea0079b86c468e1440978d93761da75845ab34cb5
parenta245d3e1fc9aecefd136d23110d73410bf01e267
Added the ability to specify a breakpoint using the GDB '*ADDRESS' format:

(lldb) b *0x1234

You can still of course just specify an address:

(lldb) b 0x1234

Also now we accept the '&' before function names to indicate to not to skip the function prologue like GDB supports. To see how this works:

(lldb) settings set interpreter.expand-regex-aliases 1
(lldb) b &main
breakpoint set --name 'main' --skip-prologue=0
Breakpoint 1: where = a.out`main at main.c:20, address = 0x0000000100000b60
(lldb) b main
breakpoint set --name 'main'
Breakpoint 2: where = a.out`main + 54 at main.c:21, address = 0x0000000100000b96

llvm-svn: 174695
lldb/source/Interpreter/CommandInterpreter.cpp