This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Some problems with ctrl-C during printf.
- To: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Subject: Re: [ECOS] Some problems with ctrl-C during printf.
- From: Jesper Skov <jskov at redhat dot com>
- Date: 06 Nov 2000 10:38:41 +0100
- Cc: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- References: <5AF611D83988D4118ACF00E0B1040054055809@mr-intranet.sdesigns.net>
>>>>> "Fabrice" == Fabrice Gautier <Fabrice_Gautier@sdesigns.com> writes:
Fabrice> So, should the Horrible Flag be reste to zero, *before* the
Fabrice> int 3?
I've checked in the below. Thanks.
Jesper
Index: hal/common/current/ChangeLog
===================================================================
RCS file: /local/cvsfiles/ecc/ecc/hal/common/current/ChangeLog,v
retrieving revision 1.231
diff -u -5 -r1.231 ChangeLog
--- hal/common/current/ChangeLog 2000/11/04 21:48:17 1.231
+++ hal/common/current/ChangeLog 2000/11/06 09:37:26
@@ -1,5 +1,10 @@
+2000-11-06 Jesper Skov <jskov@redhat.com>
+
+ * src/hal_if.c (hal_if_diag_write_char): Clear interrupt flag before
+ setting breakpoint.
+
2000-11-04 Mark Salter <msalter@redhat.com>
* src/hal_stub.c (__build_t_packet): Report reason and data
address if stopped by hw watchpoint.
Index: hal/common/current/src/hal_if.c
===================================================================
RCS file: /local/cvsfiles/ecc/ecc/hal/common/current/src/hal_if.c,v
retrieving revision 1.19
diff -u -5 -r1.19 hal_if.c
--- hal/common/current/src/hal_if.c 2000/10/26 07:01:55 1.19
+++ hal/common/current/src/hal_if.c 2000/11/06 09:32:14
@@ -353,12 +353,12 @@
CYGACC_COMM_IF_PUTC(*__chan, c);
}
// Check interrupt flag
if (CYGACC_CALL_IF_CONSOLE_INTERRUPT_FLAG()) {
- cyg_hal_user_break(0);
CYGACC_CALL_IF_CONSOLE_INTERRUPT_FLAG_SET(0);
+ cyg_hal_user_break(0);
}
}
void
hal_if_diag_read_char(char *c)
Index: redboot/current/ChangeLog
===================================================================
RCS file: /local/cvsfiles/ecc/ecc/redboot/current/ChangeLog,v
retrieving revision 1.48
diff -u -5 -r1.48 ChangeLog
--- redboot/current/ChangeLog 2000/10/30 13:50:26 1.48
+++ redboot/current/ChangeLog 2000/11/06 09:37:11
@@ -1,5 +1,10 @@
+2000-11-06 Jesper Skov <jskov@redhat.com>
+
+ * src/net/net_io.c (net_io_flush): Clear interrupt flag before
+ setting breakpoint.
+
2000-10-30 Gary Thomas <gthomas@redhat.com>
* src/net/udp.c:
* src/net/pktbuf.c:
* src/net/net_io.c:
Index: redboot/current/src/net/net_io.c
===================================================================
RCS file: /local/cvsfiles/ecc/ecc/redboot/current/src/net/net_io.c,v
retrieving revision 1.13
diff -u -5 -r1.13 net_io.c
--- redboot/current/src/net/net_io.c 2000/10/30 13:50:27 1.13
+++ redboot/current/src/net/net_io.c 2000/11/06 09:36:54
@@ -202,12 +202,12 @@
__tcp_poll();
}
out_bufp = out_buf; out_buflen = 0;
// Check interrupt flag
if (CYGACC_CALL_IF_CONSOLE_INTERRUPT_FLAG()) {
- cyg_hal_user_break(0);
CYGACC_CALL_IF_CONSOLE_INTERRUPT_FLAG_SET(0);
+ cyg_hal_user_break(0);
}
}
static void
net_io_putc(void* __ch_data, cyg_uint8 c)