Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c4ce012e
Commit
c4ce012e
authored
Nov 07, 2022
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.6' into bb-10.6-release
parents
d157b250
118d39d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
VERSION
VERSION
+1
-1
mysys/my_addr_resolve.c
mysys/my_addr_resolve.c
+9
-1
No files found.
VERSION
View file @
c4ce012e
MYSQL_VERSION_MAJOR=10
MYSQL_VERSION_MINOR=6
MYSQL_VERSION_PATCH=1
1
MYSQL_VERSION_PATCH=1
2
SERVER_MATURITY=stable
mysys/my_addr_resolve.c
View file @
c4ce012e
...
...
@@ -319,12 +319,20 @@ int my_addr_resolve(void *ptr, my_addr_loc *loc)
/* Save result for future comparisons. */
strnmov
(
addr2line_binary
,
info
.
dli_fname
,
sizeof
(
addr2line_binary
));
#ifdef _AIX
/*
info.dli_fbase is a char on AIX and casting it doesn't fool gcc.
leave backtracing broken on AIX until a real solution can be found.
*/
addr_offset
=
NULL
;
#else
/*
Check if we should use info.dli_fbase as an offset or not
for the base program. This is depending on if the compilation is
done with PIE or not.
*/
addr_offset
=
(
void
*
)
info
.
dli_fbase
;
addr_offset
=
info
.
dli_fbase
;
#endif
#ifndef __PIE__
if
(
strcmp
(
info
.
dli_fname
,
my_progname
)
==
0
&&
addr_resolve
((
void
*
)
my_addr_resolve
,
loc
)
==
0
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment