Steven Watanabe
c0ef46eeab
Add support for clearing breakpoints.
2015-12-11 13:34:11 -07:00
Steven Watanabe
31692f06f9
Check for a child when printing the stack.
2015-12-11 13:02:37 -07:00
Steven Watanabe
7c8de02c3f
Really commit the code that I intended to add in the last commit. Also add support for viewing the stack.
2015-12-10 19:48:01 -07:00
Steven Watanabe
daa67700ed
Implement printing values for MI.
2015-12-10 17:16:13 -07:00
Steven Watanabe
48aca139d5
Start implementing GDB/MI. Basic commands for running work
...
in Emacs GDB mode.
TODO:
* Pipe command output in the child through the debugger rather
than sending it straight to stdout.
* Redirect stdin/stdout/stderr as needed and format the output.
* Add a proper switch between console and mi.
* Finish implementing the stub functions.
* Get Emacs commands for viewing data and the stack working.
2015-03-31 13:23:54 -06:00
Steven Watanabe
d0594ad5d5
Cleanup.
...
* Commands are no longer capped at 8 tokens
* Mark functions as static
* Add declaration of debugger( void ) in debugger.h
* Use f ( void ) instead of f ( )
2015-03-23 17:23:58 -06:00
Steven Watanabe
e611b28a20
Normalize paths when setting breakpoints, so it isn't necessary to match the exact name used to load the file. Also allow setting a breakpoint with just a filename, i.e. gcc.jam:73.
2015-03-23 16:57:21 -06:00
Steven Watanabe
78d045e0df
Make sure that finish stops when returning from a tail call.
2015-03-23 11:45:47 -06:00
Steven Watanabe
eb1e353840
Fix $(ARGV[1]) on *nix.
2015-03-23 11:37:27 -06:00
Steven Watanabe
ed8bf16ecc
Improve test to decide whether a breakpoint is the name of a function or a file+line. Rule names can contain ':' when the module name includes an absolute path on Windows. e.g. Jamfile<C:\boost>.tag.
2015-03-23 11:05:20 -06:00
Steven Watanabe
3721fec260
Initial implementation of a debugger for Jam.
...
The interface is a subset of gdb.
TODO:
* Put this behind flag, so it's possible to run b2 without the debugger.
Perhaps -db?
* Keep a command history and allow it to be accessed.
* Abbreviate long arguments in the backtrace, and wrap
long lines better.
* Implement more commands. I'm thinking of watch, condition, and ignore in
particular.
* Test the runtime cost. If it doesn't have any noticable penalty
when it's off, then it's safe to integrate this functionality
into the primary b2 executable.
* Write documentation.
* IDE integration. I'm hoping that I can hijack gdb support for any
editor that has built in support for gdb.
2015-03-21 17:21:36 -06:00
Steven Watanabe
1a87fc9da1
Adjust the alignment check to account for platforms with lower alignment requirements for pointers. Fixes #8993 .
2015-03-13 20:13:27 -06:00
Vladimir Prus
cebedd8113
Add Travis setup.
2015-03-11 13:56:49 -07:00
Jürgen Hunold
039efe6449
Merge pull request #63 from yangcha/develop
...
Typo in the document for setting toolset option
2015-03-11 19:35:29 +01:00
Changjiang Yang
5715bda86f
Typo in the document for setting toolset option
2015-03-11 13:02:45 -04:00
Rene Rivera
ef875ea43a
Make it possible to generate synthetic projects at any location. Use that to synthesize projects for modular libraries.
2015-03-06 22:16:42 -06:00
Rene Rivera
a5edb324b0
Basic modular automatic configuration.
2015-03-05 15:22:29 -06:00
Rene Rivera
f3c05f1d10
Merge branch 'develop' of https://github.com/boostorg/build into develop
2015-03-05 15:16:02 -06:00
Steven Watanabe
259f7f7a96
Add support for more standard library options within sun.jam. Patch contributed by John Maddock.
2015-03-03 11:58:51 -07:00
Steven Watanabe
30d35ce80d
Make order stable. This restores the old behavior of printing includes in alphabetical order. When I added the topological sort for includes, it caused directories with no constraints to be printed in reverse alphabetical order under some circumstances. This broke existing users who relied on the original order. While I believe that users should not depend on any order for include directories that is not explicitly stated, I'd rather not gratuitously break such uses. This is especially true since explicitly ordered includes only worked in the simplest cases prior to my topological sort patch.
2015-02-28 14:16:34 -07:00
Rene Rivera
5f9b6e6a41
Add virtual-target as property for tag rules to provide additional info for them. For example to use in formulating unique names in the face of non-unique sources.
2015-02-28 10:10:24 -06:00
Rene Rivera
765c3af806
Revert "Add target argument to tag rule invocations so that tag rules can get infmration on the specific target they are naming. This is useful, for eaxmple, in finding the sources and basing name changes on that."
...
This reverts commit 327890fe2b .
2015-02-27 11:13:07 -06:00
Rene Rivera
e9c3ddd3d9
Merge branch 'develop' of https://github.com/boostorg/build into develop
2015-02-26 21:10:49 -06:00
Rene Rivera
327890fe2b
Add target argument to tag rule invocations so that tag rules can get infmration on the specific target they are naming. This is useful, for eaxmple, in finding the sources and basing name changes on that.
2015-02-26 21:08:43 -06:00
Steven Watanabe
89d6d77396
Issue an error when a file is linked from more than one source directory.
2015-02-26 10:15:32 -07:00
Steven Watanabe
2520b6c1bf
Make sure that files and directories under a deleted symlink are restored if needed.
2015-02-25 20:22:56 -07:00
Oliver Kowalke
4a3a99bf30
check __aarch64__ for ARM
...
Macro __arm__ is not set on Aarch64 architecture
2015-02-25 12:23:40 +03:00
Steven Watanabe
25899a8073
Fix some problems when splitting a linked directory. This can show up when adding a new library. The bug was order-dependent and didn't appear in the original tests.
2015-02-24 13:37:53 -07:00
Steven Watanabe
52f7ac2c65
Make sure that symlinks are updated when switching from a non-symlink configuration. Add tests for every possible combination of configuration switching.
2015-02-24 12:55:36 -07:00
Steven Watanabe
2e72499351
Junctions are only possible on windows. .can-junction is used directly in some places, which resulted in always enabling symlinks on non-Windows.
2015-02-24 10:48:00 -07:00
Steven Watanabe
86456a9028
Fix path comparison problem on Windows, when READLINK returns a path with a lower case drive.
2015-02-24 10:21:07 -07:00
Rene Rivera
37acf89aad
Fix for some test programs that require some form of input stream by
...
providing a null one for them to open instead of the non-existent pipes.
2015-01-28 16:11:26 -06:00
Rene Rivera
3067e149f5
Add optional specification of subroot path for project extensions.
2015-01-27 09:43:56 -06:00
K. Noel Belcourt
f5b31b30aa
Block signals to end of exec_cmd.
2015-01-02 16:25:18 -07:00
K. Noel Belcourt
87fa34a0c8
Fix typo in the cleanup to setpgid in parent process.
2014-12-29 08:40:51 -07:00
K. Noel Belcourt
dbb521a6ba
Remove bogus setpgid diagnostic.
2014-12-28 22:01:42 -07:00
K. Noel Belcourt
b1e0b621c4
Make system call conform to posix.2 signal handling
...
a la Steven's APUE, pg 314.
2014-12-28 21:57:18 -07:00
Vladimir Prus
1dc6c36be5
Separate copyright footer from main content a bit more.
2014-12-08 11:34:19 +03:00
Vladimir Prus
fa132a3b33
Remove font-size customization for copyright footer.
2014-12-08 10:32:17 +03:00
Vladimir Prus
3889fc7be5
Improve styling for tables.
2014-12-08 09:41:53 +03:00
Vladimir Prus
5b8228c979
Improve styling of admonitions.
...
Use textual rendering, and make style match those of code blocks,
but using colored left border.
2014-12-08 09:30:32 +03:00
Vladimir Prus
b599a54a42
Adjust styling of borders and hr element to match bootstrap.
2014-12-08 08:44:05 +03:00
Vladimir Prus
6b947c7cbd
Update stylesheet.
...
In particular, remove most of per-element fonts, make font
large, and update styling for code blocks.
2014-12-07 21:20:54 +03:00
Vladimir Prus
8388c4a533
Do no chunk first sections.
...
This avoids having sections with almost no content.
2014-12-07 21:20:04 +03:00
Vladimir Prus
e4e54c3f77
Convert 'how to use this document' into 'dedication' element.
...
This makes the content appear in the top 'index.html' element,
and disappear form TOC. I could not find another way - disabling
chunking for the first section would almost work, but would retain
it in TOC.
2014-12-07 21:18:06 +03:00
Bekenn
d268890d26
Fix naming of tag_tagged.
2014-11-29 10:28:22 +03:00
Kirit Sælensminde
c2529b667a
Don't pass unsupported -finline-function option.
2014-11-25 10:11:15 +03:00
Jessica Hamilton
7f0d33a7b0
haiku: platform support
2014-11-25 09:13:21 +03:00
Vladimir Prus
e0dde1b783
Minor copy-edits.
2014-11-20 09:13:33 +03:00
Juraj Ivančić
83b1a2e39e
improve tutorial a bit
...
Rewording/grammar.
Part of it is out of date (such as 'v2' directory).
2014-11-10 12:58:50 +03:00