Menu
Learn
Documentation
Language Reference
Library Reference
Command-line Reference
Feature Overview
Articles
Downloads
Packages
Community
Blog
Orgs using D
Twitter
Calendar
Forums
IRC
Wiki
GitHub
Issues
Get involved
Contributors
Foundation
Donate
Sponsors
Resources
Tour
Books
Tutorials
Tools
Editors
IDEs
Visual D
Acknowledgments
D Style
Glossary
Sitemap
Search
Entire Site
Language
Library
Forums
D group
This thread
go
Forums
Forums
Forum Index
New users
Learn
Community
General
Announce
Improvements
DIP Ideas
DIP Devel.
Ecosystem
GDC
LDC
Debuggers
IDEs
DWT
Development
Internals
Issues
Beta
DMD
Phobos
Druntime
Study
Turkish
Genel
Duyuru
Log in
Settings
Help
Index
»
D
»
valgrind
»
Post reply
Warning: the post you are replying to is from 21 years ago (September 24, 2003).
Posting to
D
in reply to
Walter
Your name:
Your email address (
?
):
Subject:
Message:
On Wednesday, 24 September 2003 at 22:02:18 UTC, Walter wrote: > It looks like a bug in valgrind. 0xC8 is the ENTER instruction, > and has been around on the PC since the 80286! It works with -O > because dmd doesn't generate an ENTER with -O, as ENTER is a > bit slow. > > <pts+d@math.bme.hu> wrote in message > news:bkse8p$13od$1@digitaldaemon.com... >> Dear All, >> >> valgrind is a Linux memory error detector. When I run >> >> dmd -O hello.d; valgrind ./hello >> >> , everything is fine. But it doesn't work without -O, because >> it gives me > the >> unfriendly error message >> >> ==21650== Memcheck, a.k.a. Valgrind, a memory error detector >> for > x86-linux. >> ==21650== Copyright (C) 2002-2003, and GNU GPL'd, by Julian >> Seward. >> ==21650== Using valgrind-20030725, a program supervision >> framework for >> x86-linux. >> ==21650== Copyright (C) 2000-2003, and GNU GPL'd, by Julian >> Seward. >> ==21650== Estimated CPU clock rate is 804 MHz >> ==21650== For more details, rerun with: -v >> ==21650== >> disInstr: unhandled instruction bytes: 0xC8 0xC 0x0 0x0 >> >> This might be an issue for Valgrind, not DMD, but I think it >> would be > important >> to have DMD and Valgrind working together, so we would be able >> to track > down >> memory errors much easier. >> >> pts
Enable
Markdown
Copyright © 1999-2021 by the
D Language Foundation