From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18775 invoked by alias); 13 Dec 2013 21:53:58 -0000 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 Received: (qmail 18766 invoked by uid 89); 13 Dec 2013 21:53:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT autolearn=no version=3.3.2 X-HELO: mailhost.u-strasbg.fr Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.222.217) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Dec 2013 21:53:56 +0000 Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antispam (Postfix) with ESMTP id CEED021605 for ; Fri, 13 Dec 2013 22:53:52 +0100 (CET) Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antivirus (Postfix) with ESMTP id 65F5121661 for ; Fri, 13 Dec 2013 22:53:51 +0100 (CET) Received: from md16.u-strasbg.fr (md16.u-strasbg.fr [130.79.200.206]) by mr7.u-strasbg.fr (Postfix) with ESMTP id 1471621566 for ; Fri, 13 Dec 2013 22:53:33 +0100 (CET) Received: from ms16.u-strasbg.fr (ms16.u-strasbg.fr [130.79.204.116]) by md16.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id rBDLrX85030879 for ; Fri, 13 Dec 2013 22:53:33 +0100 (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from E6510Muller (lec67-4-82-230-53-140.fbx.proxad.net [82.230.53.140]) (Authenticated sender: mullerp) by ms16.u-strasbg.fr (Postfix) with ESMTPSA id 40BAF1FD8E for ; Fri, 13 Dec 2013 22:52:51 +0100 (CET) From: "Pierre Muller" To: Subject: [RFC] pascal: also handle Free Pascal longjump function. Date: Fri, 13 Dec 2013 21:53:00 -0000 Message-ID: <001b01cef84d$c5aca7c0$5105f740$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-SW-Source: 2013-12/txt/msg00548.txt.bz2 Free pascal uses fpc_longjmp internal name for the long jump function. I would like to know two things: - Where is this internal long jump breakpoint really used in the code? - Is this kind of patch likely to be accepted? I would perfectly understand that it would be not acceptable as is, but maybe some language specific version of the longjmp name would be useful, no? Comments most welcome. Pierre Muller ChangeLog entry: 2013-12-13 Pierre Muller Also accept Free Pascal name for longjmp function. --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -3086,7 +3086,7 @@ create_internal_breakpoint (struct gdbarch *gdbarch, static const char *const longjmp_names[] = { - "longjmp", "_longjmp", "siglongjmp", "_siglongjmp" + "longjmp", "_longjmp", "siglongjmp", "_siglongjmp", "fpc_longjmp" }; #define NUM_LONGJMP_NAMES ARRAY_SIZE(longjmp_names)