Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Bernhard Heckel <bernhard.heckel@intel.com>
Cc: qiyaoltc@gmail.com, gdb-patches@sourceware.org,
	bernhard.heckel@intel.com
Subject: Re: [PATCH V2 3/5] Fortran: Resolve dynamic target types of pointers.
Date: Mon, 04 Jul 2016 15:01:00 -0000	[thread overview]
Message-ID: <83bn2dphwp.fsf@gnu.org> (raw)
In-Reply-To: <1467625943-21294-4-git-send-email-bernhard.heckel@intel.com>	(message from Bernhard Heckel on Mon, 4 Jul 2016 11:52:21 +0200)

> From: Bernhard Heckel <bernhard.heckel@intel.com>
> Cc: gdb-patches@sourceware.org, Bernhard Heckel <bernhard.heckel@intel.com>
> Date: Mon,  4 Jul 2016 11:52:21 +0200
> 
> Dynamic target types of pointers have to be resolved before
> they can be further processed. If not, GDB wil show wrong
> boundaries, size,... or even crash as it will access some
> random memory.
> 
> 2016-06-30  Bernhard Heckel  <bernhard.heckel@intel.com>
> 
> gdb/Changelog:
> 	* NEWS: Added new fortran feature.
> 	* gdbtypes.c (resolve_dynamic_pointer_types): Resolve
> 	  dynamic target types.
> 	* valops.c (value_ind): Throw error when pointer is
> 	  not associated.
> 
> gdb/Testsuite/Changelog:
> 	* gdb.fortran/pointers.f90: Add dynamic variables.
> 	* gdb.fortran/pointers.exp: Test dynamic variables.
> 	* gdb.fortran/print_type.exp: Test pointer to dynamic
> 	  types.

OK for the NEWS part.

Thanks.


  reply	other threads:[~2016-07-04 15:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-04  9:52 [PATCH V2 0/5] Fortran: Resolve " Bernhard Heckel
2016-07-04  9:52 ` [PATCH V2 2/5] Fortran: Testsuite, add print of pointer types Bernhard Heckel
2016-07-04  9:52 ` [PATCH V2 4/5] Fortran: Fix query of address of not-allocated types Bernhard Heckel
2016-07-04  9:52 ` [PATCH V2 5/5] Fortran: Handle cyclic pointers Bernhard Heckel
2016-07-04  9:52 ` [PATCH V2 1/5] Fortran: Typeprint, fix dangling types Bernhard Heckel
2016-07-04  9:52 ` [PATCH V2 3/5] Fortran: Resolve dynamic target types of pointers Bernhard Heckel
2016-07-04 15:01   ` Eli Zaretskii [this message]
2016-07-05 14:35   ` Joel Brobecker
2016-07-05 15:31     ` Bernhard Heckel
2016-07-05 15:51       ` Joel Brobecker

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=83bn2dphwp.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=bernhard.heckel@intel.com \
    --cc=gdb-patches@sourceware.org \
    --cc=qiyaoltc@gmail.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