This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR pascal/2283



On 26 Sep 2007, at 16:07, Eli Zaretskii wrote:


Cc: "Pierre Muller" <muller@ics.u-strasbg.fr>,
	gdb-patches@sourceware.org
From: Jonas Maebe <jonas@freepascal.org>
Date: Wed, 26 Sep 2007 16:03:13 +0200

In fact, I have no idea why that code (in both the Pascal and
Modula-2 cases) even checks the current language, as those routines
are obviously language-specific.

Exactly! If this code is Pascal-specific, you shouldn't be checking the language at all.

In that case, the Modula-2 version shouldn't either. But I'm far too unfamiliar with the gdb source base to be able to assess whether it is in fact correct and safe to remove those checks.



Jonas



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]