Xref: utzoo gnu.emacs:1914 gnu.gcc:1143 Path: utzoo!utgpu!watmath!uunet!crdgw1!montnaro From: montnaro@sprite.crd.ge.com (Skip Montanaro) Newsgroups: gnu.emacs,gnu.gcc Subject: Emacs' gdb-mode versus GCC's -gg option Message-ID: Date: 17 Nov 89 21:04:13 GMT Sender: news@crdgw1.crd.ge.com Reply-To: (Skip Montanaro) Followup-To: gnu.gcc Distribution: gnu Organization: GE Corporate Research & Development, Schenectady, NY Lines: 9 I noticed today that the -gg option to gcc (v. 1.36) apparently doesn't insert line number information into the debug symbol table. Hence, gdb (3.4) doesn't spit out line number information for gdb-mode in Emacs. What is the benefit to -gg versus -g? The gcc Info file doesn't say much about -gg other than that it is gdb's own format and requires gas and gnuld to work. -- Skip Montanaro (montanaro@crdgw1.ge.com)