|
| From: | Samuel Thibault |
| Subject: | Re: [PATCH 09/19] ddb/db_run.c: move declaration of brpc into SOFTWARE_SSTEP |
| Date: | Wed, 20 Nov 2013 21:48:14 +0100 |
| User-agent: | Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Guillem Jover, le Wed 20 Nov 2013 21:09:08 +0100, a écrit :
> > #ifdef SOFTWARE_SSTEP
> > + db_addr_t brpc;
> > /* Account for instructions in delay slots */
> > brpc = next_instr_address(pc, 1, task);
> > if ((brpc != pc) && (inst_branch(ins) || inst_call(ins))) {
>
> This adds intermixing of statements and declarations.
What kind of problem do you expect? C99 is almost 15 years old now.
Samuel
| [Prev in Thread] | Current Thread | [Next in Thread] |