* arch-utils.c (gdbarch_update_p): Use host_address_to_string
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
e3cb3832
JB
12009-01-09 Joel Brobecker <brobecker@adacore.com>
2
3 * arch-utils.c (gdbarch_update_p): Use host_address_to_string
4 to print the address of the gdbarch pointer.
5
30737ed9
JB
62009-01-09 Joel Brobecker <brobecker@adacore.com>
7
8 * gdbarch.sh: Fix all the compilation errors on amd64-windows
9 due to casting a pointer to a long when printing a function
10 address. Instead, use host_address_to_string to convert our
11 address to a string.
12 * gdbarch.c: Regenerate.
13
ec4dfccf
JB
142009-01-09 Joel Brobecker <brobecker@adacore.com>
15
16 * event-top.c (async_disconnect, async_stop_sig): use "raise"
17 instead of "kill" to raise a signal.
18
d3653bf6
JB
192009-01-09 Joel Brobecker <brobecker@adacore.com>
20
21 * win32-nat.c (get_module_name): Change the type of parameter
22 "base_address" to LPVOID. Remove unnecessary cast.
23 (struct lm_info): Change type of load_addr to LPVOID.
24 (win32_make_so): Change the type of parameter "load_addr"
25 to LPVOID. Remove some unnecessary casts.
26 (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
27 (win32_xfer_shared_libraries): Add missing cast.
28
308a8808
JB
292009-01-09 Joel Brobecker <brobecker@adacore.com>
30
31 * win32-nat.c (has_detach_ability, set_process_privilege):
32 Cast the result of GetProcAddress to (void *) to avoid
33 a compilation warning.
34
5851ab76
JB
352009-01-09 Joel Brobecker <brobecker@adacore.com>
36
37 * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
38 already defined.
39
5732a500
JB
402009-01-09 Joel Brobecker <brobecker@adacore.com>
41
42 * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
43 definition of local variable "done".
44 (info_w32_command, handle_exception): Remove unnecessary cast.
45
def4de3a
JB
462009-01-09 Joel Brobecker <brobecker@adacore.com>
47
48 * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
49 DebugSetProcessKillOnExit. Update all uses in this file.
50 (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
51 Update all uses in this file.
52
532009-01-09 Joel Brobecker <brobecker@adacore.com>
0795be10
JB
54
55 * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
56 and use it when pushing the target.
57 (win32_attach, win32_create_inferior): Update call to
58 do_initial_win32_stuff.
59 (win32_detach, win32_mourn_inferior): Use our ops parameter
60 instead of the global win32_ops to unpush the target.
61
1be7fe8d
JB
622009-01-09 Joel Brobecker <brobecker@adacore.com>
63
64 * ser-mingw.c (ser_windows_open): Use proper type when casting
65 in call to _open_osfhandle.
66
1dac1b47
KT
672009-01-09 Kai Tietz <kai.tietz@onevision.com>
68
69 * coff-pe-read.c (read_pe_exported_syms): Fix typo.
70
ecf180db
JB
712009-01-09 Joel Brobecker <brobecker@adacore.com>
72
73 * CONTRIBUTE: Minor reformatting.
74
8234eceb
KT
752009-01-08 Kai Tietz <kai.tietz@onevision.com>
76
77 * MAINTAINERS: Add myself to Write After Approval.
a68ddad5
KT
78 * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
79 export directory.
8234eceb 80
72ee8797
NF
812009-01-08 Nathan Froyd <froydnj@codesourcery.com>
82
83 * remote-sim.c (gdb_os_error): Mark as a noreturn function.
84 Call exit to make it obvious to GCC.
85
f7545552
TT
862009-01-08 Tom Tromey <tromey@redhat.com>
87
88 PR breakpoints/9350:
89 * varobj.c (varobj_invalidate): Unconditionally free
90 all_rootvarobj.
91 * symfile.c (syms_from_objfile): Free local_addr when returning
92 normally.
93 * exec.c (exec_file_attach): Do cleanups before returning.
94 (exec_file_command): Likewise.
95 * corefile.c (reopen_exec_file): Do cleanups before returning.
96 * breakpoint.c (insert_breakpoint_locations): Do cleanups before
97 returning.
98 (do_vec_free): New function.
99 (update_global_location_list): Make a cleanup for old_locations.
100 Do cleanups before returning. Remove unused variable 'e'.
101 (find_condition_and_thread): Free result of parsing the
102 expression.
103 (print_it_typical): Do cleanups before returning.
104 (breakpoint_re_set_one): Always free sals.sals.
105
dde02812
ES
1062009-01-08 Joel Brobecker <brobecker@adacore.com>
107 Emi Suzuki <emi-suzuki@tjsys.co.jp>
108
109 * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
110 watchpoints.
111
69bcc6bc
DE
1122009-01-07 Doug Evans <dje@google.com>
113
114 * top.c (gdb_prompt_string): Delete, unused.
115
fa3a767f
PA
1162009-01-07 Pedro Alves <pedro@codesourcery.com>
117
118 Delete ONE_PROCESS_WRITETEXT leftovers.
119
120 * breakpoint.c (insert_bp_location): Delete process_warning
121 argument. Adjust.
122 (insert_breakpoint_locations): Adjust.
123 (reattach_breakpoints): Adjust.
124 * infrun.c (normal_stop): Drop "It might be running in another
125 process" notice.
126
7b93f36d
SS
1272009-01-07 Stan Shebs <stan@codesourcery.com>
128
129 * config/pa/linux.mh (XDEPFILES): Remove.
130
0380c18b
DE
1312009-01-07 Doug Evans <dje@google.com>
132
133 * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
134
60023297
JK
1352009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
136
137 * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
138 spacing, a regression from 2008-04-22.
139
ea8992ce
JB
1402009-01-07 Joel Brobecker <brobecker@adacore.com>
141
142 * utils.c (gdb_print_host_address): Adjust implementation to
143 reuse host_address_to_string. Move comment explaining the conversion
144 from host address to string from here...
145 (host_address_to_string): ... to there.
146
301d2c47
ES
1472009-01-07 Emi Suzuki <emi-suzuki@tjsys.co.jp>
148
149 * MAINTAINERS: Add myself for write after approval privileges.
150
170ce852
TT
1512009-01-06 Tom Tromey <tromey@redhat.com>
152
153 * value.c (set_internalvar): Use value_free, not xfree.
154
fdb7262a
JB
1552009-01-06 Jim Blandy <jimb@red-bean.com>
156
bf1d7d9c
JB
157 Check return values of functions declared with warn_unused_result
158 attribute in GLIBC 2.8.
159 * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
160 * inflow.c (check_syscall): New function.
161 (new_tty): Use check_syscall to check return values from open and dup.
162 * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
163 * main.c (captured_main): Call cwd after setting up gdb_stderr;
164 check for errors from getcwd.
165 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
166 * ui-file.c (stdio_file_write): Ignore return value from fwrite.
167 (stdio_file_fputs): Same.
168 * utils.c (internal_vproblem): abort if last-ditch error message
169 write fails.
170
fdb7262a
JB
171 * top.c (gdb_init): Don't set the current directory here; that's
172 already been done in captured_main.
173
84603566
SL
1742009-01-06 Sandra Loosemore <sandra@codesourcery.com>
175
176 * ser-tcp.c: Adjust includes.
177 (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
178 (tcp_auto_retry, tcp_retry_limit): Declare.
179 (TIMEOUT): Remove, in favor of tcp_retry_limit.
180 (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
181 (wait_for_connect): New function.
182 (net_open): Use it. Add auto-retry logic.
183 (set_tcp_cmd, show_tcp_cmd): New functions.
184 (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
185 and "set/show tcp connect-timeout" commands.
186 * NEWS: Document new commands.
187
5171e6b3
TT
1882009-01-05 Tom Tromey <tromey@redhat.com>
189
190 * python/python-internal.h (Py_ssize_t): Define as int.
191
a367a1f2
JB
1922009-01-05 Jim Blandy <jimb@red-bean.com>
193
194 * MAINTAINERS: Fix my e-mail address as steering committee member.
195
0fb0cc75
JB
1962009-01-03 Joel Brobecker <brobecker@adacore.com>
197
198 Updated copyright notices for most files.
199
c9fc347d
JB
2002009-01-03 Joel Brobecker <brobecker@adacore.com>
201
202 * top.c (print_gdb_version): Update copyright year.
203
a85d99b4
JB
2042009-01-03 Joel Brobecker <brobecker@adacore.com>
205
206 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
207
4d78a120
JB
2082009-01-01 Pedro Alves <pedro@codesourcery.com>
209
210 PR breakpoints/9681:
211 * exceptions.h (enum errors): New error type, MEMORY_ERROR.
212 * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
213 * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
214 retrow all other exceptions.
215
67de2a4c 216For older changes see ChangeLog-2008.
c906108c
SS
217\f
218Local Variables:
219mode: change-log
220left-margin: 8
221fill-column: 74
222version-control: never
57da7796 223coding: utf-8
c906108c 224End:
This page took 0.987216 seconds and 4 git commands to generate.