public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Sandra Loosemore <sandra.loosemore@siemens.com>
Cc: Tom Tromey <tom@tromey.com>,
	 Sandra Loosemore <sandra@codesourcery.com>,
	 gdb-patches@sourceware.org
Subject: Re: [PATCH 3/5] gdb/testsuite: Adjust some testcases to allow Windows pathnames
Date: Fri, 21 Apr 2023 18:11:34 -0600	[thread overview]
Message-ID: <87bkjgsrm1.fsf@tromey.com> (raw)
In-Reply-To: <fc3ed92b-ba1b-0c32-88ae-cc37783dafed@siemens.com> (Sandra Loosemore's message of "Fri, 21 Apr 2023 13:26:50 -0600")

Sandra> The output of the two commands it is trying to match using STRINGHOME
Sandra> (as opposed to HOME) is

Sandra> p $_gdb_setting("history filename")
Sandra> $1 = "C:\\cygwin\\home\\sandra/foobar.baz"

Sandra> p $_gdb_setting_str("history filename")
Sandra> $2 = "C:\\cygwin\\home\\sandra/foobar.baz"

Ok, I get it now.  Thanks.

Sandra> Maybe this just needs more comments?  Or is there a utility function
Sandra> to add C escapes to a string that should be used on non-Windows hosts
Sandra> too?

I think a comment by the setting of STRINGHOME would be great.

Tom

  reply	other threads:[~2023-04-22  0:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-19 19:30 [PATCH 0/5] gdb/testsuite: Miscellaneous fixes Sandra Loosemore
2023-04-19 19:30 ` [PATCH 1/5] gdb/testsuite: Fix style.exp failures on targets without argc/argv support Sandra Loosemore
2023-04-19 19:30 ` [PATCH 2/5] gdb/testsuite: Fix style.exp failures on targets without libopcodes styling Sandra Loosemore
2023-04-21 14:37   ` Tom Tromey
2023-04-21 19:15     ` Sandra Loosemore
2023-04-19 19:30 ` [PATCH 3/5] gdb/testsuite: Adjust some testcases to allow Windows pathnames Sandra Loosemore
2023-04-21 14:44   ` Tom Tromey
2023-04-21 19:26     ` Sandra Loosemore
2023-04-22  0:11       ` Tom Tromey [this message]
2023-04-19 19:30 ` [PATCH 4/5] gdb/testsuite: Disable some tests that are broken on remote Windows host Sandra Loosemore
2023-04-21 14:46   ` Tom Tromey
2023-04-21 14:52   ` Tom Tromey
2023-04-21 19:33     ` Sandra Loosemore
2023-04-22  0:11       ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bkjgsrm1.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    --cc=sandra.loosemore@siemens.com \
    --cc=sandra@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).