From 46b5c6b63bbf30b84b37be75a0f494c85be66d09 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 22 Jan 2024 01:32:56 +0800 Subject: [PATCH] gcc: Fix libcc1 description libcpp is the preprocessor library, but it's a static library which is only used by GCC itself and not installed. libcc1 is actually a library for GDB to "compile" expressions, so we can use fancy expressions in commands, like "print sin(x + 2.0)": the expression sin(x + 2.0) needs to be "compiled" for evaluation. --- chapter08/gcc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 349d83c2a..7f21cf853 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -534,7 +534,7 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib libcc1 - The C preprocessing library + A library that allows GDB to make use of GCC libcc1