| delorie.com/archives/browse.cgi | search |
| From: | Regis BOSSUT <bossut AT isen DOT fr> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: A simple program that works except under GDB... |
| Date: | Mon, 24 Mar 1997 09:43:42 +0100 |
| Organization: | IEMN - Dépt ISEN - Acoustique |
| Lines: | 12 |
| Message-ID: | <33363EBE.5CFF@isen.fr> |
| References: | <Pine DOT SUN DOT 3 DOT 91 DOT 970323143342 DOT 29590F-100000 AT is> |
| NNTP-Posting-Host: | hpac1.isen.fr |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Eli Zaretskii wrote: > Did you actually tried to add ``__attribute__(packed))''? Because I > think that you are wrong in assuming that NCB is already aligned. Yes, I did it. No change. My guess about alignment was certainly wrong. Have a try: compile and link it with -g switch. Then run it. If you have a LAN card, it should write its MAC address. Run it under GDB without setting any breakpoint and you will get a MAC address of zeroes. /Régis
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |