Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [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
* 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
[parent not found: <OF925F2B16.35C637B5-ON65257BBA.003B0FB5-65257BBA.003B448A@LocalDomain>]
* [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 --
2013-08-01 10:48 [PATCH 1/5] config support for powerpc64-aix Raunaq 12
  -- strict thread matches above, loose matches on Subject: below --
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
     [not found] <OF925F2B16.35C637B5-ON65257BBA.003B0FB5-65257BBA.003B448A@LocalDomain>
2013-08-07 11:36 ` 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