Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
Cc: <gdb-patches@sourceware.org>
Subject: Re: [RFA] ARI fixes: Remove some sprintf calls
Date: Thu, 08 Nov 2012 21:34:00 -0000	[thread overview]
Message-ID: <87d2znhj7t.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4297.05661158568$1352387430@news.gmane.org> (Pierre Muller's	message of "Thu, 8 Nov 2012 16:09:59 +0100")

>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:

Pierre>   I do not commit this as obvious because,
Pierre> I had to add some local variables to simplify 
Pierre> things for several cases.

Pierre>   Is this OK?

I like Andreas' suggestion.

Also:

Pierre> +++ windows-nat.c	8 Nov 2012 15:03:15 -0000
Pierre> @@ -613,6 +613,7 @@ struct safe_symbol_file_add_args
Pierre>  struct lm_info
Pierre>  {
Pierre>    LPVOID load_addr;
Pierre> +  unsigned long text_offset;
Pierre>  };
 
Pierre>  static struct so_list solib_start, *solib_end;
Pierre> @@ -778,6 +779,7 @@ windows_make_so (const char *name, LPVOI
Pierre>      }
Pierre>  #endif
 
Pierre> +
Pierre>    return so;
Pierre>  }

These hunks don't seem related to the patch.

Pierre> @@ -1227,11 +1229,18 @@ handle_exception (struct target_waitstat
Pierre>      default:
Pierre>        /* Treat unhandled first chance exceptions specially.  */
Pierre>        if (current_event.u.Exception.dwFirstChance)
Pierre> -	return -1;
Pierre> -      printf_unfiltered ("gdb: unknown target exception 0x%08lx at %s\n",
Pierre> -	current_event.u.Exception.ExceptionRecord.ExceptionCode,
Pierre> -	host_address_to_string (
Pierre> -	  current_event.u.Exception.ExceptionRecord.ExceptionAddress));
Pierre> +	{
Pierre> +	  DEBUG_EXCEPT (("gdb: Unknown FirstChance exception 0x%08lx at %s\n",
Pierre> +	    current_event.u.Exception.ExceptionRecord.ExceptionCode,
Pierre> +	    host_address_to_string (
Pierre> +	      current_event.u.Exception.ExceptionRecord.ExceptionAddress)));
Pierre> + 	  return -1;
Pierre> +	}
Pierre> +      else
Pierre> +	printf_unfiltered ("gdb: unknown target exception 0x%08lx at %s\n",
Pierre> +	  current_event.u.Exception.ExceptionRecord.ExceptionCode,
Pierre> +	  host_address_to_string (
Pierre> +	    current_event.u.Exception.ExceptionRecord.ExceptionAddress));

This one either.

Tom


  parent reply	other threads:[~2012-11-08 21:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4297.05661158568$1352387430@news.gmane.org>
2012-11-08 17:25 ` Andreas Schwab
2012-11-08 21:34 ` Tom Tromey [this message]
2012-11-11 23:11   ` [RFA-v2] " Pierre Muller
2012-11-12 16:08     ` Joel Brobecker
2012-11-12 16:27       ` Tom Tromey
2012-11-13  9:51       ` Pierre Muller
2012-11-13 15:46         ` Joel Brobecker
2012-11-08 15:10 [RFA] " Pierre Muller

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=87d2znhj7t.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pierre.muller@ics-cnrs.unistra.fr \
    /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