From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: font-lock in machine mode of gdba Date: Sun, 24 Oct 2004 11:09:06 +1300 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <16762.54914.444953.532606@farnswood.snap.net.nz> References: <16755.10649.857644.666785@farnswood.snap.net.nz> <20041019.112647.212948122.jet@gyve.org> <16757.5765.225553.503676@farnswood.snap.net.nz> <20041020.013816.97281206.jet@gyve.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098569727 21748 80.91.229.6 (23 Oct 2004 22:15:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Oct 2004 22:15:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 24 00:15:21 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CLUAT-0006UZ-00 for ; Sun, 24 Oct 2004 00:15:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLUI2-0001SH-70 for ged-emacs-devel@m.gmane.org; Sat, 23 Oct 2004 18:23:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CLUHv-0001R3-Mt for emacs-devel@gnu.org; Sat, 23 Oct 2004 18:23:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CLUHu-0001Pu-Im for emacs-devel@gnu.org; Sat, 23 Oct 2004 18:23:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLUHu-0001Pq-FT for emacs-devel@gnu.org; Sat, 23 Oct 2004 18:23:02 -0400 Original-Received: from [202.124.108.209] (helo=farnswood.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CLU9r-0007YH-4S for emacs-devel@gnu.org; Sat, 23 Oct 2004 18:14:43 -0400 Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id F127B62FA1; Sat, 23 Oct 2004 23:09:06 +0100 (BST) Original-To: Masatake YAMATO In-Reply-To: <20041020.013816.97281206.jet@gyve.org> X-Mailer: VM 6.97 under Emacs 21.2.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28809 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28809 > 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. OK. I've installed these changes, trying to bear in mind Stefan's comments. Note, however, that your fontification (gdb-assembler-font-lock-keywords) doesn't seem to work for system library functions e.g: 0x40062155 <__libc_start_main+133>: push %edi On my system (Mandrake 9.2) you can get this by breaking any C prgram in main and going up a level (you might have to click on the GUD buffer to get fontification). Nick