summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2023-11-30 11:11:29 +0100
committerJulien Nabet <serval2412@yahoo.fr>2023-11-30 13:47:53 +0100
commitb4ff86cf73d6e488e96387cc726934ac892901be (patch)
treeb6b01b296fe169798c4cd812644a2d361bf1bdb7 /desktop
parentfdbf404073bd4a59dc0378418cad297a547d5dd4 (diff)
Use "set logging enabled on/off" instead of deprecated "set logging on/off"
With GNU gdb (Debian 13.2-1) 13.2, I noticed this trace on console when using --backtrace Warning: 'set logging on', an alias for the command 'set logging enabled', is deprecated. Use 'set logging enabled on'. Change-Id: Ic03911ea94aff57dee8f594744147302ef01a1ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160143 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/scripts/gdbtrace4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/scripts/gdbtrace b/desktop/scripts/gdbtrace
index f5fbf6325d11..d4eae973c56a 100644
--- a/desktop/scripts/gdbtrace
+++ b/desktop/scripts/gdbtrace
@@ -3,11 +3,11 @@ echo log will be saved as gdbtrace.log, this will take some time, patience...\n
handle SIGPIPE SIGXCPU SIG33 SIG35 SIGPWR nostop noprint
set logging redirect on
set logging file gdbtrace.log
-set logging on
+set logging enabled on
set logging overwrite on
run
bt
thread apply all bt
quit
-set logging off
+set logging enabled off
echo log is saved as gdbtrace.log\n