This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix s390 build failure


Hello,

this fixes a -Werror build failure on s390 caused by functions
in s390-nat.c having incorrect arguments.

Tested on s390-ibm-linux and s390x-ibm-linux, committed.

Bye,
Ulrich


ChangeLog:

	* s390-nat.c (s390_insert_watchpoint): Add missing argument.
	(s390_remove_watchpoint): Likewise.

Index: gdb/s390-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/s390-nat.c,v
retrieving revision 1.19
diff -c -p -r1.19 s390-nat.c
*** gdb/s390-nat.c	24 Mar 2006 23:08:16 -0000	1.19
--- gdb/s390-nat.c	28 Mar 2006 21:56:46 -0000
*************** s390_fix_watch_points (void)
*** 311,317 ****
  }
  
  static int
! s390_insert_watchpoint (CORE_ADDR addr, int len)
  {
    struct watch_area *area = xmalloc (sizeof (struct watch_area));
    if (!area)
--- 311,317 ----
  }
  
  static int
! s390_insert_watchpoint (CORE_ADDR addr, int len, int type)
  {
    struct watch_area *area = xmalloc (sizeof (struct watch_area));
    if (!area)
*************** s390_insert_watchpoint (CORE_ADDR addr, 
*** 328,334 ****
  }
  
  static int
! s390_remove_watchpoint (CORE_ADDR addr, int len)
  {
    struct watch_area *area, **parea;
  
--- 328,334 ----
  }
  
  static int
! s390_remove_watchpoint (CORE_ADDR addr, int len, int type)
  {
    struct watch_area *area, **parea;
  
-- 
  Dr. Ulrich Weigand
  Linux on zSeries Development
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]