diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2011-01-11 19:39:35 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2011-01-11 19:39:35 +0000 |
commit | 90e4670fe7ce52de91f2200e13a916c8b2c69e81 (patch) | |
tree | 70a59cd4631524af92edaf75c0f21915fe4fb126 | |
parent | e09342b536073e978e30460267e144063843cd17 (diff) | |
download | gdb-90e4670fe7ce52de91f2200e13a916c8b2c69e81.zip gdb-90e4670fe7ce52de91f2200e13a916c8b2c69e81.tar.gz gdb-90e4670fe7ce52de91f2200e13a916c8b2c69e81.tar.bz2 |
2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
* breakpoint.c (resources_needed_watchpoint): Fix indentation.
* gdbtypes.c (is_scalar_type_recursive): Fix formatting.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/breakpoint.c | 4 | ||||
-rw-r--r-- | gdb/gdbtypes.c | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 41a190b..277c94f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> + + * breakpoint.c (resources_needed_watchpoint): Fix indentation. + * gdbtypes.c (is_scalar_type_recursive): Fix formatting. + 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> Thiago Jung Bauermann <bauerman@br.ibm.com> diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 3db9401..8d0692b 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -8278,9 +8278,9 @@ remove_watchpoint (struct bp_location *bl) static int resources_needed_watchpoint (const struct bp_location *bl) { - int length = bl->owner->exact? 1 : bl->length; + int length = bl->owner->exact? 1 : bl->length; - return target_region_ok_for_hw_watchpoint (bl->address, length); + return target_region_ok_for_hw_watchpoint (bl->address, length); } /* The breakpoint_ops structure to be used in hardware watchpoints. */ diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index a01f326..2cf1b4d 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -1977,8 +1977,8 @@ is_scalar_type (struct type *type) } /* Return true if T is scalar, or a composite type which in practice has - the memory layout of a scalar type. E.g., an array or struct with only one - scalar element inside it, or a union with only scalar elements. */ + the memory layout of a scalar type. E.g., an array or struct with only + one scalar element inside it, or a union with only scalar elements. */ int is_scalar_type_recursive (struct type *t) |