From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 691 invoked by alias); 13 May 2006 16:04:51 -0000 Received: (qmail 672 invoked by uid 22791); 13 May 2006 16:04:48 -0000 X-Spam-Check-By: sourceware.org Received: from jess.glam.ac.uk (HELO jess.glam.ac.uk) (193.63.147.97) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 13 May 2006 16:04:42 +0000 Received: from mailserv1.isd.glam.ac.uk ([192.168.244.1]) by jess.glam.ac.uk with esmtp (Exim 3.35 #1) id 1FewS8-0005PJ-00; Sat, 13 May 2006 16:54:48 +0100 Received: from floppsie ([193.63.148.84]) by MAILSERV1.isd.glam.ac.uk with Microsoft SMTPSVC(6.0.3790.1830); Sat, 13 May 2006 17:04:39 +0100 Received: from gaius by floppsie with local (Exim 4.61) (envelope-from ) id 1FewNJ-0003cI-Ou; Sat, 13 May 2006 16:49:49 +0100 To: gdb-patches@sources.redhat.com Cc: Joel Brobecker , Eli Zaretskii , Jim Blandy Subject: [commit]: Re: Enhanced language support for Modula-2 References: <87psjc9yu3.fsf@glam.ac.uk> <87psius247.fsf@glam.ac.uk> <20060504153726.GA2396@nevyn.them.org> <8f2776cb0605041101u7d969e0eodde33866ac4abc41@mail.gmail.com> <874q00liyr.fsf@glam.ac.uk> <874pzyrf8l.fsf@glam.ac.uk> <87mzdosqi4.fsf@glam.ac.uk> <20060512164239.GB27234@adacore.com> From: Gaius Mulley Date: Sat, 13 May 2006 16:24:00 -0000 In-Reply-To: Message-ID: <87zmhlgc0y.fsf_-_@glam.ac.uk> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00297.txt.bz2 Hi, a small note to say that I've applied the Modula-2 enhancement patches to the gdb cvs. Many thanks for all the guidance, regards, Gaius 2006-05-09 Gaius Mulley * gdb/m2-lang.h: added function extern prototypes for m2_is_long_set and get_long_set_bounds. * gm2/m2-typeprint.c: This file has been completely replaced to reflect the Modula-2 syntax rather than call the c_print_type function. (m2_print_type): walk the Modula-2 type tree. (m2_type_name): added. (m2_range): added. (m2_typedef): added. (m2_array): added. (m2_pointer): added. (m2_ref): added. (m2_unknown): added. (m2_union): added. (m2_procedure): added. (m2_print_bounds): added. (m2_short_set): added. (m2_is_long_set): added. (m2_get_discrete_bounds): added. (m2_is_long_set_of_type): added. (m2_long_set): added. (m2_record_fields): added. (m2_enum): added. * gdb/dwarf2read.c: added ability to detect the language Modula-2 and handle SET and CHAR types. (read_set_type): added. (process_die): call read_set_type. (read_base_type): modifed signed/unsigned char handling for Modula-2. (set_cu_language): added Modula-2 case clause. * gdb/m2-valprint.c: complete replacement so that Modula-2 values are printed rather than call the C language routines. (print_function_pointer_address): added. (get_long_set_bounds): added. (m2_print_long_set): added. (print_unpacked_pointer): added. (print_variable_at_address): added. (m2_val_print): replaced. * gdb/doc/gdb.texinfo: added a section on Modula-2 Types.