[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock in machine mode of gdba
From: |
Masatake YAMATO |
Subject: |
Re: font-lock in machine mode of gdba |
Date: |
Wed, 20 Oct 2004 01:38:16 +0900 (JST) |
> > > I think it should at least be consistent with asm-mode where keywords
> like
> > > movl, andl, etc are fontified with font-lock-keyword-face and operands
> and
> > > registers are left unfontified.
> >
> > I have changed both gdb-ui.el and asm-mode.el; and used the same face in
> the
> > both mode for the same object. Do you think operand fontification is too
> decorative?
> >
> > Now font-lock-mode is turn-on in gdb-assembler-mode when
> global-font-lock-mode is
> > true. gdb-assembler-mode-hook is also provided. See the comments at the
> tail of
> > font-core.el.
>
> I don't know if the operand fontification too decorative but is it logical?
> Should a register name have font-lock-variable-face and an address
> font-lock-constant-face? I don't use disassembly for debugging or code in
> assembler. Perhaps someone who does can comment.
I'm using disassembly for hacking and understanding glibc's
/lib/ld-linux.so.2 on i386. (gdba is extremely useful.) I feel my
definition is not so bad. The face usage is consistent with asm-mode.
BTW, What I really need is fontification on x/i commands output.
Masatake YAMATO
- font-lock in machine mode of gdba, Masatake YAMATO, 2004/10/17
- Re: font-lock in machine mode of gdba, Stefan Monnier, 2004/10/17
- font-lock in machine mode of gdba, Nick Roberts, 2004/10/17
- Re: font-lock in machine mode of gdba,
Masatake YAMATO <=
- Re: font-lock in machine mode of gdba, Nick Roberts, 2004/10/23
- Re: font-lock in machine mode of gdba, Masatake YAMATO, 2004/10/23
- Re: font-lock in machine mode of gdba, Nick Roberts, 2004/10/23