diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2018-08-19 22:03:58 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2018-08-19 22:04:45 -0400 |
commit | c44deb735ef492f8799cbb35c5f2566fc2dba19d (patch) | |
tree | 7e389974aa7406db0fe390b425a36360944c1b36 /gdb/solib-svr4.c | |
parent | 865dcc8a4d397e4d9d032785e8ff318e28355d76 (diff) | |
download | gdb-c44deb735ef492f8799cbb35c5f2566fc2dba19d.zip gdb-c44deb735ef492f8799cbb35c5f2566fc2dba19d.tar.gz gdb-c44deb735ef492f8799cbb35c5f2566fc2dba19d.tar.bz2 |
Fix formatting in solib-svr4.c
Fix some formatting issues which I have missed during review.
gdb/ChangeLog:
* solib-svr4.c (svr4_exec_displacement): Fix formatting.
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r-- | gdb/solib-svr4.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 8458950..29d0731 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -2711,8 +2711,8 @@ svr4_exec_displacement (CORE_ADDR *displacementp) CentOS-5 has problems with filesz, memsz as well. Strip also modifies memsz of PT_TLS. See PR 11786. */ - if (phdr2[i].p_type == PT_GNU_RELRO || - phdr2[i].p_type == PT_TLS) + if (phdr2[i].p_type == PT_GNU_RELRO + || phdr2[i].p_type == PT_TLS) { Elf32_External_Phdr tmp_phdr = *phdrp; Elf32_External_Phdr tmp_phdr2 = *phdr2p; @@ -2844,8 +2844,8 @@ svr4_exec_displacement (CORE_ADDR *displacementp) CentOS-5 has problems with filesz, memsz as well. Strip also modifies memsz of PT_TLS. See PR 11786. */ - if (phdr2[i].p_type == PT_GNU_RELRO || - phdr2[i].p_type == PT_TLS) + if (phdr2[i].p_type == PT_GNU_RELRO + || phdr2[i].p_type == PT_TLS) { Elf64_External_Phdr tmp_phdr = *phdrp; Elf64_External_Phdr tmp_phdr2 = *phdr2p; |