Skip to content

Commit

Permalink
Merge branch 'topic/vadim/32bit' into 'master'
Browse files Browse the repository at this point in the history
Fix size of the tag on 32bit platforms.

Closes #248

See merge request eng/ide/VSS!333
  • Loading branch information
godunko committed Jul 8, 2024
2 parents ad90a73 + 578e3c7 commit 95fef78
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,22 @@ stages:
- build_dependent
- run_downstream_ci

###############
# ISSUE CHECK #
###############

issue-check:
services:
- image:e3
stage: build_and_test
interruptible: true # Cancel job if the branch is pushed
variables: # do not checkout the git repository, not needed
GIT_STRATEGY: none
rules: # Launch only on merge requests
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
script:
- require_issue # launch the verification

#########
# BUILD #
#########
Expand Down
6 changes: 4 additions & 2 deletions gdb/vss_pp.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ def to_string(self):

if text.type == utf8static_type:
# GDB is unable to resolve "storage" component of the record,
# so skip first implicit component of 8 bytes and decode.
return decode_utf8(text.bytes[8:], text["size"])
# so skip first implicit component of System.Address and decode.
return decode_utf8(
text.bytes[gdb.lookup_type("system.address").sizeof :], text["size"]
)

elif text.type == utf8dynamic_type:
data = text["pointer"].dereference()
Expand Down

0 comments on commit 95fef78

Please sign in to comment.