bin/refcount_leak.py        |    2 +-
 desktop/scripts/gdbtrace    |    4 ++--
 solenv/bin/gdbtrycatchtrace |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit b4ff86cf73d6e488e96387cc726934ac892901be
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Thu Nov 30 11:11:29 2023 +0100
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Thu Nov 30 13:47:53 2023 +0100

    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 <serval2...@yahoo.fr>

diff --git a/bin/refcount_leak.py b/bin/refcount_leak.py
index 2a24cb51e80f..de98d065a2ac 100755
--- a/bin/refcount_leak.py
+++ b/bin/refcount_leak.py
@@ -32,7 +32,7 @@
 ## II. run test/soffice in gdb and set breakpoints in acquire/release
 ##     with a command to print the backtrace
 
-# set logging on
+# set logging enabled on
 # break foo.cxx:123
 # break foo.cxx:234
 
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
diff --git a/solenv/bin/gdbtrycatchtrace b/solenv/bin/gdbtrycatchtrace
index 636985a14d45..99b1500d9d74 100644
--- a/solenv/bin/gdbtrycatchtrace
+++ b/solenv/bin/gdbtrycatchtrace
@@ -12,10 +12,10 @@ end
 echo log will be saved as gdbtrace.log, this will take some time, patience...\n
 set logging redirect on
 set logging file gdbtrace.log
-set logging on
+set logging enabled on
 set logging overwrite on
 run
 bt
 quit
-set logging off
+set logging enabled off
 echo log is saved as gdbtrace.log\n

Reply via email to