About GCC porting 8051 and debugger

apnny@freechal.com (J.O.)
16 Apr 2005 11:15:11 -0400

          From comp.compilers

Related articles
About GCC porting 8051 and debugger apnny@freechal.com (2005-04-16)
| List of all articles for this month |

From: apnny@freechal.com (J.O.)
Newsgroups: comp.compilers
Date: 16 Apr 2005 11:15:11 -0400
Organization: http://groups.google.com
Keywords: GCC, 8051, question
Posted-Date: 16 Apr 2005 11:15:11 EDT

I'm 8051 gcc porting

My present work stage is working about md(machine description)file.

(referencig mn10200)

below code is in mn10200.md

(define_insn ""

    [(set (match_operand : QI 0 "general_operand" "=d, d, *a, d, d, m,
d, *a, *a")

            (match_operand : QI 1 "general_operand" "0, I, I, di ,m, d, *a,
d, i*a"))]

    "register_operand (operands[0], QImode)

      || register_operand (operands[1], QImode)"



    sub %0,%0

    sub %0,%0

    mov %S1,%0

    movbu %1,%0

    movb %1,%0

    mov %1,%0

    mov %1,%0

    mov %1,%0"

    [(set_attr "cc" "none, clobber, clobber, none_0hit, none_0hit,
none_0hit, none_0hit, none_0hit, none_0hit")])

At above code 2nd line and 3re line operand attribute definition,

I wanna know about contents of *a and di

also, I'm gonna making debugger.

As a Result of searching, gdb is, I wanna know this is right which I'm

about debugger.

If this is right, I wanna konw about flow of this.

For examole,

1) Is it possible to make debugger without compiler

2) What's necessary source about making debugger

Reply entrusting it gives.

Good Luck~~

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.