]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix "compilation unit" matching in dwarf-font-lock-keywords
authorTom Tromey <tom@tromey.com>
Thu, 20 Feb 2025 16:38:05 +0000 (09:38 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 20 Feb 2025 16:45:25 +0000 (09:45 -0700)
commit3fddd4e758fa330fb9f60fce17831c2062d8d9ef
tree961a0781f1a696097da82482ecaaf3d5fcfbedb1
parent792a87900ec12302c855ad9bfbc8f44417cf6f40
Fix "compilation unit" matching in dwarf-font-lock-keywords

Today I learned that, at least on my system (Fedora 40), the printf
"%#x" format will produce "0" rather than "0x0" when given 0 as an
argument.

This causes dwarf-mode.el to not correctly fontify the very first
"Compilation Unit" line it sees.

This patch adapts dwarf-mode.el.  As always, this patch bumps the
version number for easier installation.

I am checking this in.
binutils/dwarf-mode.el