Mail Archives: djgpp/2000/03/22/09:15:41
On Tue, 21 Mar 2000, Francisco Pastor wrote:
> I have made a program with djgpp that use serial port comunications with
> interrupt handlers. The program work fine but when I run it with gdb overrun
> errors appear. That occur even with relative slow speed (2400 bps) in a
> 100MHz 486 DX4.
On what OS is this? If it's DOS, please post here the contents of
your CONFIG.SYS and AUTOEXEC.BAT.
Also, what version of GDB is that?
> My doubt is if gdb affect to DPMI interrupt management.
Do the overruns happen even if you don't set any breakpoints in the
debugged program? That is, do you see the overruns when you do
something like this:
gdb yourprog
r <put here any arguments needed by the program>
GDB (well, actually the DJGPP debug support functions linked into
GDB) hooks the timer and keyboard hardware interrupts, so it could
theoretically slow down programs which use those, but it does nothing
with the serial interrupt. So, as long as you don't set any
breakpoints, there should be no slow-down due to GDB, I think.
- Raw text -