diff options
author | John Gilmore <gnu@cygnus> | 1991-11-14 01:01:28 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-11-14 01:01:28 +0000 |
commit | ea3c08395c487e9c6613635f9d407908e2397aa2 (patch) | |
tree | 37e91d5ff471647a27204ae56a3e5abc7f8d03d6 /gdb/tdesc.c | |
parent | edbf28ce4cce654eeb0e88782aee11d6e8529978 (diff) | |
download | gdb-ea3c08395c487e9c6613635f9d407908e2397aa2.zip gdb-ea3c08395c487e9c6613635f9d407908e2397aa2.tar.gz gdb-ea3c08395c487e9c6613635f9d407908e2397aa2.tar.bz2 |
Motorola 88000 port without tears, I mean without tdescs.
ChangeLog has the details. This is preliminary for quick release,
cleanups remain to be done.
Diffstat (limited to 'gdb/tdesc.c')
-rwxr-xr-x | gdb/tdesc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tdesc.c b/gdb/tdesc.c index 9a632e3..4a38649 100755 --- a/gdb/tdesc.c +++ b/gdb/tdesc.c @@ -235,11 +235,11 @@ int dc_compare_tdesc_elems (elem1, elem2) s1 = ((tdesc_elem_t *) elem1)->start_address; s2 = ((tdesc_elem_t *) elem2)->start_address; if (s1 < s2) return -1; - if (s1 > s2) return +1; + if (s1 > s2) return 1; e1 = ((tdesc_elem_t *) elem1)->end_address; e2 = ((tdesc_elem_t *) elem2)->end_address; if (e1 < e2) return -1; - if (e1 > e2) return +1; + if (e1 > e2) return 1; return 0; } |