public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: gdb-patches@sourceware.org
Cc: Aleksandar Ristovski <ARistovski@qnx.com>,
	       Gary Benson <gbenson@redhat.com>
Subject: [revert] [PATCH v7 00/10] Validate binary before use
Date: Wed, 15 Jul 2015 18:33:00 -0000	[thread overview]
Message-ID: <20150715183346.GA8231@host1.jankratochvil.net> (raw)
In-Reply-To: <20150715154959.GA27837@host1.jankratochvil.net>

[-- Attachment #1: Type: text/plain, Size: 1888 bytes --]

On Wed, 15 Jul 2015 17:49:59 +0200, Jan Kratochvil wrote:
> therefore this patchset is checked in:
> 
> ddc98fbf2fd9e244a215a4d09e559180dc573a14 Create empty nat/linux-maps.[ch] and common/target-utils.[ch]
> 6e5b4429db0d66e2d0b27e1bcfe4709f3dae73ed Move gdb_regex* to common/
> f7af1fcd759fa126612018a5916cf808df7bb8bc Prepare linux_find_memory_regions_full & co. for move
> 9904185cfde13d6c6849f1f042c8e3b74974cf08 Move linux_find_memory_regions_full & co.
> 700ca40f6fc1addd7238f4ab57f76c095ad3c99f gdbserver build-id attribute generator
> ca5268b6be265580b91ef75c1a1a9815f581ae42 Validate symbol file using build-id
> 0a94970d663a053c523f23ac0d71deb25a77f709 Tests for validate symbol file using build-id

It has been reverted as it broke non-x86* builds such as s390*-linux:

linux-tdep.o: In function `linux_info_proc':
linux-tdep.c:(.text+0x110e): undefined reference to `read_mapping'
linux-tdep.o: In function `linux_find_memory_regions_gdb':
linux-tdep.c:(.text+0x2a2a): undefined reference to `linux_find_memory_regions_full'
collect2: error: ld returned 1 exit status

It is now obvious from:
        Create empty nat/linux-maps.[ch] and common/target-utils.[ch].
        * Makefile.in (HFILES_NO_SRCDIR); Add nat/linux-maps.h,
        common/target-utils.h.
        (COMMON_OBS): Add target-utils.o.
        (linux-maps.o, target-utils.o): New.
        * target/target-utils.c: New file.
        * target/target-utils.h: New file.
        * config/i386/linux.mh (NATDEPFILES): Add linux-maps.o.
        * config/i386/linux64.mh (NATDEPFILES): Ditto.
        * nat/linux-maps.c: New file.
        * nat/linux-maps.h: New file.

I updated that config/i386/* only as a proof of concept and later forgot about
it.  As nat/linux-maps.c is used by linux-tdep.c it seems to me it should not
be in nat/ .

Anyway the fix is not obvious to me so I have just reverted it so far.


Jan

[-- Attachment #2: 1 --]
[-- Type: text/plain, Size: 1898 bytes --]

commit db1ff28b60f8886b8d7c634f1db2f939ba47a13c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Jul 15 20:27:32 2015 +0200

    Revert the previous 7 commits of: Validate binary before use
    
    ddc98fbf2fd9e244a215a4d09e559180dc573a14 Create empty nat/linux-maps.[ch] and common/target-utils.[ch]
    6e5b4429db0d66e2d0b27e1bcfe4709f3dae73ed Move gdb_regex* to common/
    f7af1fcd759fa126612018a5916cf808df7bb8bc Prepare linux_find_memory_regions_full & co. for move
    9904185cfde13d6c6849f1f042c8e3b74974cf08 Move linux_find_memory_regions_full & co.
    700ca40f6fc1addd7238f4ab57f76c095ad3c99f gdbserver build-id attribute generator
    ca5268b6be265580b91ef75c1a1a9815f581ae42 Validate symbol file using build-id
    0a94970d663a053c523f23ac0d71deb25a77f709 Tests for validate symbol file using build-id
    
    gdb/ChangeLog
    2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	Revert the previous 6 commits:
    	Create empty nat/linux-maps.[ch] and common/target-utils.[ch].
    	Move gdb_regex* to common/
    	Prepare linux_find_memory_regions_full & co. for move
    	Move linux_find_memory_regions_full & co.
    	gdbserver build-id attribute generator
    	Validate symbol file using build-id
    
    gdb/gdbserver/ChangeLog
    2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	Revert the previous 3 commits:
    	Move gdb_regex* to common/
    	Move linux_find_memory_regions_full & co.
    	gdbserver build-id attribute generator
    
    gdb/doc/ChangeLog
    2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	Revert the previous 2 commits:
    	gdbserver build-id attribute generator
    	Validate symbol file using build-id
    
    gdb/testsuite/ChangeLog
    2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	Revert the previous commit:
    	Tests for validate symbol file using build-id.

      reply	other threads:[~2015-07-15 18:33 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-14 19:25 Jan Kratochvil
2015-06-14 19:25 ` [PATCH v7 01/10] Move utility functions to common/ Jan Kratochvil
2015-06-15 13:22   ` Joel Brobecker
2015-06-15 15:07     ` [commit] " Jan Kratochvil
2015-06-14 19:26 ` [PATCH v7 06/10] Prepare linux_find_memory_regions_full & co. for move Jan Kratochvil
2015-06-14 19:26 ` [PATCH v7 04/10] Create empty nat/linux-maps.[ch] and common/target-utils.[ch] Jan Kratochvil
2015-06-14 19:26 ` [PATCH v7 02/10] Merge multiple hex conversions Jan Kratochvil
2015-06-15 13:33   ` Joel Brobecker
2015-06-15 15:09     ` [commit] " Jan Kratochvil
2015-06-14 19:26 ` [PATCH v7 07/10] Move linux_find_memory_regions_full & co Jan Kratochvil
2015-06-14 19:26 ` [PATCH v7 03/10] Code cleanup: Rename enum -> enum filterflags Jan Kratochvil
2015-06-15 13:34   ` Joel Brobecker
2015-06-15 15:12     ` [commit] " Jan Kratochvil
2015-07-08 14:38   ` Pedro Alves
2015-06-14 19:26 ` [PATCH v7 05/10] Move gdb_regex* to common/ Jan Kratochvil
2015-07-08 14:39   ` Pedro Alves
2015-07-14 20:13     ` Jan Kratochvil
2015-06-14 19:27 ` [PATCH v7 08/10] gdbserver build-id attribute generator Jan Kratochvil
2015-07-08 14:41   ` Pedro Alves
2015-06-14 19:27 ` [PATCH v7 10/10] Tests for validate symbol file using build-id Jan Kratochvil
2015-07-08 14:44   ` Pedro Alves
2015-06-14 19:27 ` [PATCH v7 09/10] Validate " Jan Kratochvil
2015-06-21 10:16   ` [PATCH v8 " Jan Kratochvil
2015-06-22 12:55     ` Aleksandar Ristovski
2015-06-22 20:37       ` Jan Kratochvil
2015-06-22 20:41         ` Aleksandar Ristovski
2015-06-22 22:25     ` Doug Evans
2015-06-23 20:47       ` Jan Kratochvil
2015-07-08 14:44         ` Pedro Alves
2015-07-12 19:09           ` Jan Kratochvil
2015-07-12 19:29             ` [PATCH v9 " Jan Kratochvil
2015-07-12 19:54               ` Eli Zaretskii
2015-07-12 20:01                 ` Jan Kratochvil
2015-07-13  2:30                   ` Eli Zaretskii
2015-07-13 10:34                 ` Pedro Alves
2015-07-13 12:38                   ` Jan Kratochvil
2015-07-14 16:14                     ` Doug Evans
2015-07-15  8:21                       ` Jan Kratochvil
2015-07-15 14:59                         ` Doug Evans
2015-06-27 21:05       ` [PATCH v8 " Jan Kratochvil
2015-07-08 15:40         ` Doug Evans
2015-07-12 19:27           ` Jan Kratochvil
2015-07-15 16:36 ` [commit] [PATCH v7 00/10] Validate binary before use Jan Kratochvil
2015-07-15 18:33   ` Jan Kratochvil [this message]

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=20150715183346.GA8231@host1.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=ARistovski@qnx.com \
    --cc=gbenson@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /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).