Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Issue 4149 - refs displayed as pointers in gdb #4495

Merged
merged 1 commit into from
Mar 21, 2015

Conversation

MartinNowak
Copy link
Member

  • use TYnref for reference variables
  • emit dwarf debug info for references
  • handle TY*ref in backend
  • add TYFLref to tyscalar

Issue 4149 – refs displayed as pointers in gdb

@MartinNowak MartinNowak force-pushed the fix4149 branch 2 times, most recently from e7fd354 to e111c95 Compare March 14, 2015 18:14
@@ -2162,6 +2162,10 @@ unsigned cv4_typidx(type *t)
#endif
#if MARS
case TYref:
case TYnref:
#if TARGET_SEGMENTED
case TYfref:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove all the TYfrefs. They are never going to happen, as D is never going to support 16 bit segmented memory models.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

- use TYnref for reference variables
- emit dwarf debug info for references
- handle TY*ref in backend
- add TYFLref to tyscalar
WalterBright added a commit that referenced this pull request Mar 21, 2015
fix Issue 4149 - refs displayed as pointers in gdb
@WalterBright WalterBright merged commit ed67724 into dlang:master Mar 21, 2015
@MartinNowak MartinNowak deleted the fix4149 branch March 23, 2015 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants