From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: John Yates Newsgroups: gmane.emacs.devel Subject: Re: Extend gdb to filter registers Date: Sat, 18 Jan 2020 11:20:46 -0500 Message-ID: References: <878spmuerf.fsf@mail.linkov.net> <83wod3bx8i.fsf@gnu.org> <9f5ddaa5-0234-a17b-bdd7-81d70a0a50d6@gmx.at> <83FFF194-64CD-409E-8B7A-5A9DF91E79DE@gmail.com> <83v9pb314t.fsf@gnu.org> <838sm510d6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="36532"; mail-complaints-to="usenet@ciao.gmane.io" Cc: martin rudalics , Yuan Fu , Emacs developers , Stefan Monnier , Juri Linkov To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 18 17:22:21 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1isqrc-0009RM-Dv for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Jan 2020 17:22:20 +0100 Original-Received: from localhost ([::1]:42374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isqrb-0004Ce-B8 for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Jan 2020 11:22:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33983) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isqqM-0003dn-TG for emacs-devel@gnu.org; Sat, 18 Jan 2020 11:21:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isqqL-0005pD-Ph for emacs-devel@gnu.org; Sat, 18 Jan 2020 11:21:02 -0500 Original-Received: from mail-lj1-f175.google.com ([209.85.208.175]:41667) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1isqqJ-0005nF-LE; Sat, 18 Jan 2020 11:20:59 -0500 Original-Received: by mail-lj1-f175.google.com with SMTP id h23so29593571ljc.8; Sat, 18 Jan 2020 08:20:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e3wTHXdB+0Y7G1z8pIhrgMWab0XfChxOlmNkAdSgSwI=; b=J0nFVQZX7JcdK32lXiZ11sFDP1mUNZ38kylbC2/RSfrXTGugOjNHvVyiUeEH8CnXyP MGrGE5KT/f7XGBTbIFsmPpbTFRUUB2YhMoyp3JYPDRPdSHgHeUT9StNWM3UFJlXDUqwZ HZEaX2Qr9U+csMVyqkK4CrCWWlDCp1rr329nRWX/T3D2kTSdLvVnyanN3Ssg2LGLFD59 YrG2j/vejWRIR6B3fXVb/p7ttxHrQDhY5OEq5Tu51TwJNiYNtJDGXzyV0OQ3fVmZHMTU FMKuFYzhp57yOTRGn6vZFRREvD6yIXabOUtE2XizWqmrPFADDGR3HkEIoCRKfPoTKfB4 HH0Q== X-Gm-Message-State: APjAAAXZycsGA6pvreBahVFzP6VIf4MY2Bawjc8T0nZKTLN0T5XUjUa8 4gWN6DXlCzgF0w0lorYdG8ADOenSKK3WRlsvsrTplQ== X-Google-Smtp-Source: APXvYqyVqDF1s6nog42JTJ6PoetbP6ZIQ9EhLkYFeT48ZXL3MQVwwGrJmG0TA0lV1eC4DtkBZsti4W8Phl8yRhW0xCY= X-Received: by 2002:a05:651c:1129:: with SMTP id e9mr8643817ljo.239.1579364457803; Sat, 18 Jan 2020 08:20:57 -0800 (PST) In-Reply-To: <838sm510d6.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.208.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244339 Archived-At: Eli, I use gdb-many-windows without any additional customizations. My screen at work is 1920x1200 and I never encounter this problem. By contrast my screen at home is 3840x2160 and it happens every time. /john On Sat, Jan 18, 2020 at 6:16 AM Eli Zaretskii wrote: > > > From: Yuan Fu > > Date: Thu, 16 Jan 2020 10:04:00 -0500 > > Cc: martin rudalics , Emacs developers , > > Stefan Monnier , Juri Linkov > > > > a.c: > > > > int f1(int a) { > > return a + 1; > > } > > > > b.c: > > > > #include "a.c" > > > > int main() { > > int b = f1(1); > > int c = 0; > > return b + c; > > } > > > > Steps: > > - M-x gdb > > - b main > > - r > > - s (many times) > > > > And when you step into f1 which is in a.c, gdb opens another window to display it (again, if your screen is > > large enough). > > I cannot reproduce this even if I maximize my Emacs frame before > invoking "M-x gdb". I always get the source in the same window. I > used your example. My screen is 1920x1080 pixels, if that's > important. > > So I wonder what other factors could be at work here. > -- John Yates 505 Tremont St, #803 Boston, MA 02116