sb/get-source: Add a macro to indicate the get-source command is running.

- Fix GDB's library checks to ignore errors when getting the source.
This commit is contained in:
Chris Johns
2019-10-27 08:20:38 +11:00
parent 9b5017f898
commit 3e22fc45d2
2 changed files with 2 additions and 1 deletions

View File

@@ -281,6 +281,7 @@ class buildset:
self.macros = copy.copy(opts.defaults)
else:
self.macros = copy.copy(macros)
self.macros.define('_rsb_get_source')
log.trace('_bset: %s: macro defaults' % (bset))
log.trace(str(self.macros))
self.bset = bset