From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24796 invoked by alias); 5 Jan 2012 21:58:58 -0000 Received: (qmail 24787 invoked by uid 22791); 5 Jan 2012 21:58:57 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,TW_TM,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-gx0-f201.google.com (HELO mail-gx0-f201.google.com) (209.85.161.201) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Jan 2012 21:58:42 +0000 Received: by ggnv5 with SMTP id v5so108007ggn.0 for ; Thu, 05 Jan 2012 13:58:42 -0800 (PST) Received: by 10.101.129.5 with SMTP id g5mr1505892ann.15.1325800722039; Thu, 05 Jan 2012 13:58:42 -0800 (PST) Received: by 10.101.129.5 with SMTP id g5mr1505885ann.15.1325800721949; Thu, 05 Jan 2012 13:58:41 -0800 (PST) Received: from wpzn3.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id e38si42656758ana.0.2012.01.05.13.58.41 (version=TLSv1/SSLv3 cipher=AES128-SHA); Thu, 05 Jan 2012 13:58:41 -0800 (PST) Received: from ruffy.mtv.corp.google.com (ruffy.mtv.corp.google.com [172.18.110.50]) by wpzn3.hot.corp.google.com (Postfix) with ESMTP id D1C1810053B for ; Thu, 5 Jan 2012 13:58:41 -0800 (PST) Received: by ruffy.mtv.corp.google.com (Postfix, from userid 67641) id 836352461C9; Thu, 5 Jan 2012 13:58:41 -0800 (PST) To: gdb-patches@sourceware.org Subject: [commit] dwarf2read.c (statement_prologue): Delete, unused. Message-Id: <20120105215841.836352461C9@ruffy.mtv.corp.google.com> Date: Thu, 05 Jan 2012 21:58:00 -0000 From: dje@google.com (Doug Evans) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00208.txt.bz2 Heh, missed this one. [It was right next to the #if 0'd out comp_unit_header.] Perhaps this is here for documentation, but I'd rather just use dwarf4.pdf (or whatever). 2012-01-05 Doug Evans * dwarf2read.c (statement_prologue): Delete, unused. Index: dwarf2read.c =================================================================== RCS file: /cvs/src/src/gdb/dwarf2read.c,v retrieving revision 1.600 diff -u -p -r1.600 dwarf2read.c --- dwarf2read.c 5 Jan 2012 21:53:14 -0000 1.600 +++ dwarf2read.c 5 Jan 2012 21:55:48 -0000 @@ -75,29 +75,6 @@ typedef struct symbol *symbolp; DEF_VEC_P (symbolp); -/* .debug_line statement program prologue - Because of alignment constraints, this structure has padding and cannot - be mapped directly onto the beginning of the .debug_info section. */ -typedef struct statement_prologue - { - unsigned int total_length; /* byte length of the statement - information */ - unsigned short version; /* version number -- 2 for DWARF - version 2 */ - unsigned int prologue_length; /* # bytes between prologue & - stmt program */ - unsigned char minimum_instruction_length; /* byte size of - smallest instr */ - unsigned char default_is_stmt; /* initial value of is_stmt - register */ - char line_base; - unsigned char line_range; - unsigned char opcode_base; /* number assigned to first special - opcode */ - unsigned char *standard_opcode_lengths; - } -_STATEMENT_PROLOGUE; - /* When non-zero, dump DIEs after they are read in. */ static int dwarf2_die_debug = 0;