Fix gbs clang15/gcc13 build. accepted/tizen_unified_riscv accepted/tizen/unified/20240116.021113 accepted/tizen/unified/riscv/20240111.091737
authorMikhail Kurinnoi <m.kurinnoi@samsung.com>
Wed, 10 Jan 2024 10:09:33 +0000 (13:09 +0300)
committer이형주/MDE Lab(SR)/삼성전자 <leee.lee@samsung.com>
Thu, 11 Jan 2024 03:43:48 +0000 (12:43 +0900)
src/debugger/breakpoint_interop_rendezvous.h
src/debugger/breakpoints_interop.cpp
src/debugger/interop_debugging.cpp
src/debugger/interop_mem_helpers.h
src/debugger/interop_unwind.h
src/debugger/sigaction.cpp
third_party/libelfin/dwarf/line.cpp

index 4b77c5573714530f6fcc4a4a5b3c74a6ad9e03b4..d2feb012f3cfe446e7fb04630a14bef513194b7a 100644 (file)
@@ -9,6 +9,7 @@
 #include <memory>\r
 #include <functional>\r
 #include <unordered_map>\r
+#include <string>\r
 #include "debugger/interop_ptrace_helpers.h"\r
 \r
 \r
index ec8f17d7bf90d3e125e775ebe4b667fc495e2595..5daa8b0b45f038d2de9074fec28844531f1d5c92 100644 (file)
@@ -8,6 +8,7 @@
 #include <elf.h> // NT_PRSTATUS\r
 #include <assert.h>\r
 #include <string.h>\r
+#include <cstdlib>\r
 #include "utils/logger.h"\r
 \r
 \r
index a94de173d08ffeb965de16f67b824389a6b5f473..ffe067fa93f8e9996e7e571b4379da008a99817f 100644 (file)
@@ -22,6 +22,7 @@
 #include <dirent.h>
 #include <unistd.h> // usleep
 
+#include <array>
 #include <vector>
 #include <algorithm>
 #include <sstream>
index 6907d9a26f726a706a68a55b85c2b894bf799b9c..9bf044be77aa747348eb60afa0d36087fd46e8d1 100644 (file)
@@ -5,6 +5,7 @@
 
 #ifdef INTEROP_DEBUGGING
 
+#include <cstdint>
 #include <sys/types.h>
 #include <string>
 #include <unordered_map>
index 65bfaad47487f4377798b1c448df4398b8fa1c55..8d95430a3153c9fd4e307cd386bc5d1357943af1 100644 (file)
@@ -6,6 +6,7 @@
 #ifdef INTEROP_DEBUGGING
 
 #include <sys/types.h>
+#include <cstdint>
 #include <functional>
 #include <libunwind.h>
 
index 4a2d56f653aa3df4efba38ef630c2d4106a22d40..ac8fea40bf1f38f5c99b361872e441169040e720 100644 (file)
@@ -6,7 +6,7 @@
 
 #ifdef FEATURE_PAL
 #include <dlfcn.h>
-
+#include <stdlib.h>
 #include "utils/logger.h"
 
 namespace netcoredbg
index ea405445a9fb992554865c489e2d349512f0a1c6..f2a92b821a37fa15207af0b71a270f81c4eb0604 100644 (file)
@@ -132,7 +132,7 @@ line_table::line_table(const std::shared_ptr<section> &sec, section_offset offse
                 if (incdir.back() != '/')
                         incdir += '/';
                 if (incdir[0] == '/')
-                        m->include_directories.push_back(move(incdir));
+                        m->include_directories.push_back(std::move(incdir));
                 else
                         m->include_directories.push_back(comp_dir + incdir);
         }
@@ -230,7 +230,7 @@ line_table::impl::read_file_entry(cursor *cur, bool in_header)
         last_file_name_end = cur->get_section_offset();
 
         if (file_name[0] == '/')
-                file_names.emplace_back(move(file_name), mtime, length);
+                file_names.emplace_back(std::move(file_name), mtime, length);
         else if (dir_index < include_directories.size())
                 file_names.emplace_back(
                         include_directories[dir_index] + file_name,