* [PATCH 1/5] config support for powerpc64-aix
[not found] <OF925F2B16.35C637B5-ON65257BBA.003B0FB5-65257BBA.003B448A@LocalDomain>
@ 2013-08-07 11:36 ` Raunaq 12
0 siblings, 0 replies; 5+ messages in thread
From: Raunaq 12 @ 2013-08-07 11:36 UTC (permalink / raw)
To: gdb-patches; +Cc: brobecker, tromey, Pedro Alves
Hi,
It has been a while since I received any review/feedback/approval for the
following
chain of patches which are intended to make gdb work better on AIX. Also
adding
support of 64 Bit GDB on powerpc64-aix.
Resending the patches again with the hope that they get committed at the
earliest.
Kindly help me out with this.
Regards,
Raunaq M. Bathija
---
powerpc64: Add support for host and target powerpc64.
Add new case to configure.host and configure.tgt to support powerpc64
running aix.
Kindly review and let me know if this is okay?
---
ChangeLog-
* configure.tgt (powerpc64-*-aix*): Match powerpc64 running
aix.
* configure.host (powerpc64-*-aix*): Likewise.
---
Index: ./gdb/configure.host
===================================================================
--- ./gdb.orig/configure.host
+++ ./gdb/configure.host
@@ -126,7 +126,7 @@
gdb_host=nbsd ;;
mips64*-*-openbsd*) gdb_host=obsd64 ;;
-powerpc-*-aix* | rs6000-*-*)
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
gdb_host=aix ;;
powerpc*-*-freebsd*) gdb_host=fbsd ;;
powerpc-*-linux*) gdb_host=linux ;;
Index: gdb-7.6.50.20130612/gdb/configure.tgt
===================================================================
--- gdb-7.6.50.20130612.orig/gdb/configure.tgt 2013-07-24
14:47:19.000000000 +0600
+++ gdb-7.6.50.20130612/gdb/configure.tgt 2013-07-24
15:20:13.000000000 +0600
@@ -427,7 +427,7 @@
solib-svr4.o \
ravenscar-thread.o ppc-ravenscar-thread.o"
;;
-powerpc-*-aix* | rs6000-*-*)
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
# Target: PowerPC running AIX
gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
ppc-sysv-tdep.o solib-aix.o \
@@ -714,6 +714,8 @@
*-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
*-*-symbianelf*)
gdb_osabi=GDB_OSABI_SYMBIAN ;;
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
+ gdb_osabi=GDB_OSABI_AIX ;;
esac
# Check whether this target supports gcore.
---
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 5/5] make calls to ptrace64 in aix-thread.c when defined
@ 2013-08-07 13:27 Ulrich Weigand
2013-08-07 13:32 ` Mark Kettenis
0 siblings, 1 reply; 5+ messages in thread
From: Ulrich Weigand @ 2013-08-07 13:27 UTC (permalink / raw)
To: Raunaq 12; +Cc: gdb-patches, Mark Kettenis, tromey, Ulrich Weigand
Raunaq 12 wrote:
> Thanks a lot for the help. Attaching the patch after the Changelog
> entry below.
>
> Changelog :-
> * aixthread.c: Call ptrace64 instead of ptracex if defined.
> Call ptrace64 instead of ptrace if defined.
> Add macro addr_ptr to take care of ptrace address arguement.
> (pdc_read_regs): Likewise.
> (pdc_write_regs): Likewise.
> (aix_thread_resume): Likewise.
> (fetch_regs_kernel_thread): Likewise.
> (store_regs_kernel_thread): Likewise.
>
> (See attached file: gdb-7.6-aix-thread.patch)
I've checked this in now.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 5/5] make calls to ptrace64 in aix-thread.c when defined
2013-08-07 13:27 [PATCH 5/5] make calls to ptrace64 in aix-thread.c when defined Ulrich Weigand
@ 2013-08-07 13:32 ` Mark Kettenis
2013-08-07 14:10 ` [PATCH 1/5] config support for powerpc64-aix Raunaq 12
0 siblings, 1 reply; 5+ messages in thread
From: Mark Kettenis @ 2013-08-07 13:32 UTC (permalink / raw)
To: uweigand; +Cc: raunaq12, gdb-patches, tromey, Ulrich.Weigand
> Date: Wed, 7 Aug 2013 15:27:19 +0200 (CEST)
> From: "Ulrich Weigand" <uweigand@de.ibm.com>
>
> Raunaq 12 wrote:
>
> > Thanks a lot for the help. Attaching the patch after the Changelog
> > entry below.
> >
> > Changelog :-
> > * aixthread.c: Call ptrace64 instead of ptracex if defined.
> > Call ptrace64 instead of ptrace if defined.
> > Add macro addr_ptr to take care of ptrace address arguement.
> > (pdc_read_regs): Likewise.
> > (pdc_write_regs): Likewise.
> > (aix_thread_resume): Likewise.
> > (fetch_regs_kernel_thread): Likewise.
> > (store_regs_kernel_thread): Likewise.
> >
> > (See attached file: gdb-7.6-aix-thread.patch)
>
> I've checked this in now.
>
Patch 1/5 and 4/5 are ok with me as well. I'm not really familliar
with XCOFF and XLC, so reviewing the other ones should probably done
by someone else. Although I do see a few coding style violations in
those diffs.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/5] config support for powerpc64-aix
2013-08-07 13:32 ` Mark Kettenis
@ 2013-08-07 14:10 ` Raunaq 12
2013-08-07 14:45 ` Ulrich Weigand
0 siblings, 1 reply; 5+ messages in thread
From: Raunaq 12 @ 2013-08-07 14:10 UTC (permalink / raw)
To: Mark Kettenis, Ulrich Weigand; +Cc: gdb-patches, tromey
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
> Patch 1/5 and 4/5 are ok with me as well.
Attaching the [patch 1/5] below.
I have a patch that makes changes to ./bfd/configure ./bfd/Makefile.in
to add support for 64 bit core handling in 64 bit GDB.
Should that be submitted to this mailing list or binutils list?
Thanks,
Raunaq
---
ChangeLog-
* configure.tgt (powerpc64-*-aix*): Match powerpc64 running
aix.
* configure.host (powerpc64-*-aix*): Likewise.
(See attached file: gdb-7.6-ppc64aix.patch)
[-- Attachment #2: gdb-7.6-ppc64aix.patch --]
[-- Type: application/octet-stream, Size: 1152 bytes --]
Index: ./gdb/configure.host
===================================================================
--- ./gdb.orig/configure.host
+++ ./gdb/configure.host
@@ -126,7 +126,7 @@
gdb_host=nbsd ;;
mips64*-*-openbsd*) gdb_host=obsd64 ;;
-powerpc-*-aix* | rs6000-*-*)
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
gdb_host=aix ;;
powerpc*-*-freebsd*) gdb_host=fbsd ;;
powerpc-*-linux*) gdb_host=linux ;;
Index: ./gdb/configure.tgt
===================================================================
--- ./gdb.orig/configure.tgt
+++ ./gdb/configure.tgt
@@ -427,7 +427,7 @@
solib-svr4.o \
ravenscar-thread.o ppc-ravenscar-thread.o"
;;
-powerpc-*-aix* | rs6000-*-*)
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
# Target: PowerPC running AIX
gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
ppc-sysv-tdep.o solib-aix.o \
@@ -714,6 +714,8 @@
*-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
*-*-symbianelf*)
gdb_osabi=GDB_OSABI_SYMBIAN ;;
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
+ gdb_osabi=GDB_OSABI_AIX ;;
esac
# Check whether this target supports gcore.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH 1/5] config support for powerpc64-aix
2013-08-07 14:10 ` [PATCH 1/5] config support for powerpc64-aix Raunaq 12
@ 2013-08-07 14:45 ` Ulrich Weigand
0 siblings, 0 replies; 5+ messages in thread
From: Ulrich Weigand @ 2013-08-07 14:45 UTC (permalink / raw)
To: Raunaq 12; +Cc: Mark Kettenis, Ulrich Weigand, gdb-patches, tromey
Raunaq 12 wrote:
> I have a patch that makes changes to ./bfd/configure ./bfd/Makefile.in
> to add support for 64 bit core handling in 64 bit GDB.
>
> Should that be submitted to this mailing list or binutils list?
These need to go to the binutils list (please CC this list too).
Once approved there, I can check them in as well.
> ChangeLog-
> * configure.tgt (powerpc64-*-aix*): Match powerpc64 running aix.
> * configure.host (powerpc64-*-aix*): Likewise.
>
> (See attached file: gdb-7.6-ppc64aix.patch)
I've checked this in too.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/5] config support for powerpc64-aix
@ 2013-08-01 10:48 Raunaq 12
0 siblings, 0 replies; 5+ messages in thread
From: Raunaq 12 @ 2013-08-01 10:48 UTC (permalink / raw)
To: gdb-patches
powerpc64: Add support for host and target powerpc64.
Add new case to configure.host and configure.tgt to support powerpc64
running aix.
Kindly review and let me know if this is okay?
---
ChangeLog-
* configure.tgt (powerpc64-*-aix*): Match powerpc64 running
aix.
* configure.host (powerpc64-*-aix*): Likewise.
---
Index: ./gdb/configure.host
===================================================================
--- ./gdb.orig/configure.host
+++ ./gdb/configure.host
@@ -126,7 +126,7 @@
gdb_host=nbsd ;;
mips64*-*-openbsd*) gdb_host=obsd64 ;;
-powerpc-*-aix* | rs6000-*-*)
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
gdb_host=aix ;;
powerpc*-*-freebsd*) gdb_host=fbsd ;;
powerpc-*-linux*) gdb_host=linux ;;
Index: gdb-7.6.50.20130612/gdb/configure.tgt
===================================================================
--- gdb-7.6.50.20130612.orig/gdb/configure.tgt 2013-07-24
14:47:19.000000000 +0600
+++ gdb-7.6.50.20130612/gdb/configure.tgt 2013-07-24
15:20:13.000000000 +0600
@@ -427,7 +427,7 @@
solib-svr4.o \
ravenscar-thread.o ppc-ravenscar-thread.o"
;;
-powerpc-*-aix* | rs6000-*-*)
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
# Target: PowerPC running AIX
gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
ppc-sysv-tdep.o solib-aix.o \
@@ -714,6 +714,8 @@
*-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
*-*-symbianelf*)
gdb_osabi=GDB_OSABI_SYMBIAN ;;
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
+ gdb_osabi=GDB_OSABI_AIX ;;
esac
# Check whether this target supports gcore.
---
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH 1/5] config support for powerpc64-aix
@ 2013-07-24 12:34 Raunaq 12
0 siblings, 0 replies; 5+ messages in thread
From: Raunaq 12 @ 2013-07-24 12:34 UTC (permalink / raw)
To: gdb-patches; +Cc: tromey, Mark Kettenis
powerpc64: Add support for host and target powerpc64.
Add new case to configure.host and configure.tgt to support powerpc64
running aix
---
ChangeLog-
* configure.tgt (powerpc64-*-aix*): Match powerpc64 running
aix.
* configure.host (powerpc64-*-aix*): Likewise.
---
Index: ./gdb/configure.host
===================================================================
--- ./gdb.orig/configure.host
+++ ./gdb/configure.host
@@ -126,7 +126,7 @@
gdb_host=nbsd ;;
mips64*-*-openbsd*) gdb_host=obsd64 ;;
-powerpc-*-aix* | rs6000-*-*)
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
gdb_host=aix ;;
powerpc*-*-freebsd*) gdb_host=fbsd ;;
powerpc-*-linux*) gdb_host=linux ;;
Index: gdb-7.6.50.20130612/gdb/configure.tgt
===================================================================
--- gdb-7.6.50.20130612.orig/gdb/configure.tgt 2013-07-24
14:47:19.000000000 +0600
+++ gdb-7.6.50.20130612/gdb/configure.tgt 2013-07-24
15:20:13.000000000 +0600
@@ -427,7 +427,7 @@
solib-svr4.o \
ravenscar-thread.o ppc-ravenscar-thread.o"
;;
-powerpc-*-aix* | rs6000-*-*)
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
# Target: PowerPC running AIX
gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
ppc-sysv-tdep.o solib-aix.o \
@@ -714,6 +714,8 @@
*-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
*-*-symbianelf*)
gdb_osabi=GDB_OSABI_SYMBIAN ;;
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
+ gdb_osabi=GDB_OSABI_AIX ;;
esac
# Check whether this target supports gcore.
---
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-08-07 14:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <OF925F2B16.35C637B5-ON65257BBA.003B0FB5-65257BBA.003B448A@LocalDomain>
2013-08-07 11:36 ` [PATCH 1/5] config support for powerpc64-aix Raunaq 12
2013-08-07 13:27 [PATCH 5/5] make calls to ptrace64 in aix-thread.c when defined Ulrich Weigand
2013-08-07 13:32 ` Mark Kettenis
2013-08-07 14:10 ` [PATCH 1/5] config support for powerpc64-aix Raunaq 12
2013-08-07 14:45 ` Ulrich Weigand
-- strict thread matches above, loose matches on Subject: below --
2013-08-01 10:48 Raunaq 12
2013-07-24 12:34 Raunaq 12
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox