Jason Molenda
aba75e6495
Show both lldb-168 and earlier "bt -c 5" as well as lldb-169 and later "bt 5" usage.
...
llvm-svn: 166839
2012-10-26 23:56:03 +00:00
Jason Molenda
ca76ecda8a
Document "bt <n>" for "thread backtrace -c <n>", note that it is available
...
in lldb-169 and later.
llvm-svn: 166838
2012-10-26 23:52:49 +00:00
Greg Clayton
13b1213de3
Updated the "breakpoint command add" documentation and fixed the web site docs for the signature of the python breakpoint callback functions.
...
llvm-svn: 166789
2012-10-26 17:53:21 +00:00
Jason Molenda
a3843dd2a5
Document target.source-map as the replacement for gdb's directory command.
...
llvm-svn: 166753
2012-10-26 04:38:09 +00:00
Jim Ingham
06933e2af0
Add section on creating convenience variables.
...
llvm-svn: 166697
2012-10-25 17:35:53 +00:00
Enrico Granata
44818163ed
<rdar://problem/12523238> Commit 3 of 3
...
Changed all relevant test cases to verify that MightHaveChildren() works correctly for objects of interest
Added a bunch of convenience methods for test cases to use: target(), process(), thread() and frame() which mimic the lldb.X convenience variables
As a bonus, edited the documentation on the website to describe the new method available for synthetic children providers writers to implement!
That's all folks!
llvm-svn: 166535
2012-10-24 01:23:57 +00:00
Jason Molenda
60c9dae2bf
Reorder the sections of "USE AND EXTENSIONS" so the most useful to
...
users new to lldb are at the top.
llvm-svn: 166381
2012-10-20 21:01:22 +00:00
Jason Molenda
96c53b71cb
Rename the lldb/gdb command page.
...
Remove 'Customization', 'Documentation', and 'FAQ' pages from the sidebar's "USE AND EXTENSION"
section. These pages have no content. If someone ever wants to add content to them, we can
re-add them to the sidebar.
llvm-svn: 166380
2012-10-20 21:00:03 +00:00
Jason Molenda
3929249281
Remove -w write flag to watch set var from tutorial.html.
...
Fix one gdb example that had an "(lldb)" prompt in the lldb/gdb page.
llvm-svn: 166297
2012-10-19 19:52:12 +00:00
Jim Ingham
5114f91a43
Mention "break set -r" and "break set -p".
...
llvm-svn: 166238
2012-10-18 21:54:05 +00:00
Greg Clayton
84ffa16de6
Added register write examples and also how to modify the pc. For this we show and example of GDB using the "jump" command, and LLDB using "register write" with an expression.
...
llvm-svn: 166127
2012-10-17 20:58:52 +00:00
Greg Clayton
3c6aa277b9
Patch from Daniel Malea -- Updated build instructions for Linux.
...
llvm-svn: 165964
2012-10-15 20:39:39 +00:00
Jason Molenda
48d88919d7
Remove two more cases of "-w write" being specified
...
to watch var set/exp -- that's now the default in the
shipped lldb.
llvm-svn: 165333
2012-10-05 20:28:11 +00:00
Jason Molenda
80f1663a9c
Improve shortened examples of the watchpoint commands.
...
Document "f <n>" selects frame n.
"t <n>" selects thread n but this was just added to TOT
so most people won't have access to an lldb that accepts it.
llvm-svn: 165332
2012-10-05 20:25:53 +00:00
Jason Molenda
766e7277ed
one more small fix for the gdb-comes-first column order
...
llvm-svn: 165301
2012-10-05 05:31:01 +00:00
Jason Molenda
840e2819c6
typeo
...
llvm-svn: 165297
2012-10-05 04:29:13 +00:00
Jason Molenda
293e210a59
typeo
...
llvm-svn: 165296
2012-10-05 04:28:53 +00:00
Jason Molenda
74f29358b1
Update the intro paragraph of text describing the table below to
...
reflect that the columns were just swapped.
llvm-svn: 165295
2012-10-05 04:28:33 +00:00
Jason Molenda
c8fd91603a
Swap the columns in the lldb & gdb command comparison table. I
...
often hear feedback from people that having the lldb commands on
the left hand side is non-intuitive -- they say "I want a *gdb* to
*lldb* table, not a *lldb* to *gdb* table". It doesn't seem odious
to go from the right-hand column to the left hand column but I've
heard this same feedback enough that it's also pointless to keep
the format lldb-first, gdb-second when it was an arbitrary choice
to begin with.
llvm-svn: 165294
2012-10-05 04:26:06 +00:00
Jason Molenda
e5b55eadda
Add examples of using the kdp-remote and gdb-remote commands to connect to
...
gdb-remote protocol and kdp protocol systems.
llvm-svn: 164730
2012-09-26 22:42:25 +00:00
Filipe Cabecinhas
d685840a5e
Don't force libc++ and c++11 on everyone.
...
Make the flags part of configure and make invocations, for now.
llvm-svn: 163911
2012-09-14 17:09:06 +00:00
Jim Ingham
02430574d5
Add "info func" to the list.
...
llvm-svn: 163669
2012-09-12 00:38:19 +00:00
Jim Ingham
b520a104c1
Add the "expr" command to the gdb command equivalents.
...
llvm-svn: 162617
2012-08-24 22:56:40 +00:00
Enrico Granata
5eb99ccd3e
Providing an additional Python command example
...
llvm-svn: 162600
2012-08-24 21:20:14 +00:00
Johnny Chen
a7e1d39309
Update build instructions. Patch from "Kopec, Matt" <matt.kopec@intel.com>!
...
llvm-svn: 162001
2012-08-16 00:08:21 +00:00
Enrico Granata
40d557107f
<rdar://problem/11975483> Removing user-visible references to 'dict' as a parameter name for Python summary-generating functions since it is a Python keyword.
...
llvm-svn: 161467
2012-08-08 02:06:30 +00:00
Greg Clayton
3e3b48e669
Added information on how to get API documentation in a "Documentation" section.
...
llvm-svn: 159434
2012-06-29 16:25:05 +00:00
Sean Callanan
a69e64481d
Added a GDB equivalent for saving binary memory
...
data.
llvm-svn: 157192
2012-05-21 17:01:59 +00:00
Enrico Granata
e89f3fe3f3
Fixing a typo in the lldb-gdb webpage
...
llvm-svn: 156779
2012-05-14 21:39:38 +00:00
Jim Ingham
db81e83c2e
Add "echo" -> "script print".
...
llvm-svn: 156624
2012-05-11 18:01:15 +00:00
Enrico Granata
2980927107
Update the docs to reflect the recent changes to categories
...
llvm-svn: 156020
2012-05-02 21:13:16 +00:00
Enrico Granata
19e7a185f2
Mentioning in the docs that Python commands can have docstrings
...
llvm-svn: 156018
2012-05-02 21:00:41 +00:00
Enrico Granata
4a3274af96
Removing cascading through inheritance chains for data formatters
...
This is the feature that allowed the user to have things like:
class Base { ... };
class Derived : public Base { ... };
and have formatters defined for Base work automatically for Derived.
This feature turned out to be too expensive since it requires completing types.
This patch takes care of removing cascading (other than typedefs chain cascading), updating the test suite accordingly, and adding required Cocoa class names to keep the AppKit formatters working
llvm-svn: 153272
2012-03-22 19:55:55 +00:00
Johnny Chen
907c233591
Add "frame info" command to the "Examining Thread State" section, as suggested by Andrew Trick.
...
llvm-svn: 153204
2012-03-21 18:14:37 +00:00
Enrico Granata
a7a3a4c79e
Editing documentation to reflect recent changes in the formatters support
...
llvm-svn: 153068
2012-03-19 23:57:06 +00:00
Enrico Granata
3713cadd09
Changed the URL to the CFString summary provider; slightly reworded the relevant piece of content
...
llvm-svn: 152972
2012-03-17 02:14:46 +00:00
Enrico Granata
0fddd5631d
Pointing users to a new example of synthetic children provider en lieu of the old StdVector example which was removed earlier today
...
llvm-svn: 152971
2012-03-17 02:04:20 +00:00
Johnny Chen
a113abce1d
rdar://problem/11057400
...
Add documentation for watchpoint commands.
llvm-svn: 152882
2012-03-16 00:44:02 +00:00
Johnny Chen
f224ea69e6
Minor modification.
...
llvm-svn: 151182
2012-02-22 19:02:32 +00:00
Greg Clayton
7f7d6f50ce
Updated our main LLDB page as it was vastly out of date.
...
llvm-svn: 151175
2012-02-22 18:01:09 +00:00
Enrico Granata
f4ca30d74b
fixing documentation to refer to the correct name of the module init function __lldb_init_module
...
llvm-svn: 150992
2012-02-20 22:05:47 +00:00
Greg Clayton
53905d198c
Document that we now support the GDB shorthand format syntax on any commands
...
that take formats or sizes.
Also document that scalar expression results can be used in any command using
expressions inside backticks.
llvm-svn: 150652
2012-02-16 02:10:58 +00:00
Greg Clayton
ba728e6d7d
Added some clarifications about when the __lldb_init_module would be called
...
and showed a work around for when this won't.
llvm-svn: 149046
2012-01-26 05:36:07 +00:00
Greg Clayton
690b034161
Fix page title.
...
llvm-svn: 149004
2012-01-26 00:32:22 +00:00
Jim Ingham
feb332c0f7
Better name for the Python Scripting.
...
llvm-svn: 148770
2012-01-24 02:44:55 +00:00
Jim Ingham
6ae0f99f59
Better name for the python reference.
...
llvm-svn: 148769
2012-01-24 02:44:07 +00:00
Jim Ingham
87a593687c
Proof-reading the python docs.
...
llvm-svn: 148768
2012-01-24 02:40:42 +00:00
Greg Clayton
d879a6305b
Added a python FAQ page with detailed examples of how to add python functions
...
to breakpoints, creating new LLDB commands using python modules and also how
to run scripts from the command line.
llvm-svn: 148650
2012-01-22 02:55:08 +00:00
Greg Clayton
13d284b284
Updated HTML with info for ${function.name-with-args}
...
llvm-svn: 148111
2012-01-13 08:41:20 +00:00
Sean Callanan
49e446d9ea
Added examples of commands that list and delete
...
breakpoints.
llvm-svn: 147549
2012-01-04 21:20:39 +00:00