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